]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
Added a typecheck typmap for wxString
[wxWidgets.git] / wxPython / src / msw / 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 static const wxString wxPyButtonNameStr(wxButtonNameStr);
374
375 SWIGSTATIC(int)
376 SWIG_PyObj_AsInt(PyObject *obj)
377 {
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
380 }
381
382
383 SWIGSTATIC(long)
384 SWIG_PyObj_AsLong(PyObject * obj)
385 {
386 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
387 }
388
389
390 SWIGSTATIC(PyObject*)
391 SWIG_PyObj_FromBool(bool value)
392 {
393 PyObject *obj = value ? Py_True : Py_False;
394 Py_INCREF(obj);
395 return obj;
396 }
397
398 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
399
400 SWIGSTATIC(bool)
401 SWIG_PyObj_AsBool(PyObject *obj)
402 {
403 return PyObject_IsTrue(obj) ? true : false;
404 }
405
406 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
407 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
408 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
409 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
410 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
411 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
412
413 #include <wx/checklst.h>
414
415
416 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
417 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
418 if (clientData) {
419 wxPyClientData* data = new wxPyClientData(clientData);
420 self->Insert(item, pos, data);
421 } else
422 self->Insert(item, pos);
423 }
424 PyObject *wxListBox_GetSelections(wxListBox *self){
425 wxArrayInt lst;
426 self->GetSelections(lst);
427 PyObject *tup = PyTuple_New(lst.GetCount());
428 for(size_t i=0; i<lst.GetCount(); i++) {
429 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
430 }
431 return tup;
432 }
433 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
434
435 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
436 PyObject* o2;
437 PyObject* o3;
438
439 if (!target) {
440 target = o;
441 } else if (target == Py_None) {
442 Py_DECREF(Py_None);
443 target = o;
444 } else {
445 if (!PyTuple_Check(target)) {
446 o2 = target;
447 target = PyTuple_New(1);
448 PyTuple_SetItem(target, 0, o2);
449 }
450 o3 = PyTuple_New(1);
451 PyTuple_SetItem(o3, 0, o);
452
453 o2 = target;
454 target = PySequence_Concat(o2, o3);
455 Py_DECREF(o2);
456 Py_DECREF(o3);
457 }
458 return target;
459 }
460
461 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
462 self->AppendText(text);
463 }
464 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
465 return self->GetValue().Mid(from, to - from);
466 }
467 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
468 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
469 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
470 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
471 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
472
473 #include <wx/slider.h>
474
475
476 static const wxString wxPySliderNameStr(wxSliderNameStr);
477 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
478
479 #if defined(__WXMAC__) || defined(__WXX11__)
480 // implement dummy classes and such for wxMac
481
482 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
483
484 class wxToggleButton : public wxControl
485 {
486 public:
487 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
488 const wxPoint&, const wxSize&, long,
489 const wxValidator&, const wxString&)
490 { wxPyRaiseNotImplemented(); }
491
492 wxToggleButton()
493 { wxPyRaiseNotImplemented(); }
494 };
495 #endif
496
497 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
498
499 SWIGSTATIC(PyObject* )
500 SWIG_PyObj_FromUnsignedLong(unsigned long value)
501 {
502 return (value > (unsigned long)(LONG_MAX)) ?
503 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
504 }
505
506 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
507 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
508 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
509 if (udata) {
510 Py_INCREF(udata->m_obj);
511 return udata->m_obj;
512 } else {
513 Py_INCREF(Py_None);
514 return Py_None;
515 }
516 }
517 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
518 self->SetClientData(new wxPyUserData(clientData));
519 }
520 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){
521 wxPyUserData* udata = NULL;
522 if (clientData && clientData != Py_None)
523 udata = new wxPyUserData(clientData);
524 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
525 shortHelp, longHelp, udata);
526 }
527 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){
528 wxPyUserData* udata = NULL;
529 if (clientData && clientData != Py_None)
530 udata = new wxPyUserData(clientData);
531 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
532 shortHelp, longHelp, udata);
533 }
534 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
535 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
536 if (udata) {
537 Py_INCREF(udata->m_obj);
538 return udata->m_obj;
539 } else {
540 Py_INCREF(Py_None);
541 return Py_None;
542 }
543 }
544 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
545 self->SetToolClientData(id, new wxPyUserData(clientData));
546 }
547
548 #include <wx/listctrl.h>
549
550
551 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
552 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
553 // Python aware sorting function for wxPyListCtrl
554 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
555 int retval = 0;
556 PyObject* func = (PyObject*)funcPtr;
557 wxPyBeginBlockThreads();
558
559 PyObject* args = Py_BuildValue("(ii)", item1, item2);
560 PyObject* result = PyEval_CallObject(func, args);
561 Py_DECREF(args);
562 if (result) {
563 retval = PyInt_AsLong(result);
564 Py_DECREF(result);
565 }
566
567 wxPyEndBlockThreads();
568 return retval;
569 }
570
571 // C++ Version of a Python aware class
572 class wxPyListCtrl : public wxListCtrl {
573 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
574 public:
575 wxPyListCtrl() : wxListCtrl() {}
576 wxPyListCtrl(wxWindow* parent, wxWindowID id,
577 const wxPoint& pos,
578 const wxSize& size,
579 long style,
580 const wxValidator& validator,
581 const wxString& name) :
582 wxListCtrl(parent, id, pos, size, style, validator, name) {}
583
584 bool Create(wxWindow* parent, wxWindowID id,
585 const wxPoint& pos,
586 const wxSize& size,
587 long style,
588 const wxValidator& validator,
589 const wxString& name) {
590 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
591 }
592
593 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
594 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
595 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
596
597 PYPRIVATE;
598 };
599
600 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
601
602 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
603 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
604 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
605
606 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
607 wxListItem item;
608 item.SetMask( wxLIST_MASK_STATE |
609 wxLIST_MASK_TEXT |
610 wxLIST_MASK_IMAGE |
611 wxLIST_MASK_DATA |
612 wxLIST_SET_ITEM |
613 wxLIST_MASK_WIDTH |
614 wxLIST_MASK_FORMAT
615 );
616 if (self->GetColumn(col, item))
617 return new wxListItem(item);
618 else
619 return NULL;
620 }
621 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
622 wxListItem* info = new wxListItem;
623 info->m_itemId = itemId;
624 info->m_col = col;
625 info->m_mask = 0xFFFF;
626 self->GetItem(*info);
627 return info;
628 }
629 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
630 wxPoint pos;
631 self->GetItemPosition(item, pos);
632 return pos;
633 }
634 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
635 wxRect rect;
636 self->GetItemRect(item, rect, code);
637 return rect;
638 }
639 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
640 if (!PyCallable_Check(func))
641 return False;
642 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
643 }
644 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
645
646 return self;
647
648
649
650 }
651
652 #include <wx/treectrl.h>
653 #include "wx/wxPython/pytree.h"
654
655 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
656 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
657 if (!other) return False;
658 return *self == *other;
659 }
660 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
661 if (!other) return True;
662 return *self != *other;
663 }
664 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
665 // C++ version of Python aware wxTreeCtrl
666 class wxPyTreeCtrl : public wxTreeCtrl {
667 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
668 public:
669 wxPyTreeCtrl() : wxTreeCtrl() {}
670 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
671 const wxPoint& pos,
672 const wxSize& size,
673 long style,
674 const wxValidator& validator,
675 const wxString& name) :
676 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
677
678 bool Create(wxWindow *parent, wxWindowID id,
679 const wxPoint& pos,
680 const wxSize& size,
681 long style,
682 const wxValidator& validator,
683 const wxString& name) {
684 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
685 }
686
687
688 int OnCompareItems(const wxTreeItemId& item1,
689 const wxTreeItemId& item2) {
690 int rval = 0;
691 bool found;
692 wxPyBeginBlockThreads();
693 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
694 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
695 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
696 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
697 Py_DECREF(o1);
698 Py_DECREF(o2);
699 }
700 wxPyEndBlockThreads();
701 if (! found)
702 rval = wxTreeCtrl::OnCompareItems(item1, item2);
703 return rval;
704 }
705 PYPRIVATE;
706 };
707
708 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
709
710
711
712 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
713
714
715 SWIGSTATIC(unsigned int)
716 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
717 {
718 return numeric_cast(unsigned int,
719 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
720 }
721
722 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
723 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
724 if (data == NULL) {
725 data = new wxPyTreeItemData();
726 data->SetId(item); // set the id
727 self->SetItemData(item, data);
728 }
729 return data;
730 }
731 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
732 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
733 if (data == NULL) {
734 data = new wxPyTreeItemData();
735 data->SetId(item); // set the id
736 self->SetItemData(item, data);
737 }
738 return data->GetData();
739 }
740 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
741 data->SetId(item); // set the id
742 self->SetItemData(item, data);
743 }
744 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
745 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
746 if (data == NULL) {
747 data = new wxPyTreeItemData(obj);
748 data->SetId(item); // set the id
749 self->SetItemData(item, data);
750 } else
751 data->SetData(obj);
752 }
753 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
754 wxPyBeginBlockThreads();
755 PyObject* rval = PyList_New(0);
756 wxArrayTreeItemIds array;
757 size_t num, x;
758 num = self->GetSelections(array);
759 for (x=0; x < num; x++) {
760 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
761 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
762 PyList_Append(rval, item);
763 }
764 wxPyEndBlockThreads();
765 return rval;
766 }
767 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
768 void* cookie = 0;
769 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
770 wxPyBeginBlockThreads();
771 PyObject* tup = PyTuple_New(2);
772 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
773 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
774 wxPyEndBlockThreads();
775 return tup;
776 }
777 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
778 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
779 wxPyBeginBlockThreads();
780 PyObject* tup = PyTuple_New(2);
781 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
782 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
783 wxPyEndBlockThreads();
784 return tup;
785 }
786 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
787 wxRect rect;
788 if (self->GetBoundingRect(item, rect, textOnly)) {
789 wxPyBeginBlockThreads();
790 wxRect* r = new wxRect(rect);
791 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
792 wxPyEndBlockThreads();
793 return val;
794 }
795 else
796 RETURN_NONE();
797 }
798 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
799 // C++ version of Python aware wxControl
800 class wxPyControl : public wxControl
801 {
802 DECLARE_DYNAMIC_CLASS(wxPyControl)
803 public:
804 wxPyControl() : wxControl() {}
805 wxPyControl(wxWindow* parent, const wxWindowID id,
806 const wxPoint& pos = wxDefaultPosition,
807 const wxSize& size = wxDefaultSize,
808 long style = 0,
809 const wxValidator& validator=wxDefaultValidator,
810 const wxString& name = wxPyControlNameStr)
811 : wxControl(parent, id, pos, size, style, validator, name) {}
812
813
814 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
815 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
816 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
817 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
818
819 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
820 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
821 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
822
823 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
824 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
825
826 DEC_PYCALLBACK__(InitDialog);
827 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
828 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
829 DEC_PYCALLBACK_BOOL_(Validate);
830
831 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
832 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
833 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
834
835 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
836 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
837
838 PYPRIVATE;
839 };
840
841 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
842
843 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
844 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
845 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
846 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
847
848 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
849 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
850 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
851
852 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
853 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
854
855 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
856 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
857 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
858 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
859
860 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
861 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
862 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
863
864 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
865 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
866
867
868
869
870 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
871
872 #include <wx/generic/dragimgg.h>
873
874 #ifdef __cplusplus
875 extern "C" {
876 #endif
877 static int _wrap_ButtonNameStr_set(PyObject *) {
878 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
879 return 1;
880 }
881
882
883 static PyObject *_wrap_ButtonNameStr_get() {
884 PyObject *pyobj;
885
886 {
887 #if wxUSE_UNICODE
888 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
889 #else
890 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
891 #endif
892 }
893 return pyobj;
894 }
895
896
897 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
898 PyObject *resultobj;
899 wxWindow *arg1 = (wxWindow *) 0 ;
900 int arg2 ;
901 wxString *arg3 = 0 ;
902 wxPoint const &arg4_defvalue = wxDefaultPosition ;
903 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
904 wxSize const &arg5_defvalue = wxDefaultSize ;
905 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
906 long arg6 = (long) 0 ;
907 wxValidator const &arg7_defvalue = wxDefaultValidator ;
908 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
909 wxString const &arg8_defvalue = wxPyButtonNameStr ;
910 wxString *arg8 = (wxString *) &arg8_defvalue ;
911 wxButton *result;
912 bool temp3 = False ;
913 wxPoint temp4 ;
914 wxSize temp5 ;
915 bool temp8 = False ;
916 PyObject * obj0 = 0 ;
917 PyObject * obj1 = 0 ;
918 PyObject * obj2 = 0 ;
919 PyObject * obj3 = 0 ;
920 PyObject * obj4 = 0 ;
921 PyObject * obj5 = 0 ;
922 PyObject * obj6 = 0 ;
923 PyObject * obj7 = 0 ;
924 char *kwnames[] = {
925 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
926 };
927
928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
930 {
931 arg2 = (int) SWIG_PyObj_AsInt(obj1);
932 if (PyErr_Occurred()) SWIG_fail;
933 }
934 {
935 arg3 = wxString_in_helper(obj2);
936 if (arg3 == NULL) SWIG_fail;
937 temp3 = True;
938 }
939 if (obj3) {
940 {
941 arg4 = &temp4;
942 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
943 }
944 }
945 if (obj4) {
946 {
947 arg5 = &temp5;
948 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
949 }
950 }
951 if (obj5) {
952 {
953 arg6 = (long) SWIG_PyObj_AsLong(obj5);
954 if (PyErr_Occurred()) SWIG_fail;
955 }
956 }
957 if (obj6) {
958 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
959 if (arg7 == NULL) {
960 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
961 }
962 }
963 if (obj7) {
964 {
965 arg8 = wxString_in_helper(obj7);
966 if (arg8 == NULL) SWIG_fail;
967 temp8 = True;
968 }
969 }
970 {
971 PyThreadState* __tstate = wxPyBeginAllowThreads();
972 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
973
974 wxPyEndAllowThreads(__tstate);
975 if (PyErr_Occurred()) SWIG_fail;
976 }
977 {
978 resultobj = wxPyMake_wxObject(result);
979 }
980 {
981 if (temp3)
982 delete arg3;
983 }
984 {
985 if (temp8)
986 delete arg8;
987 }
988 return resultobj;
989 fail:
990 {
991 if (temp3)
992 delete arg3;
993 }
994 {
995 if (temp8)
996 delete arg8;
997 }
998 return NULL;
999 }
1000
1001
1002 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1003 PyObject *resultobj;
1004 wxButton *result;
1005 char *kwnames[] = {
1006 NULL
1007 };
1008
1009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1010 {
1011 PyThreadState* __tstate = wxPyBeginAllowThreads();
1012 result = (wxButton *)new wxButton();
1013
1014 wxPyEndAllowThreads(__tstate);
1015 if (PyErr_Occurred()) SWIG_fail;
1016 }
1017 {
1018 resultobj = wxPyMake_wxObject(result);
1019 }
1020 return resultobj;
1021 fail:
1022 return NULL;
1023 }
1024
1025
1026 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1027 PyObject *resultobj;
1028 wxButton *arg1 = (wxButton *) 0 ;
1029 wxWindow *arg2 = (wxWindow *) 0 ;
1030 int arg3 ;
1031 wxString *arg4 = 0 ;
1032 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1033 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1034 wxSize const &arg6_defvalue = wxDefaultSize ;
1035 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1036 long arg7 = (long) 0 ;
1037 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1038 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1039 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1040 wxString *arg9 = (wxString *) &arg9_defvalue ;
1041 bool result;
1042 bool temp4 = False ;
1043 wxPoint temp5 ;
1044 wxSize temp6 ;
1045 bool temp9 = False ;
1046 PyObject * obj0 = 0 ;
1047 PyObject * obj1 = 0 ;
1048 PyObject * obj2 = 0 ;
1049 PyObject * obj3 = 0 ;
1050 PyObject * obj4 = 0 ;
1051 PyObject * obj5 = 0 ;
1052 PyObject * obj6 = 0 ;
1053 PyObject * obj7 = 0 ;
1054 PyObject * obj8 = 0 ;
1055 char *kwnames[] = {
1056 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1057 };
1058
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1062 {
1063 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1064 if (PyErr_Occurred()) SWIG_fail;
1065 }
1066 {
1067 arg4 = wxString_in_helper(obj3);
1068 if (arg4 == NULL) SWIG_fail;
1069 temp4 = True;
1070 }
1071 if (obj4) {
1072 {
1073 arg5 = &temp5;
1074 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1075 }
1076 }
1077 if (obj5) {
1078 {
1079 arg6 = &temp6;
1080 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1081 }
1082 }
1083 if (obj6) {
1084 {
1085 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1086 if (PyErr_Occurred()) SWIG_fail;
1087 }
1088 }
1089 if (obj7) {
1090 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1091 if (arg8 == NULL) {
1092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1093 }
1094 }
1095 if (obj8) {
1096 {
1097 arg9 = wxString_in_helper(obj8);
1098 if (arg9 == NULL) SWIG_fail;
1099 temp9 = True;
1100 }
1101 }
1102 {
1103 PyThreadState* __tstate = wxPyBeginAllowThreads();
1104 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1105
1106 wxPyEndAllowThreads(__tstate);
1107 if (PyErr_Occurred()) SWIG_fail;
1108 }
1109 resultobj = SWIG_PyObj_FromBool((bool)result);
1110 {
1111 if (temp4)
1112 delete arg4;
1113 }
1114 {
1115 if (temp9)
1116 delete arg9;
1117 }
1118 return resultobj;
1119 fail:
1120 {
1121 if (temp4)
1122 delete arg4;
1123 }
1124 {
1125 if (temp9)
1126 delete arg9;
1127 }
1128 return NULL;
1129 }
1130
1131
1132 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxButton *arg1 = (wxButton *) 0 ;
1135 PyObject * obj0 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "self", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 (arg1)->SetDefault();
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) SWIG_fail;
1148 }
1149 Py_INCREF(Py_None); resultobj = Py_None;
1150 return resultobj;
1151 fail:
1152 return NULL;
1153 }
1154
1155
1156 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject *resultobj;
1158 wxButton *arg1 = (wxButton *) 0 ;
1159 wxBitmap *arg2 = 0 ;
1160 PyObject * obj0 = 0 ;
1161 PyObject * obj1 = 0 ;
1162 char *kwnames[] = {
1163 (char *) "self",(char *) "bitmap", NULL
1164 };
1165
1166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1169 if (arg2 == NULL) {
1170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1171 }
1172 {
1173 PyThreadState* __tstate = wxPyBeginAllowThreads();
1174 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1175
1176 wxPyEndAllowThreads(__tstate);
1177 if (PyErr_Occurred()) SWIG_fail;
1178 }
1179 Py_INCREF(Py_None); resultobj = Py_None;
1180 return resultobj;
1181 fail:
1182 return NULL;
1183 }
1184
1185
1186 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1187 PyObject *resultobj;
1188 wxButton *arg1 = (wxButton *) 0 ;
1189 int arg2 ;
1190 int arg3 ;
1191 PyObject * obj0 = 0 ;
1192 PyObject * obj1 = 0 ;
1193 PyObject * obj2 = 0 ;
1194 char *kwnames[] = {
1195 (char *) "self",(char *) "x",(char *) "y", NULL
1196 };
1197
1198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Button_SetImageMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1200 {
1201 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1202 if (PyErr_Occurred()) SWIG_fail;
1203 }
1204 {
1205 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1206 if (PyErr_Occurred()) SWIG_fail;
1207 }
1208 {
1209 PyThreadState* __tstate = wxPyBeginAllowThreads();
1210 (arg1)->SetImageMargins(arg2,arg3);
1211
1212 wxPyEndAllowThreads(__tstate);
1213 if (PyErr_Occurred()) SWIG_fail;
1214 }
1215 Py_INCREF(Py_None); resultobj = Py_None;
1216 return resultobj;
1217 fail:
1218 return NULL;
1219 }
1220
1221
1222 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1223 PyObject *resultobj;
1224 wxSize result;
1225 char *kwnames[] = {
1226 NULL
1227 };
1228
1229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1230 {
1231 PyThreadState* __tstate = wxPyBeginAllowThreads();
1232 result = wxButton::GetDefaultSize();
1233
1234 wxPyEndAllowThreads(__tstate);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 }
1237 {
1238 wxSize * resultptr;
1239 resultptr = new wxSize((wxSize &) result);
1240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1241 }
1242 return resultobj;
1243 fail:
1244 return NULL;
1245 }
1246
1247
1248 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1249 PyObject *obj;
1250 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1251 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1252 Py_INCREF(obj);
1253 return Py_BuildValue((char *)"");
1254 }
1255 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1256 PyObject *resultobj;
1257 wxWindow *arg1 = (wxWindow *) 0 ;
1258 int arg2 ;
1259 wxBitmap *arg3 = 0 ;
1260 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1261 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1262 wxSize const &arg5_defvalue = wxDefaultSize ;
1263 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1264 long arg6 = (long) wxBU_AUTODRAW ;
1265 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1266 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1267 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1268 wxString *arg8 = (wxString *) &arg8_defvalue ;
1269 wxBitmapButton *result;
1270 wxPoint temp4 ;
1271 wxSize temp5 ;
1272 bool temp8 = False ;
1273 PyObject * obj0 = 0 ;
1274 PyObject * obj1 = 0 ;
1275 PyObject * obj2 = 0 ;
1276 PyObject * obj3 = 0 ;
1277 PyObject * obj4 = 0 ;
1278 PyObject * obj5 = 0 ;
1279 PyObject * obj6 = 0 ;
1280 PyObject * obj7 = 0 ;
1281 char *kwnames[] = {
1282 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1283 };
1284
1285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1287 {
1288 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1289 if (PyErr_Occurred()) SWIG_fail;
1290 }
1291 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1292 if (arg3 == NULL) {
1293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1294 }
1295 if (obj3) {
1296 {
1297 arg4 = &temp4;
1298 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1299 }
1300 }
1301 if (obj4) {
1302 {
1303 arg5 = &temp5;
1304 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1305 }
1306 }
1307 if (obj5) {
1308 {
1309 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1310 if (PyErr_Occurred()) SWIG_fail;
1311 }
1312 }
1313 if (obj6) {
1314 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1315 if (arg7 == NULL) {
1316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1317 }
1318 }
1319 if (obj7) {
1320 {
1321 arg8 = wxString_in_helper(obj7);
1322 if (arg8 == NULL) SWIG_fail;
1323 temp8 = True;
1324 }
1325 }
1326 {
1327 PyThreadState* __tstate = wxPyBeginAllowThreads();
1328 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1329
1330 wxPyEndAllowThreads(__tstate);
1331 if (PyErr_Occurred()) SWIG_fail;
1332 }
1333 {
1334 resultobj = wxPyMake_wxObject(result);
1335 }
1336 {
1337 if (temp8)
1338 delete arg8;
1339 }
1340 return resultobj;
1341 fail:
1342 {
1343 if (temp8)
1344 delete arg8;
1345 }
1346 return NULL;
1347 }
1348
1349
1350 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1351 PyObject *resultobj;
1352 wxBitmapButton *result;
1353 char *kwnames[] = {
1354 NULL
1355 };
1356
1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1358 {
1359 PyThreadState* __tstate = wxPyBeginAllowThreads();
1360 result = (wxBitmapButton *)new wxBitmapButton();
1361
1362 wxPyEndAllowThreads(__tstate);
1363 if (PyErr_Occurred()) SWIG_fail;
1364 }
1365 {
1366 resultobj = wxPyMake_wxObject(result);
1367 }
1368 return resultobj;
1369 fail:
1370 return NULL;
1371 }
1372
1373
1374 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1375 PyObject *resultobj;
1376 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1377 wxWindow *arg2 = (wxWindow *) 0 ;
1378 int arg3 ;
1379 wxBitmap *arg4 = 0 ;
1380 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1381 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1382 wxSize const &arg6_defvalue = wxDefaultSize ;
1383 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1384 long arg7 = (long) wxBU_AUTODRAW ;
1385 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1386 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1387 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1388 wxString *arg9 = (wxString *) &arg9_defvalue ;
1389 bool result;
1390 wxPoint temp5 ;
1391 wxSize temp6 ;
1392 bool temp9 = False ;
1393 PyObject * obj0 = 0 ;
1394 PyObject * obj1 = 0 ;
1395 PyObject * obj2 = 0 ;
1396 PyObject * obj3 = 0 ;
1397 PyObject * obj4 = 0 ;
1398 PyObject * obj5 = 0 ;
1399 PyObject * obj6 = 0 ;
1400 PyObject * obj7 = 0 ;
1401 PyObject * obj8 = 0 ;
1402 char *kwnames[] = {
1403 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1404 };
1405
1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1409 {
1410 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1411 if (PyErr_Occurred()) SWIG_fail;
1412 }
1413 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1414 if (arg4 == NULL) {
1415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1416 }
1417 if (obj4) {
1418 {
1419 arg5 = &temp5;
1420 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1421 }
1422 }
1423 if (obj5) {
1424 {
1425 arg6 = &temp6;
1426 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1427 }
1428 }
1429 if (obj6) {
1430 {
1431 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1432 if (PyErr_Occurred()) SWIG_fail;
1433 }
1434 }
1435 if (obj7) {
1436 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1437 if (arg8 == NULL) {
1438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1439 }
1440 }
1441 if (obj8) {
1442 {
1443 arg9 = wxString_in_helper(obj8);
1444 if (arg9 == NULL) SWIG_fail;
1445 temp9 = True;
1446 }
1447 }
1448 {
1449 PyThreadState* __tstate = wxPyBeginAllowThreads();
1450 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1451
1452 wxPyEndAllowThreads(__tstate);
1453 if (PyErr_Occurred()) SWIG_fail;
1454 }
1455 resultobj = SWIG_PyObj_FromBool((bool)result);
1456 {
1457 if (temp9)
1458 delete arg9;
1459 }
1460 return resultobj;
1461 fail:
1462 {
1463 if (temp9)
1464 delete arg9;
1465 }
1466 return NULL;
1467 }
1468
1469
1470 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject *resultobj;
1472 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1473 wxBitmap result;
1474 PyObject * obj0 = 0 ;
1475 char *kwnames[] = {
1476 (char *) "self", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 {
1482 PyThreadState* __tstate = wxPyBeginAllowThreads();
1483 result = (arg1)->GetBitmapLabel();
1484
1485 wxPyEndAllowThreads(__tstate);
1486 if (PyErr_Occurred()) SWIG_fail;
1487 }
1488 {
1489 wxBitmap * resultptr;
1490 resultptr = new wxBitmap((wxBitmap &) result);
1491 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1492 }
1493 return resultobj;
1494 fail:
1495 return NULL;
1496 }
1497
1498
1499 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1502 wxBitmap result;
1503 PyObject * obj0 = 0 ;
1504 char *kwnames[] = {
1505 (char *) "self", NULL
1506 };
1507
1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1510 {
1511 PyThreadState* __tstate = wxPyBeginAllowThreads();
1512 result = (arg1)->GetBitmapDisabled();
1513
1514 wxPyEndAllowThreads(__tstate);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 {
1518 wxBitmap * resultptr;
1519 resultptr = new wxBitmap((wxBitmap &) result);
1520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1521 }
1522 return resultobj;
1523 fail:
1524 return NULL;
1525 }
1526
1527
1528 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1531 wxBitmap result;
1532 PyObject * obj0 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "self", NULL
1535 };
1536
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 result = (arg1)->GetBitmapFocus();
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 {
1547 wxBitmap * resultptr;
1548 resultptr = new wxBitmap((wxBitmap &) result);
1549 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1550 }
1551 return resultobj;
1552 fail:
1553 return NULL;
1554 }
1555
1556
1557 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1558 PyObject *resultobj;
1559 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1560 wxBitmap result;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "self", NULL
1564 };
1565
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1568 {
1569 PyThreadState* __tstate = wxPyBeginAllowThreads();
1570 result = (arg1)->GetBitmapSelected();
1571
1572 wxPyEndAllowThreads(__tstate);
1573 if (PyErr_Occurred()) SWIG_fail;
1574 }
1575 {
1576 wxBitmap * resultptr;
1577 resultptr = new wxBitmap((wxBitmap &) result);
1578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1579 }
1580 return resultobj;
1581 fail:
1582 return NULL;
1583 }
1584
1585
1586 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject *resultobj;
1588 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1589 wxBitmap *arg2 = 0 ;
1590 PyObject * obj0 = 0 ;
1591 PyObject * obj1 = 0 ;
1592 char *kwnames[] = {
1593 (char *) "self",(char *) "bitmap", NULL
1594 };
1595
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1599 if (arg2 == NULL) {
1600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1601 }
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 Py_INCREF(Py_None); resultobj = Py_None;
1610 return resultobj;
1611 fail:
1612 return NULL;
1613 }
1614
1615
1616 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1617 PyObject *resultobj;
1618 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1619 wxBitmap *arg2 = 0 ;
1620 PyObject * obj0 = 0 ;
1621 PyObject * obj1 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self",(char *) "bitmap", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1629 if (arg2 == NULL) {
1630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1631 }
1632 {
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1635
1636 wxPyEndAllowThreads(__tstate);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 }
1639 Py_INCREF(Py_None); resultobj = Py_None;
1640 return resultobj;
1641 fail:
1642 return NULL;
1643 }
1644
1645
1646 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1647 PyObject *resultobj;
1648 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1649 wxBitmap *arg2 = 0 ;
1650 PyObject * obj0 = 0 ;
1651 PyObject * obj1 = 0 ;
1652 char *kwnames[] = {
1653 (char *) "self",(char *) "bitmap", NULL
1654 };
1655
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1659 if (arg2 == NULL) {
1660 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1661 }
1662 {
1663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1664 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1665
1666 wxPyEndAllowThreads(__tstate);
1667 if (PyErr_Occurred()) SWIG_fail;
1668 }
1669 Py_INCREF(Py_None); resultobj = Py_None;
1670 return resultobj;
1671 fail:
1672 return NULL;
1673 }
1674
1675
1676 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1679 wxBitmap *arg2 = 0 ;
1680 PyObject * obj0 = 0 ;
1681 PyObject * obj1 = 0 ;
1682 char *kwnames[] = {
1683 (char *) "self",(char *) "bitmap", NULL
1684 };
1685
1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1689 if (arg2 == NULL) {
1690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1691 }
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 Py_INCREF(Py_None); resultobj = Py_None;
1700 return resultobj;
1701 fail:
1702 return NULL;
1703 }
1704
1705
1706 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject *resultobj;
1708 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1709 int arg2 ;
1710 int arg3 ;
1711 PyObject * obj0 = 0 ;
1712 PyObject * obj1 = 0 ;
1713 PyObject * obj2 = 0 ;
1714 char *kwnames[] = {
1715 (char *) "self",(char *) "x",(char *) "y", NULL
1716 };
1717
1718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1720 {
1721 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 {
1725 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1726 if (PyErr_Occurred()) SWIG_fail;
1727 }
1728 {
1729 PyThreadState* __tstate = wxPyBeginAllowThreads();
1730 (arg1)->SetMargins(arg2,arg3);
1731
1732 wxPyEndAllowThreads(__tstate);
1733 if (PyErr_Occurred()) SWIG_fail;
1734 }
1735 Py_INCREF(Py_None); resultobj = Py_None;
1736 return resultobj;
1737 fail:
1738 return NULL;
1739 }
1740
1741
1742 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1743 PyObject *resultobj;
1744 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1745 int result;
1746 PyObject * obj0 = 0 ;
1747 char *kwnames[] = {
1748 (char *) "self", NULL
1749 };
1750
1751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1753 {
1754 PyThreadState* __tstate = wxPyBeginAllowThreads();
1755 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1756
1757 wxPyEndAllowThreads(__tstate);
1758 if (PyErr_Occurred()) SWIG_fail;
1759 }
1760 resultobj = SWIG_PyObj_FromInt((int)result);
1761 return resultobj;
1762 fail:
1763 return NULL;
1764 }
1765
1766
1767 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1768 PyObject *resultobj;
1769 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1770 int result;
1771 PyObject * obj0 = 0 ;
1772 char *kwnames[] = {
1773 (char *) "self", NULL
1774 };
1775
1776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 resultobj = SWIG_PyObj_FromInt((int)result);
1786 return resultobj;
1787 fail:
1788 return NULL;
1789 }
1790
1791
1792 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1793 PyObject *obj;
1794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1795 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1796 Py_INCREF(obj);
1797 return Py_BuildValue((char *)"");
1798 }
1799 static int _wrap_CheckBoxNameStr_set(PyObject *) {
1800 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1801 return 1;
1802 }
1803
1804
1805 static PyObject *_wrap_CheckBoxNameStr_get() {
1806 PyObject *pyobj;
1807
1808 {
1809 #if wxUSE_UNICODE
1810 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1811 #else
1812 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1813 #endif
1814 }
1815 return pyobj;
1816 }
1817
1818
1819 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1820 PyObject *resultobj;
1821 wxWindow *arg1 = (wxWindow *) 0 ;
1822 int arg2 ;
1823 wxString *arg3 = 0 ;
1824 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1825 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1826 wxSize const &arg5_defvalue = wxDefaultSize ;
1827 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1828 long arg6 = (long) 0 ;
1829 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1830 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1831 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1832 wxString *arg8 = (wxString *) &arg8_defvalue ;
1833 wxCheckBox *result;
1834 bool temp3 = False ;
1835 wxPoint temp4 ;
1836 wxSize temp5 ;
1837 bool temp8 = False ;
1838 PyObject * obj0 = 0 ;
1839 PyObject * obj1 = 0 ;
1840 PyObject * obj2 = 0 ;
1841 PyObject * obj3 = 0 ;
1842 PyObject * obj4 = 0 ;
1843 PyObject * obj5 = 0 ;
1844 PyObject * obj6 = 0 ;
1845 PyObject * obj7 = 0 ;
1846 char *kwnames[] = {
1847 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1848 };
1849
1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1852 {
1853 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1854 if (PyErr_Occurred()) SWIG_fail;
1855 }
1856 {
1857 arg3 = wxString_in_helper(obj2);
1858 if (arg3 == NULL) SWIG_fail;
1859 temp3 = True;
1860 }
1861 if (obj3) {
1862 {
1863 arg4 = &temp4;
1864 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1865 }
1866 }
1867 if (obj4) {
1868 {
1869 arg5 = &temp5;
1870 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1871 }
1872 }
1873 if (obj5) {
1874 {
1875 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1876 if (PyErr_Occurred()) SWIG_fail;
1877 }
1878 }
1879 if (obj6) {
1880 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 if (arg7 == NULL) {
1882 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1883 }
1884 }
1885 if (obj7) {
1886 {
1887 arg8 = wxString_in_helper(obj7);
1888 if (arg8 == NULL) SWIG_fail;
1889 temp8 = True;
1890 }
1891 }
1892 {
1893 PyThreadState* __tstate = wxPyBeginAllowThreads();
1894 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1895
1896 wxPyEndAllowThreads(__tstate);
1897 if (PyErr_Occurred()) SWIG_fail;
1898 }
1899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1900 {
1901 if (temp3)
1902 delete arg3;
1903 }
1904 {
1905 if (temp8)
1906 delete arg8;
1907 }
1908 return resultobj;
1909 fail:
1910 {
1911 if (temp3)
1912 delete arg3;
1913 }
1914 {
1915 if (temp8)
1916 delete arg8;
1917 }
1918 return NULL;
1919 }
1920
1921
1922 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxCheckBox *result;
1925 char *kwnames[] = {
1926 NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1930 {
1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
1932 result = (wxCheckBox *)new wxCheckBox();
1933
1934 wxPyEndAllowThreads(__tstate);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 }
1937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1938 return resultobj;
1939 fail:
1940 return NULL;
1941 }
1942
1943
1944 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1945 PyObject *resultobj;
1946 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1947 wxWindow *arg2 = (wxWindow *) 0 ;
1948 int arg3 ;
1949 wxString *arg4 = 0 ;
1950 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1951 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1952 wxSize const &arg6_defvalue = wxDefaultSize ;
1953 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1954 long arg7 = (long) 0 ;
1955 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1956 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1957 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1958 wxString *arg9 = (wxString *) &arg9_defvalue ;
1959 bool result;
1960 bool temp4 = False ;
1961 wxPoint temp5 ;
1962 wxSize temp6 ;
1963 bool temp9 = False ;
1964 PyObject * obj0 = 0 ;
1965 PyObject * obj1 = 0 ;
1966 PyObject * obj2 = 0 ;
1967 PyObject * obj3 = 0 ;
1968 PyObject * obj4 = 0 ;
1969 PyObject * obj5 = 0 ;
1970 PyObject * obj6 = 0 ;
1971 PyObject * obj7 = 0 ;
1972 PyObject * obj8 = 0 ;
1973 char *kwnames[] = {
1974 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1975 };
1976
1977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1980 {
1981 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1982 if (PyErr_Occurred()) SWIG_fail;
1983 }
1984 {
1985 arg4 = wxString_in_helper(obj3);
1986 if (arg4 == NULL) SWIG_fail;
1987 temp4 = True;
1988 }
1989 if (obj4) {
1990 {
1991 arg5 = &temp5;
1992 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1993 }
1994 }
1995 if (obj5) {
1996 {
1997 arg6 = &temp6;
1998 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1999 }
2000 }
2001 if (obj6) {
2002 {
2003 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2004 if (PyErr_Occurred()) SWIG_fail;
2005 }
2006 }
2007 if (obj7) {
2008 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2009 if (arg8 == NULL) {
2010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2011 }
2012 }
2013 if (obj8) {
2014 {
2015 arg9 = wxString_in_helper(obj8);
2016 if (arg9 == NULL) SWIG_fail;
2017 temp9 = True;
2018 }
2019 }
2020 {
2021 PyThreadState* __tstate = wxPyBeginAllowThreads();
2022 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2023
2024 wxPyEndAllowThreads(__tstate);
2025 if (PyErr_Occurred()) SWIG_fail;
2026 }
2027 resultobj = SWIG_PyObj_FromBool((bool)result);
2028 {
2029 if (temp4)
2030 delete arg4;
2031 }
2032 {
2033 if (temp9)
2034 delete arg9;
2035 }
2036 return resultobj;
2037 fail:
2038 {
2039 if (temp4)
2040 delete arg4;
2041 }
2042 {
2043 if (temp9)
2044 delete arg9;
2045 }
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2051 PyObject *resultobj;
2052 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2053 bool result;
2054 PyObject * obj0 = 0 ;
2055 char *kwnames[] = {
2056 (char *) "self", NULL
2057 };
2058
2059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2061 {
2062 PyThreadState* __tstate = wxPyBeginAllowThreads();
2063 result = (bool)(arg1)->GetValue();
2064
2065 wxPyEndAllowThreads(__tstate);
2066 if (PyErr_Occurred()) SWIG_fail;
2067 }
2068 resultobj = SWIG_PyObj_FromBool((bool)result);
2069 return resultobj;
2070 fail:
2071 return NULL;
2072 }
2073
2074
2075 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2076 PyObject *resultobj;
2077 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2078 bool result;
2079 PyObject * obj0 = 0 ;
2080 char *kwnames[] = {
2081 (char *) "self", NULL
2082 };
2083
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2086 {
2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
2088 result = (bool)(arg1)->IsChecked();
2089
2090 wxPyEndAllowThreads(__tstate);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 }
2093 resultobj = SWIG_PyObj_FromBool((bool)result);
2094 return resultobj;
2095 fail:
2096 return NULL;
2097 }
2098
2099
2100 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject *resultobj;
2102 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2103 bool arg2 ;
2104 PyObject * obj0 = 0 ;
2105 PyObject * obj1 = 0 ;
2106 char *kwnames[] = {
2107 (char *) "self",(char *) "state", NULL
2108 };
2109
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2112 {
2113 arg2 = (bool const) SWIG_PyObj_AsBool(obj1);
2114 if (PyErr_Occurred()) SWIG_fail;
2115 }
2116 {
2117 PyThreadState* __tstate = wxPyBeginAllowThreads();
2118 (arg1)->SetValue(arg2);
2119
2120 wxPyEndAllowThreads(__tstate);
2121 if (PyErr_Occurred()) SWIG_fail;
2122 }
2123 Py_INCREF(Py_None); resultobj = Py_None;
2124 return resultobj;
2125 fail:
2126 return NULL;
2127 }
2128
2129
2130 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2131 PyObject *resultobj;
2132 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2133 int result;
2134 PyObject * obj0 = 0 ;
2135 char *kwnames[] = {
2136 (char *) "self", NULL
2137 };
2138
2139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2141 {
2142 PyThreadState* __tstate = wxPyBeginAllowThreads();
2143 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2144
2145 wxPyEndAllowThreads(__tstate);
2146 if (PyErr_Occurred()) SWIG_fail;
2147 }
2148 resultobj = SWIG_PyObj_FromInt((int)result);
2149 return resultobj;
2150 fail:
2151 return NULL;
2152 }
2153
2154
2155 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject *resultobj;
2157 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2158 int arg2 ;
2159 PyObject * obj0 = 0 ;
2160 PyObject * obj1 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "self",(char *) "state", NULL
2163 };
2164
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 {
2168 arg2 = (wxCheckBoxState) SWIG_PyObj_AsInt(obj1);
2169 if (PyErr_Occurred()) SWIG_fail;
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 Py_INCREF(Py_None); resultobj = Py_None;
2179 return resultobj;
2180 fail:
2181 return NULL;
2182 }
2183
2184
2185 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2188 bool result;
2189 PyObject * obj0 = 0 ;
2190 char *kwnames[] = {
2191 (char *) "self", NULL
2192 };
2193
2194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2196 {
2197 PyThreadState* __tstate = wxPyBeginAllowThreads();
2198 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2199
2200 wxPyEndAllowThreads(__tstate);
2201 if (PyErr_Occurred()) SWIG_fail;
2202 }
2203 resultobj = SWIG_PyObj_FromBool((bool)result);
2204 return resultobj;
2205 fail:
2206 return NULL;
2207 }
2208
2209
2210 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2211 PyObject *resultobj;
2212 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2213 bool result;
2214 PyObject * obj0 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2221 {
2222 PyThreadState* __tstate = wxPyBeginAllowThreads();
2223 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2224
2225 wxPyEndAllowThreads(__tstate);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 resultobj = SWIG_PyObj_FromBool((bool)result);
2229 return resultobj;
2230 fail:
2231 return NULL;
2232 }
2233
2234
2235 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2236 PyObject *obj;
2237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2238 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2239 Py_INCREF(obj);
2240 return Py_BuildValue((char *)"");
2241 }
2242 static int _wrap_ChoiceNameStr_set(PyObject *) {
2243 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2244 return 1;
2245 }
2246
2247
2248 static PyObject *_wrap_ChoiceNameStr_get() {
2249 PyObject *pyobj;
2250
2251 {
2252 #if wxUSE_UNICODE
2253 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2254 #else
2255 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2256 #endif
2257 }
2258 return pyobj;
2259 }
2260
2261
2262 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxWindow *arg1 = (wxWindow *) 0 ;
2265 int arg2 ;
2266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2268 wxSize const &arg4_defvalue = wxDefaultSize ;
2269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2270 int arg5 = (int) 0 ;
2271 wxString *arg6 = (wxString *) NULL ;
2272 long arg7 = (long) 0 ;
2273 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2274 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2275 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2276 wxString *arg9 = (wxString *) &arg9_defvalue ;
2277 wxChoice *result;
2278 wxPoint temp3 ;
2279 wxSize temp4 ;
2280 bool temp8 = False ;
2281 PyObject * obj0 = 0 ;
2282 PyObject * obj1 = 0 ;
2283 PyObject * obj2 = 0 ;
2284 PyObject * obj3 = 0 ;
2285 PyObject * obj4 = 0 ;
2286 PyObject * obj5 = 0 ;
2287 PyObject * obj6 = 0 ;
2288 PyObject * obj7 = 0 ;
2289 char *kwnames[] = {
2290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2291 };
2292
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2295 {
2296 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2297 if (PyErr_Occurred()) SWIG_fail;
2298 }
2299 if (obj2) {
2300 {
2301 arg3 = &temp3;
2302 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2303 }
2304 }
2305 if (obj3) {
2306 {
2307 arg4 = &temp4;
2308 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2309 }
2310 }
2311 if (obj4) {
2312 {
2313 arg5 = PyList_Size(obj4);
2314 arg6 = wxString_LIST_helper(obj4);
2315 if (arg6 == NULL) SWIG_fail;
2316 }
2317 }
2318 if (obj5) {
2319 {
2320 arg7 = (long) SWIG_PyObj_AsLong(obj5);
2321 if (PyErr_Occurred()) SWIG_fail;
2322 }
2323 }
2324 if (obj6) {
2325 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2326 if (arg8 == NULL) {
2327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2328 }
2329 }
2330 if (obj7) {
2331 {
2332 arg9 = wxString_in_helper(obj7);
2333 if (arg9 == NULL) SWIG_fail;
2334 temp8 = True;
2335 }
2336 }
2337 {
2338 PyThreadState* __tstate = wxPyBeginAllowThreads();
2339 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2340
2341 wxPyEndAllowThreads(__tstate);
2342 if (PyErr_Occurred()) SWIG_fail;
2343 }
2344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2345 {
2346 if (arg6) delete [] arg6;
2347 }
2348 {
2349 if (temp8)
2350 delete arg9;
2351 }
2352 return resultobj;
2353 fail:
2354 {
2355 if (arg6) delete [] arg6;
2356 }
2357 {
2358 if (temp8)
2359 delete arg9;
2360 }
2361 return NULL;
2362 }
2363
2364
2365 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2366 PyObject *resultobj;
2367 wxChoice *result;
2368 char *kwnames[] = {
2369 NULL
2370 };
2371
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2373 {
2374 PyThreadState* __tstate = wxPyBeginAllowThreads();
2375 result = (wxChoice *)new wxChoice();
2376
2377 wxPyEndAllowThreads(__tstate);
2378 if (PyErr_Occurred()) SWIG_fail;
2379 }
2380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2381 return resultobj;
2382 fail:
2383 return NULL;
2384 }
2385
2386
2387 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2388 PyObject *resultobj;
2389 wxChoice *arg1 = (wxChoice *) 0 ;
2390 wxWindow *arg2 = (wxWindow *) 0 ;
2391 int arg3 ;
2392 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2393 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2394 wxSize const &arg5_defvalue = wxDefaultSize ;
2395 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2396 int arg6 = (int) 0 ;
2397 wxString *arg7 = (wxString *) NULL ;
2398 long arg8 = (long) 0 ;
2399 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2400 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2401 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2402 wxString *arg10 = (wxString *) &arg10_defvalue ;
2403 bool result;
2404 wxPoint temp4 ;
2405 wxSize temp5 ;
2406 bool temp9 = False ;
2407 PyObject * obj0 = 0 ;
2408 PyObject * obj1 = 0 ;
2409 PyObject * obj2 = 0 ;
2410 PyObject * obj3 = 0 ;
2411 PyObject * obj4 = 0 ;
2412 PyObject * obj5 = 0 ;
2413 PyObject * obj6 = 0 ;
2414 PyObject * obj7 = 0 ;
2415 PyObject * obj8 = 0 ;
2416 char *kwnames[] = {
2417 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2418 };
2419
2420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2423 {
2424 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 if (obj3) {
2428 {
2429 arg4 = &temp4;
2430 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2431 }
2432 }
2433 if (obj4) {
2434 {
2435 arg5 = &temp5;
2436 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2437 }
2438 }
2439 if (obj5) {
2440 {
2441 arg6 = PyList_Size(obj5);
2442 arg7 = wxString_LIST_helper(obj5);
2443 if (arg7 == NULL) SWIG_fail;
2444 }
2445 }
2446 if (obj6) {
2447 {
2448 arg8 = (long) SWIG_PyObj_AsLong(obj6);
2449 if (PyErr_Occurred()) SWIG_fail;
2450 }
2451 }
2452 if (obj7) {
2453 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2454 if (arg9 == NULL) {
2455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2456 }
2457 }
2458 if (obj8) {
2459 {
2460 arg10 = wxString_in_helper(obj8);
2461 if (arg10 == NULL) SWIG_fail;
2462 temp9 = True;
2463 }
2464 }
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 resultobj = SWIG_PyObj_FromBool((bool)result);
2473 {
2474 if (arg7) delete [] arg7;
2475 }
2476 {
2477 if (temp9)
2478 delete arg10;
2479 }
2480 return resultobj;
2481 fail:
2482 {
2483 if (arg7) delete [] arg7;
2484 }
2485 {
2486 if (temp9)
2487 delete arg10;
2488 }
2489 return NULL;
2490 }
2491
2492
2493 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxChoice *arg1 = (wxChoice *) 0 ;
2496 int result;
2497 PyObject * obj0 = 0 ;
2498 char *kwnames[] = {
2499 (char *) "self", NULL
2500 };
2501
2502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2504 {
2505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2506 result = (int)(arg1)->GetColumns();
2507
2508 wxPyEndAllowThreads(__tstate);
2509 if (PyErr_Occurred()) SWIG_fail;
2510 }
2511 resultobj = SWIG_PyObj_FromInt((int)result);
2512 return resultobj;
2513 fail:
2514 return NULL;
2515 }
2516
2517
2518 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2519 PyObject *resultobj;
2520 wxChoice *arg1 = (wxChoice *) 0 ;
2521 int arg2 = (int) (int)1 ;
2522 PyObject * obj0 = 0 ;
2523 PyObject * obj1 = 0 ;
2524 char *kwnames[] = {
2525 (char *) "self",(char *) "n", NULL
2526 };
2527
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Choice_SetColumns",kwnames,&obj0,&obj1)) goto fail;
2529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2530 if (obj1) {
2531 {
2532 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2533 if (PyErr_Occurred()) SWIG_fail;
2534 }
2535 }
2536 {
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 (arg1)->SetColumns(arg2);
2539
2540 wxPyEndAllowThreads(__tstate);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 }
2543 Py_INCREF(Py_None); resultobj = Py_None;
2544 return resultobj;
2545 fail:
2546 return NULL;
2547 }
2548
2549
2550 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2551 PyObject *resultobj;
2552 wxChoice *arg1 = (wxChoice *) 0 ;
2553 int arg2 ;
2554 PyObject * obj0 = 0 ;
2555 PyObject * obj1 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self",(char *) "n", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2562 {
2563 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2564 if (PyErr_Occurred()) SWIG_fail;
2565 }
2566 {
2567 PyThreadState* __tstate = wxPyBeginAllowThreads();
2568 (arg1)->SetSelection(arg2);
2569
2570 wxPyEndAllowThreads(__tstate);
2571 if (PyErr_Occurred()) SWIG_fail;
2572 }
2573 Py_INCREF(Py_None); resultobj = Py_None;
2574 return resultobj;
2575 fail:
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxChoice *arg1 = (wxChoice *) 0 ;
2583 wxString *arg2 = 0 ;
2584 bool temp2 = False ;
2585 PyObject * obj0 = 0 ;
2586 PyObject * obj1 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "self",(char *) "string", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2593 {
2594 arg2 = wxString_in_helper(obj1);
2595 if (arg2 == NULL) SWIG_fail;
2596 temp2 = True;
2597 }
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 (arg1)->SetStringSelection((wxString const &)*arg2);
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 Py_INCREF(Py_None); resultobj = Py_None;
2606 {
2607 if (temp2)
2608 delete arg2;
2609 }
2610 return resultobj;
2611 fail:
2612 {
2613 if (temp2)
2614 delete arg2;
2615 }
2616 return NULL;
2617 }
2618
2619
2620 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject *resultobj;
2622 wxChoice *arg1 = (wxChoice *) 0 ;
2623 int arg2 ;
2624 wxString *arg3 = 0 ;
2625 bool temp3 = False ;
2626 PyObject * obj0 = 0 ;
2627 PyObject * obj1 = 0 ;
2628 PyObject * obj2 = 0 ;
2629 char *kwnames[] = {
2630 (char *) "self",(char *) "n",(char *) "s", NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2635 {
2636 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2637 if (PyErr_Occurred()) SWIG_fail;
2638 }
2639 {
2640 arg3 = wxString_in_helper(obj2);
2641 if (arg3 == NULL) SWIG_fail;
2642 temp3 = True;
2643 }
2644 {
2645 PyThreadState* __tstate = wxPyBeginAllowThreads();
2646 (arg1)->SetString(arg2,(wxString const &)*arg3);
2647
2648 wxPyEndAllowThreads(__tstate);
2649 if (PyErr_Occurred()) SWIG_fail;
2650 }
2651 Py_INCREF(Py_None); resultobj = Py_None;
2652 {
2653 if (temp3)
2654 delete arg3;
2655 }
2656 return resultobj;
2657 fail:
2658 {
2659 if (temp3)
2660 delete arg3;
2661 }
2662 return NULL;
2663 }
2664
2665
2666 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2667 PyObject *obj;
2668 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2669 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2670 Py_INCREF(obj);
2671 return Py_BuildValue((char *)"");
2672 }
2673 static int _wrap_ComboBoxNameStr_set(PyObject *) {
2674 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2675 return 1;
2676 }
2677
2678
2679 static PyObject *_wrap_ComboBoxNameStr_get() {
2680 PyObject *pyobj;
2681
2682 {
2683 #if wxUSE_UNICODE
2684 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2685 #else
2686 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2687 #endif
2688 }
2689 return pyobj;
2690 }
2691
2692
2693 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2694 PyObject *resultobj;
2695 wxWindow *arg1 = (wxWindow *) 0 ;
2696 int arg2 ;
2697 wxString const &arg3_defvalue = wxPyEmptyString ;
2698 wxString *arg3 = (wxString *) &arg3_defvalue ;
2699 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2700 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2701 wxSize const &arg5_defvalue = wxDefaultSize ;
2702 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2703 int arg6 = (int) 0 ;
2704 wxString *arg7 = (wxString *) NULL ;
2705 long arg8 = (long) 0 ;
2706 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2707 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2708 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2709 wxString *arg10 = (wxString *) &arg10_defvalue ;
2710 wxComboBox *result;
2711 bool temp3 = False ;
2712 wxPoint temp4 ;
2713 wxSize temp5 ;
2714 bool temp9 = False ;
2715 PyObject * obj0 = 0 ;
2716 PyObject * obj1 = 0 ;
2717 PyObject * obj2 = 0 ;
2718 PyObject * obj3 = 0 ;
2719 PyObject * obj4 = 0 ;
2720 PyObject * obj5 = 0 ;
2721 PyObject * obj6 = 0 ;
2722 PyObject * obj7 = 0 ;
2723 PyObject * obj8 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 {
2731 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2732 if (PyErr_Occurred()) SWIG_fail;
2733 }
2734 if (obj2) {
2735 {
2736 arg3 = wxString_in_helper(obj2);
2737 if (arg3 == NULL) SWIG_fail;
2738 temp3 = True;
2739 }
2740 }
2741 if (obj3) {
2742 {
2743 arg4 = &temp4;
2744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2745 }
2746 }
2747 if (obj4) {
2748 {
2749 arg5 = &temp5;
2750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2751 }
2752 }
2753 if (obj5) {
2754 {
2755 arg6 = PyList_Size(obj5);
2756 arg7 = wxString_LIST_helper(obj5);
2757 if (arg7 == NULL) SWIG_fail;
2758 }
2759 }
2760 if (obj6) {
2761 {
2762 arg8 = (long) SWIG_PyObj_AsLong(obj6);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 }
2766 if (obj7) {
2767 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2768 if (arg9 == NULL) {
2769 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2770 }
2771 }
2772 if (obj8) {
2773 {
2774 arg10 = wxString_in_helper(obj8);
2775 if (arg10 == NULL) SWIG_fail;
2776 temp9 = True;
2777 }
2778 }
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2787 {
2788 if (temp3)
2789 delete arg3;
2790 }
2791 {
2792 if (arg7) delete [] arg7;
2793 }
2794 {
2795 if (temp9)
2796 delete arg10;
2797 }
2798 return resultobj;
2799 fail:
2800 {
2801 if (temp3)
2802 delete arg3;
2803 }
2804 {
2805 if (arg7) delete [] arg7;
2806 }
2807 {
2808 if (temp9)
2809 delete arg10;
2810 }
2811 return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxComboBox *result;
2818 char *kwnames[] = {
2819 NULL
2820 };
2821
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2823 {
2824 PyThreadState* __tstate = wxPyBeginAllowThreads();
2825 result = (wxComboBox *)new wxComboBox();
2826
2827 wxPyEndAllowThreads(__tstate);
2828 if (PyErr_Occurred()) SWIG_fail;
2829 }
2830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2831 return resultobj;
2832 fail:
2833 return NULL;
2834 }
2835
2836
2837 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj;
2839 wxComboBox *arg1 = (wxComboBox *) 0 ;
2840 wxWindow *arg2 = (wxWindow *) 0 ;
2841 int arg3 ;
2842 wxString const &arg4_defvalue = wxPyEmptyString ;
2843 wxString *arg4 = (wxString *) &arg4_defvalue ;
2844 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2845 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2846 wxSize const &arg6_defvalue = wxDefaultSize ;
2847 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2848 int arg7 = (int) 0 ;
2849 wxString *arg8 = (wxString *) NULL ;
2850 long arg9 = (long) 0 ;
2851 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2852 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2853 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2854 wxString *arg11 = (wxString *) &arg11_defvalue ;
2855 bool result;
2856 bool temp4 = False ;
2857 wxPoint temp5 ;
2858 wxSize temp6 ;
2859 bool temp10 = False ;
2860 PyObject * obj0 = 0 ;
2861 PyObject * obj1 = 0 ;
2862 PyObject * obj2 = 0 ;
2863 PyObject * obj3 = 0 ;
2864 PyObject * obj4 = 0 ;
2865 PyObject * obj5 = 0 ;
2866 PyObject * obj6 = 0 ;
2867 PyObject * obj7 = 0 ;
2868 PyObject * obj8 = 0 ;
2869 PyObject * obj9 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2877 {
2878 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 if (obj3) {
2882 {
2883 arg4 = wxString_in_helper(obj3);
2884 if (arg4 == NULL) SWIG_fail;
2885 temp4 = True;
2886 }
2887 }
2888 if (obj4) {
2889 {
2890 arg5 = &temp5;
2891 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2892 }
2893 }
2894 if (obj5) {
2895 {
2896 arg6 = &temp6;
2897 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2898 }
2899 }
2900 if (obj6) {
2901 {
2902 arg7 = PyList_Size(obj6);
2903 arg8 = wxString_LIST_helper(obj6);
2904 if (arg8 == NULL) SWIG_fail;
2905 }
2906 }
2907 if (obj7) {
2908 {
2909 arg9 = (long) SWIG_PyObj_AsLong(obj7);
2910 if (PyErr_Occurred()) SWIG_fail;
2911 }
2912 }
2913 if (obj8) {
2914 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2915 if (arg10 == NULL) {
2916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2917 }
2918 }
2919 if (obj9) {
2920 {
2921 arg11 = wxString_in_helper(obj9);
2922 if (arg11 == NULL) SWIG_fail;
2923 temp10 = True;
2924 }
2925 }
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 resultobj = SWIG_PyObj_FromBool((bool)result);
2934 {
2935 if (temp4)
2936 delete arg4;
2937 }
2938 {
2939 if (arg8) delete [] arg8;
2940 }
2941 {
2942 if (temp10)
2943 delete arg11;
2944 }
2945 return resultobj;
2946 fail:
2947 {
2948 if (temp4)
2949 delete arg4;
2950 }
2951 {
2952 if (arg8) delete [] arg8;
2953 }
2954 {
2955 if (temp10)
2956 delete arg11;
2957 }
2958 return NULL;
2959 }
2960
2961
2962 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2963 PyObject *resultobj;
2964 wxComboBox *arg1 = (wxComboBox *) 0 ;
2965 wxString result;
2966 PyObject * obj0 = 0 ;
2967 char *kwnames[] = {
2968 (char *) "self", NULL
2969 };
2970
2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2973 {
2974 PyThreadState* __tstate = wxPyBeginAllowThreads();
2975 result = ((wxComboBox const *)arg1)->GetValue();
2976
2977 wxPyEndAllowThreads(__tstate);
2978 if (PyErr_Occurred()) SWIG_fail;
2979 }
2980 {
2981 #if wxUSE_UNICODE
2982 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2983 #else
2984 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2985 #endif
2986 }
2987 return resultobj;
2988 fail:
2989 return NULL;
2990 }
2991
2992
2993 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2994 PyObject *resultobj;
2995 wxComboBox *arg1 = (wxComboBox *) 0 ;
2996 wxString *arg2 = 0 ;
2997 bool temp2 = False ;
2998 PyObject * obj0 = 0 ;
2999 PyObject * obj1 = 0 ;
3000 char *kwnames[] = {
3001 (char *) "self",(char *) "value", NULL
3002 };
3003
3004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3006 {
3007 arg2 = wxString_in_helper(obj1);
3008 if (arg2 == NULL) SWIG_fail;
3009 temp2 = True;
3010 }
3011 {
3012 PyThreadState* __tstate = wxPyBeginAllowThreads();
3013 (arg1)->SetValue((wxString const &)*arg2);
3014
3015 wxPyEndAllowThreads(__tstate);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 }
3018 Py_INCREF(Py_None); resultobj = Py_None;
3019 {
3020 if (temp2)
3021 delete arg2;
3022 }
3023 return resultobj;
3024 fail:
3025 {
3026 if (temp2)
3027 delete arg2;
3028 }
3029 return NULL;
3030 }
3031
3032
3033 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3034 PyObject *resultobj;
3035 wxComboBox *arg1 = (wxComboBox *) 0 ;
3036 PyObject * obj0 = 0 ;
3037 char *kwnames[] = {
3038 (char *) "self", NULL
3039 };
3040
3041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3043 {
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
3045 (arg1)->Copy();
3046
3047 wxPyEndAllowThreads(__tstate);
3048 if (PyErr_Occurred()) SWIG_fail;
3049 }
3050 Py_INCREF(Py_None); resultobj = Py_None;
3051 return resultobj;
3052 fail:
3053 return NULL;
3054 }
3055
3056
3057 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3058 PyObject *resultobj;
3059 wxComboBox *arg1 = (wxComboBox *) 0 ;
3060 PyObject * obj0 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 (arg1)->Cut();
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 Py_INCREF(Py_None); resultobj = Py_None;
3075 return resultobj;
3076 fail:
3077 return NULL;
3078 }
3079
3080
3081 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxComboBox *arg1 = (wxComboBox *) 0 ;
3084 PyObject * obj0 = 0 ;
3085 char *kwnames[] = {
3086 (char *) "self", NULL
3087 };
3088
3089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3091 {
3092 PyThreadState* __tstate = wxPyBeginAllowThreads();
3093 (arg1)->Paste();
3094
3095 wxPyEndAllowThreads(__tstate);
3096 if (PyErr_Occurred()) SWIG_fail;
3097 }
3098 Py_INCREF(Py_None); resultobj = Py_None;
3099 return resultobj;
3100 fail:
3101 return NULL;
3102 }
3103
3104
3105 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3106 PyObject *resultobj;
3107 wxComboBox *arg1 = (wxComboBox *) 0 ;
3108 long arg2 ;
3109 PyObject * obj0 = 0 ;
3110 PyObject * obj1 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self",(char *) "pos", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 {
3118 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 (arg1)->SetInsertionPoint(arg2);
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 Py_INCREF(Py_None); resultobj = Py_None;
3129 return resultobj;
3130 fail:
3131 return NULL;
3132 }
3133
3134
3135 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3136 PyObject *resultobj;
3137 wxComboBox *arg1 = (wxComboBox *) 0 ;
3138 long result;
3139 PyObject * obj0 = 0 ;
3140 char *kwnames[] = {
3141 (char *) "self", NULL
3142 };
3143
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3146 {
3147 PyThreadState* __tstate = wxPyBeginAllowThreads();
3148 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3149
3150 wxPyEndAllowThreads(__tstate);
3151 if (PyErr_Occurred()) SWIG_fail;
3152 }
3153 resultobj = SWIG_PyObj_FromLong((long)result);
3154 return resultobj;
3155 fail:
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj;
3162 wxComboBox *arg1 = (wxComboBox *) 0 ;
3163 long result;
3164 PyObject * obj0 = 0 ;
3165 char *kwnames[] = {
3166 (char *) "self", NULL
3167 };
3168
3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 resultobj = SWIG_PyObj_FromLong((long)result);
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxComboBox *arg1 = (wxComboBox *) 0 ;
3188 long arg2 ;
3189 long arg3 ;
3190 wxString *arg4 = 0 ;
3191 bool temp4 = False ;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 PyObject * obj2 = 0 ;
3195 PyObject * obj3 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3202 {
3203 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 {
3207 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3208 if (PyErr_Occurred()) SWIG_fail;
3209 }
3210 {
3211 arg4 = wxString_in_helper(obj3);
3212 if (arg4 == NULL) SWIG_fail;
3213 temp4 = True;
3214 }
3215 {
3216 PyThreadState* __tstate = wxPyBeginAllowThreads();
3217 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3218
3219 wxPyEndAllowThreads(__tstate);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 Py_INCREF(Py_None); resultobj = Py_None;
3223 {
3224 if (temp4)
3225 delete arg4;
3226 }
3227 return resultobj;
3228 fail:
3229 {
3230 if (temp4)
3231 delete arg4;
3232 }
3233 return NULL;
3234 }
3235
3236
3237 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3238 PyObject *resultobj;
3239 wxComboBox *arg1 = (wxComboBox *) 0 ;
3240 int arg2 ;
3241 PyObject * obj0 = 0 ;
3242 PyObject * obj1 = 0 ;
3243 char *kwnames[] = {
3244 (char *) "self",(char *) "n", NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3249 {
3250 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 }
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
3255 (arg1)->SetSelection(arg2);
3256
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 Py_INCREF(Py_None); resultobj = Py_None;
3261 return resultobj;
3262 fail:
3263 return NULL;
3264 }
3265
3266
3267 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3268 PyObject *resultobj;
3269 wxComboBox *arg1 = (wxComboBox *) 0 ;
3270 long arg2 ;
3271 long arg3 ;
3272 PyObject * obj0 = 0 ;
3273 PyObject * obj1 = 0 ;
3274 PyObject * obj2 = 0 ;
3275 char *kwnames[] = {
3276 (char *) "self",(char *) "from",(char *) "to", NULL
3277 };
3278
3279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3281 {
3282 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3283 if (PyErr_Occurred()) SWIG_fail;
3284 }
3285 {
3286 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 (arg1)->SetSelection(arg2,arg3);
3292
3293 wxPyEndAllowThreads(__tstate);
3294 if (PyErr_Occurred()) SWIG_fail;
3295 }
3296 Py_INCREF(Py_None); resultobj = Py_None;
3297 return resultobj;
3298 fail:
3299 return NULL;
3300 }
3301
3302
3303 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3304 PyObject *resultobj;
3305 wxComboBox *arg1 = (wxComboBox *) 0 ;
3306 bool arg2 ;
3307 PyObject * obj0 = 0 ;
3308 PyObject * obj1 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "self",(char *) "editable", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3315 {
3316 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3317 if (PyErr_Occurred()) SWIG_fail;
3318 }
3319 {
3320 PyThreadState* __tstate = wxPyBeginAllowThreads();
3321 (arg1)->SetEditable(arg2);
3322
3323 wxPyEndAllowThreads(__tstate);
3324 if (PyErr_Occurred()) SWIG_fail;
3325 }
3326 Py_INCREF(Py_None); resultobj = Py_None;
3327 return resultobj;
3328 fail:
3329 return NULL;
3330 }
3331
3332
3333 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3334 PyObject *resultobj;
3335 wxComboBox *arg1 = (wxComboBox *) 0 ;
3336 PyObject * obj0 = 0 ;
3337 char *kwnames[] = {
3338 (char *) "self", NULL
3339 };
3340
3341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3343 {
3344 PyThreadState* __tstate = wxPyBeginAllowThreads();
3345 (arg1)->SetInsertionPointEnd();
3346
3347 wxPyEndAllowThreads(__tstate);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 }
3350 Py_INCREF(Py_None); resultobj = Py_None;
3351 return resultobj;
3352 fail:
3353 return NULL;
3354 }
3355
3356
3357 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject *resultobj;
3359 wxComboBox *arg1 = (wxComboBox *) 0 ;
3360 long arg2 ;
3361 long arg3 ;
3362 PyObject * obj0 = 0 ;
3363 PyObject * obj1 = 0 ;
3364 PyObject * obj2 = 0 ;
3365 char *kwnames[] = {
3366 (char *) "self",(char *) "from",(char *) "to", NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3371 {
3372 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
3375 {
3376 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 (arg1)->Remove(arg2,arg3);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 Py_INCREF(Py_None); resultobj = Py_None;
3387 return resultobj;
3388 fail:
3389 return NULL;
3390 }
3391
3392
3393 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3394 PyObject *obj;
3395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3396 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3397 Py_INCREF(obj);
3398 return Py_BuildValue((char *)"");
3399 }
3400 static int _wrap_GaugeNameStr_set(PyObject *) {
3401 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3402 return 1;
3403 }
3404
3405
3406 static PyObject *_wrap_GaugeNameStr_get() {
3407 PyObject *pyobj;
3408
3409 {
3410 #if wxUSE_UNICODE
3411 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3412 #else
3413 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3414 #endif
3415 }
3416 return pyobj;
3417 }
3418
3419
3420 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject *resultobj;
3422 wxWindow *arg1 = (wxWindow *) 0 ;
3423 int arg2 ;
3424 int arg3 ;
3425 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3426 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3427 wxSize const &arg5_defvalue = wxDefaultSize ;
3428 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3429 long arg6 = (long) wxGA_HORIZONTAL ;
3430 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3431 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3432 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3433 wxString *arg8 = (wxString *) &arg8_defvalue ;
3434 wxGauge *result;
3435 wxPoint temp4 ;
3436 wxSize temp5 ;
3437 bool temp8 = False ;
3438 PyObject * obj0 = 0 ;
3439 PyObject * obj1 = 0 ;
3440 PyObject * obj2 = 0 ;
3441 PyObject * obj3 = 0 ;
3442 PyObject * obj4 = 0 ;
3443 PyObject * obj5 = 0 ;
3444 PyObject * obj6 = 0 ;
3445 PyObject * obj7 = 0 ;
3446 char *kwnames[] = {
3447 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3448 };
3449
3450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3452 {
3453 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 {
3457 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 }
3460 if (obj3) {
3461 {
3462 arg4 = &temp4;
3463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3464 }
3465 }
3466 if (obj4) {
3467 {
3468 arg5 = &temp5;
3469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3470 }
3471 }
3472 if (obj5) {
3473 {
3474 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3475 if (PyErr_Occurred()) SWIG_fail;
3476 }
3477 }
3478 if (obj6) {
3479 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3480 if (arg7 == NULL) {
3481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3482 }
3483 }
3484 if (obj7) {
3485 {
3486 arg8 = wxString_in_helper(obj7);
3487 if (arg8 == NULL) SWIG_fail;
3488 temp8 = True;
3489 }
3490 }
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
3498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3499 {
3500 if (temp8)
3501 delete arg8;
3502 }
3503 return resultobj;
3504 fail:
3505 {
3506 if (temp8)
3507 delete arg8;
3508 }
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxGauge *result;
3516 char *kwnames[] = {
3517 NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 result = (wxGauge *)new wxGauge();
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3529 return resultobj;
3530 fail:
3531 return NULL;
3532 }
3533
3534
3535 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3536 PyObject *resultobj;
3537 wxGauge *arg1 = (wxGauge *) 0 ;
3538 wxWindow *arg2 = (wxWindow *) 0 ;
3539 int arg3 ;
3540 int arg4 ;
3541 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3542 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3543 wxSize const &arg6_defvalue = wxDefaultSize ;
3544 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3545 long arg7 = (long) wxGA_HORIZONTAL ;
3546 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3547 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3548 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3549 wxString *arg9 = (wxString *) &arg9_defvalue ;
3550 bool result;
3551 wxPoint temp5 ;
3552 wxSize temp6 ;
3553 bool temp9 = False ;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3556 PyObject * obj2 = 0 ;
3557 PyObject * obj3 = 0 ;
3558 PyObject * obj4 = 0 ;
3559 PyObject * obj5 = 0 ;
3560 PyObject * obj6 = 0 ;
3561 PyObject * obj7 = 0 ;
3562 PyObject * obj8 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3570 {
3571 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 {
3575 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 if (obj4) {
3579 {
3580 arg5 = &temp5;
3581 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3582 }
3583 }
3584 if (obj5) {
3585 {
3586 arg6 = &temp6;
3587 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3588 }
3589 }
3590 if (obj6) {
3591 {
3592 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 }
3596 if (obj7) {
3597 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3598 if (arg8 == NULL) {
3599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3600 }
3601 }
3602 if (obj8) {
3603 {
3604 arg9 = wxString_in_helper(obj8);
3605 if (arg9 == NULL) SWIG_fail;
3606 temp9 = True;
3607 }
3608 }
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 resultobj = SWIG_PyObj_FromBool((bool)result);
3617 {
3618 if (temp9)
3619 delete arg9;
3620 }
3621 return resultobj;
3622 fail:
3623 {
3624 if (temp9)
3625 delete arg9;
3626 }
3627 return NULL;
3628 }
3629
3630
3631 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3632 PyObject *resultobj;
3633 wxGauge *arg1 = (wxGauge *) 0 ;
3634 int arg2 ;
3635 PyObject * obj0 = 0 ;
3636 PyObject * obj1 = 0 ;
3637 char *kwnames[] = {
3638 (char *) "self",(char *) "range", NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3643 {
3644 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 (arg1)->SetRange(arg2);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 Py_INCREF(Py_None); resultobj = Py_None;
3655 return resultobj;
3656 fail:
3657 return NULL;
3658 }
3659
3660
3661 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxGauge *arg1 = (wxGauge *) 0 ;
3664 int result;
3665 PyObject * obj0 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 result = (int)((wxGauge const *)arg1)->GetRange();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 resultobj = SWIG_PyObj_FromInt((int)result);
3680 return resultobj;
3681 fail:
3682 return NULL;
3683 }
3684
3685
3686 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 wxGauge *arg1 = (wxGauge *) 0 ;
3689 int arg2 ;
3690 PyObject * obj0 = 0 ;
3691 PyObject * obj1 = 0 ;
3692 char *kwnames[] = {
3693 (char *) "self",(char *) "pos", NULL
3694 };
3695
3696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3698 {
3699 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 (arg1)->SetValue(arg2);
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 Py_INCREF(Py_None); resultobj = Py_None;
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 wxGauge *arg1 = (wxGauge *) 0 ;
3719 int result;
3720 PyObject * obj0 = 0 ;
3721 char *kwnames[] = {
3722 (char *) "self", NULL
3723 };
3724
3725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = (int)((wxGauge const *)arg1)->GetValue();
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 resultobj = SWIG_PyObj_FromInt((int)result);
3735 return resultobj;
3736 fail:
3737 return NULL;
3738 }
3739
3740
3741 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxGauge *arg1 = (wxGauge *) 0 ;
3744 bool result;
3745 PyObject * obj0 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (bool)((wxGauge const *)arg1)->IsVertical();
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 resultobj = SWIG_PyObj_FromBool((bool)result);
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxGauge *arg1 = (wxGauge *) 0 ;
3769 int arg2 ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "self",(char *) "w", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3778 {
3779 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 (arg1)->SetShadowWidth(arg2);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 Py_INCREF(Py_None); resultobj = Py_None;
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3797 PyObject *resultobj;
3798 wxGauge *arg1 = (wxGauge *) 0 ;
3799 int result;
3800 PyObject * obj0 = 0 ;
3801 char *kwnames[] = {
3802 (char *) "self", NULL
3803 };
3804
3805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 resultobj = SWIG_PyObj_FromInt((int)result);
3815 return resultobj;
3816 fail:
3817 return NULL;
3818 }
3819
3820
3821 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3822 PyObject *resultobj;
3823 wxGauge *arg1 = (wxGauge *) 0 ;
3824 int arg2 ;
3825 PyObject * obj0 = 0 ;
3826 PyObject * obj1 = 0 ;
3827 char *kwnames[] = {
3828 (char *) "self",(char *) "w", NULL
3829 };
3830
3831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3833 {
3834 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 }
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 (arg1)->SetBezelFace(arg2);
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 Py_INCREF(Py_None); resultobj = Py_None;
3845 return resultobj;
3846 fail:
3847 return NULL;
3848 }
3849
3850
3851 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj;
3853 wxGauge *arg1 = (wxGauge *) 0 ;
3854 int result;
3855 PyObject * obj0 = 0 ;
3856 char *kwnames[] = {
3857 (char *) "self", NULL
3858 };
3859
3860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3862 {
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3865
3866 wxPyEndAllowThreads(__tstate);
3867 if (PyErr_Occurred()) SWIG_fail;
3868 }
3869 resultobj = SWIG_PyObj_FromInt((int)result);
3870 return resultobj;
3871 fail:
3872 return NULL;
3873 }
3874
3875
3876 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3877 PyObject *obj;
3878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3879 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3880 Py_INCREF(obj);
3881 return Py_BuildValue((char *)"");
3882 }
3883 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
3884 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3885 return 1;
3886 }
3887
3888
3889 static PyObject *_wrap_StaticBitmapNameStr_get() {
3890 PyObject *pyobj;
3891
3892 {
3893 #if wxUSE_UNICODE
3894 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3895 #else
3896 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3897 #endif
3898 }
3899 return pyobj;
3900 }
3901
3902
3903 static int _wrap_StaticBoxNameStr_set(PyObject *) {
3904 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3905 return 1;
3906 }
3907
3908
3909 static PyObject *_wrap_StaticBoxNameStr_get() {
3910 PyObject *pyobj;
3911
3912 {
3913 #if wxUSE_UNICODE
3914 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3915 #else
3916 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3917 #endif
3918 }
3919 return pyobj;
3920 }
3921
3922
3923 static int _wrap_StaticTextNameStr_set(PyObject *) {
3924 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3925 return 1;
3926 }
3927
3928
3929 static PyObject *_wrap_StaticTextNameStr_get() {
3930 PyObject *pyobj;
3931
3932 {
3933 #if wxUSE_UNICODE
3934 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3935 #else
3936 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3937 #endif
3938 }
3939 return pyobj;
3940 }
3941
3942
3943 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxWindow *arg1 = (wxWindow *) 0 ;
3946 int arg2 ;
3947 wxString *arg3 = 0 ;
3948 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3949 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3950 wxSize const &arg5_defvalue = wxDefaultSize ;
3951 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3952 long arg6 = (long) 0 ;
3953 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3954 wxString *arg7 = (wxString *) &arg7_defvalue ;
3955 wxStaticBox *result;
3956 bool temp3 = False ;
3957 wxPoint temp4 ;
3958 wxSize temp5 ;
3959 bool temp7 = False ;
3960 PyObject * obj0 = 0 ;
3961 PyObject * obj1 = 0 ;
3962 PyObject * obj2 = 0 ;
3963 PyObject * obj3 = 0 ;
3964 PyObject * obj4 = 0 ;
3965 PyObject * obj5 = 0 ;
3966 PyObject * obj6 = 0 ;
3967 char *kwnames[] = {
3968 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3969 };
3970
3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3973 {
3974 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 {
3978 arg3 = wxString_in_helper(obj2);
3979 if (arg3 == NULL) SWIG_fail;
3980 temp3 = True;
3981 }
3982 if (obj3) {
3983 {
3984 arg4 = &temp4;
3985 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3986 }
3987 }
3988 if (obj4) {
3989 {
3990 arg5 = &temp5;
3991 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3992 }
3993 }
3994 if (obj5) {
3995 {
3996 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 }
4000 if (obj6) {
4001 {
4002 arg7 = wxString_in_helper(obj6);
4003 if (arg7 == NULL) SWIG_fail;
4004 temp7 = True;
4005 }
4006 }
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4010
4011 wxPyEndAllowThreads(__tstate);
4012 if (PyErr_Occurred()) SWIG_fail;
4013 }
4014 {
4015 resultobj = wxPyMake_wxObject(result);
4016 }
4017 {
4018 if (temp3)
4019 delete arg3;
4020 }
4021 {
4022 if (temp7)
4023 delete arg7;
4024 }
4025 return resultobj;
4026 fail:
4027 {
4028 if (temp3)
4029 delete arg3;
4030 }
4031 {
4032 if (temp7)
4033 delete arg7;
4034 }
4035 return NULL;
4036 }
4037
4038
4039 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4040 PyObject *resultobj;
4041 wxStaticBox *result;
4042 char *kwnames[] = {
4043 NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4047 {
4048 PyThreadState* __tstate = wxPyBeginAllowThreads();
4049 result = (wxStaticBox *)new wxStaticBox();
4050
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 {
4055 resultobj = wxPyMake_wxObject(result);
4056 }
4057 return resultobj;
4058 fail:
4059 return NULL;
4060 }
4061
4062
4063 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4064 PyObject *resultobj;
4065 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4066 wxWindow *arg2 = (wxWindow *) 0 ;
4067 int arg3 ;
4068 wxString *arg4 = 0 ;
4069 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4070 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4071 wxSize const &arg6_defvalue = wxDefaultSize ;
4072 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4073 long arg7 = (long) 0 ;
4074 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4075 wxString *arg8 = (wxString *) &arg8_defvalue ;
4076 bool result;
4077 bool temp4 = False ;
4078 wxPoint temp5 ;
4079 wxSize temp6 ;
4080 bool temp8 = False ;
4081 PyObject * obj0 = 0 ;
4082 PyObject * obj1 = 0 ;
4083 PyObject * obj2 = 0 ;
4084 PyObject * obj3 = 0 ;
4085 PyObject * obj4 = 0 ;
4086 PyObject * obj5 = 0 ;
4087 PyObject * obj6 = 0 ;
4088 PyObject * obj7 = 0 ;
4089 char *kwnames[] = {
4090 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4091 };
4092
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4096 {
4097 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 {
4101 arg4 = wxString_in_helper(obj3);
4102 if (arg4 == NULL) SWIG_fail;
4103 temp4 = True;
4104 }
4105 if (obj4) {
4106 {
4107 arg5 = &temp5;
4108 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4109 }
4110 }
4111 if (obj5) {
4112 {
4113 arg6 = &temp6;
4114 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4115 }
4116 }
4117 if (obj6) {
4118 {
4119 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 }
4123 if (obj7) {
4124 {
4125 arg8 = wxString_in_helper(obj7);
4126 if (arg8 == NULL) SWIG_fail;
4127 temp8 = True;
4128 }
4129 }
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4133
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = SWIG_PyObj_FromBool((bool)result);
4138 {
4139 if (temp4)
4140 delete arg4;
4141 }
4142 {
4143 if (temp8)
4144 delete arg8;
4145 }
4146 return resultobj;
4147 fail:
4148 {
4149 if (temp4)
4150 delete arg4;
4151 }
4152 {
4153 if (temp8)
4154 delete arg8;
4155 }
4156 return NULL;
4157 }
4158
4159
4160 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4161 PyObject *obj;
4162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4163 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4164 Py_INCREF(obj);
4165 return Py_BuildValue((char *)"");
4166 }
4167 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4168 PyObject *resultobj;
4169 wxWindow *arg1 = (wxWindow *) 0 ;
4170 int arg2 ;
4171 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4172 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4173 wxSize const &arg4_defvalue = wxDefaultSize ;
4174 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4175 long arg5 = (long) wxLI_HORIZONTAL ;
4176 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4177 wxString *arg6 = (wxString *) &arg6_defvalue ;
4178 wxStaticLine *result;
4179 wxPoint temp3 ;
4180 wxSize temp4 ;
4181 bool temp6 = False ;
4182 PyObject * obj0 = 0 ;
4183 PyObject * obj1 = 0 ;
4184 PyObject * obj2 = 0 ;
4185 PyObject * obj3 = 0 ;
4186 PyObject * obj4 = 0 ;
4187 PyObject * obj5 = 0 ;
4188 char *kwnames[] = {
4189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4190 };
4191
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4194 {
4195 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 if (obj2) {
4199 {
4200 arg3 = &temp3;
4201 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4202 }
4203 }
4204 if (obj3) {
4205 {
4206 arg4 = &temp4;
4207 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4208 }
4209 }
4210 if (obj4) {
4211 {
4212 arg5 = (long) SWIG_PyObj_AsLong(obj4);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 }
4216 if (obj5) {
4217 {
4218 arg6 = wxString_in_helper(obj5);
4219 if (arg6 == NULL) SWIG_fail;
4220 temp6 = True;
4221 }
4222 }
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4231 {
4232 if (temp6)
4233 delete arg6;
4234 }
4235 return resultobj;
4236 fail:
4237 {
4238 if (temp6)
4239 delete arg6;
4240 }
4241 return NULL;
4242 }
4243
4244
4245 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4246 PyObject *resultobj;
4247 wxStaticLine *result;
4248 char *kwnames[] = {
4249 NULL
4250 };
4251
4252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 result = (wxStaticLine *)new wxStaticLine();
4256
4257 wxPyEndAllowThreads(__tstate);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4261 return resultobj;
4262 fail:
4263 return NULL;
4264 }
4265
4266
4267 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4268 PyObject *resultobj;
4269 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4270 wxWindow *arg2 = (wxWindow *) 0 ;
4271 int arg3 ;
4272 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4273 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4274 wxSize const &arg5_defvalue = wxDefaultSize ;
4275 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4276 long arg6 = (long) wxLI_HORIZONTAL ;
4277 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4278 wxString *arg7 = (wxString *) &arg7_defvalue ;
4279 bool result;
4280 wxPoint temp4 ;
4281 wxSize temp5 ;
4282 bool temp7 = False ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 PyObject * obj2 = 0 ;
4286 PyObject * obj3 = 0 ;
4287 PyObject * obj4 = 0 ;
4288 PyObject * obj5 = 0 ;
4289 PyObject * obj6 = 0 ;
4290 char *kwnames[] = {
4291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4297 {
4298 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4299 if (PyErr_Occurred()) SWIG_fail;
4300 }
4301 if (obj3) {
4302 {
4303 arg4 = &temp4;
4304 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4305 }
4306 }
4307 if (obj4) {
4308 {
4309 arg5 = &temp5;
4310 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4311 }
4312 }
4313 if (obj5) {
4314 {
4315 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4316 if (PyErr_Occurred()) SWIG_fail;
4317 }
4318 }
4319 if (obj6) {
4320 {
4321 arg7 = wxString_in_helper(obj6);
4322 if (arg7 == NULL) SWIG_fail;
4323 temp7 = True;
4324 }
4325 }
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4329
4330 wxPyEndAllowThreads(__tstate);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
4333 resultobj = SWIG_PyObj_FromBool((bool)result);
4334 {
4335 if (temp7)
4336 delete arg7;
4337 }
4338 return resultobj;
4339 fail:
4340 {
4341 if (temp7)
4342 delete arg7;
4343 }
4344 return NULL;
4345 }
4346
4347
4348 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4349 PyObject *resultobj;
4350 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4351 bool result;
4352 PyObject * obj0 = 0 ;
4353 char *kwnames[] = {
4354 (char *) "self", NULL
4355 };
4356
4357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 resultobj = SWIG_PyObj_FromBool((bool)result);
4367 return resultobj;
4368 fail:
4369 return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 int result;
4376 char *kwnames[] = {
4377 NULL
4378 };
4379
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = (int)wxStaticLine::GetDefaultSize();
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 resultobj = SWIG_PyObj_FromInt((int)result);
4389 return resultobj;
4390 fail:
4391 return NULL;
4392 }
4393
4394
4395 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4396 PyObject *obj;
4397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4398 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4399 Py_INCREF(obj);
4400 return Py_BuildValue((char *)"");
4401 }
4402 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4403 PyObject *resultobj;
4404 wxWindow *arg1 = (wxWindow *) 0 ;
4405 int arg2 ;
4406 wxString *arg3 = 0 ;
4407 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4408 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4409 wxSize const &arg5_defvalue = wxDefaultSize ;
4410 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4411 long arg6 = (long) 0 ;
4412 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4413 wxString *arg7 = (wxString *) &arg7_defvalue ;
4414 wxStaticText *result;
4415 bool temp3 = False ;
4416 wxPoint temp4 ;
4417 wxSize temp5 ;
4418 bool temp7 = False ;
4419 PyObject * obj0 = 0 ;
4420 PyObject * obj1 = 0 ;
4421 PyObject * obj2 = 0 ;
4422 PyObject * obj3 = 0 ;
4423 PyObject * obj4 = 0 ;
4424 PyObject * obj5 = 0 ;
4425 PyObject * obj6 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4432 {
4433 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 {
4437 arg3 = wxString_in_helper(obj2);
4438 if (arg3 == NULL) SWIG_fail;
4439 temp3 = True;
4440 }
4441 if (obj3) {
4442 {
4443 arg4 = &temp4;
4444 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4445 }
4446 }
4447 if (obj4) {
4448 {
4449 arg5 = &temp5;
4450 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4451 }
4452 }
4453 if (obj5) {
4454 {
4455 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4456 if (PyErr_Occurred()) SWIG_fail;
4457 }
4458 }
4459 if (obj6) {
4460 {
4461 arg7 = wxString_in_helper(obj6);
4462 if (arg7 == NULL) SWIG_fail;
4463 temp7 = True;
4464 }
4465 }
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4469
4470 wxPyEndAllowThreads(__tstate);
4471 if (PyErr_Occurred()) SWIG_fail;
4472 }
4473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4474 {
4475 if (temp3)
4476 delete arg3;
4477 }
4478 {
4479 if (temp7)
4480 delete arg7;
4481 }
4482 return resultobj;
4483 fail:
4484 {
4485 if (temp3)
4486 delete arg3;
4487 }
4488 {
4489 if (temp7)
4490 delete arg7;
4491 }
4492 return NULL;
4493 }
4494
4495
4496 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj;
4498 wxStaticText *result;
4499 char *kwnames[] = {
4500 NULL
4501 };
4502
4503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 result = (wxStaticText *)new wxStaticText();
4507
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4512 return resultobj;
4513 fail:
4514 return NULL;
4515 }
4516
4517
4518 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4519 PyObject *resultobj;
4520 wxStaticText *arg1 = (wxStaticText *) 0 ;
4521 wxWindow *arg2 = (wxWindow *) 0 ;
4522 int arg3 ;
4523 wxString *arg4 = 0 ;
4524 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4525 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4526 wxSize const &arg6_defvalue = wxDefaultSize ;
4527 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4528 long arg7 = (long) 0 ;
4529 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4530 wxString *arg8 = (wxString *) &arg8_defvalue ;
4531 bool result;
4532 bool temp4 = False ;
4533 wxPoint temp5 ;
4534 wxSize temp6 ;
4535 bool temp8 = False ;
4536 PyObject * obj0 = 0 ;
4537 PyObject * obj1 = 0 ;
4538 PyObject * obj2 = 0 ;
4539 PyObject * obj3 = 0 ;
4540 PyObject * obj4 = 0 ;
4541 PyObject * obj5 = 0 ;
4542 PyObject * obj6 = 0 ;
4543 PyObject * obj7 = 0 ;
4544 char *kwnames[] = {
4545 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4546 };
4547
4548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4551 {
4552 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 {
4556 arg4 = wxString_in_helper(obj3);
4557 if (arg4 == NULL) SWIG_fail;
4558 temp4 = True;
4559 }
4560 if (obj4) {
4561 {
4562 arg5 = &temp5;
4563 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4564 }
4565 }
4566 if (obj5) {
4567 {
4568 arg6 = &temp6;
4569 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4570 }
4571 }
4572 if (obj6) {
4573 {
4574 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4577 }
4578 if (obj7) {
4579 {
4580 arg8 = wxString_in_helper(obj7);
4581 if (arg8 == NULL) SWIG_fail;
4582 temp8 = True;
4583 }
4584 }
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 resultobj = SWIG_PyObj_FromBool((bool)result);
4593 {
4594 if (temp4)
4595 delete arg4;
4596 }
4597 {
4598 if (temp8)
4599 delete arg8;
4600 }
4601 return resultobj;
4602 fail:
4603 {
4604 if (temp4)
4605 delete arg4;
4606 }
4607 {
4608 if (temp8)
4609 delete arg8;
4610 }
4611 return NULL;
4612 }
4613
4614
4615 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4616 PyObject *obj;
4617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4618 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4619 Py_INCREF(obj);
4620 return Py_BuildValue((char *)"");
4621 }
4622 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxWindow *arg1 = (wxWindow *) 0 ;
4625 int arg2 ;
4626 wxBitmap *arg3 = 0 ;
4627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4629 wxSize const &arg5_defvalue = wxDefaultSize ;
4630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4631 long arg6 = (long) 0 ;
4632 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4633 wxString *arg7 = (wxString *) &arg7_defvalue ;
4634 wxStaticBitmap *result;
4635 wxPoint temp4 ;
4636 wxSize temp5 ;
4637 bool temp7 = False ;
4638 PyObject * obj0 = 0 ;
4639 PyObject * obj1 = 0 ;
4640 PyObject * obj2 = 0 ;
4641 PyObject * obj3 = 0 ;
4642 PyObject * obj4 = 0 ;
4643 PyObject * obj5 = 0 ;
4644 PyObject * obj6 = 0 ;
4645 char *kwnames[] = {
4646 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4647 };
4648
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4651 {
4652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4656 if (arg3 == NULL) {
4657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4658 }
4659 if (obj3) {
4660 {
4661 arg4 = &temp4;
4662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4663 }
4664 }
4665 if (obj4) {
4666 {
4667 arg5 = &temp5;
4668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4669 }
4670 }
4671 if (obj5) {
4672 {
4673 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 }
4677 if (obj6) {
4678 {
4679 arg7 = wxString_in_helper(obj6);
4680 if (arg7 == NULL) SWIG_fail;
4681 temp7 = True;
4682 }
4683 }
4684 {
4685 PyThreadState* __tstate = wxPyBeginAllowThreads();
4686 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4687
4688 wxPyEndAllowThreads(__tstate);
4689 if (PyErr_Occurred()) SWIG_fail;
4690 }
4691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4692 {
4693 if (temp7)
4694 delete arg7;
4695 }
4696 return resultobj;
4697 fail:
4698 {
4699 if (temp7)
4700 delete arg7;
4701 }
4702 return NULL;
4703 }
4704
4705
4706 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject *resultobj;
4708 wxStaticBitmap *result;
4709 char *kwnames[] = {
4710 NULL
4711 };
4712
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4714 {
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 result = (wxStaticBitmap *)new wxStaticBitmap();
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4722 return resultobj;
4723 fail:
4724 return NULL;
4725 }
4726
4727
4728 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4729 PyObject *resultobj;
4730 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4731 wxWindow *arg2 = (wxWindow *) 0 ;
4732 int arg3 ;
4733 wxBitmap *arg4 = 0 ;
4734 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4735 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4736 wxSize const &arg6_defvalue = wxDefaultSize ;
4737 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4738 long arg7 = (long) 0 ;
4739 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4740 wxString *arg8 = (wxString *) &arg8_defvalue ;
4741 bool result;
4742 wxPoint temp5 ;
4743 wxSize temp6 ;
4744 bool temp8 = False ;
4745 PyObject * obj0 = 0 ;
4746 PyObject * obj1 = 0 ;
4747 PyObject * obj2 = 0 ;
4748 PyObject * obj3 = 0 ;
4749 PyObject * obj4 = 0 ;
4750 PyObject * obj5 = 0 ;
4751 PyObject * obj6 = 0 ;
4752 PyObject * obj7 = 0 ;
4753 char *kwnames[] = {
4754 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4755 };
4756
4757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4759 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4760 {
4761 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4765 if (arg4 == NULL) {
4766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4767 }
4768 if (obj4) {
4769 {
4770 arg5 = &temp5;
4771 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4772 }
4773 }
4774 if (obj5) {
4775 {
4776 arg6 = &temp6;
4777 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4778 }
4779 }
4780 if (obj6) {
4781 {
4782 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4783 if (PyErr_Occurred()) SWIG_fail;
4784 }
4785 }
4786 if (obj7) {
4787 {
4788 arg8 = wxString_in_helper(obj7);
4789 if (arg8 == NULL) SWIG_fail;
4790 temp8 = True;
4791 }
4792 }
4793 {
4794 PyThreadState* __tstate = wxPyBeginAllowThreads();
4795 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4796
4797 wxPyEndAllowThreads(__tstate);
4798 if (PyErr_Occurred()) SWIG_fail;
4799 }
4800 resultobj = SWIG_PyObj_FromBool((bool)result);
4801 {
4802 if (temp8)
4803 delete arg8;
4804 }
4805 return resultobj;
4806 fail:
4807 {
4808 if (temp8)
4809 delete arg8;
4810 }
4811 return NULL;
4812 }
4813
4814
4815 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4816 PyObject *resultobj;
4817 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4818 wxBitmap result;
4819 PyObject * obj0 = 0 ;
4820 char *kwnames[] = {
4821 (char *) "self", NULL
4822 };
4823
4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 result = (arg1)->GetBitmap();
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 {
4834 wxBitmap * resultptr;
4835 resultptr = new wxBitmap((wxBitmap &) result);
4836 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4837 }
4838 return resultobj;
4839 fail:
4840 return NULL;
4841 }
4842
4843
4844 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4845 PyObject *resultobj;
4846 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4847 wxBitmap *arg2 = 0 ;
4848 PyObject * obj0 = 0 ;
4849 PyObject * obj1 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self",(char *) "bitmap", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4857 if (arg2 == NULL) {
4858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4859 }
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 Py_INCREF(Py_None); resultobj = Py_None;
4868 return resultobj;
4869 fail:
4870 return NULL;
4871 }
4872
4873
4874 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject *resultobj;
4876 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4877 wxIcon *arg2 = 0 ;
4878 PyObject * obj0 = 0 ;
4879 PyObject * obj1 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self",(char *) "icon", NULL
4882 };
4883
4884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4887 if (arg2 == NULL) {
4888 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4889 }
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 (arg1)->SetIcon((wxIcon const &)*arg2);
4893
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 Py_INCREF(Py_None); resultobj = Py_None;
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4905 PyObject *obj;
4906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4907 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4908 Py_INCREF(obj);
4909 return Py_BuildValue((char *)"");
4910 }
4911 static int _wrap_ListBoxNameStr_set(PyObject *) {
4912 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4913 return 1;
4914 }
4915
4916
4917 static PyObject *_wrap_ListBoxNameStr_get() {
4918 PyObject *pyobj;
4919
4920 {
4921 #if wxUSE_UNICODE
4922 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4923 #else
4924 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4925 #endif
4926 }
4927 return pyobj;
4928 }
4929
4930
4931 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4932 PyObject *resultobj;
4933 wxWindow *arg1 = (wxWindow *) 0 ;
4934 int arg2 ;
4935 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4936 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4937 wxSize const &arg4_defvalue = wxDefaultSize ;
4938 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4939 int arg5 = (int) 0 ;
4940 wxString *arg6 = (wxString *) NULL ;
4941 long arg7 = (long) 0 ;
4942 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4943 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4944 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4945 wxString *arg9 = (wxString *) &arg9_defvalue ;
4946 wxListBox *result;
4947 wxPoint temp3 ;
4948 wxSize temp4 ;
4949 bool temp8 = False ;
4950 PyObject * obj0 = 0 ;
4951 PyObject * obj1 = 0 ;
4952 PyObject * obj2 = 0 ;
4953 PyObject * obj3 = 0 ;
4954 PyObject * obj4 = 0 ;
4955 PyObject * obj5 = 0 ;
4956 PyObject * obj6 = 0 ;
4957 PyObject * obj7 = 0 ;
4958 char *kwnames[] = {
4959 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4960 };
4961
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4964 {
4965 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 if (obj2) {
4969 {
4970 arg3 = &temp3;
4971 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4972 }
4973 }
4974 if (obj3) {
4975 {
4976 arg4 = &temp4;
4977 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4978 }
4979 }
4980 if (obj4) {
4981 {
4982 arg5 = PyList_Size(obj4);
4983 arg6 = wxString_LIST_helper(obj4);
4984 if (arg6 == NULL) SWIG_fail;
4985 }
4986 }
4987 if (obj5) {
4988 {
4989 arg7 = (long) SWIG_PyObj_AsLong(obj5);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 }
4993 if (obj6) {
4994 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4995 if (arg8 == NULL) {
4996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4997 }
4998 }
4999 if (obj7) {
5000 {
5001 arg9 = wxString_in_helper(obj7);
5002 if (arg9 == NULL) SWIG_fail;
5003 temp8 = True;
5004 }
5005 }
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5009
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5014 {
5015 if (arg6) delete [] arg6;
5016 }
5017 {
5018 if (temp8)
5019 delete arg9;
5020 }
5021 return resultobj;
5022 fail:
5023 {
5024 if (arg6) delete [] arg6;
5025 }
5026 {
5027 if (temp8)
5028 delete arg9;
5029 }
5030 return NULL;
5031 }
5032
5033
5034 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5035 PyObject *resultobj;
5036 wxListBox *result;
5037 char *kwnames[] = {
5038 NULL
5039 };
5040
5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = (wxListBox *)new wxListBox();
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5050 return resultobj;
5051 fail:
5052 return NULL;
5053 }
5054
5055
5056 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxListBox *arg1 = (wxListBox *) 0 ;
5059 wxWindow *arg2 = (wxWindow *) 0 ;
5060 int arg3 ;
5061 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5062 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5063 wxSize const &arg5_defvalue = wxDefaultSize ;
5064 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5065 int arg6 = (int) 0 ;
5066 wxString *arg7 = (wxString *) NULL ;
5067 long arg8 = (long) 0 ;
5068 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5069 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5070 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5071 wxString *arg10 = (wxString *) &arg10_defvalue ;
5072 bool result;
5073 wxPoint temp4 ;
5074 wxSize temp5 ;
5075 bool temp9 = False ;
5076 PyObject * obj0 = 0 ;
5077 PyObject * obj1 = 0 ;
5078 PyObject * obj2 = 0 ;
5079 PyObject * obj3 = 0 ;
5080 PyObject * obj4 = 0 ;
5081 PyObject * obj5 = 0 ;
5082 PyObject * obj6 = 0 ;
5083 PyObject * obj7 = 0 ;
5084 PyObject * obj8 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 {
5093 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 if (obj3) {
5097 {
5098 arg4 = &temp4;
5099 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5100 }
5101 }
5102 if (obj4) {
5103 {
5104 arg5 = &temp5;
5105 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5106 }
5107 }
5108 if (obj5) {
5109 {
5110 arg6 = PyList_Size(obj5);
5111 arg7 = wxString_LIST_helper(obj5);
5112 if (arg7 == NULL) SWIG_fail;
5113 }
5114 }
5115 if (obj6) {
5116 {
5117 arg8 = (long) SWIG_PyObj_AsLong(obj6);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 }
5121 if (obj7) {
5122 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5123 if (arg9 == NULL) {
5124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5125 }
5126 }
5127 if (obj8) {
5128 {
5129 arg10 = wxString_in_helper(obj8);
5130 if (arg10 == NULL) SWIG_fail;
5131 temp9 = True;
5132 }
5133 }
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_PyObj_FromBool((bool)result);
5142 {
5143 if (arg7) delete [] arg7;
5144 }
5145 {
5146 if (temp9)
5147 delete arg10;
5148 }
5149 return resultobj;
5150 fail:
5151 {
5152 if (arg7) delete [] arg7;
5153 }
5154 {
5155 if (temp9)
5156 delete arg10;
5157 }
5158 return NULL;
5159 }
5160
5161
5162 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5163 PyObject *resultobj;
5164 wxListBox *arg1 = (wxListBox *) 0 ;
5165 wxString *arg2 = 0 ;
5166 int arg3 ;
5167 PyObject *arg4 = (PyObject *) NULL ;
5168 bool temp2 = False ;
5169 PyObject * obj0 = 0 ;
5170 PyObject * obj1 = 0 ;
5171 PyObject * obj2 = 0 ;
5172 PyObject * obj3 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5179 {
5180 arg2 = wxString_in_helper(obj1);
5181 if (arg2 == NULL) SWIG_fail;
5182 temp2 = True;
5183 }
5184 {
5185 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5186 if (PyErr_Occurred()) SWIG_fail;
5187 }
5188 if (obj3) {
5189 arg4 = obj3;
5190 }
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 Py_INCREF(Py_None); resultobj = Py_None;
5199 {
5200 if (temp2)
5201 delete arg2;
5202 }
5203 return resultobj;
5204 fail:
5205 {
5206 if (temp2)
5207 delete arg2;
5208 }
5209 return NULL;
5210 }
5211
5212
5213 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5214 PyObject *resultobj;
5215 wxListBox *arg1 = (wxListBox *) 0 ;
5216 wxArrayString *arg2 = 0 ;
5217 int arg3 ;
5218 PyObject * obj0 = 0 ;
5219 PyObject * obj1 = 0 ;
5220 PyObject * obj2 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self",(char *) "items",(char *) "pos", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5227 {
5228 if (! PySequence_Check(obj1)) {
5229 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5230 SWIG_fail;
5231 }
5232 arg2 = new wxArrayString;
5233 int i, len=PySequence_Length(obj1);
5234 for (i=0; i<len; i++) {
5235 PyObject* item = PySequence_GetItem(obj1, i);
5236 #if wxUSE_UNICODE
5237 PyObject* str = PyObject_Unicode(item);
5238 #else
5239 PyObject* str = PyObject_Str(item);
5240 #endif
5241 arg2->Add(Py2wxString(str));
5242 Py_DECREF(item);
5243 Py_DECREF(str);
5244 }
5245 }
5246 {
5247 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 Py_INCREF(Py_None); resultobj = Py_None;
5258 {
5259 if (arg2) delete arg2;
5260 }
5261 return resultobj;
5262 fail:
5263 {
5264 if (arg2) delete arg2;
5265 }
5266 return NULL;
5267 }
5268
5269
5270 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5271 PyObject *resultobj;
5272 wxListBox *arg1 = (wxListBox *) 0 ;
5273 wxArrayString *arg2 = 0 ;
5274 PyObject * obj0 = 0 ;
5275 PyObject * obj1 = 0 ;
5276 char *kwnames[] = {
5277 (char *) "self",(char *) "items", NULL
5278 };
5279
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5282 {
5283 if (! PySequence_Check(obj1)) {
5284 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5285 SWIG_fail;
5286 }
5287 arg2 = new wxArrayString;
5288 int i, len=PySequence_Length(obj1);
5289 for (i=0; i<len; i++) {
5290 PyObject* item = PySequence_GetItem(obj1, i);
5291 #if wxUSE_UNICODE
5292 PyObject* str = PyObject_Unicode(item);
5293 #else
5294 PyObject* str = PyObject_Str(item);
5295 #endif
5296 arg2->Add(Py2wxString(str));
5297 Py_DECREF(item);
5298 Py_DECREF(str);
5299 }
5300 }
5301 {
5302 PyThreadState* __tstate = wxPyBeginAllowThreads();
5303 (arg1)->Set((wxArrayString const &)*arg2);
5304
5305 wxPyEndAllowThreads(__tstate);
5306 if (PyErr_Occurred()) SWIG_fail;
5307 }
5308 Py_INCREF(Py_None); resultobj = Py_None;
5309 {
5310 if (arg2) delete arg2;
5311 }
5312 return resultobj;
5313 fail:
5314 {
5315 if (arg2) delete arg2;
5316 }
5317 return NULL;
5318 }
5319
5320
5321 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj;
5323 wxListBox *arg1 = (wxListBox *) 0 ;
5324 int arg2 ;
5325 bool result;
5326 PyObject * obj0 = 0 ;
5327 PyObject * obj1 = 0 ;
5328 char *kwnames[] = {
5329 (char *) "self",(char *) "n", NULL
5330 };
5331
5332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 {
5335 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5341
5342 wxPyEndAllowThreads(__tstate);
5343 if (PyErr_Occurred()) SWIG_fail;
5344 }
5345 resultobj = SWIG_PyObj_FromBool((bool)result);
5346 return resultobj;
5347 fail:
5348 return NULL;
5349 }
5350
5351
5352 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj;
5354 wxListBox *arg1 = (wxListBox *) 0 ;
5355 int arg2 ;
5356 bool arg3 = (bool) True ;
5357 PyObject * obj0 = 0 ;
5358 PyObject * obj1 = 0 ;
5359 PyObject * obj2 = 0 ;
5360 char *kwnames[] = {
5361 (char *) "self",(char *) "n",(char *) "select", NULL
5362 };
5363
5364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5366 {
5367 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5368 if (PyErr_Occurred()) SWIG_fail;
5369 }
5370 if (obj2) {
5371 {
5372 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 }
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->SetSelection(arg2,arg3);
5379
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387 }
5388
5389
5390 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxListBox *arg1 = (wxListBox *) 0 ;
5393 int arg2 ;
5394 PyObject * obj0 = 0 ;
5395 PyObject * obj1 = 0 ;
5396 char *kwnames[] = {
5397 (char *) "self",(char *) "n", NULL
5398 };
5399
5400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5402 {
5403 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5404 if (PyErr_Occurred()) SWIG_fail;
5405 }
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 (arg1)->Select(arg2);
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 Py_INCREF(Py_None); resultobj = Py_None;
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxListBox *arg1 = (wxListBox *) 0 ;
5423 int arg2 ;
5424 PyObject * obj0 = 0 ;
5425 PyObject * obj1 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self",(char *) "n", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5432 {
5433 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5434 if (PyErr_Occurred()) SWIG_fail;
5435 }
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 (arg1)->Deselect(arg2);
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 Py_INCREF(Py_None); resultobj = Py_None;
5444 return resultobj;
5445 fail:
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxListBox *arg1 = (wxListBox *) 0 ;
5453 int arg2 = (int) -1 ;
5454 PyObject * obj0 = 0 ;
5455 PyObject * obj1 = 0 ;
5456 char *kwnames[] = {
5457 (char *) "self",(char *) "itemToLeaveSelected", NULL
5458 };
5459
5460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5462 if (obj1) {
5463 {
5464 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 }
5468 {
5469 PyThreadState* __tstate = wxPyBeginAllowThreads();
5470 (arg1)->DeselectAll(arg2);
5471
5472 wxPyEndAllowThreads(__tstate);
5473 if (PyErr_Occurred()) SWIG_fail;
5474 }
5475 Py_INCREF(Py_None); resultobj = Py_None;
5476 return resultobj;
5477 fail:
5478 return NULL;
5479 }
5480
5481
5482 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj;
5484 wxListBox *arg1 = (wxListBox *) 0 ;
5485 wxString *arg2 = 0 ;
5486 bool arg3 = (bool) True ;
5487 bool result;
5488 bool temp2 = False ;
5489 PyObject * obj0 = 0 ;
5490 PyObject * obj1 = 0 ;
5491 PyObject * obj2 = 0 ;
5492 char *kwnames[] = {
5493 (char *) "self",(char *) "s",(char *) "select", NULL
5494 };
5495
5496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5498 {
5499 arg2 = wxString_in_helper(obj1);
5500 if (arg2 == NULL) SWIG_fail;
5501 temp2 = True;
5502 }
5503 if (obj2) {
5504 {
5505 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5506 if (PyErr_Occurred()) SWIG_fail;
5507 }
5508 }
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 resultobj = SWIG_PyObj_FromBool((bool)result);
5517 {
5518 if (temp2)
5519 delete arg2;
5520 }
5521 return resultobj;
5522 fail:
5523 {
5524 if (temp2)
5525 delete arg2;
5526 }
5527 return NULL;
5528 }
5529
5530
5531 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj;
5533 wxListBox *arg1 = (wxListBox *) 0 ;
5534 PyObject *result;
5535 PyObject * obj0 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "self", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 {
5543 PyThreadState* __tstate = wxPyBeginAllowThreads();
5544 result = (PyObject *)wxListBox_GetSelections(arg1);
5545
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 resultobj = result;
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj;
5558 wxListBox *arg1 = (wxListBox *) 0 ;
5559 int arg2 ;
5560 PyObject * obj0 = 0 ;
5561 PyObject * obj1 = 0 ;
5562 char *kwnames[] = {
5563 (char *) "self",(char *) "n", NULL
5564 };
5565
5566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5568 {
5569 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 {
5573 PyThreadState* __tstate = wxPyBeginAllowThreads();
5574 (arg1)->SetFirstItem(arg2);
5575
5576 wxPyEndAllowThreads(__tstate);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 Py_INCREF(Py_None); resultobj = Py_None;
5580 return resultobj;
5581 fail:
5582 return NULL;
5583 }
5584
5585
5586 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5587 PyObject *resultobj;
5588 wxListBox *arg1 = (wxListBox *) 0 ;
5589 wxString *arg2 = 0 ;
5590 bool temp2 = False ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 char *kwnames[] = {
5594 (char *) "self",(char *) "s", NULL
5595 };
5596
5597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5599 {
5600 arg2 = wxString_in_helper(obj1);
5601 if (arg2 == NULL) SWIG_fail;
5602 temp2 = True;
5603 }
5604 {
5605 PyThreadState* __tstate = wxPyBeginAllowThreads();
5606 (arg1)->SetFirstItem((wxString const &)*arg2);
5607
5608 wxPyEndAllowThreads(__tstate);
5609 if (PyErr_Occurred()) SWIG_fail;
5610 }
5611 Py_INCREF(Py_None); resultobj = Py_None;
5612 {
5613 if (temp2)
5614 delete arg2;
5615 }
5616 return resultobj;
5617 fail:
5618 {
5619 if (temp2)
5620 delete arg2;
5621 }
5622 return NULL;
5623 }
5624
5625
5626 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxListBox *arg1 = (wxListBox *) 0 ;
5629 int arg2 ;
5630 PyObject * obj0 = 0 ;
5631 PyObject * obj1 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self",(char *) "n", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 {
5639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 (arg1)->EnsureVisible(arg2);
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 Py_INCREF(Py_None); resultobj = Py_None;
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj;
5658 wxListBox *arg1 = (wxListBox *) 0 ;
5659 wxString *arg2 = 0 ;
5660 bool temp2 = False ;
5661 PyObject * obj0 = 0 ;
5662 PyObject * obj1 = 0 ;
5663 char *kwnames[] = {
5664 (char *) "self",(char *) "s", NULL
5665 };
5666
5667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5669 {
5670 arg2 = wxString_in_helper(obj1);
5671 if (arg2 == NULL) SWIG_fail;
5672 temp2 = True;
5673 }
5674 {
5675 PyThreadState* __tstate = wxPyBeginAllowThreads();
5676 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5677
5678 wxPyEndAllowThreads(__tstate);
5679 if (PyErr_Occurred()) SWIG_fail;
5680 }
5681 Py_INCREF(Py_None); resultobj = Py_None;
5682 {
5683 if (temp2)
5684 delete arg2;
5685 }
5686 return resultobj;
5687 fail:
5688 {
5689 if (temp2)
5690 delete arg2;
5691 }
5692 return NULL;
5693 }
5694
5695
5696 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5697 PyObject *resultobj;
5698 wxListBox *arg1 = (wxListBox *) 0 ;
5699 bool result;
5700 PyObject * obj0 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "self", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (bool)((wxListBox const *)arg1)->IsSorted();
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = SWIG_PyObj_FromBool((bool)result);
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5722 PyObject *obj;
5723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5724 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5725 Py_INCREF(obj);
5726 return Py_BuildValue((char *)"");
5727 }
5728 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5729 PyObject *resultobj;
5730 wxWindow *arg1 = (wxWindow *) 0 ;
5731 int arg2 ;
5732 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5733 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5734 wxSize const &arg4_defvalue = wxDefaultSize ;
5735 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5736 int arg5 = (int) 0 ;
5737 wxString *arg6 = (wxString *) NULL ;
5738 long arg7 = (long) 0 ;
5739 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5740 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5741 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5742 wxString *arg9 = (wxString *) &arg9_defvalue ;
5743 wxCheckListBox *result;
5744 wxPoint temp3 ;
5745 wxSize temp4 ;
5746 bool temp8 = False ;
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 PyObject * obj2 = 0 ;
5750 PyObject * obj3 = 0 ;
5751 PyObject * obj4 = 0 ;
5752 PyObject * obj5 = 0 ;
5753 PyObject * obj6 = 0 ;
5754 PyObject * obj7 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5761 {
5762 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 if (obj2) {
5766 {
5767 arg3 = &temp3;
5768 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5769 }
5770 }
5771 if (obj3) {
5772 {
5773 arg4 = &temp4;
5774 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5775 }
5776 }
5777 if (obj4) {
5778 {
5779 arg5 = PyList_Size(obj4);
5780 arg6 = wxString_LIST_helper(obj4);
5781 if (arg6 == NULL) SWIG_fail;
5782 }
5783 }
5784 if (obj5) {
5785 {
5786 arg7 = (long) SWIG_PyObj_AsLong(obj5);
5787 if (PyErr_Occurred()) SWIG_fail;
5788 }
5789 }
5790 if (obj6) {
5791 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5792 if (arg8 == NULL) {
5793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5794 }
5795 }
5796 if (obj7) {
5797 {
5798 arg9 = wxString_in_helper(obj7);
5799 if (arg9 == NULL) SWIG_fail;
5800 temp8 = True;
5801 }
5802 }
5803 {
5804 PyThreadState* __tstate = wxPyBeginAllowThreads();
5805 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5806
5807 wxPyEndAllowThreads(__tstate);
5808 if (PyErr_Occurred()) SWIG_fail;
5809 }
5810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5811 {
5812 if (arg6) delete [] arg6;
5813 }
5814 {
5815 if (temp8)
5816 delete arg9;
5817 }
5818 return resultobj;
5819 fail:
5820 {
5821 if (arg6) delete [] arg6;
5822 }
5823 {
5824 if (temp8)
5825 delete arg9;
5826 }
5827 return NULL;
5828 }
5829
5830
5831 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5832 PyObject *resultobj;
5833 wxCheckListBox *result;
5834 char *kwnames[] = {
5835 NULL
5836 };
5837
5838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (wxCheckListBox *)new wxCheckListBox();
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5847 return resultobj;
5848 fail:
5849 return NULL;
5850 }
5851
5852
5853 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject *resultobj;
5855 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5856 wxWindow *arg2 = (wxWindow *) 0 ;
5857 int arg3 ;
5858 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5859 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5860 wxSize const &arg5_defvalue = wxDefaultSize ;
5861 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5862 int arg6 = (int) 0 ;
5863 wxString *arg7 = (wxString *) NULL ;
5864 long arg8 = (long) 0 ;
5865 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5866 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5867 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5868 wxString *arg10 = (wxString *) &arg10_defvalue ;
5869 bool result;
5870 wxPoint temp4 ;
5871 wxSize temp5 ;
5872 bool temp9 = False ;
5873 PyObject * obj0 = 0 ;
5874 PyObject * obj1 = 0 ;
5875 PyObject * obj2 = 0 ;
5876 PyObject * obj3 = 0 ;
5877 PyObject * obj4 = 0 ;
5878 PyObject * obj5 = 0 ;
5879 PyObject * obj6 = 0 ;
5880 PyObject * obj7 = 0 ;
5881 PyObject * obj8 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5889 {
5890 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 if (obj3) {
5894 {
5895 arg4 = &temp4;
5896 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5897 }
5898 }
5899 if (obj4) {
5900 {
5901 arg5 = &temp5;
5902 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5903 }
5904 }
5905 if (obj5) {
5906 {
5907 arg6 = PyList_Size(obj5);
5908 arg7 = wxString_LIST_helper(obj5);
5909 if (arg7 == NULL) SWIG_fail;
5910 }
5911 }
5912 if (obj6) {
5913 {
5914 arg8 = (long) SWIG_PyObj_AsLong(obj6);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 }
5918 if (obj7) {
5919 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5920 if (arg9 == NULL) {
5921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5922 }
5923 }
5924 if (obj8) {
5925 {
5926 arg10 = wxString_in_helper(obj8);
5927 if (arg10 == NULL) SWIG_fail;
5928 temp9 = True;
5929 }
5930 }
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 resultobj = SWIG_PyObj_FromBool((bool)result);
5939 {
5940 if (arg7) delete [] arg7;
5941 }
5942 {
5943 if (temp9)
5944 delete arg10;
5945 }
5946 return resultobj;
5947 fail:
5948 {
5949 if (arg7) delete [] arg7;
5950 }
5951 {
5952 if (temp9)
5953 delete arg10;
5954 }
5955 return NULL;
5956 }
5957
5958
5959 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5962 int arg2 ;
5963 bool result;
5964 PyObject * obj0 = 0 ;
5965 PyObject * obj1 = 0 ;
5966 char *kwnames[] = {
5967 (char *) "self",(char *) "index", NULL
5968 };
5969
5970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
5971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5972 {
5973 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 result = (bool)(arg1)->IsChecked(arg2);
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 resultobj = SWIG_PyObj_FromBool((bool)result);
5984 return resultobj;
5985 fail:
5986 return NULL;
5987 }
5988
5989
5990 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj;
5992 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5993 int arg2 ;
5994 int arg3 = (int) True ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 PyObject * obj2 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self",(char *) "index",(char *) "check", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6004 {
6005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 if (obj2) {
6009 {
6010 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6011 if (PyErr_Occurred()) SWIG_fail;
6012 }
6013 }
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 (arg1)->Check(arg2,arg3);
6017
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 Py_INCREF(Py_None); resultobj = Py_None;
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6029 PyObject *resultobj;
6030 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6031 int result;
6032 PyObject * obj0 = 0 ;
6033 char *kwnames[] = {
6034 (char *) "self", NULL
6035 };
6036
6037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6039 {
6040 PyThreadState* __tstate = wxPyBeginAllowThreads();
6041 result = (int)(arg1)->GetItemHeight();
6042
6043 wxPyEndAllowThreads(__tstate);
6044 if (PyErr_Occurred()) SWIG_fail;
6045 }
6046 resultobj = SWIG_PyObj_FromInt((int)result);
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj;
6055 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6056 wxPoint *arg2 = 0 ;
6057 int result;
6058 wxPoint temp2 ;
6059 PyObject * obj0 = 0 ;
6060 PyObject * obj1 = 0 ;
6061 char *kwnames[] = {
6062 (char *) "self",(char *) "pt", NULL
6063 };
6064
6065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6067 {
6068 arg2 = &temp2;
6069 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6070 }
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 resultobj = SWIG_PyObj_FromInt((int)result);
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6088 int arg2 ;
6089 int arg3 ;
6090 int result;
6091 PyObject * obj0 = 0 ;
6092 PyObject * obj1 = 0 ;
6093 PyObject * obj2 = 0 ;
6094 char *kwnames[] = {
6095 (char *) "self",(char *) "x",(char *) "y", NULL
6096 };
6097
6098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6100 {
6101 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 {
6105 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 resultobj = SWIG_PyObj_FromInt((int)result);
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6123 PyObject *obj;
6124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6125 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6126 Py_INCREF(obj);
6127 return Py_BuildValue((char *)"");
6128 }
6129 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6130 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6131 return 1;
6132 }
6133
6134
6135 static PyObject *_wrap_TextCtrlNameStr_get() {
6136 PyObject *pyobj;
6137
6138 {
6139 #if wxUSE_UNICODE
6140 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6141 #else
6142 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6143 #endif
6144 }
6145 return pyobj;
6146 }
6147
6148
6149 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6150 PyObject *resultobj;
6151 wxTextAttr *result;
6152
6153 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 result = (wxTextAttr *)new wxTextAttr();
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6162 return resultobj;
6163 fail:
6164 return NULL;
6165 }
6166
6167
6168 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6169 PyObject *resultobj;
6170 wxColour *arg1 = 0 ;
6171 wxColour const &arg2_defvalue = wxNullColour ;
6172 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6173 wxFont const &arg3_defvalue = wxNullFont ;
6174 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6175 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6176 wxTextAttr *result;
6177 wxColour temp1 ;
6178 wxColour temp2 ;
6179 PyObject * obj0 = 0 ;
6180 PyObject * obj1 = 0 ;
6181 PyObject * obj2 = 0 ;
6182 PyObject * obj3 = 0 ;
6183
6184 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6185 {
6186 arg1 = &temp1;
6187 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6188 }
6189 if (obj1) {
6190 {
6191 arg2 = &temp2;
6192 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6193 }
6194 }
6195 if (obj2) {
6196 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6197 if (arg3 == NULL) {
6198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6199 }
6200 }
6201 if (obj3) {
6202 {
6203 arg4 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj3);
6204 if (PyErr_Occurred()) SWIG_fail;
6205 }
6206 }
6207 {
6208 PyThreadState* __tstate = wxPyBeginAllowThreads();
6209 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6210
6211 wxPyEndAllowThreads(__tstate);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6215 return resultobj;
6216 fail:
6217 return NULL;
6218 }
6219
6220
6221 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6222 int argc;
6223 PyObject *argv[5];
6224 int ii;
6225
6226 argc = PyObject_Length(args);
6227 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6228 argv[ii] = PyTuple_GetItem(args,ii);
6229 }
6230 if (argc == 0) {
6231 return _wrap_new_TextAttr__SWIG_0(self,args);
6232 }
6233 if ((argc >= 1) && (argc <= 4)) {
6234 int _v;
6235 {
6236 _v = wxColour_typecheck(argv[0]);
6237 }
6238 if (_v) {
6239 if (argc <= 1) {
6240 return _wrap_new_TextAttr__SWIG_1(self,args);
6241 }
6242 {
6243 _v = wxColour_typecheck(argv[1]);
6244 }
6245 if (_v) {
6246 if (argc <= 2) {
6247 return _wrap_new_TextAttr__SWIG_1(self,args);
6248 }
6249 {
6250 void *ptr;
6251 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6252 _v = 0;
6253 PyErr_Clear();
6254 } else {
6255 _v = 1;
6256 }
6257 }
6258 if (_v) {
6259 if (argc <= 3) {
6260 return _wrap_new_TextAttr__SWIG_1(self,args);
6261 }
6262 {
6263 SWIG_PyObj_AsInt(argv[3]);
6264 if (PyErr_Occurred()) {
6265 _v = 0;
6266 PyErr_Clear();
6267 } else {
6268 _v = 1;
6269 }
6270 }
6271 if (_v) {
6272 return _wrap_new_TextAttr__SWIG_1(self,args);
6273 }
6274 }
6275 }
6276 }
6277 }
6278
6279 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6280 return NULL;
6281 }
6282
6283
6284 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6285 PyObject *resultobj;
6286 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 delete arg1;
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
6301 Py_INCREF(Py_None); resultobj = Py_None;
6302 return resultobj;
6303 fail:
6304 return NULL;
6305 }
6306
6307
6308 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6309 PyObject *resultobj;
6310 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6311 PyObject * obj0 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 (arg1)->Init();
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 Py_INCREF(Py_None); resultobj = Py_None;
6326 return resultobj;
6327 fail:
6328 return NULL;
6329 }
6330
6331
6332 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6333 PyObject *resultobj;
6334 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6335 wxColour *arg2 = 0 ;
6336 wxColour temp2 ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "colText", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6345 {
6346 arg2 = &temp2;
6347 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6348 }
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 (arg1)->SetTextColour((wxColour const &)*arg2);
6352
6353 wxPyEndAllowThreads(__tstate);
6354 if (PyErr_Occurred()) SWIG_fail;
6355 }
6356 Py_INCREF(Py_None); resultobj = Py_None;
6357 return resultobj;
6358 fail:
6359 return NULL;
6360 }
6361
6362
6363 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6364 PyObject *resultobj;
6365 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6366 wxColour *arg2 = 0 ;
6367 wxColour temp2 ;
6368 PyObject * obj0 = 0 ;
6369 PyObject * obj1 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "self",(char *) "colBack", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6376 {
6377 arg2 = &temp2;
6378 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6379 }
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6383
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 Py_INCREF(Py_None); resultobj = Py_None;
6388 return resultobj;
6389 fail:
6390 return NULL;
6391 }
6392
6393
6394 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6395 PyObject *resultobj;
6396 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6397 wxFont *arg2 = 0 ;
6398 long arg3 = (long) wxTEXT_ATTR_FONT ;
6399 PyObject * obj0 = 0 ;
6400 PyObject * obj1 = 0 ;
6401 PyObject * obj2 = 0 ;
6402 char *kwnames[] = {
6403 (char *) "self",(char *) "font",(char *) "flags", NULL
6404 };
6405
6406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6409 if (arg2 == NULL) {
6410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6411 }
6412 if (obj2) {
6413 {
6414 arg3 = (long) SWIG_PyObj_AsLong(obj2);
6415 if (PyErr_Occurred()) SWIG_fail;
6416 }
6417 }
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 Py_INCREF(Py_None); resultobj = Py_None;
6426 return resultobj;
6427 fail:
6428 return NULL;
6429 }
6430
6431
6432 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6433 PyObject *resultobj;
6434 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6435 int arg2 ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self",(char *) "alignment", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6444 {
6445 arg2 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj1);
6446 if (PyErr_Occurred()) SWIG_fail;
6447 }
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 Py_INCREF(Py_None); resultobj = Py_None;
6456 return resultobj;
6457 fail:
6458 return NULL;
6459 }
6460
6461
6462 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6463 PyObject *resultobj;
6464 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6465 wxArrayInt *arg2 = 0 ;
6466 PyObject * obj0 = 0 ;
6467 PyObject * obj1 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self",(char *) "tabs", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6474 {
6475 if (! PySequence_Check(obj1)) {
6476 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6477 SWIG_fail;
6478 }
6479 arg2 = new wxArrayInt;
6480 int i, len=PySequence_Length(obj1);
6481 for (i=0; i<len; i++) {
6482 PyObject* item = PySequence_GetItem(obj1, i);
6483 PyObject* number = PyNumber_Int(item);
6484 arg2->Add(PyInt_AS_LONG(number));
6485 Py_DECREF(item);
6486 Py_DECREF(number);
6487 }
6488 }
6489 {
6490 PyThreadState* __tstate = wxPyBeginAllowThreads();
6491 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6492
6493 wxPyEndAllowThreads(__tstate);
6494 if (PyErr_Occurred()) SWIG_fail;
6495 }
6496 Py_INCREF(Py_None); resultobj = Py_None;
6497 {
6498 if (arg2) delete arg2;
6499 }
6500 return resultobj;
6501 fail:
6502 {
6503 if (arg2) delete arg2;
6504 }
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6512 int arg2 ;
6513 PyObject * obj0 = 0 ;
6514 PyObject * obj1 = 0 ;
6515 char *kwnames[] = {
6516 (char *) "self",(char *) "indent", NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6521 {
6522 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 {
6526 PyThreadState* __tstate = wxPyBeginAllowThreads();
6527 (arg1)->SetLeftIndent(arg2);
6528
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 Py_INCREF(Py_None); resultobj = Py_None;
6533 return resultobj;
6534 fail:
6535 return NULL;
6536 }
6537
6538
6539 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6542 int arg2 ;
6543 PyObject * obj0 = 0 ;
6544 PyObject * obj1 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self",(char *) "indent", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551 {
6552 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 (arg1)->SetRightIndent(arg2);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6572 long arg2 ;
6573 PyObject * obj0 = 0 ;
6574 PyObject * obj1 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "self",(char *) "flags", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6581 {
6582 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 (arg1)->SetFlags(arg2);
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 Py_INCREF(Py_None); resultobj = Py_None;
6593 return resultobj;
6594 fail:
6595 return NULL;
6596 }
6597
6598
6599 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6602 bool result;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 resultobj = SWIG_PyObj_FromBool((bool)result);
6618 return resultobj;
6619 fail:
6620 return NULL;
6621 }
6622
6623
6624 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6625 PyObject *resultobj;
6626 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6627 bool result;
6628 PyObject * obj0 = 0 ;
6629 char *kwnames[] = {
6630 (char *) "self", NULL
6631 };
6632
6633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 resultobj = SWIG_PyObj_FromBool((bool)result);
6643 return resultobj;
6644 fail:
6645 return NULL;
6646 }
6647
6648
6649 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj;
6651 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6652 bool result;
6653 PyObject * obj0 = 0 ;
6654 char *kwnames[] = {
6655 (char *) "self", NULL
6656 };
6657
6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6663
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 resultobj = SWIG_PyObj_FromBool((bool)result);
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6677 bool result;
6678 PyObject * obj0 = 0 ;
6679 char *kwnames[] = {
6680 (char *) "self", NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 resultobj = SWIG_PyObj_FromBool((bool)result);
6693 return resultobj;
6694 fail:
6695 return NULL;
6696 }
6697
6698
6699 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6702 bool result;
6703 PyObject * obj0 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_PyObj_FromBool((bool)result);
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6727 bool result;
6728 PyObject * obj0 = 0 ;
6729 char *kwnames[] = {
6730 (char *) "self", NULL
6731 };
6732
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 resultobj = SWIG_PyObj_FromBool((bool)result);
6743 return resultobj;
6744 fail:
6745 return NULL;
6746 }
6747
6748
6749 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj;
6751 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6752 bool result;
6753 PyObject * obj0 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "self", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 resultobj = SWIG_PyObj_FromBool((bool)result);
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6777 long arg2 ;
6778 bool result;
6779 PyObject * obj0 = 0 ;
6780 PyObject * obj1 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self",(char *) "flag", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
6786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6787 {
6788 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = SWIG_PyObj_FromBool((bool)result);
6799 return resultobj;
6800 fail:
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6808 wxColour *result;
6809 PyObject * obj0 = 0 ;
6810 char *kwnames[] = {
6811 (char *) "self", NULL
6812 };
6813
6814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 {
6819 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6820 result = (wxColour *) &_result_ref;
6821 }
6822
6823 wxPyEndAllowThreads(__tstate);
6824 if (PyErr_Occurred()) SWIG_fail;
6825 }
6826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6827 return resultobj;
6828 fail:
6829 return NULL;
6830 }
6831
6832
6833 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj;
6835 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6836 wxColour *result;
6837 PyObject * obj0 = 0 ;
6838 char *kwnames[] = {
6839 (char *) "self", NULL
6840 };
6841
6842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 {
6847 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6848 result = (wxColour *) &_result_ref;
6849 }
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6864 wxFont *result;
6865 PyObject * obj0 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "self", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6872 {
6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
6874 {
6875 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6876 result = (wxFont *) &_result_ref;
6877 }
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6883 return resultobj;
6884 fail:
6885 return NULL;
6886 }
6887
6888
6889 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6890 PyObject *resultobj;
6891 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6892 int result;
6893 PyObject * obj0 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",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 = (int)((wxTextAttr const *)arg1)->GetAlignment();
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = SWIG_PyObj_FromInt((int)result);
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6917 wxArrayInt *result;
6918 PyObject * obj0 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",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 {
6928 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6929 result = (wxArrayInt *) &_result_ref;
6930 }
6931
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 {
6936 resultobj = PyList_New(0);
6937 size_t idx;
6938 for (idx = 0; idx < result->GetCount(); idx += 1) {
6939 PyObject* val = PyInt_FromLong( result->Item(idx) );
6940 PyList_Append(resultobj, val);
6941 Py_DECREF(val);
6942 }
6943 }
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj;
6952 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6953 long result;
6954 PyObject * obj0 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "self", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 resultobj = SWIG_PyObj_FromLong((long)result);
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj;
6977 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6978 long result;
6979 PyObject * obj0 = 0 ;
6980 char *kwnames[] = {
6981 (char *) "self", NULL
6982 };
6983
6984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 resultobj = SWIG_PyObj_FromLong((long)result);
6994 return resultobj;
6995 fail:
6996 return NULL;
6997 }
6998
6999
7000 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj;
7002 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7003 long result;
7004 PyObject * obj0 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7011 {
7012 PyThreadState* __tstate = wxPyBeginAllowThreads();
7013 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7014
7015 wxPyEndAllowThreads(__tstate);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 resultobj = SWIG_PyObj_FromLong((long)result);
7019 return resultobj;
7020 fail:
7021 return NULL;
7022 }
7023
7024
7025 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7026 PyObject *resultobj;
7027 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7028 bool result;
7029 PyObject * obj0 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7036 {
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 resultobj = SWIG_PyObj_FromBool((bool)result);
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 wxTextAttr *arg1 = 0 ;
7053 wxTextAttr *arg2 = 0 ;
7054 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7055 wxTextAttr result;
7056 PyObject * obj0 = 0 ;
7057 PyObject * obj1 = 0 ;
7058 PyObject * obj2 = 0 ;
7059 char *kwnames[] = {
7060 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7061 };
7062
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7065 if (arg1 == NULL) {
7066 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7067 }
7068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7069 if (arg2 == NULL) {
7070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7071 }
7072 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7076
7077 wxPyEndAllowThreads(__tstate);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 {
7081 wxTextAttr * resultptr;
7082 resultptr = new wxTextAttr((wxTextAttr &) result);
7083 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
7084 }
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7092 PyObject *obj;
7093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7094 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7095 Py_INCREF(obj);
7096 return Py_BuildValue((char *)"");
7097 }
7098 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxWindow *arg1 = (wxWindow *) 0 ;
7101 int arg2 ;
7102 wxString const &arg3_defvalue = wxPyEmptyString ;
7103 wxString *arg3 = (wxString *) &arg3_defvalue ;
7104 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7105 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7106 wxSize const &arg5_defvalue = wxDefaultSize ;
7107 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7108 long arg6 = (long) 0 ;
7109 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7110 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7111 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7112 wxString *arg8 = (wxString *) &arg8_defvalue ;
7113 wxTextCtrl *result;
7114 bool temp3 = False ;
7115 wxPoint temp4 ;
7116 wxSize temp5 ;
7117 bool temp8 = False ;
7118 PyObject * obj0 = 0 ;
7119 PyObject * obj1 = 0 ;
7120 PyObject * obj2 = 0 ;
7121 PyObject * obj3 = 0 ;
7122 PyObject * obj4 = 0 ;
7123 PyObject * obj5 = 0 ;
7124 PyObject * obj6 = 0 ;
7125 PyObject * obj7 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7132 {
7133 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7134 if (PyErr_Occurred()) SWIG_fail;
7135 }
7136 if (obj2) {
7137 {
7138 arg3 = wxString_in_helper(obj2);
7139 if (arg3 == NULL) SWIG_fail;
7140 temp3 = True;
7141 }
7142 }
7143 if (obj3) {
7144 {
7145 arg4 = &temp4;
7146 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7147 }
7148 }
7149 if (obj4) {
7150 {
7151 arg5 = &temp5;
7152 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7153 }
7154 }
7155 if (obj5) {
7156 {
7157 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 }
7161 if (obj6) {
7162 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7163 if (arg7 == NULL) {
7164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7165 }
7166 }
7167 if (obj7) {
7168 {
7169 arg8 = wxString_in_helper(obj7);
7170 if (arg8 == NULL) SWIG_fail;
7171 temp8 = True;
7172 }
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 {
7182 resultobj = wxPyMake_wxObject(result);
7183 }
7184 {
7185 if (temp3)
7186 delete arg3;
7187 }
7188 {
7189 if (temp8)
7190 delete arg8;
7191 }
7192 return resultobj;
7193 fail:
7194 {
7195 if (temp3)
7196 delete arg3;
7197 }
7198 {
7199 if (temp8)
7200 delete arg8;
7201 }
7202 return NULL;
7203 }
7204
7205
7206 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7207 PyObject *resultobj;
7208 wxTextCtrl *result;
7209 char *kwnames[] = {
7210 NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7214 {
7215 PyThreadState* __tstate = wxPyBeginAllowThreads();
7216 result = (wxTextCtrl *)new wxTextCtrl();
7217
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 {
7222 resultobj = wxPyMake_wxObject(result);
7223 }
7224 return resultobj;
7225 fail:
7226 return NULL;
7227 }
7228
7229
7230 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj;
7232 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7233 wxWindow *arg2 = (wxWindow *) 0 ;
7234 int arg3 ;
7235 wxString const &arg4_defvalue = wxPyEmptyString ;
7236 wxString *arg4 = (wxString *) &arg4_defvalue ;
7237 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7238 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7239 wxSize const &arg6_defvalue = wxDefaultSize ;
7240 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7241 long arg7 = (long) 0 ;
7242 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7243 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7244 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7245 wxString *arg9 = (wxString *) &arg9_defvalue ;
7246 bool result;
7247 bool temp4 = False ;
7248 wxPoint temp5 ;
7249 wxSize temp6 ;
7250 bool temp9 = False ;
7251 PyObject * obj0 = 0 ;
7252 PyObject * obj1 = 0 ;
7253 PyObject * obj2 = 0 ;
7254 PyObject * obj3 = 0 ;
7255 PyObject * obj4 = 0 ;
7256 PyObject * obj5 = 0 ;
7257 PyObject * obj6 = 0 ;
7258 PyObject * obj7 = 0 ;
7259 PyObject * obj8 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7266 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7267 {
7268 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 if (obj3) {
7272 {
7273 arg4 = wxString_in_helper(obj3);
7274 if (arg4 == NULL) SWIG_fail;
7275 temp4 = True;
7276 }
7277 }
7278 if (obj4) {
7279 {
7280 arg5 = &temp5;
7281 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7282 }
7283 }
7284 if (obj5) {
7285 {
7286 arg6 = &temp6;
7287 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7288 }
7289 }
7290 if (obj6) {
7291 {
7292 arg7 = (long) SWIG_PyObj_AsLong(obj6);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 }
7296 if (obj7) {
7297 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7298 if (arg8 == NULL) {
7299 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7300 }
7301 }
7302 if (obj8) {
7303 {
7304 arg9 = wxString_in_helper(obj8);
7305 if (arg9 == NULL) SWIG_fail;
7306 temp9 = True;
7307 }
7308 }
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 resultobj = SWIG_PyObj_FromBool((bool)result);
7317 {
7318 if (temp4)
7319 delete arg4;
7320 }
7321 {
7322 if (temp9)
7323 delete arg9;
7324 }
7325 return resultobj;
7326 fail:
7327 {
7328 if (temp4)
7329 delete arg4;
7330 }
7331 {
7332 if (temp9)
7333 delete arg9;
7334 }
7335 return NULL;
7336 }
7337
7338
7339 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7342 wxString result;
7343 PyObject * obj0 = 0 ;
7344 char *kwnames[] = {
7345 (char *) "self", NULL
7346 };
7347
7348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = ((wxTextCtrl const *)arg1)->GetValue();
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
7357 {
7358 #if wxUSE_UNICODE
7359 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7360 #else
7361 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7362 #endif
7363 }
7364 return resultobj;
7365 fail:
7366 return NULL;
7367 }
7368
7369
7370 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7371 PyObject *resultobj;
7372 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7373 wxString *arg2 = 0 ;
7374 bool temp2 = False ;
7375 PyObject * obj0 = 0 ;
7376 PyObject * obj1 = 0 ;
7377 char *kwnames[] = {
7378 (char *) "self",(char *) "value", NULL
7379 };
7380
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7383 {
7384 arg2 = wxString_in_helper(obj1);
7385 if (arg2 == NULL) SWIG_fail;
7386 temp2 = True;
7387 }
7388 {
7389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7390 (arg1)->SetValue((wxString const &)*arg2);
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 Py_INCREF(Py_None); resultobj = Py_None;
7396 {
7397 if (temp2)
7398 delete arg2;
7399 }
7400 return resultobj;
7401 fail:
7402 {
7403 if (temp2)
7404 delete arg2;
7405 }
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7413 long arg2 ;
7414 long arg3 ;
7415 wxString result;
7416 PyObject * obj0 = 0 ;
7417 PyObject * obj1 = 0 ;
7418 PyObject * obj2 = 0 ;
7419 char *kwnames[] = {
7420 (char *) "self",(char *) "from",(char *) "to", NULL
7421 };
7422
7423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7425 {
7426 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 {
7430 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 {
7441 #if wxUSE_UNICODE
7442 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7443 #else
7444 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7445 #endif
7446 }
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7456 long arg2 ;
7457 int result;
7458 PyObject * obj0 = 0 ;
7459 PyObject * obj1 = 0 ;
7460 char *kwnames[] = {
7461 (char *) "self",(char *) "lineNo", NULL
7462 };
7463
7464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7466 {
7467 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 resultobj = SWIG_PyObj_FromInt((int)result);
7478 return resultobj;
7479 fail:
7480 return NULL;
7481 }
7482
7483
7484 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7485 PyObject *resultobj;
7486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7487 long arg2 ;
7488 wxString result;
7489 PyObject * obj0 = 0 ;
7490 PyObject * obj1 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "self",(char *) "lineNo", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7497 {
7498 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 {
7509 #if wxUSE_UNICODE
7510 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7511 #else
7512 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7513 #endif
7514 }
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7524 int result;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = SWIG_PyObj_FromInt((int)result);
7540 return resultobj;
7541 fail:
7542 return NULL;
7543 }
7544
7545
7546 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7549 bool result;
7550 PyObject * obj0 = 0 ;
7551 char *kwnames[] = {
7552 (char *) "self", NULL
7553 };
7554
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 resultobj = SWIG_PyObj_FromBool((bool)result);
7565 return resultobj;
7566 fail:
7567 return NULL;
7568 }
7569
7570
7571 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj;
7573 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7574 bool result;
7575 PyObject * obj0 = 0 ;
7576 char *kwnames[] = {
7577 (char *) "self", NULL
7578 };
7579
7580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7585
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 resultobj = SWIG_PyObj_FromBool((bool)result);
7590 return resultobj;
7591 fail:
7592 return NULL;
7593 }
7594
7595
7596 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7597 PyObject *resultobj;
7598 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7599 bool result;
7600 PyObject * obj0 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 resultobj = SWIG_PyObj_FromBool((bool)result);
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7624 bool result;
7625 PyObject * obj0 = 0 ;
7626 char *kwnames[] = {
7627 (char *) "self", NULL
7628 };
7629
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 resultobj = SWIG_PyObj_FromBool((bool)result);
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7649 long *arg2 = (long *) 0 ;
7650 long *arg3 = (long *) 0 ;
7651 long temp2 ;
7652 long temp3 ;
7653 PyObject * obj0 = 0 ;
7654 char *kwnames[] = {
7655 (char *) "self", NULL
7656 };
7657
7658 arg2 = &temp2;
7659 arg3 = &temp3;
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 {
7671 PyObject *o = PyInt_FromLong((long) (*arg2));
7672 resultobj = t_output_helper(resultobj,o);
7673 }
7674 {
7675 PyObject *o = PyInt_FromLong((long) (*arg3));
7676 resultobj = t_output_helper(resultobj,o);
7677 }
7678 return resultobj;
7679 fail:
7680 return NULL;
7681 }
7682
7683
7684 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7685 PyObject *resultobj;
7686 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7687 wxString result;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 {
7703 #if wxUSE_UNICODE
7704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7705 #else
7706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7707 #endif
7708 }
7709 return resultobj;
7710 fail:
7711 return NULL;
7712 }
7713
7714
7715 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7718 PyObject * obj0 = 0 ;
7719 char *kwnames[] = {
7720 (char *) "self", NULL
7721 };
7722
7723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 (arg1)->Clear();
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 Py_INCREF(Py_None); resultobj = Py_None;
7733 return resultobj;
7734 fail:
7735 return NULL;
7736 }
7737
7738
7739 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7740 PyObject *resultobj;
7741 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7742 long arg2 ;
7743 long arg3 ;
7744 wxString *arg4 = 0 ;
7745 bool temp4 = False ;
7746 PyObject * obj0 = 0 ;
7747 PyObject * obj1 = 0 ;
7748 PyObject * obj2 = 0 ;
7749 PyObject * obj3 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7756 {
7757 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 {
7761 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7762 if (PyErr_Occurred()) SWIG_fail;
7763 }
7764 {
7765 arg4 = wxString_in_helper(obj3);
7766 if (arg4 == NULL) SWIG_fail;
7767 temp4 = True;
7768 }
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 Py_INCREF(Py_None); resultobj = Py_None;
7777 {
7778 if (temp4)
7779 delete arg4;
7780 }
7781 return resultobj;
7782 fail:
7783 {
7784 if (temp4)
7785 delete arg4;
7786 }
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7794 long arg2 ;
7795 long arg3 ;
7796 PyObject * obj0 = 0 ;
7797 PyObject * obj1 = 0 ;
7798 PyObject * obj2 = 0 ;
7799 char *kwnames[] = {
7800 (char *) "self",(char *) "from",(char *) "to", NULL
7801 };
7802
7803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
7804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7805 {
7806 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7807 if (PyErr_Occurred()) SWIG_fail;
7808 }
7809 {
7810 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 (arg1)->Remove(arg2,arg3);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 return resultobj;
7822 fail:
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7830 wxString *arg2 = 0 ;
7831 bool result;
7832 bool temp2 = False ;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 char *kwnames[] = {
7836 (char *) "self",(char *) "file", NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7841 {
7842 arg2 = wxString_in_helper(obj1);
7843 if (arg2 == NULL) SWIG_fail;
7844 temp2 = True;
7845 }
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 resultobj = SWIG_PyObj_FromBool((bool)result);
7854 {
7855 if (temp2)
7856 delete arg2;
7857 }
7858 return resultobj;
7859 fail:
7860 {
7861 if (temp2)
7862 delete arg2;
7863 }
7864 return NULL;
7865 }
7866
7867
7868 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7869 PyObject *resultobj;
7870 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7871 wxString const &arg2_defvalue = wxPyEmptyString ;
7872 wxString *arg2 = (wxString *) &arg2_defvalue ;
7873 bool result;
7874 bool temp2 = False ;
7875 PyObject * obj0 = 0 ;
7876 PyObject * obj1 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self",(char *) "file", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7883 if (obj1) {
7884 {
7885 arg2 = wxString_in_helper(obj1);
7886 if (arg2 == NULL) SWIG_fail;
7887 temp2 = True;
7888 }
7889 }
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 resultobj = SWIG_PyObj_FromBool((bool)result);
7898 {
7899 if (temp2)
7900 delete arg2;
7901 }
7902 return resultobj;
7903 fail:
7904 {
7905 if (temp2)
7906 delete arg2;
7907 }
7908 return NULL;
7909 }
7910
7911
7912 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7913 PyObject *resultobj;
7914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 (arg1)->MarkDirty();
7925
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 Py_INCREF(Py_None); resultobj = Py_None;
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj;
7938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->DiscardEdits();
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 Py_INCREF(Py_None); resultobj = Py_None;
7954 return resultobj;
7955 fail:
7956 return NULL;
7957 }
7958
7959
7960 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7963 unsigned long arg2 ;
7964 PyObject * obj0 = 0 ;
7965 PyObject * obj1 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "self",(char *) "len", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7972 {
7973 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 (arg1)->SetMaxLength(arg2);
7979
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 Py_INCREF(Py_None); resultobj = Py_None;
7984 return resultobj;
7985 fail:
7986 return NULL;
7987 }
7988
7989
7990 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj;
7992 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7993 wxString *arg2 = 0 ;
7994 bool temp2 = False ;
7995 PyObject * obj0 = 0 ;
7996 PyObject * obj1 = 0 ;
7997 char *kwnames[] = {
7998 (char *) "self",(char *) "text", NULL
7999 };
8000
8001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8003 {
8004 arg2 = wxString_in_helper(obj1);
8005 if (arg2 == NULL) SWIG_fail;
8006 temp2 = True;
8007 }
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 (arg1)->WriteText((wxString const &)*arg2);
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 Py_INCREF(Py_None); resultobj = Py_None;
8016 {
8017 if (temp2)
8018 delete arg2;
8019 }
8020 return resultobj;
8021 fail:
8022 {
8023 if (temp2)
8024 delete arg2;
8025 }
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8033 wxString *arg2 = 0 ;
8034 bool temp2 = False ;
8035 PyObject * obj0 = 0 ;
8036 PyObject * obj1 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "self",(char *) "text", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8043 {
8044 arg2 = wxString_in_helper(obj1);
8045 if (arg2 == NULL) SWIG_fail;
8046 temp2 = True;
8047 }
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 (arg1)->AppendText((wxString const &)*arg2);
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 Py_INCREF(Py_None); resultobj = Py_None;
8056 {
8057 if (temp2)
8058 delete arg2;
8059 }
8060 return resultobj;
8061 fail:
8062 {
8063 if (temp2)
8064 delete arg2;
8065 }
8066 return NULL;
8067 }
8068
8069
8070 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8071 PyObject *resultobj;
8072 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8073 wxKeyEvent *arg2 = 0 ;
8074 bool result;
8075 PyObject * obj0 = 0 ;
8076 PyObject * obj1 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self",(char *) "event", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8084 if (arg2 == NULL) {
8085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8086 }
8087 {
8088 PyThreadState* __tstate = wxPyBeginAllowThreads();
8089 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8090
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 resultobj = SWIG_PyObj_FromBool((bool)result);
8095 return resultobj;
8096 fail:
8097 return NULL;
8098 }
8099
8100
8101 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj;
8103 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8104 long arg2 ;
8105 long arg3 ;
8106 wxTextAttr *arg4 = 0 ;
8107 bool result;
8108 PyObject * obj0 = 0 ;
8109 PyObject * obj1 = 0 ;
8110 PyObject * obj2 = 0 ;
8111 PyObject * obj3 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 {
8119 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 }
8122 {
8123 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8127 if (arg4 == NULL) {
8128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8129 }
8130 {
8131 PyThreadState* __tstate = wxPyBeginAllowThreads();
8132 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8133
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 resultobj = SWIG_PyObj_FromBool((bool)result);
8138 return resultobj;
8139 fail:
8140 return NULL;
8141 }
8142
8143
8144 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj;
8146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8147 long arg2 ;
8148 wxTextAttr *arg3 = 0 ;
8149 bool result;
8150 PyObject * obj0 = 0 ;
8151 PyObject * obj1 = 0 ;
8152 PyObject * obj2 = 0 ;
8153 char *kwnames[] = {
8154 (char *) "self",(char *) "position",(char *) "style", NULL
8155 };
8156
8157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8159 {
8160 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8164 if (arg3 == NULL) {
8165 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8166 }
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 resultobj = SWIG_PyObj_FromBool((bool)result);
8175 return resultobj;
8176 fail:
8177 return NULL;
8178 }
8179
8180
8181 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8182 PyObject *resultobj;
8183 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8184 wxTextAttr *arg2 = 0 ;
8185 bool result;
8186 PyObject * obj0 = 0 ;
8187 PyObject * obj1 = 0 ;
8188 char *kwnames[] = {
8189 (char *) "self",(char *) "style", NULL
8190 };
8191
8192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8195 if (arg2 == NULL) {
8196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8197 }
8198 {
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 resultobj = SWIG_PyObj_FromBool((bool)result);
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj;
8214 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8215 wxTextAttr *result;
8216 PyObject * obj0 = 0 ;
8217 char *kwnames[] = {
8218 (char *) "self", NULL
8219 };
8220
8221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 {
8226 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8227 result = (wxTextAttr *) &_result_ref;
8228 }
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8243 long arg2 ;
8244 long arg3 ;
8245 long result;
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 PyObject * obj2 = 0 ;
8249 char *kwnames[] = {
8250 (char *) "self",(char *) "x",(char *) "y", NULL
8251 };
8252
8253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8255 {
8256 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 {
8260 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8261 if (PyErr_Occurred()) SWIG_fail;
8262 }
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 resultobj = SWIG_PyObj_FromLong((long)result);
8271 return resultobj;
8272 fail:
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8280 long arg2 ;
8281 long *arg3 = (long *) 0 ;
8282 long *arg4 = (long *) 0 ;
8283 long temp3 ;
8284 long temp4 ;
8285 PyObject * obj0 = 0 ;
8286 PyObject * obj1 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self",(char *) "pos", NULL
8289 };
8290
8291 arg3 = &temp3;
8292 arg4 = &temp4;
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8295 {
8296 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8302
8303 wxPyEndAllowThreads(__tstate);
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 Py_INCREF(Py_None); resultobj = Py_None;
8307 {
8308 PyObject *o = PyInt_FromLong((long) (*arg3));
8309 resultobj = t_output_helper(resultobj,o);
8310 }
8311 {
8312 PyObject *o = PyInt_FromLong((long) (*arg4));
8313 resultobj = t_output_helper(resultobj,o);
8314 }
8315 return resultobj;
8316 fail:
8317 return NULL;
8318 }
8319
8320
8321 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8322 PyObject *resultobj;
8323 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8324 long arg2 ;
8325 PyObject * obj0 = 0 ;
8326 PyObject * obj1 = 0 ;
8327 char *kwnames[] = {
8328 (char *) "self",(char *) "pos", NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8333 {
8334 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 (arg1)->ShowPosition(arg2);
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 Py_INCREF(Py_None); resultobj = Py_None;
8345 return resultobj;
8346 fail:
8347 return NULL;
8348 }
8349
8350
8351 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8354 PyObject * obj0 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8361 {
8362 PyThreadState* __tstate = wxPyBeginAllowThreads();
8363 (arg1)->Copy();
8364
8365 wxPyEndAllowThreads(__tstate);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 }
8368 Py_INCREF(Py_None); resultobj = Py_None;
8369 return resultobj;
8370 fail:
8371 return NULL;
8372 }
8373
8374
8375 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8376 PyObject *resultobj;
8377 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8378 PyObject * obj0 = 0 ;
8379 char *kwnames[] = {
8380 (char *) "self", NULL
8381 };
8382
8383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 (arg1)->Cut();
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 Py_INCREF(Py_None); resultobj = Py_None;
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj;
8401 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8402 PyObject * obj0 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 (arg1)->Paste();
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 Py_INCREF(Py_None); resultobj = Py_None;
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8426 bool result;
8427 PyObject * obj0 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "self", NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 resultobj = SWIG_PyObj_FromBool((bool)result);
8442 return resultobj;
8443 fail:
8444 return NULL;
8445 }
8446
8447
8448 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8449 PyObject *resultobj;
8450 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8451 bool result;
8452 PyObject * obj0 = 0 ;
8453 char *kwnames[] = {
8454 (char *) "self", NULL
8455 };
8456
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 resultobj = SWIG_PyObj_FromBool((bool)result);
8467 return resultobj;
8468 fail:
8469 return NULL;
8470 }
8471
8472
8473 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj;
8475 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8476 bool result;
8477 PyObject * obj0 = 0 ;
8478 char *kwnames[] = {
8479 (char *) "self", NULL
8480 };
8481
8482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8487
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 resultobj = SWIG_PyObj_FromBool((bool)result);
8492 return resultobj;
8493 fail:
8494 return NULL;
8495 }
8496
8497
8498 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8499 PyObject *resultobj;
8500 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8501 PyObject * obj0 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "self", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 (arg1)->Undo();
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 Py_INCREF(Py_None); resultobj = Py_None;
8516 return resultobj;
8517 fail:
8518 return NULL;
8519 }
8520
8521
8522 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8523 PyObject *resultobj;
8524 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8525 PyObject * obj0 = 0 ;
8526 char *kwnames[] = {
8527 (char *) "self", NULL
8528 };
8529
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8532 {
8533 PyThreadState* __tstate = wxPyBeginAllowThreads();
8534 (arg1)->Redo();
8535
8536 wxPyEndAllowThreads(__tstate);
8537 if (PyErr_Occurred()) SWIG_fail;
8538 }
8539 Py_INCREF(Py_None); resultobj = Py_None;
8540 return resultobj;
8541 fail:
8542 return NULL;
8543 }
8544
8545
8546 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8547 PyObject *resultobj;
8548 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8549 bool result;
8550 PyObject * obj0 = 0 ;
8551 char *kwnames[] = {
8552 (char *) "self", NULL
8553 };
8554
8555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 resultobj = SWIG_PyObj_FromBool((bool)result);
8565 return resultobj;
8566 fail:
8567 return NULL;
8568 }
8569
8570
8571 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8572 PyObject *resultobj;
8573 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8574 bool result;
8575 PyObject * obj0 = 0 ;
8576 char *kwnames[] = {
8577 (char *) "self", NULL
8578 };
8579
8580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8582 {
8583 PyThreadState* __tstate = wxPyBeginAllowThreads();
8584 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8585
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 resultobj = SWIG_PyObj_FromBool((bool)result);
8590 return resultobj;
8591 fail:
8592 return NULL;
8593 }
8594
8595
8596 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8597 PyObject *resultobj;
8598 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8599 long arg2 ;
8600 PyObject * obj0 = 0 ;
8601 PyObject * obj1 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "self",(char *) "pos", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8608 {
8609 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 (arg1)->SetInsertionPoint(arg2);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 Py_INCREF(Py_None); resultobj = Py_None;
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8629 PyObject * obj0 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 (arg1)->SetInsertionPointEnd();
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 Py_INCREF(Py_None); resultobj = Py_None;
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8651 PyObject *resultobj;
8652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8653 long result;
8654 PyObject * obj0 = 0 ;
8655 char *kwnames[] = {
8656 (char *) "self", NULL
8657 };
8658
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8661 {
8662 PyThreadState* __tstate = wxPyBeginAllowThreads();
8663 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 resultobj = SWIG_PyObj_FromLong((long)result);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672 }
8673
8674
8675 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8678 long result;
8679 PyObject * obj0 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8686 {
8687 PyThreadState* __tstate = wxPyBeginAllowThreads();
8688 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8689
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_PyObj_FromLong((long)result);
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8701 PyObject *resultobj;
8702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8703 long arg2 ;
8704 long arg3 ;
8705 PyObject * obj0 = 0 ;
8706 PyObject * obj1 = 0 ;
8707 PyObject * obj2 = 0 ;
8708 char *kwnames[] = {
8709 (char *) "self",(char *) "from",(char *) "to", NULL
8710 };
8711
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8714 {
8715 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 {
8719 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8720 if (PyErr_Occurred()) SWIG_fail;
8721 }
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 (arg1)->SetSelection(arg2,arg3);
8725
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 Py_INCREF(Py_None); resultobj = Py_None;
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8737 PyObject *resultobj;
8738 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8739 PyObject * obj0 = 0 ;
8740 char *kwnames[] = {
8741 (char *) "self", NULL
8742 };
8743
8744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8746 {
8747 PyThreadState* __tstate = wxPyBeginAllowThreads();
8748 (arg1)->SelectAll();
8749
8750 wxPyEndAllowThreads(__tstate);
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 Py_INCREF(Py_None); resultobj = Py_None;
8754 return resultobj;
8755 fail:
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8763 bool arg2 ;
8764 PyObject * obj0 = 0 ;
8765 PyObject * obj1 = 0 ;
8766 char *kwnames[] = {
8767 (char *) "self",(char *) "editable", NULL
8768 };
8769
8770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8772 {
8773 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 (arg1)->SetEditable(arg2);
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 Py_INCREF(Py_None); resultobj = Py_None;
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8793 bool arg2 = (bool) True ;
8794 bool result;
8795 PyObject * obj0 = 0 ;
8796 PyObject * obj1 = 0 ;
8797 char *kwnames[] = {
8798 (char *) "self",(char *) "show", NULL
8799 };
8800
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
8802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8803 if (obj1) {
8804 {
8805 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8806 if (PyErr_Occurred()) SWIG_fail;
8807 }
8808 }
8809 {
8810 PyThreadState* __tstate = wxPyBeginAllowThreads();
8811 result = (bool)(arg1)->ShowNativeCaret(arg2);
8812
8813 wxPyEndAllowThreads(__tstate);
8814 if (PyErr_Occurred()) SWIG_fail;
8815 }
8816 resultobj = SWIG_PyObj_FromBool((bool)result);
8817 return resultobj;
8818 fail:
8819 return NULL;
8820 }
8821
8822
8823 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj;
8825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8826 bool result;
8827 PyObject * obj0 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "self", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
8833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
8836 result = (bool)(arg1)->HideNativeCaret();
8837
8838 wxPyEndAllowThreads(__tstate);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 resultobj = SWIG_PyObj_FromBool((bool)result);
8842 return resultobj;
8843 fail:
8844 return NULL;
8845 }
8846
8847
8848 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj;
8850 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8851 wxString *arg2 = 0 ;
8852 bool temp2 = False ;
8853 PyObject * obj0 = 0 ;
8854 PyObject * obj1 = 0 ;
8855 char *kwnames[] = {
8856 (char *) "self",(char *) "text", NULL
8857 };
8858
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8861 {
8862 arg2 = wxString_in_helper(obj1);
8863 if (arg2 == NULL) SWIG_fail;
8864 temp2 = True;
8865 }
8866 {
8867 PyThreadState* __tstate = wxPyBeginAllowThreads();
8868 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8869
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 Py_INCREF(Py_None); resultobj = Py_None;
8874 {
8875 if (temp2)
8876 delete arg2;
8877 }
8878 return resultobj;
8879 fail:
8880 {
8881 if (temp2)
8882 delete arg2;
8883 }
8884 return NULL;
8885 }
8886
8887
8888 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8891 long arg2 ;
8892 long arg3 ;
8893 wxString result;
8894 PyObject * obj0 = 0 ;
8895 PyObject * obj1 = 0 ;
8896 PyObject * obj2 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self",(char *) "from",(char *) "to", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8903 {
8904 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 {
8908 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8914
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 {
8919 #if wxUSE_UNICODE
8920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8921 #else
8922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8923 #endif
8924 }
8925 return resultobj;
8926 fail:
8927 return NULL;
8928 }
8929
8930
8931 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8932 PyObject *obj;
8933 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8934 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8935 Py_INCREF(obj);
8936 return Py_BuildValue((char *)"");
8937 }
8938 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 int arg1 ;
8941 wxMouseEvent *arg2 = 0 ;
8942 long arg3 ;
8943 long arg4 ;
8944 wxTextUrlEvent *result;
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 PyObject * obj2 = 0 ;
8948 PyObject * obj3 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8954 {
8955 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959 if (arg2 == NULL) {
8960 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8961 }
8962 {
8963 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 {
8967 arg4 = (long) SWIG_PyObj_AsLong(obj3);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 {
8971 PyThreadState* __tstate = wxPyBeginAllowThreads();
8972 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8973
8974 wxPyEndAllowThreads(__tstate);
8975 if (PyErr_Occurred()) SWIG_fail;
8976 }
8977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8978 return resultobj;
8979 fail:
8980 return NULL;
8981 }
8982
8983
8984 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8985 PyObject *resultobj;
8986 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8987 wxMouseEvent *result;
8988 PyObject * obj0 = 0 ;
8989 char *kwnames[] = {
8990 (char *) "self", NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 {
8998 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8999 result = (wxMouseEvent *) &_result_ref;
9000 }
9001
9002 wxPyEndAllowThreads(__tstate);
9003 if (PyErr_Occurred()) SWIG_fail;
9004 }
9005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
9006 return resultobj;
9007 fail:
9008 return NULL;
9009 }
9010
9011
9012 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9015 long result;
9016 PyObject * obj0 = 0 ;
9017 char *kwnames[] = {
9018 (char *) "self", NULL
9019 };
9020
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 resultobj = SWIG_PyObj_FromLong((long)result);
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9038 PyObject *resultobj;
9039 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9040 long result;
9041 PyObject * obj0 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 resultobj = SWIG_PyObj_FromLong((long)result);
9056 return resultobj;
9057 fail:
9058 return NULL;
9059 }
9060
9061
9062 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9063 PyObject *obj;
9064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9065 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9066 Py_INCREF(obj);
9067 return Py_BuildValue((char *)"");
9068 }
9069 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9070 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9071 return 1;
9072 }
9073
9074
9075 static PyObject *_wrap_ScrollBarNameStr_get() {
9076 PyObject *pyobj;
9077
9078 {
9079 #if wxUSE_UNICODE
9080 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9081 #else
9082 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9083 #endif
9084 }
9085 return pyobj;
9086 }
9087
9088
9089 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxWindow *arg1 = (wxWindow *) 0 ;
9092 int arg2 = (int) -1 ;
9093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9095 wxSize const &arg4_defvalue = wxDefaultSize ;
9096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9097 long arg5 = (long) wxSB_HORIZONTAL ;
9098 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9099 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9100 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9101 wxString *arg7 = (wxString *) &arg7_defvalue ;
9102 wxScrollBar *result;
9103 wxPoint temp3 ;
9104 wxSize temp4 ;
9105 bool temp7 = False ;
9106 PyObject * obj0 = 0 ;
9107 PyObject * obj1 = 0 ;
9108 PyObject * obj2 = 0 ;
9109 PyObject * obj3 = 0 ;
9110 PyObject * obj4 = 0 ;
9111 PyObject * obj5 = 0 ;
9112 PyObject * obj6 = 0 ;
9113 char *kwnames[] = {
9114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9115 };
9116
9117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9119 if (obj1) {
9120 {
9121 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 }
9124 }
9125 if (obj2) {
9126 {
9127 arg3 = &temp3;
9128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9129 }
9130 }
9131 if (obj3) {
9132 {
9133 arg4 = &temp4;
9134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9135 }
9136 }
9137 if (obj4) {
9138 {
9139 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9140 if (PyErr_Occurred()) SWIG_fail;
9141 }
9142 }
9143 if (obj5) {
9144 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9145 if (arg6 == NULL) {
9146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9147 }
9148 }
9149 if (obj6) {
9150 {
9151 arg7 = wxString_in_helper(obj6);
9152 if (arg7 == NULL) SWIG_fail;
9153 temp7 = True;
9154 }
9155 }
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9164 {
9165 if (temp7)
9166 delete arg7;
9167 }
9168 return resultobj;
9169 fail:
9170 {
9171 if (temp7)
9172 delete arg7;
9173 }
9174 return NULL;
9175 }
9176
9177
9178 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9179 PyObject *resultobj;
9180 wxScrollBar *result;
9181 char *kwnames[] = {
9182 NULL
9183 };
9184
9185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 result = (wxScrollBar *)new wxScrollBar();
9189
9190 wxPyEndAllowThreads(__tstate);
9191 if (PyErr_Occurred()) SWIG_fail;
9192 }
9193 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9194 return resultobj;
9195 fail:
9196 return NULL;
9197 }
9198
9199
9200 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj;
9202 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9203 wxWindow *arg2 = (wxWindow *) 0 ;
9204 int arg3 = (int) -1 ;
9205 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9206 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9207 wxSize const &arg5_defvalue = wxDefaultSize ;
9208 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9209 long arg6 = (long) wxSB_HORIZONTAL ;
9210 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9211 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9212 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9213 wxString *arg8 = (wxString *) &arg8_defvalue ;
9214 bool result;
9215 wxPoint temp4 ;
9216 wxSize temp5 ;
9217 bool temp8 = False ;
9218 PyObject * obj0 = 0 ;
9219 PyObject * obj1 = 0 ;
9220 PyObject * obj2 = 0 ;
9221 PyObject * obj3 = 0 ;
9222 PyObject * obj4 = 0 ;
9223 PyObject * obj5 = 0 ;
9224 PyObject * obj6 = 0 ;
9225 PyObject * obj7 = 0 ;
9226 char *kwnames[] = {
9227 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9228 };
9229
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9233 if (obj2) {
9234 {
9235 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9236 if (PyErr_Occurred()) SWIG_fail;
9237 }
9238 }
9239 if (obj3) {
9240 {
9241 arg4 = &temp4;
9242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9243 }
9244 }
9245 if (obj4) {
9246 {
9247 arg5 = &temp5;
9248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9249 }
9250 }
9251 if (obj5) {
9252 {
9253 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9254 if (PyErr_Occurred()) SWIG_fail;
9255 }
9256 }
9257 if (obj6) {
9258 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9259 if (arg7 == NULL) {
9260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9261 }
9262 }
9263 if (obj7) {
9264 {
9265 arg8 = wxString_in_helper(obj7);
9266 if (arg8 == NULL) SWIG_fail;
9267 temp8 = True;
9268 }
9269 }
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 resultobj = SWIG_PyObj_FromBool((bool)result);
9278 {
9279 if (temp8)
9280 delete arg8;
9281 }
9282 return resultobj;
9283 fail:
9284 {
9285 if (temp8)
9286 delete arg8;
9287 }
9288 return NULL;
9289 }
9290
9291
9292 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9293 PyObject *resultobj;
9294 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9295 int result;
9296 PyObject * obj0 = 0 ;
9297 char *kwnames[] = {
9298 (char *) "self", NULL
9299 };
9300
9301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9303 {
9304 PyThreadState* __tstate = wxPyBeginAllowThreads();
9305 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9306
9307 wxPyEndAllowThreads(__tstate);
9308 if (PyErr_Occurred()) SWIG_fail;
9309 }
9310 resultobj = SWIG_PyObj_FromInt((int)result);
9311 return resultobj;
9312 fail:
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9320 int result;
9321 PyObject * obj0 = 0 ;
9322 char *kwnames[] = {
9323 (char *) "self", NULL
9324 };
9325
9326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9331
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 resultobj = SWIG_PyObj_FromInt((int)result);
9336 return resultobj;
9337 fail:
9338 return NULL;
9339 }
9340
9341
9342 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9345 int result;
9346 PyObject * obj0 = 0 ;
9347 char *kwnames[] = {
9348 (char *) "self", NULL
9349 };
9350
9351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9356
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 resultobj = SWIG_PyObj_FromInt((int)result);
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9368 PyObject *resultobj;
9369 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9370 int result;
9371 PyObject * obj0 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 result = (int)((wxScrollBar const *)arg1)->GetRange();
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 resultobj = SWIG_PyObj_FromInt((int)result);
9386 return resultobj;
9387 fail:
9388 return NULL;
9389 }
9390
9391
9392 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9395 bool result;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 resultobj = SWIG_PyObj_FromBool((bool)result);
9411 return resultobj;
9412 fail:
9413 return NULL;
9414 }
9415
9416
9417 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj;
9419 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9420 int arg2 ;
9421 PyObject * obj0 = 0 ;
9422 PyObject * obj1 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self",(char *) "viewStart", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9429 {
9430 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->SetThumbPosition(arg2);
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 Py_INCREF(Py_None); resultobj = Py_None;
9441 return resultobj;
9442 fail:
9443 return NULL;
9444 }
9445
9446
9447 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9450 int arg2 ;
9451 int arg3 ;
9452 int arg4 ;
9453 int arg5 ;
9454 bool arg6 = (bool) True ;
9455 PyObject * obj0 = 0 ;
9456 PyObject * obj1 = 0 ;
9457 PyObject * obj2 = 0 ;
9458 PyObject * obj3 = 0 ;
9459 PyObject * obj4 = 0 ;
9460 PyObject * obj5 = 0 ;
9461 char *kwnames[] = {
9462 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9463 };
9464
9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9467 {
9468 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9469 if (PyErr_Occurred()) SWIG_fail;
9470 }
9471 {
9472 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 {
9476 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 {
9480 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 if (obj5) {
9484 {
9485 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 }
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 Py_INCREF(Py_None); resultobj = Py_None;
9497 return resultobj;
9498 fail:
9499 return NULL;
9500 }
9501
9502
9503 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9504 PyObject *obj;
9505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9506 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9507 Py_INCREF(obj);
9508 return Py_BuildValue((char *)"");
9509 }
9510 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9511 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9512 return 1;
9513 }
9514
9515
9516 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9517 PyObject *pyobj;
9518
9519 {
9520 #if wxUSE_UNICODE
9521 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9522 #else
9523 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9524 #endif
9525 }
9526 return pyobj;
9527 }
9528
9529
9530 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9531 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9532 return 1;
9533 }
9534
9535
9536 static PyObject *_wrap_SpinCtrlNameStr_get() {
9537 PyObject *pyobj;
9538
9539 {
9540 #if wxUSE_UNICODE
9541 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9542 #else
9543 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9544 #endif
9545 }
9546 return pyobj;
9547 }
9548
9549
9550 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxWindow *arg1 = (wxWindow *) 0 ;
9553 int arg2 = (int) -1 ;
9554 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9555 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9556 wxSize const &arg4_defvalue = wxDefaultSize ;
9557 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9558 long arg5 = (long) wxSP_HORIZONTAL ;
9559 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9560 wxString *arg6 = (wxString *) &arg6_defvalue ;
9561 wxSpinButton *result;
9562 wxPoint temp3 ;
9563 wxSize temp4 ;
9564 bool temp6 = False ;
9565 PyObject * obj0 = 0 ;
9566 PyObject * obj1 = 0 ;
9567 PyObject * obj2 = 0 ;
9568 PyObject * obj3 = 0 ;
9569 PyObject * obj4 = 0 ;
9570 PyObject * obj5 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9577 if (obj1) {
9578 {
9579 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
9582 }
9583 if (obj2) {
9584 {
9585 arg3 = &temp3;
9586 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9587 }
9588 }
9589 if (obj3) {
9590 {
9591 arg4 = &temp4;
9592 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9593 }
9594 }
9595 if (obj4) {
9596 {
9597 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
9600 }
9601 if (obj5) {
9602 {
9603 arg6 = wxString_in_helper(obj5);
9604 if (arg6 == NULL) SWIG_fail;
9605 temp6 = True;
9606 }
9607 }
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9616 {
9617 if (temp6)
9618 delete arg6;
9619 }
9620 return resultobj;
9621 fail:
9622 {
9623 if (temp6)
9624 delete arg6;
9625 }
9626 return NULL;
9627 }
9628
9629
9630 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxSpinButton *result;
9633 char *kwnames[] = {
9634 NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9638 {
9639 PyThreadState* __tstate = wxPyBeginAllowThreads();
9640 result = (wxSpinButton *)new wxSpinButton();
9641
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9646 return resultobj;
9647 fail:
9648 return NULL;
9649 }
9650
9651
9652 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9653 PyObject *resultobj;
9654 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9655 wxWindow *arg2 = (wxWindow *) 0 ;
9656 int arg3 = (int) -1 ;
9657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9659 wxSize const &arg5_defvalue = wxDefaultSize ;
9660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9661 long arg6 = (long) wxSP_HORIZONTAL ;
9662 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9663 wxString *arg7 = (wxString *) &arg7_defvalue ;
9664 bool result;
9665 wxPoint temp4 ;
9666 wxSize temp5 ;
9667 bool temp7 = False ;
9668 PyObject * obj0 = 0 ;
9669 PyObject * obj1 = 0 ;
9670 PyObject * obj2 = 0 ;
9671 PyObject * obj3 = 0 ;
9672 PyObject * obj4 = 0 ;
9673 PyObject * obj5 = 0 ;
9674 PyObject * obj6 = 0 ;
9675 char *kwnames[] = {
9676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9677 };
9678
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9682 if (obj2) {
9683 {
9684 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9685 if (PyErr_Occurred()) SWIG_fail;
9686 }
9687 }
9688 if (obj3) {
9689 {
9690 arg4 = &temp4;
9691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9692 }
9693 }
9694 if (obj4) {
9695 {
9696 arg5 = &temp5;
9697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9698 }
9699 }
9700 if (obj5) {
9701 {
9702 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 }
9706 if (obj6) {
9707 {
9708 arg7 = wxString_in_helper(obj6);
9709 if (arg7 == NULL) SWIG_fail;
9710 temp7 = True;
9711 }
9712 }
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_PyObj_FromBool((bool)result);
9721 {
9722 if (temp7)
9723 delete arg7;
9724 }
9725 return resultobj;
9726 fail:
9727 {
9728 if (temp7)
9729 delete arg7;
9730 }
9731 return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9738 int result;
9739 PyObject * obj0 = 0 ;
9740 char *kwnames[] = {
9741 (char *) "self", NULL
9742 };
9743
9744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 result = (int)((wxSpinButton const *)arg1)->GetValue();
9749
9750 wxPyEndAllowThreads(__tstate);
9751 if (PyErr_Occurred()) SWIG_fail;
9752 }
9753 resultobj = SWIG_PyObj_FromInt((int)result);
9754 return resultobj;
9755 fail:
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9761 PyObject *resultobj;
9762 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9763 int result;
9764 PyObject * obj0 = 0 ;
9765 char *kwnames[] = {
9766 (char *) "self", NULL
9767 };
9768
9769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 result = (int)((wxSpinButton const *)arg1)->GetMin();
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 resultobj = SWIG_PyObj_FromInt((int)result);
9779 return resultobj;
9780 fail:
9781 return NULL;
9782 }
9783
9784
9785 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9788 int result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9796 {
9797 PyThreadState* __tstate = wxPyBeginAllowThreads();
9798 result = (int)((wxSpinButton const *)arg1)->GetMax();
9799
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 resultobj = SWIG_PyObj_FromInt((int)result);
9804 return resultobj;
9805 fail:
9806 return NULL;
9807 }
9808
9809
9810 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj;
9812 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9813 int arg2 ;
9814 PyObject * obj0 = 0 ;
9815 PyObject * obj1 = 0 ;
9816 char *kwnames[] = {
9817 (char *) "self",(char *) "val", NULL
9818 };
9819
9820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9822 {
9823 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 (arg1)->SetValue(arg2);
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 Py_INCREF(Py_None); resultobj = Py_None;
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9843 int arg2 ;
9844 PyObject * obj0 = 0 ;
9845 PyObject * obj1 = 0 ;
9846 char *kwnames[] = {
9847 (char *) "self",(char *) "minVal", NULL
9848 };
9849
9850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
9851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9852 {
9853 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 (arg1)->SetMin(arg2);
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 Py_INCREF(Py_None); resultobj = Py_None;
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj;
9872 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9873 int arg2 ;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 char *kwnames[] = {
9877 (char *) "self",(char *) "maxVal", NULL
9878 };
9879
9880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
9881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9882 {
9883 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 (arg1)->SetMax(arg2);
9889
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 Py_INCREF(Py_None); resultobj = Py_None;
9894 return resultobj;
9895 fail:
9896 return NULL;
9897 }
9898
9899
9900 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9901 PyObject *resultobj;
9902 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9903 int arg2 ;
9904 int arg3 ;
9905 PyObject * obj0 = 0 ;
9906 PyObject * obj1 = 0 ;
9907 PyObject * obj2 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9914 {
9915 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 {
9919 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 {
9923 PyThreadState* __tstate = wxPyBeginAllowThreads();
9924 (arg1)->SetRange(arg2,arg3);
9925
9926 wxPyEndAllowThreads(__tstate);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 }
9929 Py_INCREF(Py_None); resultobj = Py_None;
9930 return resultobj;
9931 fail:
9932 return NULL;
9933 }
9934
9935
9936 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9937 PyObject *resultobj;
9938 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9939 bool result;
9940 PyObject * obj0 = 0 ;
9941 char *kwnames[] = {
9942 (char *) "self", NULL
9943 };
9944
9945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 resultobj = SWIG_PyObj_FromBool((bool)result);
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9962 PyObject *obj;
9963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9964 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9965 Py_INCREF(obj);
9966 return Py_BuildValue((char *)"");
9967 }
9968 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj;
9970 wxWindow *arg1 = (wxWindow *) 0 ;
9971 int arg2 = (int) -1 ;
9972 wxString const &arg3_defvalue = wxPyEmptyString ;
9973 wxString *arg3 = (wxString *) &arg3_defvalue ;
9974 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9975 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9976 wxSize const &arg5_defvalue = wxDefaultSize ;
9977 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9978 long arg6 = (long) wxSP_ARROW_KEYS ;
9979 int arg7 = (int) 0 ;
9980 int arg8 = (int) 100 ;
9981 int arg9 = (int) 0 ;
9982 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9983 wxString *arg10 = (wxString *) &arg10_defvalue ;
9984 wxSpinCtrl *result;
9985 bool temp3 = False ;
9986 wxPoint temp4 ;
9987 wxSize temp5 ;
9988 bool temp10 = False ;
9989 PyObject * obj0 = 0 ;
9990 PyObject * obj1 = 0 ;
9991 PyObject * obj2 = 0 ;
9992 PyObject * obj3 = 0 ;
9993 PyObject * obj4 = 0 ;
9994 PyObject * obj5 = 0 ;
9995 PyObject * obj6 = 0 ;
9996 PyObject * obj7 = 0 ;
9997 PyObject * obj8 = 0 ;
9998 PyObject * obj9 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10005 if (obj1) {
10006 {
10007 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 }
10011 if (obj2) {
10012 {
10013 arg3 = wxString_in_helper(obj2);
10014 if (arg3 == NULL) SWIG_fail;
10015 temp3 = True;
10016 }
10017 }
10018 if (obj3) {
10019 {
10020 arg4 = &temp4;
10021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10022 }
10023 }
10024 if (obj4) {
10025 {
10026 arg5 = &temp5;
10027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10028 }
10029 }
10030 if (obj5) {
10031 {
10032 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 }
10036 if (obj6) {
10037 {
10038 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 }
10042 if (obj7) {
10043 {
10044 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 }
10048 if (obj8) {
10049 {
10050 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 }
10054 if (obj9) {
10055 {
10056 arg10 = wxString_in_helper(obj9);
10057 if (arg10 == NULL) SWIG_fail;
10058 temp10 = True;
10059 }
10060 }
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10069 {
10070 if (temp3)
10071 delete arg3;
10072 }
10073 {
10074 if (temp10)
10075 delete arg10;
10076 }
10077 return resultobj;
10078 fail:
10079 {
10080 if (temp3)
10081 delete arg3;
10082 }
10083 {
10084 if (temp10)
10085 delete arg10;
10086 }
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxSpinCtrl *result;
10094 char *kwnames[] = {
10095 NULL
10096 };
10097
10098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (wxSpinCtrl *)new wxSpinCtrl();
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10114 PyObject *resultobj;
10115 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10116 wxWindow *arg2 = (wxWindow *) 0 ;
10117 int arg3 = (int) -1 ;
10118 wxString const &arg4_defvalue = wxPyEmptyString ;
10119 wxString *arg4 = (wxString *) &arg4_defvalue ;
10120 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10121 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10122 wxSize const &arg6_defvalue = wxDefaultSize ;
10123 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10124 long arg7 = (long) wxSP_ARROW_KEYS ;
10125 int arg8 = (int) 0 ;
10126 int arg9 = (int) 100 ;
10127 int arg10 = (int) 0 ;
10128 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10129 wxString *arg11 = (wxString *) &arg11_defvalue ;
10130 bool result;
10131 bool temp4 = False ;
10132 wxPoint temp5 ;
10133 wxSize temp6 ;
10134 bool temp11 = False ;
10135 PyObject * obj0 = 0 ;
10136 PyObject * obj1 = 0 ;
10137 PyObject * obj2 = 0 ;
10138 PyObject * obj3 = 0 ;
10139 PyObject * obj4 = 0 ;
10140 PyObject * obj5 = 0 ;
10141 PyObject * obj6 = 0 ;
10142 PyObject * obj7 = 0 ;
10143 PyObject * obj8 = 0 ;
10144 PyObject * obj9 = 0 ;
10145 PyObject * obj10 = 0 ;
10146 char *kwnames[] = {
10147 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10148 };
10149
10150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10153 if (obj2) {
10154 {
10155 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 }
10159 if (obj3) {
10160 {
10161 arg4 = wxString_in_helper(obj3);
10162 if (arg4 == NULL) SWIG_fail;
10163 temp4 = True;
10164 }
10165 }
10166 if (obj4) {
10167 {
10168 arg5 = &temp5;
10169 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10170 }
10171 }
10172 if (obj5) {
10173 {
10174 arg6 = &temp6;
10175 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10176 }
10177 }
10178 if (obj6) {
10179 {
10180 arg7 = (long) SWIG_PyObj_AsLong(obj6);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 }
10184 if (obj7) {
10185 {
10186 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 }
10190 if (obj8) {
10191 {
10192 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 }
10196 if (obj9) {
10197 {
10198 arg10 = (int) SWIG_PyObj_AsInt(obj9);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 }
10202 if (obj10) {
10203 {
10204 arg11 = wxString_in_helper(obj10);
10205 if (arg11 == NULL) SWIG_fail;
10206 temp11 = True;
10207 }
10208 }
10209 {
10210 PyThreadState* __tstate = wxPyBeginAllowThreads();
10211 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10212
10213 wxPyEndAllowThreads(__tstate);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 }
10216 resultobj = SWIG_PyObj_FromBool((bool)result);
10217 {
10218 if (temp4)
10219 delete arg4;
10220 }
10221 {
10222 if (temp11)
10223 delete arg11;
10224 }
10225 return resultobj;
10226 fail:
10227 {
10228 if (temp4)
10229 delete arg4;
10230 }
10231 {
10232 if (temp11)
10233 delete arg11;
10234 }
10235 return NULL;
10236 }
10237
10238
10239 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject *resultobj;
10241 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10242 int result;
10243 PyObject * obj0 = 0 ;
10244 char *kwnames[] = {
10245 (char *) "self", NULL
10246 };
10247
10248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = SWIG_PyObj_FromInt((int)result);
10258 return resultobj;
10259 fail:
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10267 int arg2 ;
10268 PyObject * obj0 = 0 ;
10269 PyObject * obj1 = 0 ;
10270 char *kwnames[] = {
10271 (char *) "self",(char *) "value", NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10276 {
10277 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10278 if (PyErr_Occurred()) SWIG_fail;
10279 }
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 (arg1)->SetValue(arg2);
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 Py_INCREF(Py_None); resultobj = Py_None;
10288 return resultobj;
10289 fail:
10290 return NULL;
10291 }
10292
10293
10294 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10297 wxString *arg2 = 0 ;
10298 bool temp2 = False ;
10299 PyObject * obj0 = 0 ;
10300 PyObject * obj1 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self",(char *) "text", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10307 {
10308 arg2 = wxString_in_helper(obj1);
10309 if (arg2 == NULL) SWIG_fail;
10310 temp2 = True;
10311 }
10312 {
10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
10314 (arg1)->SetValue((wxString const &)*arg2);
10315
10316 wxPyEndAllowThreads(__tstate);
10317 if (PyErr_Occurred()) SWIG_fail;
10318 }
10319 Py_INCREF(Py_None); resultobj = Py_None;
10320 {
10321 if (temp2)
10322 delete arg2;
10323 }
10324 return resultobj;
10325 fail:
10326 {
10327 if (temp2)
10328 delete arg2;
10329 }
10330 return NULL;
10331 }
10332
10333
10334 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10335 PyObject *resultobj;
10336 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10337 int arg2 ;
10338 int arg3 ;
10339 PyObject * obj0 = 0 ;
10340 PyObject * obj1 = 0 ;
10341 PyObject * obj2 = 0 ;
10342 char *kwnames[] = {
10343 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10348 {
10349 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 {
10353 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->SetRange(arg2,arg3);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 Py_INCREF(Py_None); resultobj = Py_None;
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj;
10372 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10373 int result;
10374 PyObject * obj0 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 resultobj = SWIG_PyObj_FromInt((int)result);
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10396 PyObject *resultobj;
10397 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10398 int result;
10399 PyObject * obj0 = 0 ;
10400 char *kwnames[] = {
10401 (char *) "self", NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 resultobj = SWIG_PyObj_FromInt((int)result);
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10423 long arg2 ;
10424 long arg3 ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj1 = 0 ;
10427 PyObject * obj2 = 0 ;
10428 char *kwnames[] = {
10429 (char *) "self",(char *) "from",(char *) "to", NULL
10430 };
10431
10432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10434 {
10435 arg2 = (long) SWIG_PyObj_AsLong(obj1);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 {
10439 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 (arg1)->SetSelection(arg2,arg3);
10445
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 Py_INCREF(Py_None); resultobj = Py_None;
10450 return resultobj;
10451 fail:
10452 return NULL;
10453 }
10454
10455
10456 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10457 PyObject *obj;
10458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10459 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10460 Py_INCREF(obj);
10461 return Py_BuildValue((char *)"");
10462 }
10463 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10464 PyObject *resultobj;
10465 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10466 int arg2 = (int) 0 ;
10467 wxSpinEvent *result;
10468 PyObject * obj0 = 0 ;
10469 PyObject * obj1 = 0 ;
10470 char *kwnames[] = {
10471 (char *) "commandType",(char *) "winid", NULL
10472 };
10473
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10475 if (obj0) {
10476 {
10477 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 }
10481 if (obj1) {
10482 {
10483 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10484 if (PyErr_Occurred()) SWIG_fail;
10485 }
10486 }
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10490
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj;
10503 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10504 int result;
10505 PyObject * obj0 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 resultobj = SWIG_PyObj_FromInt((int)result);
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj;
10528 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10529 int arg2 ;
10530 PyObject * obj0 = 0 ;
10531 PyObject * obj1 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self",(char *) "pos", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10538 {
10539 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 {
10543 PyThreadState* __tstate = wxPyBeginAllowThreads();
10544 (arg1)->SetPosition(arg2);
10545
10546 wxPyEndAllowThreads(__tstate);
10547 if (PyErr_Occurred()) SWIG_fail;
10548 }
10549 Py_INCREF(Py_None); resultobj = Py_None;
10550 return resultobj;
10551 fail:
10552 return NULL;
10553 }
10554
10555
10556 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10557 PyObject *obj;
10558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10559 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10560 Py_INCREF(obj);
10561 return Py_BuildValue((char *)"");
10562 }
10563 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10564 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10565 return 1;
10566 }
10567
10568
10569 static PyObject *_wrap_RadioBoxNameStr_get() {
10570 PyObject *pyobj;
10571
10572 {
10573 #if wxUSE_UNICODE
10574 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10575 #else
10576 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10577 #endif
10578 }
10579 return pyobj;
10580 }
10581
10582
10583 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10584 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10585 return 1;
10586 }
10587
10588
10589 static PyObject *_wrap_RadioButtonNameStr_get() {
10590 PyObject *pyobj;
10591
10592 {
10593 #if wxUSE_UNICODE
10594 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10595 #else
10596 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10597 #endif
10598 }
10599 return pyobj;
10600 }
10601
10602
10603 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj;
10605 wxWindow *arg1 = (wxWindow *) 0 ;
10606 int arg2 ;
10607 wxString *arg3 = 0 ;
10608 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10609 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10610 wxSize const &arg5_defvalue = wxDefaultSize ;
10611 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10612 int arg6 = (int) 0 ;
10613 wxString *arg7 = (wxString *) NULL ;
10614 int arg8 = (int) 0 ;
10615 long arg9 = (long) wxRA_HORIZONTAL ;
10616 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10617 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10618 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
10619 wxString *arg11 = (wxString *) &arg11_defvalue ;
10620 wxRadioBox *result;
10621 bool temp3 = False ;
10622 wxPoint temp4 ;
10623 wxSize temp5 ;
10624 bool temp10 = False ;
10625 PyObject * obj0 = 0 ;
10626 PyObject * obj1 = 0 ;
10627 PyObject * obj2 = 0 ;
10628 PyObject * obj3 = 0 ;
10629 PyObject * obj4 = 0 ;
10630 PyObject * obj5 = 0 ;
10631 PyObject * obj6 = 0 ;
10632 PyObject * obj7 = 0 ;
10633 PyObject * obj8 = 0 ;
10634 PyObject * obj9 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10641 {
10642 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 {
10646 arg3 = wxString_in_helper(obj2);
10647 if (arg3 == NULL) SWIG_fail;
10648 temp3 = True;
10649 }
10650 if (obj3) {
10651 {
10652 arg4 = &temp4;
10653 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10654 }
10655 }
10656 if (obj4) {
10657 {
10658 arg5 = &temp5;
10659 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10660 }
10661 }
10662 if (obj5) {
10663 {
10664 arg6 = PyList_Size(obj5);
10665 arg7 = wxString_LIST_helper(obj5);
10666 if (arg7 == NULL) SWIG_fail;
10667 }
10668 }
10669 if (obj6) {
10670 {
10671 arg8 = (int) SWIG_PyObj_AsInt(obj6);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 }
10675 if (obj7) {
10676 {
10677 arg9 = (long) SWIG_PyObj_AsLong(obj7);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 }
10681 if (obj8) {
10682 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10683 if (arg10 == NULL) {
10684 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10685 }
10686 }
10687 if (obj9) {
10688 {
10689 arg11 = wxString_in_helper(obj9);
10690 if (arg11 == NULL) SWIG_fail;
10691 temp10 = True;
10692 }
10693 }
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10702 {
10703 if (temp3)
10704 delete arg3;
10705 }
10706 {
10707 if (arg7) delete [] arg7;
10708 }
10709 {
10710 if (temp10)
10711 delete arg11;
10712 }
10713 return resultobj;
10714 fail:
10715 {
10716 if (temp3)
10717 delete arg3;
10718 }
10719 {
10720 if (arg7) delete [] arg7;
10721 }
10722 {
10723 if (temp10)
10724 delete arg11;
10725 }
10726 return NULL;
10727 }
10728
10729
10730 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj;
10732 wxRadioBox *result;
10733 char *kwnames[] = {
10734 NULL
10735 };
10736
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 result = (wxRadioBox *)new wxRadioBox();
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10746 return resultobj;
10747 fail:
10748 return NULL;
10749 }
10750
10751
10752 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10755 wxWindow *arg2 = (wxWindow *) 0 ;
10756 int arg3 ;
10757 wxString *arg4 = 0 ;
10758 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10759 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10760 wxSize const &arg6_defvalue = wxDefaultSize ;
10761 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10762 int arg7 = (int) 0 ;
10763 wxString *arg8 = (wxString *) NULL ;
10764 int arg9 = (int) 0 ;
10765 long arg10 = (long) wxRA_HORIZONTAL ;
10766 wxValidator const &arg11_defvalue = wxDefaultValidator ;
10767 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
10768 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
10769 wxString *arg12 = (wxString *) &arg12_defvalue ;
10770 bool result;
10771 bool temp4 = False ;
10772 wxPoint temp5 ;
10773 wxSize temp6 ;
10774 bool temp11 = False ;
10775 PyObject * obj0 = 0 ;
10776 PyObject * obj1 = 0 ;
10777 PyObject * obj2 = 0 ;
10778 PyObject * obj3 = 0 ;
10779 PyObject * obj4 = 0 ;
10780 PyObject * obj5 = 0 ;
10781 PyObject * obj6 = 0 ;
10782 PyObject * obj7 = 0 ;
10783 PyObject * obj8 = 0 ;
10784 PyObject * obj9 = 0 ;
10785 PyObject * obj10 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10793 {
10794 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 {
10798 arg4 = wxString_in_helper(obj3);
10799 if (arg4 == NULL) SWIG_fail;
10800 temp4 = True;
10801 }
10802 if (obj4) {
10803 {
10804 arg5 = &temp5;
10805 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10806 }
10807 }
10808 if (obj5) {
10809 {
10810 arg6 = &temp6;
10811 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10812 }
10813 }
10814 if (obj6) {
10815 {
10816 arg7 = PyList_Size(obj6);
10817 arg8 = wxString_LIST_helper(obj6);
10818 if (arg8 == NULL) SWIG_fail;
10819 }
10820 }
10821 if (obj7) {
10822 {
10823 arg9 = (int) SWIG_PyObj_AsInt(obj7);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 }
10827 if (obj8) {
10828 {
10829 arg10 = (long) SWIG_PyObj_AsLong(obj8);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 }
10833 if (obj9) {
10834 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10835 if (arg11 == NULL) {
10836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10837 }
10838 }
10839 if (obj10) {
10840 {
10841 arg12 = wxString_in_helper(obj10);
10842 if (arg12 == NULL) SWIG_fail;
10843 temp11 = True;
10844 }
10845 }
10846 {
10847 PyThreadState* __tstate = wxPyBeginAllowThreads();
10848 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxValidator const &)*arg11,(wxString const &)*arg12);
10849
10850 wxPyEndAllowThreads(__tstate);
10851 if (PyErr_Occurred()) SWIG_fail;
10852 }
10853 resultobj = SWIG_PyObj_FromBool((bool)result);
10854 {
10855 if (temp4)
10856 delete arg4;
10857 }
10858 {
10859 if (arg8) delete [] arg8;
10860 }
10861 {
10862 if (temp11)
10863 delete arg12;
10864 }
10865 return resultobj;
10866 fail:
10867 {
10868 if (temp4)
10869 delete arg4;
10870 }
10871 {
10872 if (arg8) delete [] arg8;
10873 }
10874 {
10875 if (temp11)
10876 delete arg12;
10877 }
10878 return NULL;
10879 }
10880
10881
10882 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj;
10884 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10885 int arg2 ;
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 char *kwnames[] = {
10889 (char *) "self",(char *) "n", NULL
10890 };
10891
10892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10894 {
10895 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 (arg1)->SetSelection(arg2);
10901
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 Py_INCREF(Py_None); resultobj = Py_None;
10906 return resultobj;
10907 fail:
10908 return NULL;
10909 }
10910
10911
10912 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj;
10914 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10915 int result;
10916 PyObject * obj0 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
10922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 result = (int)((wxRadioBox const *)arg1)->GetSelection();
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 resultobj = SWIG_PyObj_FromInt((int)result);
10931 return resultobj;
10932 fail:
10933 return NULL;
10934 }
10935
10936
10937 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10940 wxString result;
10941 PyObject * obj0 = 0 ;
10942 char *kwnames[] = {
10943 (char *) "self", NULL
10944 };
10945
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
10947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 result = ((wxRadioBox const *)arg1)->GetStringSelection();
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
10955 {
10956 #if wxUSE_UNICODE
10957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10958 #else
10959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10960 #endif
10961 }
10962 return resultobj;
10963 fail:
10964 return NULL;
10965 }
10966
10967
10968 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10971 wxString *arg2 = 0 ;
10972 bool result;
10973 bool temp2 = False ;
10974 PyObject * obj0 = 0 ;
10975 PyObject * obj1 = 0 ;
10976 char *kwnames[] = {
10977 (char *) "self",(char *) "s", NULL
10978 };
10979
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
10981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10982 {
10983 arg2 = wxString_in_helper(obj1);
10984 if (arg2 == NULL) SWIG_fail;
10985 temp2 = True;
10986 }
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
10990
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 resultobj = SWIG_PyObj_FromBool((bool)result);
10995 {
10996 if (temp2)
10997 delete arg2;
10998 }
10999 return resultobj;
11000 fail:
11001 {
11002 if (temp2)
11003 delete arg2;
11004 }
11005 return NULL;
11006 }
11007
11008
11009 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj;
11011 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11012 int result;
11013 PyObject * obj0 = 0 ;
11014 char *kwnames[] = {
11015 (char *) "self", NULL
11016 };
11017
11018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 result = (int)((wxRadioBox const *)arg1)->GetCount();
11023
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 resultobj = SWIG_PyObj_FromInt((int)result);
11028 return resultobj;
11029 fail:
11030 return NULL;
11031 }
11032
11033
11034 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11035 PyObject *resultobj;
11036 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11037 wxString *arg2 = 0 ;
11038 int result;
11039 bool temp2 = False ;
11040 PyObject * obj0 = 0 ;
11041 PyObject * obj1 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self",(char *) "s", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11048 {
11049 arg2 = wxString_in_helper(obj1);
11050 if (arg2 == NULL) SWIG_fail;
11051 temp2 = True;
11052 }
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11056
11057 wxPyEndAllowThreads(__tstate);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 resultobj = SWIG_PyObj_FromInt((int)result);
11061 {
11062 if (temp2)
11063 delete arg2;
11064 }
11065 return resultobj;
11066 fail:
11067 {
11068 if (temp2)
11069 delete arg2;
11070 }
11071 return NULL;
11072 }
11073
11074
11075 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj;
11077 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11078 int arg2 ;
11079 wxString result;
11080 PyObject * obj0 = 0 ;
11081 PyObject * obj1 = 0 ;
11082 char *kwnames[] = {
11083 (char *) "self",(char *) "n", NULL
11084 };
11085
11086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11088 {
11089 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11095
11096 wxPyEndAllowThreads(__tstate);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 }
11099 {
11100 #if wxUSE_UNICODE
11101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11102 #else
11103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11104 #endif
11105 }
11106 return resultobj;
11107 fail:
11108 return NULL;
11109 }
11110
11111
11112 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11113 PyObject *resultobj;
11114 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11115 int arg2 ;
11116 wxString *arg3 = 0 ;
11117 bool temp3 = False ;
11118 PyObject * obj0 = 0 ;
11119 PyObject * obj1 = 0 ;
11120 PyObject * obj2 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self",(char *) "n",(char *) "label", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11127 {
11128 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 {
11132 arg3 = wxString_in_helper(obj2);
11133 if (arg3 == NULL) SWIG_fail;
11134 temp3 = True;
11135 }
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 (arg1)->SetString(arg2,(wxString const &)*arg3);
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 Py_INCREF(Py_None); resultobj = Py_None;
11144 {
11145 if (temp3)
11146 delete arg3;
11147 }
11148 return resultobj;
11149 fail:
11150 {
11151 if (temp3)
11152 delete arg3;
11153 }
11154 return NULL;
11155 }
11156
11157
11158 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject *resultobj;
11160 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11161 int arg2 ;
11162 bool arg3 = (bool) True ;
11163 PyObject * obj0 = 0 ;
11164 PyObject * obj1 = 0 ;
11165 PyObject * obj2 = 0 ;
11166 char *kwnames[] = {
11167 (char *) "self",(char *) "n",(char *) "enable", NULL
11168 };
11169
11170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11172 {
11173 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 if (obj2) {
11177 {
11178 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 }
11181 }
11182 {
11183 PyThreadState* __tstate = wxPyBeginAllowThreads();
11184 (arg1)->Enable(arg2,arg3);
11185
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 Py_INCREF(Py_None); resultobj = Py_None;
11190 return resultobj;
11191 fail:
11192 return NULL;
11193 }
11194
11195
11196 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11197 PyObject *resultobj;
11198 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11199 int arg2 ;
11200 bool arg3 = (bool) True ;
11201 PyObject * obj0 = 0 ;
11202 PyObject * obj1 = 0 ;
11203 PyObject * obj2 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self",(char *) "n",(char *) "show", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11210 {
11211 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 if (obj2) {
11215 {
11216 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 }
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 (arg1)->Show(arg2,arg3);
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 Py_INCREF(Py_None); resultobj = Py_None;
11228 return resultobj;
11229 fail:
11230 return NULL;
11231 }
11232
11233
11234 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11235 PyObject *resultobj;
11236 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11237 int result;
11238 PyObject * obj0 = 0 ;
11239 char *kwnames[] = {
11240 (char *) "self", NULL
11241 };
11242
11243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11248
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 resultobj = SWIG_PyObj_FromInt((int)result);
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj;
11261 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11262 int result;
11263 PyObject * obj0 = 0 ;
11264 char *kwnames[] = {
11265 (char *) "self", NULL
11266 };
11267
11268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11270 {
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11273
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 resultobj = SWIG_PyObj_FromInt((int)result);
11278 return resultobj;
11279 fail:
11280 return NULL;
11281 }
11282
11283
11284 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11285 PyObject *resultobj;
11286 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11287 int arg2 ;
11288 int arg3 ;
11289 long arg4 ;
11290 int result;
11291 PyObject * obj0 = 0 ;
11292 PyObject * obj1 = 0 ;
11293 PyObject * obj2 = 0 ;
11294 PyObject * obj3 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11301 {
11302 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11303 if (PyErr_Occurred()) SWIG_fail;
11304 }
11305 {
11306 arg3 = (wxDirection) SWIG_PyObj_AsInt(obj2);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 {
11310 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 resultobj = SWIG_PyObj_FromInt((int)result);
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11328 PyObject *obj;
11329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11330 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11331 Py_INCREF(obj);
11332 return Py_BuildValue((char *)"");
11333 }
11334 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11335 PyObject *resultobj;
11336 wxWindow *arg1 = (wxWindow *) 0 ;
11337 int arg2 ;
11338 wxString *arg3 = 0 ;
11339 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11340 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11341 wxSize const &arg5_defvalue = wxDefaultSize ;
11342 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11343 long arg6 = (long) 0 ;
11344 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11345 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11346 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11347 wxString *arg8 = (wxString *) &arg8_defvalue ;
11348 wxRadioButton *result;
11349 bool temp3 = False ;
11350 wxPoint temp4 ;
11351 wxSize temp5 ;
11352 bool temp8 = False ;
11353 PyObject * obj0 = 0 ;
11354 PyObject * obj1 = 0 ;
11355 PyObject * obj2 = 0 ;
11356 PyObject * obj3 = 0 ;
11357 PyObject * obj4 = 0 ;
11358 PyObject * obj5 = 0 ;
11359 PyObject * obj6 = 0 ;
11360 PyObject * obj7 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11367 {
11368 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 {
11372 arg3 = wxString_in_helper(obj2);
11373 if (arg3 == NULL) SWIG_fail;
11374 temp3 = True;
11375 }
11376 if (obj3) {
11377 {
11378 arg4 = &temp4;
11379 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11380 }
11381 }
11382 if (obj4) {
11383 {
11384 arg5 = &temp5;
11385 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11386 }
11387 }
11388 if (obj5) {
11389 {
11390 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 }
11394 if (obj6) {
11395 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11396 if (arg7 == NULL) {
11397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11398 }
11399 }
11400 if (obj7) {
11401 {
11402 arg8 = wxString_in_helper(obj7);
11403 if (arg8 == NULL) SWIG_fail;
11404 temp8 = True;
11405 }
11406 }
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11410
11411 wxPyEndAllowThreads(__tstate);
11412 if (PyErr_Occurred()) SWIG_fail;
11413 }
11414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11415 {
11416 if (temp3)
11417 delete arg3;
11418 }
11419 {
11420 if (temp8)
11421 delete arg8;
11422 }
11423 return resultobj;
11424 fail:
11425 {
11426 if (temp3)
11427 delete arg3;
11428 }
11429 {
11430 if (temp8)
11431 delete arg8;
11432 }
11433 return NULL;
11434 }
11435
11436
11437 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11438 PyObject *resultobj;
11439 wxRadioButton *result;
11440 char *kwnames[] = {
11441 NULL
11442 };
11443
11444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (wxRadioButton *)new wxRadioButton();
11448
11449 wxPyEndAllowThreads(__tstate);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 }
11452 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11453 return resultobj;
11454 fail:
11455 return NULL;
11456 }
11457
11458
11459 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11460 PyObject *resultobj;
11461 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11462 wxWindow *arg2 = (wxWindow *) 0 ;
11463 int arg3 ;
11464 wxString *arg4 = 0 ;
11465 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11466 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11467 wxSize const &arg6_defvalue = wxDefaultSize ;
11468 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11469 long arg7 = (long) 0 ;
11470 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11471 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11472 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11473 wxString *arg9 = (wxString *) &arg9_defvalue ;
11474 bool result;
11475 bool temp4 = False ;
11476 wxPoint temp5 ;
11477 wxSize temp6 ;
11478 bool temp9 = False ;
11479 PyObject * obj0 = 0 ;
11480 PyObject * obj1 = 0 ;
11481 PyObject * obj2 = 0 ;
11482 PyObject * obj3 = 0 ;
11483 PyObject * obj4 = 0 ;
11484 PyObject * obj5 = 0 ;
11485 PyObject * obj6 = 0 ;
11486 PyObject * obj7 = 0 ;
11487 PyObject * obj8 = 0 ;
11488 char *kwnames[] = {
11489 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11490 };
11491
11492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11495 {
11496 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 {
11500 arg4 = wxString_in_helper(obj3);
11501 if (arg4 == NULL) SWIG_fail;
11502 temp4 = True;
11503 }
11504 if (obj4) {
11505 {
11506 arg5 = &temp5;
11507 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11508 }
11509 }
11510 if (obj5) {
11511 {
11512 arg6 = &temp6;
11513 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11514 }
11515 }
11516 if (obj6) {
11517 {
11518 arg7 = (long) SWIG_PyObj_AsLong(obj6);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 }
11522 if (obj7) {
11523 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11524 if (arg8 == NULL) {
11525 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11526 }
11527 }
11528 if (obj8) {
11529 {
11530 arg9 = wxString_in_helper(obj8);
11531 if (arg9 == NULL) SWIG_fail;
11532 temp9 = True;
11533 }
11534 }
11535 {
11536 PyThreadState* __tstate = wxPyBeginAllowThreads();
11537 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11538
11539 wxPyEndAllowThreads(__tstate);
11540 if (PyErr_Occurred()) SWIG_fail;
11541 }
11542 resultobj = SWIG_PyObj_FromBool((bool)result);
11543 {
11544 if (temp4)
11545 delete arg4;
11546 }
11547 {
11548 if (temp9)
11549 delete arg9;
11550 }
11551 return resultobj;
11552 fail:
11553 {
11554 if (temp4)
11555 delete arg4;
11556 }
11557 {
11558 if (temp9)
11559 delete arg9;
11560 }
11561 return NULL;
11562 }
11563
11564
11565 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11568 bool result;
11569 PyObject * obj0 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 result = (bool)(arg1)->GetValue();
11579
11580 wxPyEndAllowThreads(__tstate);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 resultobj = SWIG_PyObj_FromBool((bool)result);
11584 return resultobj;
11585 fail:
11586 return NULL;
11587 }
11588
11589
11590 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11591 PyObject *resultobj;
11592 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11593 bool arg2 ;
11594 PyObject * obj0 = 0 ;
11595 PyObject * obj1 = 0 ;
11596 char *kwnames[] = {
11597 (char *) "self",(char *) "value", NULL
11598 };
11599
11600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11602 {
11603 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 {
11607 PyThreadState* __tstate = wxPyBeginAllowThreads();
11608 (arg1)->SetValue(arg2);
11609
11610 wxPyEndAllowThreads(__tstate);
11611 if (PyErr_Occurred()) SWIG_fail;
11612 }
11613 Py_INCREF(Py_None); resultobj = Py_None;
11614 return resultobj;
11615 fail:
11616 return NULL;
11617 }
11618
11619
11620 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11621 PyObject *obj;
11622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11623 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11624 Py_INCREF(obj);
11625 return Py_BuildValue((char *)"");
11626 }
11627 static int _wrap_SliderNameStr_set(PyObject *) {
11628 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11629 return 1;
11630 }
11631
11632
11633 static PyObject *_wrap_SliderNameStr_get() {
11634 PyObject *pyobj;
11635
11636 {
11637 #if wxUSE_UNICODE
11638 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11639 #else
11640 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11641 #endif
11642 }
11643 return pyobj;
11644 }
11645
11646
11647 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11648 PyObject *resultobj;
11649 wxWindow *arg1 = (wxWindow *) 0 ;
11650 int arg2 ;
11651 int arg3 ;
11652 int arg4 ;
11653 int arg5 ;
11654 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11655 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11656 wxSize const &arg7_defvalue = wxDefaultSize ;
11657 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11658 long arg8 = (long) wxSL_HORIZONTAL ;
11659 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11660 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11661 wxString const &arg10_defvalue = wxPySliderNameStr ;
11662 wxString *arg10 = (wxString *) &arg10_defvalue ;
11663 wxSlider *result;
11664 wxPoint temp6 ;
11665 wxSize temp7 ;
11666 bool temp10 = False ;
11667 PyObject * obj0 = 0 ;
11668 PyObject * obj1 = 0 ;
11669 PyObject * obj2 = 0 ;
11670 PyObject * obj3 = 0 ;
11671 PyObject * obj4 = 0 ;
11672 PyObject * obj5 = 0 ;
11673 PyObject * obj6 = 0 ;
11674 PyObject * obj7 = 0 ;
11675 PyObject * obj8 = 0 ;
11676 PyObject * obj9 = 0 ;
11677 char *kwnames[] = {
11678 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11679 };
11680
11681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11683 {
11684 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11685 if (PyErr_Occurred()) SWIG_fail;
11686 }
11687 {
11688 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 {
11692 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11693 if (PyErr_Occurred()) SWIG_fail;
11694 }
11695 {
11696 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 }
11699 if (obj5) {
11700 {
11701 arg6 = &temp6;
11702 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11703 }
11704 }
11705 if (obj6) {
11706 {
11707 arg7 = &temp7;
11708 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11709 }
11710 }
11711 if (obj7) {
11712 {
11713 arg8 = (long) SWIG_PyObj_AsLong(obj7);
11714 if (PyErr_Occurred()) SWIG_fail;
11715 }
11716 }
11717 if (obj8) {
11718 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11719 if (arg9 == NULL) {
11720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11721 }
11722 }
11723 if (obj9) {
11724 {
11725 arg10 = wxString_in_helper(obj9);
11726 if (arg10 == NULL) SWIG_fail;
11727 temp10 = True;
11728 }
11729 }
11730 {
11731 PyThreadState* __tstate = wxPyBeginAllowThreads();
11732 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11733
11734 wxPyEndAllowThreads(__tstate);
11735 if (PyErr_Occurred()) SWIG_fail;
11736 }
11737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11738 {
11739 if (temp10)
11740 delete arg10;
11741 }
11742 return resultobj;
11743 fail:
11744 {
11745 if (temp10)
11746 delete arg10;
11747 }
11748 return NULL;
11749 }
11750
11751
11752 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj;
11754 wxSlider *result;
11755 char *kwnames[] = {
11756 NULL
11757 };
11758
11759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (wxSlider *)new wxSlider();
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11768 return resultobj;
11769 fail:
11770 return NULL;
11771 }
11772
11773
11774 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11775 PyObject *resultobj;
11776 wxSlider *arg1 = (wxSlider *) 0 ;
11777 wxWindow *arg2 = (wxWindow *) 0 ;
11778 int arg3 ;
11779 int arg4 ;
11780 int arg5 ;
11781 int arg6 ;
11782 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11783 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11784 wxSize const &arg8_defvalue = wxDefaultSize ;
11785 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
11786 long arg9 = (long) wxSL_HORIZONTAL ;
11787 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11788 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11789 wxString const &arg11_defvalue = wxPySliderNameStr ;
11790 wxString *arg11 = (wxString *) &arg11_defvalue ;
11791 bool result;
11792 wxPoint temp7 ;
11793 wxSize temp8 ;
11794 bool temp11 = False ;
11795 PyObject * obj0 = 0 ;
11796 PyObject * obj1 = 0 ;
11797 PyObject * obj2 = 0 ;
11798 PyObject * obj3 = 0 ;
11799 PyObject * obj4 = 0 ;
11800 PyObject * obj5 = 0 ;
11801 PyObject * obj6 = 0 ;
11802 PyObject * obj7 = 0 ;
11803 PyObject * obj8 = 0 ;
11804 PyObject * obj9 = 0 ;
11805 PyObject * obj10 = 0 ;
11806 char *kwnames[] = {
11807 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11808 };
11809
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11813 {
11814 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 {
11818 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 {
11822 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 }
11825 {
11826 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 }
11829 if (obj6) {
11830 {
11831 arg7 = &temp7;
11832 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11833 }
11834 }
11835 if (obj7) {
11836 {
11837 arg8 = &temp8;
11838 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
11839 }
11840 }
11841 if (obj8) {
11842 {
11843 arg9 = (long) SWIG_PyObj_AsLong(obj8);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 }
11847 if (obj9) {
11848 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11849 if (arg10 == NULL) {
11850 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11851 }
11852 }
11853 if (obj10) {
11854 {
11855 arg11 = wxString_in_helper(obj10);
11856 if (arg11 == NULL) SWIG_fail;
11857 temp11 = True;
11858 }
11859 }
11860 {
11861 PyThreadState* __tstate = wxPyBeginAllowThreads();
11862 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
11863
11864 wxPyEndAllowThreads(__tstate);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 resultobj = SWIG_PyObj_FromBool((bool)result);
11868 {
11869 if (temp11)
11870 delete arg11;
11871 }
11872 return resultobj;
11873 fail:
11874 {
11875 if (temp11)
11876 delete arg11;
11877 }
11878 return NULL;
11879 }
11880
11881
11882 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxSlider *arg1 = (wxSlider *) 0 ;
11885 int result;
11886 PyObject * obj0 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
11892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 result = (int)((wxSlider const *)arg1)->GetValue();
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 resultobj = SWIG_PyObj_FromInt((int)result);
11901 return resultobj;
11902 fail:
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxSlider *arg1 = (wxSlider *) 0 ;
11910 int arg2 ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "value", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11919 {
11920 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 (arg1)->SetValue(arg2);
11926
11927 wxPyEndAllowThreads(__tstate);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 Py_INCREF(Py_None); resultobj = Py_None;
11931 return resultobj;
11932 fail:
11933 return NULL;
11934 }
11935
11936
11937 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject *resultobj;
11939 wxSlider *arg1 = (wxSlider *) 0 ;
11940 int arg2 ;
11941 int arg3 ;
11942 PyObject * obj0 = 0 ;
11943 PyObject * obj1 = 0 ;
11944 PyObject * obj2 = 0 ;
11945 char *kwnames[] = {
11946 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
11947 };
11948
11949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11951 {
11952 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 {
11956 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 {
11960 PyThreadState* __tstate = wxPyBeginAllowThreads();
11961 (arg1)->SetRange(arg2,arg3);
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 Py_INCREF(Py_None); resultobj = Py_None;
11967 return resultobj;
11968 fail:
11969 return NULL;
11970 }
11971
11972
11973 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxSlider *arg1 = (wxSlider *) 0 ;
11976 int result;
11977 PyObject * obj0 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (int)((wxSlider const *)arg1)->GetMin();
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 resultobj = SWIG_PyObj_FromInt((int)result);
11992 return resultobj;
11993 fail:
11994 return NULL;
11995 }
11996
11997
11998 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxSlider *arg1 = (wxSlider *) 0 ;
12001 int result;
12002 PyObject * obj0 = 0 ;
12003 char *kwnames[] = {
12004 (char *) "self", NULL
12005 };
12006
12007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12009 {
12010 PyThreadState* __tstate = wxPyBeginAllowThreads();
12011 result = (int)((wxSlider const *)arg1)->GetMax();
12012
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_PyObj_FromInt((int)result);
12017 return resultobj;
12018 fail:
12019 return NULL;
12020 }
12021
12022
12023 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxSlider *arg1 = (wxSlider *) 0 ;
12026 int arg2 ;
12027 PyObject * obj0 = 0 ;
12028 PyObject * obj1 = 0 ;
12029 char *kwnames[] = {
12030 (char *) "self",(char *) "minValue", NULL
12031 };
12032
12033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12035 {
12036 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12037 if (PyErr_Occurred()) SWIG_fail;
12038 }
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 (arg1)->SetMin(arg2);
12042
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 Py_INCREF(Py_None); resultobj = Py_None;
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj;
12055 wxSlider *arg1 = (wxSlider *) 0 ;
12056 int arg2 ;
12057 PyObject * obj0 = 0 ;
12058 PyObject * obj1 = 0 ;
12059 char *kwnames[] = {
12060 (char *) "self",(char *) "maxValue", NULL
12061 };
12062
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12065 {
12066 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 {
12070 PyThreadState* __tstate = wxPyBeginAllowThreads();
12071 (arg1)->SetMax(arg2);
12072
12073 wxPyEndAllowThreads(__tstate);
12074 if (PyErr_Occurred()) SWIG_fail;
12075 }
12076 Py_INCREF(Py_None); resultobj = Py_None;
12077 return resultobj;
12078 fail:
12079 return NULL;
12080 }
12081
12082
12083 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxSlider *arg1 = (wxSlider *) 0 ;
12086 int arg2 ;
12087 PyObject * obj0 = 0 ;
12088 PyObject * obj1 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "self",(char *) "lineSize", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12095 {
12096 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 {
12100 PyThreadState* __tstate = wxPyBeginAllowThreads();
12101 (arg1)->SetLineSize(arg2);
12102
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 Py_INCREF(Py_None); resultobj = Py_None;
12107 return resultobj;
12108 fail:
12109 return NULL;
12110 }
12111
12112
12113 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12114 PyObject *resultobj;
12115 wxSlider *arg1 = (wxSlider *) 0 ;
12116 int arg2 ;
12117 PyObject * obj0 = 0 ;
12118 PyObject * obj1 = 0 ;
12119 char *kwnames[] = {
12120 (char *) "self",(char *) "pageSize", NULL
12121 };
12122
12123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12125 {
12126 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 (arg1)->SetPageSize(arg2);
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 Py_INCREF(Py_None); resultobj = Py_None;
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12144 PyObject *resultobj;
12145 wxSlider *arg1 = (wxSlider *) 0 ;
12146 int result;
12147 PyObject * obj0 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "self", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12154 {
12155 PyThreadState* __tstate = wxPyBeginAllowThreads();
12156 result = (int)((wxSlider const *)arg1)->GetLineSize();
12157
12158 wxPyEndAllowThreads(__tstate);
12159 if (PyErr_Occurred()) SWIG_fail;
12160 }
12161 resultobj = SWIG_PyObj_FromInt((int)result);
12162 return resultobj;
12163 fail:
12164 return NULL;
12165 }
12166
12167
12168 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12169 PyObject *resultobj;
12170 wxSlider *arg1 = (wxSlider *) 0 ;
12171 int result;
12172 PyObject * obj0 = 0 ;
12173 char *kwnames[] = {
12174 (char *) "self", NULL
12175 };
12176
12177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 result = (int)((wxSlider const *)arg1)->GetPageSize();
12182
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 resultobj = SWIG_PyObj_FromInt((int)result);
12187 return resultobj;
12188 fail:
12189 return NULL;
12190 }
12191
12192
12193 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12194 PyObject *resultobj;
12195 wxSlider *arg1 = (wxSlider *) 0 ;
12196 int arg2 ;
12197 PyObject * obj0 = 0 ;
12198 PyObject * obj1 = 0 ;
12199 char *kwnames[] = {
12200 (char *) "self",(char *) "lenPixels", NULL
12201 };
12202
12203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12205 {
12206 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 (arg1)->SetThumbLength(arg2);
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 Py_INCREF(Py_None); resultobj = Py_None;
12217 return resultobj;
12218 fail:
12219 return NULL;
12220 }
12221
12222
12223 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12224 PyObject *resultobj;
12225 wxSlider *arg1 = (wxSlider *) 0 ;
12226 int result;
12227 PyObject * obj0 = 0 ;
12228 char *kwnames[] = {
12229 (char *) "self", NULL
12230 };
12231
12232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12234 {
12235 PyThreadState* __tstate = wxPyBeginAllowThreads();
12236 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12237
12238 wxPyEndAllowThreads(__tstate);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 resultobj = SWIG_PyObj_FromInt((int)result);
12242 return resultobj;
12243 fail:
12244 return NULL;
12245 }
12246
12247
12248 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12249 PyObject *resultobj;
12250 wxSlider *arg1 = (wxSlider *) 0 ;
12251 int arg2 ;
12252 int arg3 = (int) 1 ;
12253 PyObject * obj0 = 0 ;
12254 PyObject * obj1 = 0 ;
12255 PyObject * obj2 = 0 ;
12256 char *kwnames[] = {
12257 (char *) "self",(char *) "n",(char *) "pos", NULL
12258 };
12259
12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12262 {
12263 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 if (obj2) {
12267 {
12268 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
12271 }
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
12274 (arg1)->SetTickFreq(arg2,arg3);
12275
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 Py_INCREF(Py_None); resultobj = Py_None;
12280 return resultobj;
12281 fail:
12282 return NULL;
12283 }
12284
12285
12286 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12287 PyObject *resultobj;
12288 wxSlider *arg1 = (wxSlider *) 0 ;
12289 int result;
12290 PyObject * obj0 = 0 ;
12291 char *kwnames[] = {
12292 (char *) "self", NULL
12293 };
12294
12295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12297 {
12298 PyThreadState* __tstate = wxPyBeginAllowThreads();
12299 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12300
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 resultobj = SWIG_PyObj_FromInt((int)result);
12305 return resultobj;
12306 fail:
12307 return NULL;
12308 }
12309
12310
12311 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj;
12313 wxSlider *arg1 = (wxSlider *) 0 ;
12314 PyObject * obj0 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12321 {
12322 PyThreadState* __tstate = wxPyBeginAllowThreads();
12323 (arg1)->ClearTicks();
12324
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 Py_INCREF(Py_None); resultobj = Py_None;
12329 return resultobj;
12330 fail:
12331 return NULL;
12332 }
12333
12334
12335 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj;
12337 wxSlider *arg1 = (wxSlider *) 0 ;
12338 int arg2 ;
12339 PyObject * obj0 = 0 ;
12340 PyObject * obj1 = 0 ;
12341 char *kwnames[] = {
12342 (char *) "self",(char *) "tickPos", NULL
12343 };
12344
12345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12347 {
12348 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 {
12352 PyThreadState* __tstate = wxPyBeginAllowThreads();
12353 (arg1)->SetTick(arg2);
12354
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 Py_INCREF(Py_None); resultobj = Py_None;
12359 return resultobj;
12360 fail:
12361 return NULL;
12362 }
12363
12364
12365 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj;
12367 wxSlider *arg1 = (wxSlider *) 0 ;
12368 PyObject * obj0 = 0 ;
12369 char *kwnames[] = {
12370 (char *) "self", NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12375 {
12376 PyThreadState* __tstate = wxPyBeginAllowThreads();
12377 (arg1)->ClearSel();
12378
12379 wxPyEndAllowThreads(__tstate);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
12382 Py_INCREF(Py_None); resultobj = Py_None;
12383 return resultobj;
12384 fail:
12385 return NULL;
12386 }
12387
12388
12389 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12390 PyObject *resultobj;
12391 wxSlider *arg1 = (wxSlider *) 0 ;
12392 int result;
12393 PyObject * obj0 = 0 ;
12394 char *kwnames[] = {
12395 (char *) "self", NULL
12396 };
12397
12398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12400 {
12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
12402 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12403
12404 wxPyEndAllowThreads(__tstate);
12405 if (PyErr_Occurred()) SWIG_fail;
12406 }
12407 resultobj = SWIG_PyObj_FromInt((int)result);
12408 return resultobj;
12409 fail:
12410 return NULL;
12411 }
12412
12413
12414 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj;
12416 wxSlider *arg1 = (wxSlider *) 0 ;
12417 int result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (int)((wxSlider const *)arg1)->GetSelStart();
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 resultobj = SWIG_PyObj_FromInt((int)result);
12433 return resultobj;
12434 fail:
12435 return NULL;
12436 }
12437
12438
12439 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 wxSlider *arg1 = (wxSlider *) 0 ;
12442 int arg2 ;
12443 int arg3 ;
12444 PyObject * obj0 = 0 ;
12445 PyObject * obj1 = 0 ;
12446 PyObject * obj2 = 0 ;
12447 char *kwnames[] = {
12448 (char *) "self",(char *) "min",(char *) "max", NULL
12449 };
12450
12451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12453 {
12454 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 {
12458 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetSelection(arg2,arg3);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 Py_INCREF(Py_None); resultobj = Py_None;
12469 return resultobj;
12470 fail:
12471 return NULL;
12472 }
12473
12474
12475 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12476 PyObject *obj;
12477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12478 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12479 Py_INCREF(obj);
12480 return Py_BuildValue((char *)"");
12481 }
12482 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12483 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12484 return 1;
12485 }
12486
12487
12488 static PyObject *_wrap_ToggleButtonNameStr_get() {
12489 PyObject *pyobj;
12490
12491 {
12492 #if wxUSE_UNICODE
12493 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12494 #else
12495 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12496 #endif
12497 }
12498 return pyobj;
12499 }
12500
12501
12502 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12503 PyObject *resultobj;
12504 wxWindow *arg1 = (wxWindow *) 0 ;
12505 int arg2 ;
12506 wxString *arg3 = 0 ;
12507 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12508 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12509 wxSize const &arg5_defvalue = wxDefaultSize ;
12510 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12511 long arg6 = (long) 0 ;
12512 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12513 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12514 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12515 wxString *arg8 = (wxString *) &arg8_defvalue ;
12516 wxToggleButton *result;
12517 bool temp3 = False ;
12518 wxPoint temp4 ;
12519 wxSize temp5 ;
12520 bool temp8 = False ;
12521 PyObject * obj0 = 0 ;
12522 PyObject * obj1 = 0 ;
12523 PyObject * obj2 = 0 ;
12524 PyObject * obj3 = 0 ;
12525 PyObject * obj4 = 0 ;
12526 PyObject * obj5 = 0 ;
12527 PyObject * obj6 = 0 ;
12528 PyObject * obj7 = 0 ;
12529 char *kwnames[] = {
12530 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12531 };
12532
12533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12535 {
12536 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 {
12540 arg3 = wxString_in_helper(obj2);
12541 if (arg3 == NULL) SWIG_fail;
12542 temp3 = True;
12543 }
12544 if (obj3) {
12545 {
12546 arg4 = &temp4;
12547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12548 }
12549 }
12550 if (obj4) {
12551 {
12552 arg5 = &temp5;
12553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12554 }
12555 }
12556 if (obj5) {
12557 {
12558 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12559 if (PyErr_Occurred()) SWIG_fail;
12560 }
12561 }
12562 if (obj6) {
12563 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12564 if (arg7 == NULL) {
12565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12566 }
12567 }
12568 if (obj7) {
12569 {
12570 arg8 = wxString_in_helper(obj7);
12571 if (arg8 == NULL) SWIG_fail;
12572 temp8 = True;
12573 }
12574 }
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12583 {
12584 if (temp3)
12585 delete arg3;
12586 }
12587 {
12588 if (temp8)
12589 delete arg8;
12590 }
12591 return resultobj;
12592 fail:
12593 {
12594 if (temp3)
12595 delete arg3;
12596 }
12597 {
12598 if (temp8)
12599 delete arg8;
12600 }
12601 return NULL;
12602 }
12603
12604
12605 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12606 PyObject *resultobj;
12607 wxToggleButton *result;
12608 char *kwnames[] = {
12609 NULL
12610 };
12611
12612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12613 {
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 result = (wxToggleButton *)new wxToggleButton();
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12630 wxWindow *arg2 = (wxWindow *) 0 ;
12631 int arg3 ;
12632 wxString *arg4 = 0 ;
12633 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12634 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12635 wxSize const &arg6_defvalue = wxDefaultSize ;
12636 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12637 long arg7 = (long) 0 ;
12638 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12639 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12640 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
12641 wxString *arg9 = (wxString *) &arg9_defvalue ;
12642 bool result;
12643 bool temp4 = False ;
12644 wxPoint temp5 ;
12645 wxSize temp6 ;
12646 bool temp9 = False ;
12647 PyObject * obj0 = 0 ;
12648 PyObject * obj1 = 0 ;
12649 PyObject * obj2 = 0 ;
12650 PyObject * obj3 = 0 ;
12651 PyObject * obj4 = 0 ;
12652 PyObject * obj5 = 0 ;
12653 PyObject * obj6 = 0 ;
12654 PyObject * obj7 = 0 ;
12655 PyObject * obj8 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12663 {
12664 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 {
12668 arg4 = wxString_in_helper(obj3);
12669 if (arg4 == NULL) SWIG_fail;
12670 temp4 = True;
12671 }
12672 if (obj4) {
12673 {
12674 arg5 = &temp5;
12675 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12676 }
12677 }
12678 if (obj5) {
12679 {
12680 arg6 = &temp6;
12681 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12682 }
12683 }
12684 if (obj6) {
12685 {
12686 arg7 = (long) SWIG_PyObj_AsLong(obj6);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 }
12690 if (obj7) {
12691 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12692 if (arg8 == NULL) {
12693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12694 }
12695 }
12696 if (obj8) {
12697 {
12698 arg9 = wxString_in_helper(obj8);
12699 if (arg9 == NULL) SWIG_fail;
12700 temp9 = True;
12701 }
12702 }
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12706
12707 wxPyEndAllowThreads(__tstate);
12708 if (PyErr_Occurred()) SWIG_fail;
12709 }
12710 resultobj = SWIG_PyObj_FromBool((bool)result);
12711 {
12712 if (temp4)
12713 delete arg4;
12714 }
12715 {
12716 if (temp9)
12717 delete arg9;
12718 }
12719 return resultobj;
12720 fail:
12721 {
12722 if (temp4)
12723 delete arg4;
12724 }
12725 {
12726 if (temp9)
12727 delete arg9;
12728 }
12729 return NULL;
12730 }
12731
12732
12733 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12734 PyObject *resultobj;
12735 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12736 bool arg2 ;
12737 PyObject * obj0 = 0 ;
12738 PyObject * obj1 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self",(char *) "value", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12745 {
12746 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 (arg1)->SetValue(arg2);
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 Py_INCREF(Py_None); resultobj = Py_None;
12757 return resultobj;
12758 fail:
12759 return NULL;
12760 }
12761
12762
12763 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12766 bool result;
12767 PyObject * obj0 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
12773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (bool)((wxToggleButton const *)arg1)->GetValue();
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 resultobj = SWIG_PyObj_FromBool((bool)result);
12782 return resultobj;
12783 fail:
12784 return NULL;
12785 }
12786
12787
12788 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12789 PyObject *resultobj;
12790 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12791 wxString *arg2 = 0 ;
12792 bool temp2 = False ;
12793 PyObject * obj0 = 0 ;
12794 PyObject * obj1 = 0 ;
12795 char *kwnames[] = {
12796 (char *) "self",(char *) "label", NULL
12797 };
12798
12799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
12800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12801 {
12802 arg2 = wxString_in_helper(obj1);
12803 if (arg2 == NULL) SWIG_fail;
12804 temp2 = True;
12805 }
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 (arg1)->SetLabel((wxString const &)*arg2);
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 Py_INCREF(Py_None); resultobj = Py_None;
12814 {
12815 if (temp2)
12816 delete arg2;
12817 }
12818 return resultobj;
12819 fail:
12820 {
12821 if (temp2)
12822 delete arg2;
12823 }
12824 return NULL;
12825 }
12826
12827
12828 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
12829 PyObject *obj;
12830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12831 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12832 Py_INCREF(obj);
12833 return Py_BuildValue((char *)"");
12834 }
12835 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
12836 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12837 return 1;
12838 }
12839
12840
12841 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12842 PyObject *pyobj;
12843
12844 {
12845 #if wxUSE_UNICODE
12846 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12847 #else
12848 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12849 #endif
12850 }
12851 return pyobj;
12852 }
12853
12854
12855 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12858 size_t result;
12859 PyObject * obj0 = 0 ;
12860 char *kwnames[] = {
12861 (char *) "self", NULL
12862 };
12863
12864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
12865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12866 {
12867 PyThreadState* __tstate = wxPyBeginAllowThreads();
12868 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
12869
12870 wxPyEndAllowThreads(__tstate);
12871 if (PyErr_Occurred()) SWIG_fail;
12872 }
12873 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
12874 return resultobj;
12875 fail:
12876 return NULL;
12877 }
12878
12879
12880 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12881 PyObject *resultobj;
12882 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12883 size_t arg2 ;
12884 wxWindow *result;
12885 PyObject * obj0 = 0 ;
12886 PyObject * obj1 = 0 ;
12887 char *kwnames[] = {
12888 (char *) "self",(char *) "n", NULL
12889 };
12890
12891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
12892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12893 {
12894 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 {
12898 PyThreadState* __tstate = wxPyBeginAllowThreads();
12899 result = (wxWindow *)(arg1)->GetPage(arg2);
12900
12901 wxPyEndAllowThreads(__tstate);
12902 if (PyErr_Occurred()) SWIG_fail;
12903 }
12904 {
12905 resultobj = wxPyMake_wxObject(result);
12906 }
12907 return resultobj;
12908 fail:
12909 return NULL;
12910 }
12911
12912
12913 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject *resultobj;
12915 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12916 int result;
12917 PyObject * obj0 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
12923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12924 {
12925 PyThreadState* __tstate = wxPyBeginAllowThreads();
12926 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
12927
12928 wxPyEndAllowThreads(__tstate);
12929 if (PyErr_Occurred()) SWIG_fail;
12930 }
12931 resultobj = SWIG_PyObj_FromInt((int)result);
12932 return resultobj;
12933 fail:
12934 return NULL;
12935 }
12936
12937
12938 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
12939 PyObject *resultobj;
12940 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12941 size_t arg2 ;
12942 wxString *arg3 = 0 ;
12943 bool result;
12944 bool temp3 = False ;
12945 PyObject * obj0 = 0 ;
12946 PyObject * obj1 = 0 ;
12947 PyObject * obj2 = 0 ;
12948 char *kwnames[] = {
12949 (char *) "self",(char *) "n",(char *) "strText", NULL
12950 };
12951
12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12954 {
12955 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
12958 {
12959 arg3 = wxString_in_helper(obj2);
12960 if (arg3 == NULL) SWIG_fail;
12961 temp3 = True;
12962 }
12963 {
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
12966
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 resultobj = SWIG_PyObj_FromBool((bool)result);
12971 {
12972 if (temp3)
12973 delete arg3;
12974 }
12975 return resultobj;
12976 fail:
12977 {
12978 if (temp3)
12979 delete arg3;
12980 }
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12988 size_t arg2 ;
12989 wxString result;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 char *kwnames[] = {
12993 (char *) "self",(char *) "n", NULL
12994 };
12995
12996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
12997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12998 {
12999 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13005
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 {
13010 #if wxUSE_UNICODE
13011 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13012 #else
13013 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13014 #endif
13015 }
13016 return resultobj;
13017 fail:
13018 return NULL;
13019 }
13020
13021
13022 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13025 wxImageList *arg2 = (wxImageList *) 0 ;
13026 PyObject * obj0 = 0 ;
13027 PyObject * obj1 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self",(char *) "imageList", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13035 {
13036 PyThreadState* __tstate = wxPyBeginAllowThreads();
13037 (arg1)->SetImageList(arg2);
13038
13039 wxPyEndAllowThreads(__tstate);
13040 if (PyErr_Occurred()) SWIG_fail;
13041 }
13042 Py_INCREF(Py_None); resultobj = Py_None;
13043 return resultobj;
13044 fail:
13045 return NULL;
13046 }
13047
13048
13049 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13050 PyObject *resultobj;
13051 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13052 wxImageList *arg2 = (wxImageList *) 0 ;
13053 PyObject * obj0 = 0 ;
13054 PyObject * obj1 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self",(char *) "imageList", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 (arg1)->AssignImageList(arg2);
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 Py_INCREF(Py_None); resultobj = Py_None;
13070 return resultobj;
13071 fail:
13072 return NULL;
13073 }
13074
13075
13076 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13079 wxImageList *result;
13080 PyObject * obj0 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13090
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 {
13095 resultobj = wxPyMake_wxObject(result);
13096 }
13097 return resultobj;
13098 fail:
13099 return NULL;
13100 }
13101
13102
13103 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13104 PyObject *resultobj;
13105 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13106 size_t arg2 ;
13107 int result;
13108 PyObject * obj0 = 0 ;
13109 PyObject * obj1 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self",(char *) "n", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13116 {
13117 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 {
13121 PyThreadState* __tstate = wxPyBeginAllowThreads();
13122 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13123
13124 wxPyEndAllowThreads(__tstate);
13125 if (PyErr_Occurred()) SWIG_fail;
13126 }
13127 resultobj = SWIG_PyObj_FromInt((int)result);
13128 return resultobj;
13129 fail:
13130 return NULL;
13131 }
13132
13133
13134 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13135 PyObject *resultobj;
13136 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13137 size_t arg2 ;
13138 int arg3 ;
13139 bool result;
13140 PyObject * obj0 = 0 ;
13141 PyObject * obj1 = 0 ;
13142 PyObject * obj2 = 0 ;
13143 char *kwnames[] = {
13144 (char *) "self",(char *) "n",(char *) "imageId", NULL
13145 };
13146
13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13149 {
13150 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 {
13154 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13160
13161 wxPyEndAllowThreads(__tstate);
13162 if (PyErr_Occurred()) SWIG_fail;
13163 }
13164 resultobj = SWIG_PyObj_FromBool((bool)result);
13165 return resultobj;
13166 fail:
13167 return NULL;
13168 }
13169
13170
13171 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj;
13173 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13174 wxSize *arg2 = 0 ;
13175 wxSize temp2 ;
13176 PyObject * obj0 = 0 ;
13177 PyObject * obj1 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "self",(char *) "size", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13184 {
13185 arg2 = &temp2;
13186 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13187 }
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 (arg1)->SetPageSize((wxSize const &)*arg2);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 Py_INCREF(Py_None); resultobj = Py_None;
13196 return resultobj;
13197 fail:
13198 return NULL;
13199 }
13200
13201
13202 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13205 wxSize *arg2 = 0 ;
13206 wxSize result;
13207 wxSize temp2 ;
13208 PyObject * obj0 = 0 ;
13209 PyObject * obj1 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self",(char *) "sizePage", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13216 {
13217 arg2 = &temp2;
13218 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13219 }
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13223
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 {
13228 wxSize * resultptr;
13229 resultptr = new wxSize((wxSize &) result);
13230 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13231 }
13232 return resultobj;
13233 fail:
13234 return NULL;
13235 }
13236
13237
13238 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13239 PyObject *resultobj;
13240 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13241 size_t arg2 ;
13242 bool result;
13243 PyObject * obj0 = 0 ;
13244 PyObject * obj1 = 0 ;
13245 char *kwnames[] = {
13246 (char *) "self",(char *) "n", NULL
13247 };
13248
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13251 {
13252 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 {
13256 PyThreadState* __tstate = wxPyBeginAllowThreads();
13257 result = (bool)(arg1)->DeletePage(arg2);
13258
13259 wxPyEndAllowThreads(__tstate);
13260 if (PyErr_Occurred()) SWIG_fail;
13261 }
13262 resultobj = SWIG_PyObj_FromBool((bool)result);
13263 return resultobj;
13264 fail:
13265 return NULL;
13266 }
13267
13268
13269 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13270 PyObject *resultobj;
13271 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13272 size_t arg2 ;
13273 bool result;
13274 PyObject * obj0 = 0 ;
13275 PyObject * obj1 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self",(char *) "n", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13282 {
13283 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 result = (bool)(arg1)->RemovePage(arg2);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 resultobj = SWIG_PyObj_FromBool((bool)result);
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13303 bool result;
13304 PyObject * obj0 = 0 ;
13305 char *kwnames[] = {
13306 (char *) "self", NULL
13307 };
13308
13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 result = (bool)(arg1)->DeleteAllPages();
13314
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 }
13318 resultobj = SWIG_PyObj_FromBool((bool)result);
13319 return resultobj;
13320 fail:
13321 return NULL;
13322 }
13323
13324
13325 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj;
13327 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13328 wxWindow *arg2 = (wxWindow *) 0 ;
13329 wxString *arg3 = 0 ;
13330 bool arg4 = (bool) False ;
13331 int arg5 = (int) -1 ;
13332 bool result;
13333 bool temp3 = False ;
13334 PyObject * obj0 = 0 ;
13335 PyObject * obj1 = 0 ;
13336 PyObject * obj2 = 0 ;
13337 PyObject * obj3 = 0 ;
13338 PyObject * obj4 = 0 ;
13339 char *kwnames[] = {
13340 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13341 };
13342
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13346 {
13347 arg3 = wxString_in_helper(obj2);
13348 if (arg3 == NULL) SWIG_fail;
13349 temp3 = True;
13350 }
13351 if (obj3) {
13352 {
13353 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13354 if (PyErr_Occurred()) SWIG_fail;
13355 }
13356 }
13357 if (obj4) {
13358 {
13359 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13360 if (PyErr_Occurred()) SWIG_fail;
13361 }
13362 }
13363 {
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13366
13367 wxPyEndAllowThreads(__tstate);
13368 if (PyErr_Occurred()) SWIG_fail;
13369 }
13370 resultobj = SWIG_PyObj_FromBool((bool)result);
13371 {
13372 if (temp3)
13373 delete arg3;
13374 }
13375 return resultobj;
13376 fail:
13377 {
13378 if (temp3)
13379 delete arg3;
13380 }
13381 return NULL;
13382 }
13383
13384
13385 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13388 size_t arg2 ;
13389 wxWindow *arg3 = (wxWindow *) 0 ;
13390 wxString *arg4 = 0 ;
13391 bool arg5 = (bool) False ;
13392 int arg6 = (int) -1 ;
13393 bool result;
13394 bool temp4 = False ;
13395 PyObject * obj0 = 0 ;
13396 PyObject * obj1 = 0 ;
13397 PyObject * obj2 = 0 ;
13398 PyObject * obj3 = 0 ;
13399 PyObject * obj4 = 0 ;
13400 PyObject * obj5 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13407 {
13408 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13412 {
13413 arg4 = wxString_in_helper(obj3);
13414 if (arg4 == NULL) SWIG_fail;
13415 temp4 = True;
13416 }
13417 if (obj4) {
13418 {
13419 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 }
13423 if (obj5) {
13424 {
13425 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 }
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 resultobj = SWIG_PyObj_FromBool((bool)result);
13437 {
13438 if (temp4)
13439 delete arg4;
13440 }
13441 return resultobj;
13442 fail:
13443 {
13444 if (temp4)
13445 delete arg4;
13446 }
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13454 size_t arg2 ;
13455 int result;
13456 PyObject * obj0 = 0 ;
13457 PyObject * obj1 = 0 ;
13458 char *kwnames[] = {
13459 (char *) "self",(char *) "n", NULL
13460 };
13461
13462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13464 {
13465 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 result = (int)(arg1)->SetSelection(arg2);
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 resultobj = SWIG_PyObj_FromInt((int)result);
13476 return resultobj;
13477 fail:
13478 return NULL;
13479 }
13480
13481
13482 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13483 PyObject *resultobj;
13484 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13485 bool arg2 = (bool) True ;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self",(char *) "forward", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13494 if (obj1) {
13495 {
13496 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
13499 }
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 (arg1)->AdvanceSelection(arg2);
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 Py_INCREF(Py_None); resultobj = Py_None;
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13515 PyObject *obj;
13516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13517 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13518 Py_INCREF(obj);
13519 return Py_BuildValue((char *)"");
13520 }
13521 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13522 PyObject *resultobj;
13523 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13524 int arg2 = (int) 0 ;
13525 int arg3 = (int) -1 ;
13526 int arg4 = (int) -1 ;
13527 wxBookCtrlEvent *result;
13528 PyObject * obj0 = 0 ;
13529 PyObject * obj1 = 0 ;
13530 PyObject * obj2 = 0 ;
13531 PyObject * obj3 = 0 ;
13532 char *kwnames[] = {
13533 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13534 };
13535
13536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13537 if (obj0) {
13538 {
13539 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 }
13543 if (obj1) {
13544 {
13545 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 }
13549 if (obj2) {
13550 {
13551 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 }
13555 if (obj3) {
13556 {
13557 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13558 if (PyErr_Occurred()) SWIG_fail;
13559 }
13560 }
13561 {
13562 PyThreadState* __tstate = wxPyBeginAllowThreads();
13563 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13564
13565 wxPyEndAllowThreads(__tstate);
13566 if (PyErr_Occurred()) SWIG_fail;
13567 }
13568 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
13569 return resultobj;
13570 fail:
13571 return NULL;
13572 }
13573
13574
13575 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj;
13577 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13578 int result;
13579 PyObject * obj0 = 0 ;
13580 char *kwnames[] = {
13581 (char *) "self", NULL
13582 };
13583
13584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13586 {
13587 PyThreadState* __tstate = wxPyBeginAllowThreads();
13588 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13589
13590 wxPyEndAllowThreads(__tstate);
13591 if (PyErr_Occurred()) SWIG_fail;
13592 }
13593 resultobj = SWIG_PyObj_FromInt((int)result);
13594 return resultobj;
13595 fail:
13596 return NULL;
13597 }
13598
13599
13600 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj;
13602 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13603 int arg2 ;
13604 PyObject * obj0 = 0 ;
13605 PyObject * obj1 = 0 ;
13606 char *kwnames[] = {
13607 (char *) "self",(char *) "nSel", NULL
13608 };
13609
13610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13612 {
13613 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 (arg1)->SetSelection(arg2);
13619
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 Py_INCREF(Py_None); resultobj = Py_None;
13624 return resultobj;
13625 fail:
13626 return NULL;
13627 }
13628
13629
13630 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj;
13632 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13633 int result;
13634 PyObject * obj0 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13641 {
13642 PyThreadState* __tstate = wxPyBeginAllowThreads();
13643 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13644
13645 wxPyEndAllowThreads(__tstate);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 resultobj = SWIG_PyObj_FromInt((int)result);
13649 return resultobj;
13650 fail:
13651 return NULL;
13652 }
13653
13654
13655 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13656 PyObject *resultobj;
13657 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13658 int arg2 ;
13659 PyObject * obj0 = 0 ;
13660 PyObject * obj1 = 0 ;
13661 char *kwnames[] = {
13662 (char *) "self",(char *) "nOldSel", NULL
13663 };
13664
13665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13667 {
13668 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 (arg1)->SetOldSelection(arg2);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 Py_INCREF(Py_None); resultobj = Py_None;
13679 return resultobj;
13680 fail:
13681 return NULL;
13682 }
13683
13684
13685 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13686 PyObject *obj;
13687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13688 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13689 Py_INCREF(obj);
13690 return Py_BuildValue((char *)"");
13691 }
13692 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxWindow *arg1 = (wxWindow *) 0 ;
13695 int arg2 ;
13696 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13697 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13698 wxSize const &arg4_defvalue = wxDefaultSize ;
13699 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13700 long arg5 = (long) 0 ;
13701 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13702 wxString *arg6 = (wxString *) &arg6_defvalue ;
13703 wxNotebook *result;
13704 wxPoint temp3 ;
13705 wxSize temp4 ;
13706 bool temp6 = False ;
13707 PyObject * obj0 = 0 ;
13708 PyObject * obj1 = 0 ;
13709 PyObject * obj2 = 0 ;
13710 PyObject * obj3 = 0 ;
13711 PyObject * obj4 = 0 ;
13712 PyObject * obj5 = 0 ;
13713 char *kwnames[] = {
13714 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13715 };
13716
13717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13719 {
13720 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
13723 if (obj2) {
13724 {
13725 arg3 = &temp3;
13726 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13727 }
13728 }
13729 if (obj3) {
13730 {
13731 arg4 = &temp4;
13732 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13733 }
13734 }
13735 if (obj4) {
13736 {
13737 arg5 = (long) SWIG_PyObj_AsLong(obj4);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 }
13741 if (obj5) {
13742 {
13743 arg6 = wxString_in_helper(obj5);
13744 if (arg6 == NULL) SWIG_fail;
13745 temp6 = True;
13746 }
13747 }
13748 {
13749 PyThreadState* __tstate = wxPyBeginAllowThreads();
13750 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13751
13752 wxPyEndAllowThreads(__tstate);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 }
13755 {
13756 resultobj = wxPyMake_wxObject(result);
13757 }
13758 {
13759 if (temp6)
13760 delete arg6;
13761 }
13762 return resultobj;
13763 fail:
13764 {
13765 if (temp6)
13766 delete arg6;
13767 }
13768 return NULL;
13769 }
13770
13771
13772 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13773 PyObject *resultobj;
13774 wxNotebook *result;
13775 char *kwnames[] = {
13776 NULL
13777 };
13778
13779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13780 {
13781 PyThreadState* __tstate = wxPyBeginAllowThreads();
13782 result = (wxNotebook *)new wxNotebook();
13783
13784 wxPyEndAllowThreads(__tstate);
13785 if (PyErr_Occurred()) SWIG_fail;
13786 }
13787 {
13788 resultobj = wxPyMake_wxObject(result);
13789 }
13790 return resultobj;
13791 fail:
13792 return NULL;
13793 }
13794
13795
13796 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13797 PyObject *resultobj;
13798 wxNotebook *arg1 = (wxNotebook *) 0 ;
13799 wxWindow *arg2 = (wxWindow *) 0 ;
13800 int arg3 ;
13801 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13802 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13803 wxSize const &arg5_defvalue = wxDefaultSize ;
13804 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13805 long arg6 = (long) 0 ;
13806 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13807 wxString *arg7 = (wxString *) &arg7_defvalue ;
13808 bool result;
13809 wxPoint temp4 ;
13810 wxSize temp5 ;
13811 bool temp7 = False ;
13812 PyObject * obj0 = 0 ;
13813 PyObject * obj1 = 0 ;
13814 PyObject * obj2 = 0 ;
13815 PyObject * obj3 = 0 ;
13816 PyObject * obj4 = 0 ;
13817 PyObject * obj5 = 0 ;
13818 PyObject * obj6 = 0 ;
13819 char *kwnames[] = {
13820 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13821 };
13822
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13826 {
13827 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13828 if (PyErr_Occurred()) SWIG_fail;
13829 }
13830 if (obj3) {
13831 {
13832 arg4 = &temp4;
13833 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13834 }
13835 }
13836 if (obj4) {
13837 {
13838 arg5 = &temp5;
13839 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13840 }
13841 }
13842 if (obj5) {
13843 {
13844 arg6 = (long) SWIG_PyObj_AsLong(obj5);
13845 if (PyErr_Occurred()) SWIG_fail;
13846 }
13847 }
13848 if (obj6) {
13849 {
13850 arg7 = wxString_in_helper(obj6);
13851 if (arg7 == NULL) SWIG_fail;
13852 temp7 = True;
13853 }
13854 }
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13858
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 resultobj = SWIG_PyObj_FromBool((bool)result);
13863 {
13864 if (temp7)
13865 delete arg7;
13866 }
13867 return resultobj;
13868 fail:
13869 {
13870 if (temp7)
13871 delete arg7;
13872 }
13873 return NULL;
13874 }
13875
13876
13877 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxNotebook *arg1 = (wxNotebook *) 0 ;
13880 int result;
13881 PyObject * obj0 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
13887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13888 {
13889 PyThreadState* __tstate = wxPyBeginAllowThreads();
13890 result = (int)((wxNotebook const *)arg1)->GetRowCount();
13891
13892 wxPyEndAllowThreads(__tstate);
13893 if (PyErr_Occurred()) SWIG_fail;
13894 }
13895 resultobj = SWIG_PyObj_FromInt((int)result);
13896 return resultobj;
13897 fail:
13898 return NULL;
13899 }
13900
13901
13902 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
13903 PyObject *resultobj;
13904 wxNotebook *arg1 = (wxNotebook *) 0 ;
13905 wxSize *arg2 = 0 ;
13906 wxSize temp2 ;
13907 PyObject * obj0 = 0 ;
13908 PyObject * obj1 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "self",(char *) "padding", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
13914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13915 {
13916 arg2 = &temp2;
13917 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13918 }
13919 {
13920 PyThreadState* __tstate = wxPyBeginAllowThreads();
13921 (arg1)->SetPadding((wxSize const &)*arg2);
13922
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 Py_INCREF(Py_None); resultobj = Py_None;
13927 return resultobj;
13928 fail:
13929 return NULL;
13930 }
13931
13932
13933 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13934 PyObject *resultobj;
13935 wxNotebook *arg1 = (wxNotebook *) 0 ;
13936 wxSize *arg2 = 0 ;
13937 wxSize temp2 ;
13938 PyObject * obj0 = 0 ;
13939 PyObject * obj1 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "sz", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 {
13947 arg2 = &temp2;
13948 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13949 }
13950 {
13951 PyThreadState* __tstate = wxPyBeginAllowThreads();
13952 (arg1)->SetTabSize((wxSize const &)*arg2);
13953
13954 wxPyEndAllowThreads(__tstate);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 Py_INCREF(Py_None); resultobj = Py_None;
13958 return resultobj;
13959 fail:
13960 return NULL;
13961 }
13962
13963
13964 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
13965 PyObject *resultobj;
13966 wxNotebook *arg1 = (wxNotebook *) 0 ;
13967 wxPoint *arg2 = 0 ;
13968 long *arg3 = (long *) 0 ;
13969 int result;
13970 wxPoint temp2 ;
13971 long temp3 ;
13972 PyObject * obj0 = 0 ;
13973 PyObject * obj1 = 0 ;
13974 char *kwnames[] = {
13975 (char *) "self",(char *) "pt", NULL
13976 };
13977
13978 arg3 = &temp3;
13979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
13980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13981 {
13982 arg2 = &temp2;
13983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13984 }
13985 {
13986 PyThreadState* __tstate = wxPyBeginAllowThreads();
13987 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13988
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 resultobj = SWIG_PyObj_FromInt((int)result);
13993 {
13994 PyObject *o = PyInt_FromLong((long) (*arg3));
13995 resultobj = t_output_helper(resultobj,o);
13996 }
13997 return resultobj;
13998 fail:
13999 return NULL;
14000 }
14001
14002
14003 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14004 PyObject *resultobj;
14005 wxNotebook *arg1 = (wxNotebook *) 0 ;
14006 wxSize *arg2 = 0 ;
14007 wxSize result;
14008 wxSize temp2 ;
14009 PyObject * obj0 = 0 ;
14010 PyObject * obj1 = 0 ;
14011 char *kwnames[] = {
14012 (char *) "self",(char *) "sizePage", NULL
14013 };
14014
14015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14017 {
14018 arg2 = &temp2;
14019 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14020 }
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14024
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
14028 {
14029 wxSize * resultptr;
14030 resultptr = new wxSize((wxSize &) result);
14031 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14032 }
14033 return resultobj;
14034 fail:
14035 return NULL;
14036 }
14037
14038
14039 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj;
14041 wxNotebook *arg1 = (wxNotebook *) 0 ;
14042 wxWindow *arg2 = (wxWindow *) 0 ;
14043 wxColour *arg3 = 0 ;
14044 wxColour temp3 ;
14045 PyObject * obj0 = 0 ;
14046 PyObject * obj1 = 0 ;
14047 PyObject * obj2 = 0 ;
14048 char *kwnames[] = {
14049 (char *) "self",(char *) "window",(char *) "colour", NULL
14050 };
14051
14052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
14053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14055 {
14056 arg3 = &temp3;
14057 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
14058 }
14059 {
14060 PyThreadState* __tstate = wxPyBeginAllowThreads();
14061 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
14062
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 Py_INCREF(Py_None); resultobj = Py_None;
14067 return resultobj;
14068 fail:
14069 return NULL;
14070 }
14071
14072
14073 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14074 PyObject *obj;
14075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14076 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14077 Py_INCREF(obj);
14078 return Py_BuildValue((char *)"");
14079 }
14080 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14083 int arg2 = (int) 0 ;
14084 int arg3 = (int) -1 ;
14085 int arg4 = (int) -1 ;
14086 wxNotebookEvent *result;
14087 PyObject * obj0 = 0 ;
14088 PyObject * obj1 = 0 ;
14089 PyObject * obj2 = 0 ;
14090 PyObject * obj3 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14096 if (obj0) {
14097 {
14098 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14099 if (PyErr_Occurred()) SWIG_fail;
14100 }
14101 }
14102 if (obj1) {
14103 {
14104 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 }
14107 }
14108 if (obj2) {
14109 {
14110 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 }
14113 }
14114 if (obj3) {
14115 {
14116 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 }
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14135 PyObject *obj;
14136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14137 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14138 Py_INCREF(obj);
14139 return Py_BuildValue((char *)"");
14140 }
14141 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj;
14143 wxWindow *arg1 = (wxWindow *) 0 ;
14144 int arg2 ;
14145 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14146 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14147 wxSize const &arg4_defvalue = wxDefaultSize ;
14148 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14149 long arg5 = (long) 0 ;
14150 wxString const &arg6_defvalue = wxPyEmptyString ;
14151 wxString *arg6 = (wxString *) &arg6_defvalue ;
14152 wxListbook *result;
14153 wxPoint temp3 ;
14154 wxSize temp4 ;
14155 bool temp6 = False ;
14156 PyObject * obj0 = 0 ;
14157 PyObject * obj1 = 0 ;
14158 PyObject * obj2 = 0 ;
14159 PyObject * obj3 = 0 ;
14160 PyObject * obj4 = 0 ;
14161 PyObject * obj5 = 0 ;
14162 char *kwnames[] = {
14163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14164 };
14165
14166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14168 {
14169 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 if (obj2) {
14173 {
14174 arg3 = &temp3;
14175 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14176 }
14177 }
14178 if (obj3) {
14179 {
14180 arg4 = &temp4;
14181 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14182 }
14183 }
14184 if (obj4) {
14185 {
14186 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 }
14190 if (obj5) {
14191 {
14192 arg6 = wxString_in_helper(obj5);
14193 if (arg6 == NULL) SWIG_fail;
14194 temp6 = True;
14195 }
14196 }
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14205 {
14206 if (temp6)
14207 delete arg6;
14208 }
14209 return resultobj;
14210 fail:
14211 {
14212 if (temp6)
14213 delete arg6;
14214 }
14215 return NULL;
14216 }
14217
14218
14219 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxListbook *result;
14222 char *kwnames[] = {
14223 NULL
14224 };
14225
14226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14227 {
14228 PyThreadState* __tstate = wxPyBeginAllowThreads();
14229 result = (wxListbook *)new wxListbook();
14230
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14235 return resultobj;
14236 fail:
14237 return NULL;
14238 }
14239
14240
14241 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14242 PyObject *resultobj;
14243 wxListbook *arg1 = (wxListbook *) 0 ;
14244 wxWindow *arg2 = (wxWindow *) 0 ;
14245 int arg3 ;
14246 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14247 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14248 wxSize const &arg5_defvalue = wxDefaultSize ;
14249 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14250 long arg6 = (long) 0 ;
14251 wxString const &arg7_defvalue = wxPyEmptyString ;
14252 wxString *arg7 = (wxString *) &arg7_defvalue ;
14253 bool result;
14254 wxPoint temp4 ;
14255 wxSize temp5 ;
14256 bool temp7 = False ;
14257 PyObject * obj0 = 0 ;
14258 PyObject * obj1 = 0 ;
14259 PyObject * obj2 = 0 ;
14260 PyObject * obj3 = 0 ;
14261 PyObject * obj4 = 0 ;
14262 PyObject * obj5 = 0 ;
14263 PyObject * obj6 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14271 {
14272 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 if (obj3) {
14276 {
14277 arg4 = &temp4;
14278 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14279 }
14280 }
14281 if (obj4) {
14282 {
14283 arg5 = &temp5;
14284 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14285 }
14286 }
14287 if (obj5) {
14288 {
14289 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14290 if (PyErr_Occurred()) SWIG_fail;
14291 }
14292 }
14293 if (obj6) {
14294 {
14295 arg7 = wxString_in_helper(obj6);
14296 if (arg7 == NULL) SWIG_fail;
14297 temp7 = True;
14298 }
14299 }
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = SWIG_PyObj_FromBool((bool)result);
14308 {
14309 if (temp7)
14310 delete arg7;
14311 }
14312 return resultobj;
14313 fail:
14314 {
14315 if (temp7)
14316 delete arg7;
14317 }
14318 return NULL;
14319 }
14320
14321
14322 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxListbook *arg1 = (wxListbook *) 0 ;
14325 bool result;
14326 PyObject * obj0 = 0 ;
14327 char *kwnames[] = {
14328 (char *) "self", NULL
14329 };
14330
14331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 result = (bool)((wxListbook const *)arg1)->IsVertical();
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 resultobj = SWIG_PyObj_FromBool((bool)result);
14341 return resultobj;
14342 fail:
14343 return NULL;
14344 }
14345
14346
14347 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14348 PyObject *obj;
14349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14350 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14351 Py_INCREF(obj);
14352 return Py_BuildValue((char *)"");
14353 }
14354 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14357 int arg2 = (int) 0 ;
14358 int arg3 = (int) -1 ;
14359 int arg4 = (int) -1 ;
14360 wxListbookEvent *result;
14361 PyObject * obj0 = 0 ;
14362 PyObject * obj1 = 0 ;
14363 PyObject * obj2 = 0 ;
14364 PyObject * obj3 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14370 if (obj0) {
14371 {
14372 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14373 if (PyErr_Occurred()) SWIG_fail;
14374 }
14375 }
14376 if (obj1) {
14377 {
14378 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14379 if (PyErr_Occurred()) SWIG_fail;
14380 }
14381 }
14382 if (obj2) {
14383 {
14384 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
14387 }
14388 if (obj3) {
14389 {
14390 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 }
14394 {
14395 PyThreadState* __tstate = wxPyBeginAllowThreads();
14396 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14397
14398 wxPyEndAllowThreads(__tstate);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
14402 return resultobj;
14403 fail:
14404 return NULL;
14405 }
14406
14407
14408 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14409 PyObject *obj;
14410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14411 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14412 Py_INCREF(obj);
14413 return Py_BuildValue((char *)"");
14414 }
14415 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14416 PyObject *resultobj;
14417 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14418 wxBookCtrlSizer *result;
14419 PyObject * obj0 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "nb", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
14434 return resultobj;
14435 fail:
14436 return NULL;
14437 }
14438
14439
14440 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14443 PyObject * obj0 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "self", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 (arg1)->RecalcSizes();
14453
14454 wxPyEndAllowThreads(__tstate);
14455 if (PyErr_Occurred()) SWIG_fail;
14456 }
14457 Py_INCREF(Py_None); resultobj = Py_None;
14458 return resultobj;
14459 fail:
14460 return NULL;
14461 }
14462
14463
14464 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14465 PyObject *resultobj;
14466 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14467 wxSize result;
14468 PyObject * obj0 = 0 ;
14469 char *kwnames[] = {
14470 (char *) "self", NULL
14471 };
14472
14473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 result = (arg1)->CalcMin();
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 {
14483 wxSize * resultptr;
14484 resultptr = new wxSize((wxSize &) result);
14485 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14486 }
14487 return resultobj;
14488 fail:
14489 return NULL;
14490 }
14491
14492
14493 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14494 PyObject *resultobj;
14495 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14496 wxBookCtrl *result;
14497 PyObject * obj0 = 0 ;
14498 char *kwnames[] = {
14499 (char *) "self", NULL
14500 };
14501
14502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14504 {
14505 PyThreadState* __tstate = wxPyBeginAllowThreads();
14506 result = (wxBookCtrl *)(arg1)->GetControl();
14507
14508 wxPyEndAllowThreads(__tstate);
14509 if (PyErr_Occurred()) SWIG_fail;
14510 }
14511 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
14512 return resultobj;
14513 fail:
14514 return NULL;
14515 }
14516
14517
14518 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14519 PyObject *obj;
14520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14521 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14522 Py_INCREF(obj);
14523 return Py_BuildValue((char *)"");
14524 }
14525 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14526 PyObject *resultobj;
14527 wxNotebook *arg1 = (wxNotebook *) 0 ;
14528 wxNotebookSizer *result;
14529 PyObject * obj0 = 0 ;
14530 char *kwnames[] = {
14531 (char *) "nb", NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14536 {
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
14544 return resultobj;
14545 fail:
14546 return NULL;
14547 }
14548
14549
14550 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 (arg1)->RecalcSizes();
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 Py_INCREF(Py_None); resultobj = Py_None;
14568 return resultobj;
14569 fail:
14570 return NULL;
14571 }
14572
14573
14574 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14577 wxSize result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (arg1)->CalcMin();
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 {
14593 wxSize * resultptr;
14594 resultptr = new wxSize((wxSize &) result);
14595 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14596 }
14597 return resultobj;
14598 fail:
14599 return NULL;
14600 }
14601
14602
14603 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14604 PyObject *resultobj;
14605 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14606 wxNotebook *result;
14607 PyObject * obj0 = 0 ;
14608 char *kwnames[] = {
14609 (char *) "self", NULL
14610 };
14611
14612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (wxNotebook *)(arg1)->GetNotebook();
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
14621 {
14622 resultobj = wxPyMake_wxObject(result);
14623 }
14624 return resultobj;
14625 fail:
14626 return NULL;
14627 }
14628
14629
14630 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14631 PyObject *obj;
14632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14633 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14634 Py_INCREF(obj);
14635 return Py_BuildValue((char *)"");
14636 }
14637 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14640 int result;
14641 PyObject * obj0 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "self", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 result = (int)(arg1)->GetId();
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 resultobj = SWIG_PyObj_FromInt((int)result);
14656 return resultobj;
14657 fail:
14658 return NULL;
14659 }
14660
14661
14662 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14665 wxControl *result;
14666 PyObject * obj0 = 0 ;
14667 char *kwnames[] = {
14668 (char *) "self", NULL
14669 };
14670
14671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 result = (wxControl *)(arg1)->GetControl();
14676
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 {
14681 resultobj = wxPyMake_wxObject(result);
14682 }
14683 return resultobj;
14684 fail:
14685 return NULL;
14686 }
14687
14688
14689 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14692 wxToolBarBase *result;
14693 PyObject * obj0 = 0 ;
14694 char *kwnames[] = {
14695 (char *) "self", NULL
14696 };
14697
14698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14700 {
14701 PyThreadState* __tstate = wxPyBeginAllowThreads();
14702 result = (wxToolBarBase *)(arg1)->GetToolBar();
14703
14704 wxPyEndAllowThreads(__tstate);
14705 if (PyErr_Occurred()) SWIG_fail;
14706 }
14707 {
14708 resultobj = wxPyMake_wxObject(result);
14709 }
14710 return resultobj;
14711 fail:
14712 return NULL;
14713 }
14714
14715
14716 static PyObject *_wrap_ToolBarToolBase_IsButton(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_IsButton",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)->IsButton();
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_IsControl(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_IsControl",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)->IsControl();
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_IsSeparator(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_IsSeparator",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)->IsSeparator();
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_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14792 PyObject *resultobj;
14793 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14794 int result;
14795 PyObject * obj0 = 0 ;
14796 char *kwnames[] = {
14797 (char *) "self", NULL
14798 };
14799
14800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",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 = (int)(arg1)->GetStyle();
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 resultobj = SWIG_PyObj_FromInt((int)result);
14810 return resultobj;
14811 fail:
14812 return NULL;
14813 }
14814
14815
14816 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
14817 PyObject *resultobj;
14818 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14819 int result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14827 {
14828 PyThreadState* __tstate = wxPyBeginAllowThreads();
14829 result = (int)(arg1)->GetKind();
14830
14831 wxPyEndAllowThreads(__tstate);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 resultobj = SWIG_PyObj_FromInt((int)result);
14835 return resultobj;
14836 fail:
14837 return NULL;
14838 }
14839
14840
14841 static PyObject *_wrap_ToolBarToolBase_IsEnabled(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_IsEnabled",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)->IsEnabled();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 resultobj = SWIG_PyObj_FromBool((bool)result);
14860 return resultobj;
14861 fail:
14862 return NULL;
14863 }
14864
14865
14866 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14869 bool result;
14870 PyObject * obj0 = 0 ;
14871 char *kwnames[] = {
14872 (char *) "self", NULL
14873 };
14874
14875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",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 result = (bool)(arg1)->IsToggled();
14880
14881 wxPyEndAllowThreads(__tstate);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 resultobj = SWIG_PyObj_FromBool((bool)result);
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14894 bool result;
14895 PyObject * obj0 = 0 ;
14896 char *kwnames[] = {
14897 (char *) "self", NULL
14898 };
14899
14900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
14901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (bool)(arg1)->CanBeToggled();
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 resultobj = SWIG_PyObj_FromBool((bool)result);
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj;
14918 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14919 wxBitmap *result;
14920 PyObject * obj0 = 0 ;
14921 char *kwnames[] = {
14922 (char *) "self", NULL
14923 };
14924
14925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
14926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
14929 {
14930 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
14931 result = (wxBitmap *) &_result_ref;
14932 }
14933
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14938 return resultobj;
14939 fail:
14940 return NULL;
14941 }
14942
14943
14944 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14945 PyObject *resultobj;
14946 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14947 wxBitmap *result;
14948 PyObject * obj0 = 0 ;
14949 char *kwnames[] = {
14950 (char *) "self", NULL
14951 };
14952
14953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
14954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14955 {
14956 PyThreadState* __tstate = wxPyBeginAllowThreads();
14957 {
14958 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
14959 result = (wxBitmap *) &_result_ref;
14960 }
14961
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14966 return resultobj;
14967 fail:
14968 return NULL;
14969 }
14970
14971
14972 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj;
14974 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14975 wxBitmap result;
14976 PyObject * obj0 = 0 ;
14977 char *kwnames[] = {
14978 (char *) "self", NULL
14979 };
14980
14981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
14982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14983 {
14984 PyThreadState* __tstate = wxPyBeginAllowThreads();
14985 result = (arg1)->GetBitmap();
14986
14987 wxPyEndAllowThreads(__tstate);
14988 if (PyErr_Occurred()) SWIG_fail;
14989 }
14990 {
14991 wxBitmap * resultptr;
14992 resultptr = new wxBitmap((wxBitmap &) result);
14993 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
14994 }
14995 return resultobj;
14996 fail:
14997 return NULL;
14998 }
14999
15000
15001 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15002 PyObject *resultobj;
15003 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15004 wxString result;
15005 PyObject * obj0 = 0 ;
15006 char *kwnames[] = {
15007 (char *) "self", NULL
15008 };
15009
15010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15012 {
15013 PyThreadState* __tstate = wxPyBeginAllowThreads();
15014 result = (arg1)->GetLabel();
15015
15016 wxPyEndAllowThreads(__tstate);
15017 if (PyErr_Occurred()) SWIG_fail;
15018 }
15019 {
15020 #if wxUSE_UNICODE
15021 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15022 #else
15023 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15024 #endif
15025 }
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj;
15034 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15035 wxString result;
15036 PyObject * obj0 = 0 ;
15037 char *kwnames[] = {
15038 (char *) "self", NULL
15039 };
15040
15041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 result = (arg1)->GetShortHelp();
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 {
15051 #if wxUSE_UNICODE
15052 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15053 #else
15054 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15055 #endif
15056 }
15057 return resultobj;
15058 fail:
15059 return NULL;
15060 }
15061
15062
15063 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15064 PyObject *resultobj;
15065 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15066 wxString result;
15067 PyObject * obj0 = 0 ;
15068 char *kwnames[] = {
15069 (char *) "self", NULL
15070 };
15071
15072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15074 {
15075 PyThreadState* __tstate = wxPyBeginAllowThreads();
15076 result = (arg1)->GetLongHelp();
15077
15078 wxPyEndAllowThreads(__tstate);
15079 if (PyErr_Occurred()) SWIG_fail;
15080 }
15081 {
15082 #if wxUSE_UNICODE
15083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15084 #else
15085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15086 #endif
15087 }
15088 return resultobj;
15089 fail:
15090 return NULL;
15091 }
15092
15093
15094 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15097 bool arg2 ;
15098 bool result;
15099 PyObject * obj0 = 0 ;
15100 PyObject * obj1 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self",(char *) "enable", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15107 {
15108 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 {
15112 PyThreadState* __tstate = wxPyBeginAllowThreads();
15113 result = (bool)(arg1)->Enable(arg2);
15114
15115 wxPyEndAllowThreads(__tstate);
15116 if (PyErr_Occurred()) SWIG_fail;
15117 }
15118 resultobj = SWIG_PyObj_FromBool((bool)result);
15119 return resultobj;
15120 fail:
15121 return NULL;
15122 }
15123
15124
15125 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15126 PyObject *resultobj;
15127 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15128 PyObject * obj0 = 0 ;
15129 char *kwnames[] = {
15130 (char *) "self", NULL
15131 };
15132
15133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 (arg1)->Toggle();
15138
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15142 Py_INCREF(Py_None); resultobj = Py_None;
15143 return resultobj;
15144 fail:
15145 return NULL;
15146 }
15147
15148
15149 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15150 PyObject *resultobj;
15151 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15152 bool arg2 ;
15153 bool result;
15154 PyObject * obj0 = 0 ;
15155 PyObject * obj1 = 0 ;
15156 char *kwnames[] = {
15157 (char *) "self",(char *) "toggle", NULL
15158 };
15159
15160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15162 {
15163 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15164 if (PyErr_Occurred()) SWIG_fail;
15165 }
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 result = (bool)(arg1)->SetToggle(arg2);
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 resultobj = SWIG_PyObj_FromBool((bool)result);
15174 return resultobj;
15175 fail:
15176 return NULL;
15177 }
15178
15179
15180 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15181 PyObject *resultobj;
15182 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15183 wxString *arg2 = 0 ;
15184 bool result;
15185 bool temp2 = False ;
15186 PyObject * obj0 = 0 ;
15187 PyObject * obj1 = 0 ;
15188 char *kwnames[] = {
15189 (char *) "self",(char *) "help", NULL
15190 };
15191
15192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15194 {
15195 arg2 = wxString_in_helper(obj1);
15196 if (arg2 == NULL) SWIG_fail;
15197 temp2 = True;
15198 }
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 resultobj = SWIG_PyObj_FromBool((bool)result);
15207 {
15208 if (temp2)
15209 delete arg2;
15210 }
15211 return resultobj;
15212 fail:
15213 {
15214 if (temp2)
15215 delete arg2;
15216 }
15217 return NULL;
15218 }
15219
15220
15221 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15222 PyObject *resultobj;
15223 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15224 wxString *arg2 = 0 ;
15225 bool result;
15226 bool temp2 = False ;
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 char *kwnames[] = {
15230 (char *) "self",(char *) "help", NULL
15231 };
15232
15233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15235 {
15236 arg2 = wxString_in_helper(obj1);
15237 if (arg2 == NULL) SWIG_fail;
15238 temp2 = True;
15239 }
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 resultobj = SWIG_PyObj_FromBool((bool)result);
15248 {
15249 if (temp2)
15250 delete arg2;
15251 }
15252 return resultobj;
15253 fail:
15254 {
15255 if (temp2)
15256 delete arg2;
15257 }
15258 return NULL;
15259 }
15260
15261
15262 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15263 PyObject *resultobj;
15264 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15265 wxBitmap *arg2 = 0 ;
15266 PyObject * obj0 = 0 ;
15267 PyObject * obj1 = 0 ;
15268 char *kwnames[] = {
15269 (char *) "self",(char *) "bmp", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15274 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15275 if (arg2 == NULL) {
15276 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15277 }
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15281
15282 wxPyEndAllowThreads(__tstate);
15283 if (PyErr_Occurred()) SWIG_fail;
15284 }
15285 Py_INCREF(Py_None); resultobj = Py_None;
15286 return resultobj;
15287 fail:
15288 return NULL;
15289 }
15290
15291
15292 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15295 wxBitmap *arg2 = 0 ;
15296 PyObject * obj0 = 0 ;
15297 PyObject * obj1 = 0 ;
15298 char *kwnames[] = {
15299 (char *) "self",(char *) "bmp", NULL
15300 };
15301
15302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15305 if (arg2 == NULL) {
15306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15307 }
15308 {
15309 PyThreadState* __tstate = wxPyBeginAllowThreads();
15310 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 Py_INCREF(Py_None); resultobj = Py_None;
15316 return resultobj;
15317 fail:
15318 return NULL;
15319 }
15320
15321
15322 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15325 wxString *arg2 = 0 ;
15326 bool temp2 = False ;
15327 PyObject * obj0 = 0 ;
15328 PyObject * obj1 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self",(char *) "label", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15335 {
15336 arg2 = wxString_in_helper(obj1);
15337 if (arg2 == NULL) SWIG_fail;
15338 temp2 = True;
15339 }
15340 {
15341 PyThreadState* __tstate = wxPyBeginAllowThreads();
15342 (arg1)->SetLabel((wxString const &)*arg2);
15343
15344 wxPyEndAllowThreads(__tstate);
15345 if (PyErr_Occurred()) SWIG_fail;
15346 }
15347 Py_INCREF(Py_None); resultobj = Py_None;
15348 {
15349 if (temp2)
15350 delete arg2;
15351 }
15352 return resultobj;
15353 fail:
15354 {
15355 if (temp2)
15356 delete arg2;
15357 }
15358 return NULL;
15359 }
15360
15361
15362 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15363 PyObject *resultobj;
15364 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15365 PyObject * obj0 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 (arg1)->Detach();
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 Py_INCREF(Py_None); resultobj = Py_None;
15380 return resultobj;
15381 fail:
15382 return NULL;
15383 }
15384
15385
15386 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15387 PyObject *resultobj;
15388 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15389 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15390 PyObject * obj0 = 0 ;
15391 PyObject * obj1 = 0 ;
15392 char *kwnames[] = {
15393 (char *) "self",(char *) "tbar", NULL
15394 };
15395
15396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15398 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 (arg1)->Attach(arg2);
15402
15403 wxPyEndAllowThreads(__tstate);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 }
15406 Py_INCREF(Py_None); resultobj = Py_None;
15407 return resultobj;
15408 fail:
15409 return NULL;
15410 }
15411
15412
15413 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15414 PyObject *resultobj;
15415 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15416 PyObject *result;
15417 PyObject * obj0 = 0 ;
15418 char *kwnames[] = {
15419 (char *) "self", NULL
15420 };
15421
15422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15424 {
15425 PyThreadState* __tstate = wxPyBeginAllowThreads();
15426 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15427
15428 wxPyEndAllowThreads(__tstate);
15429 if (PyErr_Occurred()) SWIG_fail;
15430 }
15431 resultobj = result;
15432 return resultobj;
15433 fail:
15434 return NULL;
15435 }
15436
15437
15438 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15439 PyObject *resultobj;
15440 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15441 PyObject *arg2 = (PyObject *) 0 ;
15442 PyObject * obj0 = 0 ;
15443 PyObject * obj1 = 0 ;
15444 char *kwnames[] = {
15445 (char *) "self",(char *) "clientData", NULL
15446 };
15447
15448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15450 arg2 = obj1;
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 wxToolBarToolBase_SetClientData(arg1,arg2);
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 Py_INCREF(Py_None); resultobj = Py_None;
15459 return resultobj;
15460 fail:
15461 return NULL;
15462 }
15463
15464
15465 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15466 PyObject *obj;
15467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15468 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15469 Py_INCREF(obj);
15470 return Py_BuildValue((char *)"");
15471 }
15472 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15473 PyObject *resultobj;
15474 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15475 int arg2 ;
15476 wxString *arg3 = 0 ;
15477 wxBitmap *arg4 = 0 ;
15478 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15479 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15480 int arg6 = (int) wxITEM_NORMAL ;
15481 wxString const &arg7_defvalue = wxPyEmptyString ;
15482 wxString *arg7 = (wxString *) &arg7_defvalue ;
15483 wxString const &arg8_defvalue = wxPyEmptyString ;
15484 wxString *arg8 = (wxString *) &arg8_defvalue ;
15485 PyObject *arg9 = (PyObject *) NULL ;
15486 wxToolBarToolBase *result;
15487 bool temp3 = False ;
15488 bool temp7 = False ;
15489 bool temp8 = False ;
15490 PyObject * obj0 = 0 ;
15491 PyObject * obj1 = 0 ;
15492 PyObject * obj2 = 0 ;
15493 PyObject * obj3 = 0 ;
15494 PyObject * obj4 = 0 ;
15495 PyObject * obj5 = 0 ;
15496 PyObject * obj6 = 0 ;
15497 PyObject * obj7 = 0 ;
15498 PyObject * obj8 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15505 {
15506 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15507 if (PyErr_Occurred()) SWIG_fail;
15508 }
15509 {
15510 arg3 = wxString_in_helper(obj2);
15511 if (arg3 == NULL) SWIG_fail;
15512 temp3 = True;
15513 }
15514 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15515 if (arg4 == NULL) {
15516 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15517 }
15518 if (obj4) {
15519 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15520 if (arg5 == NULL) {
15521 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15522 }
15523 }
15524 if (obj5) {
15525 {
15526 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
15527 if (PyErr_Occurred()) SWIG_fail;
15528 }
15529 }
15530 if (obj6) {
15531 {
15532 arg7 = wxString_in_helper(obj6);
15533 if (arg7 == NULL) SWIG_fail;
15534 temp7 = True;
15535 }
15536 }
15537 if (obj7) {
15538 {
15539 arg8 = wxString_in_helper(obj7);
15540 if (arg8 == NULL) SWIG_fail;
15541 temp8 = True;
15542 }
15543 }
15544 if (obj8) {
15545 arg9 = obj8;
15546 }
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 {
15555 resultobj = wxPyMake_wxObject(result);
15556 }
15557 {
15558 if (temp3)
15559 delete arg3;
15560 }
15561 {
15562 if (temp7)
15563 delete arg7;
15564 }
15565 {
15566 if (temp8)
15567 delete arg8;
15568 }
15569 return resultobj;
15570 fail:
15571 {
15572 if (temp3)
15573 delete arg3;
15574 }
15575 {
15576 if (temp7)
15577 delete arg7;
15578 }
15579 {
15580 if (temp8)
15581 delete arg8;
15582 }
15583 return NULL;
15584 }
15585
15586
15587 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15590 size_t arg2 ;
15591 int arg3 ;
15592 wxString *arg4 = 0 ;
15593 wxBitmap *arg5 = 0 ;
15594 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15595 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15596 int arg7 = (int) wxITEM_NORMAL ;
15597 wxString const &arg8_defvalue = wxPyEmptyString ;
15598 wxString *arg8 = (wxString *) &arg8_defvalue ;
15599 wxString const &arg9_defvalue = wxPyEmptyString ;
15600 wxString *arg9 = (wxString *) &arg9_defvalue ;
15601 PyObject *arg10 = (PyObject *) NULL ;
15602 wxToolBarToolBase *result;
15603 bool temp4 = False ;
15604 bool temp8 = False ;
15605 bool temp9 = False ;
15606 PyObject * obj0 = 0 ;
15607 PyObject * obj1 = 0 ;
15608 PyObject * obj2 = 0 ;
15609 PyObject * obj3 = 0 ;
15610 PyObject * obj4 = 0 ;
15611 PyObject * obj5 = 0 ;
15612 PyObject * obj6 = 0 ;
15613 PyObject * obj7 = 0 ;
15614 PyObject * obj8 = 0 ;
15615 PyObject * obj9 = 0 ;
15616 char *kwnames[] = {
15617 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15618 };
15619
15620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15622 {
15623 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 {
15627 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 {
15631 arg4 = wxString_in_helper(obj3);
15632 if (arg4 == NULL) SWIG_fail;
15633 temp4 = True;
15634 }
15635 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15636 if (arg5 == NULL) {
15637 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15638 }
15639 if (obj5) {
15640 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15641 if (arg6 == NULL) {
15642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15643 }
15644 }
15645 if (obj6) {
15646 {
15647 arg7 = (wxItemKind) SWIG_PyObj_AsInt(obj6);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 }
15651 if (obj7) {
15652 {
15653 arg8 = wxString_in_helper(obj7);
15654 if (arg8 == NULL) SWIG_fail;
15655 temp8 = True;
15656 }
15657 }
15658 if (obj8) {
15659 {
15660 arg9 = wxString_in_helper(obj8);
15661 if (arg9 == NULL) SWIG_fail;
15662 temp9 = True;
15663 }
15664 }
15665 if (obj9) {
15666 arg10 = obj9;
15667 }
15668 {
15669 PyThreadState* __tstate = wxPyBeginAllowThreads();
15670 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);
15671
15672 wxPyEndAllowThreads(__tstate);
15673 if (PyErr_Occurred()) SWIG_fail;
15674 }
15675 {
15676 resultobj = wxPyMake_wxObject(result);
15677 }
15678 {
15679 if (temp4)
15680 delete arg4;
15681 }
15682 {
15683 if (temp8)
15684 delete arg8;
15685 }
15686 {
15687 if (temp9)
15688 delete arg9;
15689 }
15690 return resultobj;
15691 fail:
15692 {
15693 if (temp4)
15694 delete arg4;
15695 }
15696 {
15697 if (temp8)
15698 delete arg8;
15699 }
15700 {
15701 if (temp9)
15702 delete arg9;
15703 }
15704 return NULL;
15705 }
15706
15707
15708 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15709 PyObject *resultobj;
15710 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15711 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15712 wxToolBarToolBase *result;
15713 PyObject * obj0 = 0 ;
15714 PyObject * obj1 = 0 ;
15715 char *kwnames[] = {
15716 (char *) "self",(char *) "tool", NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 {
15730 resultobj = wxPyMake_wxObject(result);
15731 }
15732 return resultobj;
15733 fail:
15734 return NULL;
15735 }
15736
15737
15738 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15739 PyObject *resultobj;
15740 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15741 size_t arg2 ;
15742 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15743 wxToolBarToolBase *result;
15744 PyObject * obj0 = 0 ;
15745 PyObject * obj1 = 0 ;
15746 PyObject * obj2 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self",(char *) "pos",(char *) "tool", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15753 {
15754 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 {
15766 resultobj = wxPyMake_wxObject(result);
15767 }
15768 return resultobj;
15769 fail:
15770 return NULL;
15771 }
15772
15773
15774 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15777 wxControl *arg2 = (wxControl *) 0 ;
15778 wxToolBarToolBase *result;
15779 PyObject * obj0 = 0 ;
15780 PyObject * obj1 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self",(char *) "control", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
15790 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15791
15792 wxPyEndAllowThreads(__tstate);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 {
15796 resultobj = wxPyMake_wxObject(result);
15797 }
15798 return resultobj;
15799 fail:
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15807 size_t arg2 ;
15808 wxControl *arg3 = (wxControl *) 0 ;
15809 wxToolBarToolBase *result;
15810 PyObject * obj0 = 0 ;
15811 PyObject * obj1 = 0 ;
15812 PyObject * obj2 = 0 ;
15813 char *kwnames[] = {
15814 (char *) "self",(char *) "pos",(char *) "control", NULL
15815 };
15816
15817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15819 {
15820 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15821 if (PyErr_Occurred()) SWIG_fail;
15822 }
15823 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 {
15832 resultobj = wxPyMake_wxObject(result);
15833 }
15834 return resultobj;
15835 fail:
15836 return NULL;
15837 }
15838
15839
15840 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15841 PyObject *resultobj;
15842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15843 int arg2 ;
15844 wxControl *result;
15845 PyObject * obj0 = 0 ;
15846 PyObject * obj1 = 0 ;
15847 char *kwnames[] = {
15848 (char *) "self",(char *) "id", NULL
15849 };
15850
15851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15853 {
15854 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 result = (wxControl *)(arg1)->FindControl(arg2);
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 {
15865 resultobj = wxPyMake_wxObject(result);
15866 }
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15876 wxToolBarToolBase *result;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
15887
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 {
15892 resultobj = wxPyMake_wxObject(result);
15893 }
15894 return resultobj;
15895 fail:
15896 return NULL;
15897 }
15898
15899
15900 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15901 PyObject *resultobj;
15902 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15903 size_t arg2 ;
15904 wxToolBarToolBase *result;
15905 PyObject * obj0 = 0 ;
15906 PyObject * obj1 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self",(char *) "pos", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15913 {
15914 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 PyThreadState* __tstate = wxPyBeginAllowThreads();
15919 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
15920
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 {
15925 resultobj = wxPyMake_wxObject(result);
15926 }
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj;
15935 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15936 int arg2 ;
15937 wxToolBarToolBase *result;
15938 PyObject * obj0 = 0 ;
15939 PyObject * obj1 = 0 ;
15940 char *kwnames[] = {
15941 (char *) "self",(char *) "id", NULL
15942 };
15943
15944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15946 {
15947 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15948 if (PyErr_Occurred()) SWIG_fail;
15949 }
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
15953
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 {
15958 resultobj = wxPyMake_wxObject(result);
15959 }
15960 return resultobj;
15961 fail:
15962 return NULL;
15963 }
15964
15965
15966 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
15967 PyObject *resultobj;
15968 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15969 size_t arg2 ;
15970 bool result;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "pos", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15979 {
15980 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 {
15984 PyThreadState* __tstate = wxPyBeginAllowThreads();
15985 result = (bool)(arg1)->DeleteToolByPos(arg2);
15986
15987 wxPyEndAllowThreads(__tstate);
15988 if (PyErr_Occurred()) SWIG_fail;
15989 }
15990 resultobj = SWIG_PyObj_FromBool((bool)result);
15991 return resultobj;
15992 fail:
15993 return NULL;
15994 }
15995
15996
15997 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15998 PyObject *resultobj;
15999 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16000 int arg2 ;
16001 bool result;
16002 PyObject * obj0 = 0 ;
16003 PyObject * obj1 = 0 ;
16004 char *kwnames[] = {
16005 (char *) "self",(char *) "id", NULL
16006 };
16007
16008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16010 {
16011 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 {
16015 PyThreadState* __tstate = wxPyBeginAllowThreads();
16016 result = (bool)(arg1)->DeleteTool(arg2);
16017
16018 wxPyEndAllowThreads(__tstate);
16019 if (PyErr_Occurred()) SWIG_fail;
16020 }
16021 resultobj = SWIG_PyObj_FromBool((bool)result);
16022 return resultobj;
16023 fail:
16024 return NULL;
16025 }
16026
16027
16028 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16029 PyObject *resultobj;
16030 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16031 PyObject * obj0 = 0 ;
16032 char *kwnames[] = {
16033 (char *) "self", NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16038 {
16039 PyThreadState* __tstate = wxPyBeginAllowThreads();
16040 (arg1)->ClearTools();
16041
16042 wxPyEndAllowThreads(__tstate);
16043 if (PyErr_Occurred()) SWIG_fail;
16044 }
16045 Py_INCREF(Py_None); resultobj = Py_None;
16046 return resultobj;
16047 fail:
16048 return NULL;
16049 }
16050
16051
16052 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16053 PyObject *resultobj;
16054 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16055 bool result;
16056 PyObject * obj0 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16063 {
16064 PyThreadState* __tstate = wxPyBeginAllowThreads();
16065 result = (bool)(arg1)->Realize();
16066
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 resultobj = SWIG_PyObj_FromBool((bool)result);
16071 return resultobj;
16072 fail:
16073 return NULL;
16074 }
16075
16076
16077 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16080 int arg2 ;
16081 bool arg3 ;
16082 PyObject * obj0 = 0 ;
16083 PyObject * obj1 = 0 ;
16084 PyObject * obj2 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "id",(char *) "enable", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16091 {
16092 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 {
16096 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 (arg1)->EnableTool(arg2,arg3);
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 Py_INCREF(Py_None); resultobj = Py_None;
16107 return resultobj;
16108 fail:
16109 return NULL;
16110 }
16111
16112
16113 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16116 int arg2 ;
16117 bool arg3 ;
16118 PyObject * obj0 = 0 ;
16119 PyObject * obj1 = 0 ;
16120 PyObject * obj2 = 0 ;
16121 char *kwnames[] = {
16122 (char *) "self",(char *) "id",(char *) "toggle", NULL
16123 };
16124
16125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16127 {
16128 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 {
16132 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 {
16136 PyThreadState* __tstate = wxPyBeginAllowThreads();
16137 (arg1)->ToggleTool(arg2,arg3);
16138
16139 wxPyEndAllowThreads(__tstate);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 }
16142 Py_INCREF(Py_None); resultobj = Py_None;
16143 return resultobj;
16144 fail:
16145 return NULL;
16146 }
16147
16148
16149 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16150 PyObject *resultobj;
16151 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16152 int arg2 ;
16153 bool arg3 ;
16154 PyObject * obj0 = 0 ;
16155 PyObject * obj1 = 0 ;
16156 PyObject * obj2 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "self",(char *) "id",(char *) "toggle", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16163 {
16164 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 {
16168 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 (arg1)->SetToggle(arg2,arg3);
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 Py_INCREF(Py_None); resultobj = Py_None;
16179 return resultobj;
16180 fail:
16181 return NULL;
16182 }
16183
16184
16185 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16188 int arg2 ;
16189 PyObject *result;
16190 PyObject * obj0 = 0 ;
16191 PyObject * obj1 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self",(char *) "id", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16198 {
16199 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 resultobj = result;
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16219 int arg2 ;
16220 PyObject *arg3 = (PyObject *) 0 ;
16221 PyObject * obj0 = 0 ;
16222 PyObject * obj1 = 0 ;
16223 PyObject * obj2 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self",(char *) "id",(char *) "clientData", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16230 {
16231 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 arg3 = obj2;
16235 {
16236 PyThreadState* __tstate = wxPyBeginAllowThreads();
16237 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16238
16239 wxPyEndAllowThreads(__tstate);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 Py_INCREF(Py_None); resultobj = Py_None;
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16252 int arg2 ;
16253 int result;
16254 PyObject * obj0 = 0 ;
16255 PyObject * obj1 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self",(char *) "id", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16262 {
16263 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16264 if (PyErr_Occurred()) SWIG_fail;
16265 }
16266 {
16267 PyThreadState* __tstate = wxPyBeginAllowThreads();
16268 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16269
16270 wxPyEndAllowThreads(__tstate);
16271 if (PyErr_Occurred()) SWIG_fail;
16272 }
16273 resultobj = SWIG_PyObj_FromInt((int)result);
16274 return resultobj;
16275 fail:
16276 return NULL;
16277 }
16278
16279
16280 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16281 PyObject *resultobj;
16282 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16283 int arg2 ;
16284 bool result;
16285 PyObject * obj0 = 0 ;
16286 PyObject * obj1 = 0 ;
16287 char *kwnames[] = {
16288 (char *) "self",(char *) "id", NULL
16289 };
16290
16291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16293 {
16294 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 result = (bool)(arg1)->GetToolState(arg2);
16300
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 resultobj = SWIG_PyObj_FromBool((bool)result);
16305 return resultobj;
16306 fail:
16307 return NULL;
16308 }
16309
16310
16311 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16314 int arg2 ;
16315 bool result;
16316 PyObject * obj0 = 0 ;
16317 PyObject * obj1 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self",(char *) "id", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16324 {
16325 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 {
16329 PyThreadState* __tstate = wxPyBeginAllowThreads();
16330 result = (bool)(arg1)->GetToolEnabled(arg2);
16331
16332 wxPyEndAllowThreads(__tstate);
16333 if (PyErr_Occurred()) SWIG_fail;
16334 }
16335 resultobj = SWIG_PyObj_FromBool((bool)result);
16336 return resultobj;
16337 fail:
16338 return NULL;
16339 }
16340
16341
16342 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16343 PyObject *resultobj;
16344 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16345 int arg2 ;
16346 wxString *arg3 = 0 ;
16347 bool temp3 = False ;
16348 PyObject * obj0 = 0 ;
16349 PyObject * obj1 = 0 ;
16350 PyObject * obj2 = 0 ;
16351 char *kwnames[] = {
16352 (char *) "self",(char *) "id",(char *) "helpString", NULL
16353 };
16354
16355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16357 {
16358 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16359 if (PyErr_Occurred()) SWIG_fail;
16360 }
16361 {
16362 arg3 = wxString_in_helper(obj2);
16363 if (arg3 == NULL) SWIG_fail;
16364 temp3 = True;
16365 }
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16369
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 Py_INCREF(Py_None); resultobj = Py_None;
16374 {
16375 if (temp3)
16376 delete arg3;
16377 }
16378 return resultobj;
16379 fail:
16380 {
16381 if (temp3)
16382 delete arg3;
16383 }
16384 return NULL;
16385 }
16386
16387
16388 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16389 PyObject *resultobj;
16390 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16391 int arg2 ;
16392 wxString result;
16393 PyObject * obj0 = 0 ;
16394 PyObject * obj1 = 0 ;
16395 char *kwnames[] = {
16396 (char *) "self",(char *) "id", NULL
16397 };
16398
16399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16401 {
16402 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 result = (arg1)->GetToolShortHelp(arg2);
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 {
16413 #if wxUSE_UNICODE
16414 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16415 #else
16416 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16417 #endif
16418 }
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16428 int arg2 ;
16429 wxString *arg3 = 0 ;
16430 bool temp3 = False ;
16431 PyObject * obj0 = 0 ;
16432 PyObject * obj1 = 0 ;
16433 PyObject * obj2 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self",(char *) "id",(char *) "helpString", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16440 {
16441 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 {
16445 arg3 = wxString_in_helper(obj2);
16446 if (arg3 == NULL) SWIG_fail;
16447 temp3 = True;
16448 }
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 Py_INCREF(Py_None); resultobj = Py_None;
16457 {
16458 if (temp3)
16459 delete arg3;
16460 }
16461 return resultobj;
16462 fail:
16463 {
16464 if (temp3)
16465 delete arg3;
16466 }
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16474 int arg2 ;
16475 wxString result;
16476 PyObject * obj0 = 0 ;
16477 PyObject * obj1 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "self",(char *) "id", NULL
16480 };
16481
16482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16484 {
16485 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (arg1)->GetToolLongHelp(arg2);
16491
16492 wxPyEndAllowThreads(__tstate);
16493 if (PyErr_Occurred()) SWIG_fail;
16494 }
16495 {
16496 #if wxUSE_UNICODE
16497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16498 #else
16499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16500 #endif
16501 }
16502 return resultobj;
16503 fail:
16504 return NULL;
16505 }
16506
16507
16508 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj;
16510 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16511 int arg2 ;
16512 int arg3 ;
16513 PyObject * obj0 = 0 ;
16514 PyObject * obj1 = 0 ;
16515 PyObject * obj2 = 0 ;
16516 char *kwnames[] = {
16517 (char *) "self",(char *) "x",(char *) "y", NULL
16518 };
16519
16520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16522 {
16523 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 {
16527 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16528 if (PyErr_Occurred()) SWIG_fail;
16529 }
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 (arg1)->SetMargins(arg2,arg3);
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 Py_INCREF(Py_None); resultobj = Py_None;
16538 return resultobj;
16539 fail:
16540 return NULL;
16541 }
16542
16543
16544 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj;
16546 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16547 wxSize *arg2 = 0 ;
16548 wxSize temp2 ;
16549 PyObject * obj0 = 0 ;
16550 PyObject * obj1 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self",(char *) "size", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16557 {
16558 arg2 = &temp2;
16559 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16560 }
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 (arg1)->SetMargins((wxSize const &)*arg2);
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 Py_INCREF(Py_None); resultobj = Py_None;
16569 return resultobj;
16570 fail:
16571 return NULL;
16572 }
16573
16574
16575 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj;
16577 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16578 int arg2 ;
16579 PyObject * obj0 = 0 ;
16580 PyObject * obj1 = 0 ;
16581 char *kwnames[] = {
16582 (char *) "self",(char *) "packing", NULL
16583 };
16584
16585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16587 {
16588 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 (arg1)->SetToolPacking(arg2);
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 Py_INCREF(Py_None); resultobj = Py_None;
16599 return resultobj;
16600 fail:
16601 return NULL;
16602 }
16603
16604
16605 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj;
16607 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16608 int arg2 ;
16609 PyObject * obj0 = 0 ;
16610 PyObject * obj1 = 0 ;
16611 char *kwnames[] = {
16612 (char *) "self",(char *) "separation", NULL
16613 };
16614
16615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16617 {
16618 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16619 if (PyErr_Occurred()) SWIG_fail;
16620 }
16621 {
16622 PyThreadState* __tstate = wxPyBeginAllowThreads();
16623 (arg1)->SetToolSeparation(arg2);
16624
16625 wxPyEndAllowThreads(__tstate);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 Py_INCREF(Py_None); resultobj = Py_None;
16629 return resultobj;
16630 fail:
16631 return NULL;
16632 }
16633
16634
16635 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj;
16637 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16638 wxSize result;
16639 PyObject * obj0 = 0 ;
16640 char *kwnames[] = {
16641 (char *) "self", NULL
16642 };
16643
16644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16646 {
16647 PyThreadState* __tstate = wxPyBeginAllowThreads();
16648 result = (arg1)->GetToolMargins();
16649
16650 wxPyEndAllowThreads(__tstate);
16651 if (PyErr_Occurred()) SWIG_fail;
16652 }
16653 {
16654 wxSize * resultptr;
16655 resultptr = new wxSize((wxSize &) result);
16656 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16657 }
16658 return resultobj;
16659 fail:
16660 return NULL;
16661 }
16662
16663
16664 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16665 PyObject *resultobj;
16666 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16667 wxSize result;
16668 PyObject * obj0 = 0 ;
16669 char *kwnames[] = {
16670 (char *) "self", NULL
16671 };
16672
16673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 result = (arg1)->GetMargins();
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 {
16683 wxSize * resultptr;
16684 resultptr = new wxSize((wxSize &) result);
16685 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16686 }
16687 return resultobj;
16688 fail:
16689 return NULL;
16690 }
16691
16692
16693 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16696 int result;
16697 PyObject * obj0 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "self", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 result = (int)(arg1)->GetToolPacking();
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 resultobj = SWIG_PyObj_FromInt((int)result);
16712 return resultobj;
16713 fail:
16714 return NULL;
16715 }
16716
16717
16718 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16719 PyObject *resultobj;
16720 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16721 int result;
16722 PyObject * obj0 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16729 {
16730 PyThreadState* __tstate = wxPyBeginAllowThreads();
16731 result = (int)(arg1)->GetToolSeparation();
16732
16733 wxPyEndAllowThreads(__tstate);
16734 if (PyErr_Occurred()) SWIG_fail;
16735 }
16736 resultobj = SWIG_PyObj_FromInt((int)result);
16737 return resultobj;
16738 fail:
16739 return NULL;
16740 }
16741
16742
16743 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16744 PyObject *resultobj;
16745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16746 int arg2 ;
16747 PyObject * obj0 = 0 ;
16748 PyObject * obj1 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self",(char *) "nRows", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16755 {
16756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 (arg1)->SetRows(arg2);
16762
16763 wxPyEndAllowThreads(__tstate);
16764 if (PyErr_Occurred()) SWIG_fail;
16765 }
16766 Py_INCREF(Py_None); resultobj = Py_None;
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16776 int arg2 ;
16777 int arg3 ;
16778 PyObject * obj0 = 0 ;
16779 PyObject * obj1 = 0 ;
16780 PyObject * obj2 = 0 ;
16781 char *kwnames[] = {
16782 (char *) "self",(char *) "rows",(char *) "cols", NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16787 {
16788 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 }
16791 {
16792 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 {
16796 PyThreadState* __tstate = wxPyBeginAllowThreads();
16797 (arg1)->SetMaxRowsCols(arg2,arg3);
16798
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 Py_INCREF(Py_None); resultobj = Py_None;
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16812 int result;
16813 PyObject * obj0 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 result = (int)(arg1)->GetMaxRows();
16823
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = SWIG_PyObj_FromInt((int)result);
16828 return resultobj;
16829 fail:
16830 return NULL;
16831 }
16832
16833
16834 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16835 PyObject *resultobj;
16836 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16837 int result;
16838 PyObject * obj0 = 0 ;
16839 char *kwnames[] = {
16840 (char *) "self", NULL
16841 };
16842
16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
16844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16845 {
16846 PyThreadState* __tstate = wxPyBeginAllowThreads();
16847 result = (int)(arg1)->GetMaxCols();
16848
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 resultobj = SWIG_PyObj_FromInt((int)result);
16853 return resultobj;
16854 fail:
16855 return NULL;
16856 }
16857
16858
16859 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16862 wxSize *arg2 = 0 ;
16863 wxSize temp2 ;
16864 PyObject * obj0 = 0 ;
16865 PyObject * obj1 = 0 ;
16866 char *kwnames[] = {
16867 (char *) "self",(char *) "size", NULL
16868 };
16869
16870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
16871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16872 {
16873 arg2 = &temp2;
16874 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16875 }
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 Py_INCREF(Py_None); resultobj = Py_None;
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16893 wxSize result;
16894 PyObject * obj0 = 0 ;
16895 char *kwnames[] = {
16896 (char *) "self", NULL
16897 };
16898
16899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
16900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 result = (arg1)->GetToolBitmapSize();
16904
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 {
16909 wxSize * resultptr;
16910 resultptr = new wxSize((wxSize &) result);
16911 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16912 }
16913 return resultobj;
16914 fail:
16915 return NULL;
16916 }
16917
16918
16919 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16920 PyObject *resultobj;
16921 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16922 wxSize result;
16923 PyObject * obj0 = 0 ;
16924 char *kwnames[] = {
16925 (char *) "self", NULL
16926 };
16927
16928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
16929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16930 {
16931 PyThreadState* __tstate = wxPyBeginAllowThreads();
16932 result = (arg1)->GetToolSize();
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 {
16938 wxSize * resultptr;
16939 resultptr = new wxSize((wxSize &) result);
16940 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16941 }
16942 return resultobj;
16943 fail:
16944 return NULL;
16945 }
16946
16947
16948 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16949 PyObject *resultobj;
16950 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16951 int arg2 ;
16952 int arg3 ;
16953 wxToolBarToolBase *result;
16954 PyObject * obj0 = 0 ;
16955 PyObject * obj1 = 0 ;
16956 PyObject * obj2 = 0 ;
16957 char *kwnames[] = {
16958 (char *) "self",(char *) "x",(char *) "y", NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
16962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16963 {
16964 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 {
16968 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 {
16979 resultobj = wxPyMake_wxObject(result);
16980 }
16981 return resultobj;
16982 fail:
16983 return NULL;
16984 }
16985
16986
16987 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16990 int arg2 ;
16991 wxToolBarToolBase *result;
16992 PyObject * obj0 = 0 ;
16993 PyObject * obj1 = 0 ;
16994 char *kwnames[] = {
16995 (char *) "self",(char *) "toolid", NULL
16996 };
16997
16998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
16999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17000 {
17001 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17002 if (PyErr_Occurred()) SWIG_fail;
17003 }
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 {
17012 resultobj = wxPyMake_wxObject(result);
17013 }
17014 return resultobj;
17015 fail:
17016 return NULL;
17017 }
17018
17019
17020 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17023 bool result;
17024 PyObject * obj0 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "self", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = (bool)(arg1)->IsVertical();
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 resultobj = SWIG_PyObj_FromBool((bool)result);
17039 return resultobj;
17040 fail:
17041 return NULL;
17042 }
17043
17044
17045 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17046 PyObject *obj;
17047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17048 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17049 Py_INCREF(obj);
17050 return Py_BuildValue((char *)"");
17051 }
17052 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17053 PyObject *resultobj;
17054 wxWindow *arg1 = (wxWindow *) 0 ;
17055 int arg2 ;
17056 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17057 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17058 wxSize const &arg4_defvalue = wxDefaultSize ;
17059 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17060 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17061 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17062 wxString *arg6 = (wxString *) &arg6_defvalue ;
17063 wxToolBar *result;
17064 wxPoint temp3 ;
17065 wxSize temp4 ;
17066 bool temp6 = False ;
17067 PyObject * obj0 = 0 ;
17068 PyObject * obj1 = 0 ;
17069 PyObject * obj2 = 0 ;
17070 PyObject * obj3 = 0 ;
17071 PyObject * obj4 = 0 ;
17072 PyObject * obj5 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17079 {
17080 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17081 if (PyErr_Occurred()) SWIG_fail;
17082 }
17083 if (obj2) {
17084 {
17085 arg3 = &temp3;
17086 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17087 }
17088 }
17089 if (obj3) {
17090 {
17091 arg4 = &temp4;
17092 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17093 }
17094 }
17095 if (obj4) {
17096 {
17097 arg5 = (long) SWIG_PyObj_AsLong(obj4);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 }
17101 if (obj5) {
17102 {
17103 arg6 = wxString_in_helper(obj5);
17104 if (arg6 == NULL) SWIG_fail;
17105 temp6 = True;
17106 }
17107 }
17108 {
17109 PyThreadState* __tstate = wxPyBeginAllowThreads();
17110 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17111
17112 wxPyEndAllowThreads(__tstate);
17113 if (PyErr_Occurred()) SWIG_fail;
17114 }
17115 {
17116 resultobj = wxPyMake_wxObject(result);
17117 }
17118 {
17119 if (temp6)
17120 delete arg6;
17121 }
17122 return resultobj;
17123 fail:
17124 {
17125 if (temp6)
17126 delete arg6;
17127 }
17128 return NULL;
17129 }
17130
17131
17132 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17133 PyObject *resultobj;
17134 wxToolBar *result;
17135 char *kwnames[] = {
17136 NULL
17137 };
17138
17139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17140 {
17141 PyThreadState* __tstate = wxPyBeginAllowThreads();
17142 result = (wxToolBar *)new wxToolBar();
17143
17144 wxPyEndAllowThreads(__tstate);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 {
17148 resultobj = wxPyMake_wxObject(result);
17149 }
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxToolBar *arg1 = (wxToolBar *) 0 ;
17159 wxWindow *arg2 = (wxWindow *) 0 ;
17160 int arg3 ;
17161 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17162 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17163 wxSize const &arg5_defvalue = wxDefaultSize ;
17164 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17165 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17166 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17167 wxString *arg7 = (wxString *) &arg7_defvalue ;
17168 bool result;
17169 wxPoint temp4 ;
17170 wxSize temp5 ;
17171 bool temp7 = False ;
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj1 = 0 ;
17174 PyObject * obj2 = 0 ;
17175 PyObject * obj3 = 0 ;
17176 PyObject * obj4 = 0 ;
17177 PyObject * obj5 = 0 ;
17178 PyObject * obj6 = 0 ;
17179 char *kwnames[] = {
17180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17181 };
17182
17183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17186 {
17187 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 if (obj3) {
17191 {
17192 arg4 = &temp4;
17193 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17194 }
17195 }
17196 if (obj4) {
17197 {
17198 arg5 = &temp5;
17199 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17200 }
17201 }
17202 if (obj5) {
17203 {
17204 arg6 = (long) SWIG_PyObj_AsLong(obj5);
17205 if (PyErr_Occurred()) SWIG_fail;
17206 }
17207 }
17208 if (obj6) {
17209 {
17210 arg7 = wxString_in_helper(obj6);
17211 if (arg7 == NULL) SWIG_fail;
17212 temp7 = True;
17213 }
17214 }
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17218
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 resultobj = SWIG_PyObj_FromBool((bool)result);
17223 {
17224 if (temp7)
17225 delete arg7;
17226 }
17227 return resultobj;
17228 fail:
17229 {
17230 if (temp7)
17231 delete arg7;
17232 }
17233 return NULL;
17234 }
17235
17236
17237 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj;
17239 wxToolBar *arg1 = (wxToolBar *) 0 ;
17240 int arg2 ;
17241 int arg3 ;
17242 wxToolBarToolBase *result;
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 PyObject * obj2 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "self",(char *) "x",(char *) "y", NULL
17248 };
17249
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17252 {
17253 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17254 if (PyErr_Occurred()) SWIG_fail;
17255 }
17256 {
17257 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 {
17261 PyThreadState* __tstate = wxPyBeginAllowThreads();
17262 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17263
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 {
17268 resultobj = wxPyMake_wxObject(result);
17269 }
17270 return resultobj;
17271 fail:
17272 return NULL;
17273 }
17274
17275
17276 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17277 PyObject *obj;
17278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17279 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17280 Py_INCREF(obj);
17281 return Py_BuildValue((char *)"");
17282 }
17283 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17284 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17285 return 1;
17286 }
17287
17288
17289 static PyObject *_wrap_ListCtrlNameStr_get() {
17290 PyObject *pyobj;
17291
17292 {
17293 #if wxUSE_UNICODE
17294 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17295 #else
17296 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17297 #endif
17298 }
17299 return pyobj;
17300 }
17301
17302
17303 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj;
17305 wxColour const &arg1_defvalue = wxNullColour ;
17306 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17307 wxColour const &arg2_defvalue = wxNullColour ;
17308 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17309 wxFont const &arg3_defvalue = wxNullFont ;
17310 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17311 wxListItemAttr *result;
17312 wxColour temp1 ;
17313 wxColour temp2 ;
17314 PyObject * obj0 = 0 ;
17315 PyObject * obj1 = 0 ;
17316 PyObject * obj2 = 0 ;
17317 char *kwnames[] = {
17318 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17319 };
17320
17321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17322 if (obj0) {
17323 {
17324 arg1 = &temp1;
17325 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17326 }
17327 }
17328 if (obj1) {
17329 {
17330 arg2 = &temp2;
17331 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17332 }
17333 }
17334 if (obj2) {
17335 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17336 if (arg3 == NULL) {
17337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17338 }
17339 }
17340 {
17341 PyThreadState* __tstate = wxPyBeginAllowThreads();
17342 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17343
17344 wxPyEndAllowThreads(__tstate);
17345 if (PyErr_Occurred()) SWIG_fail;
17346 }
17347 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
17348 return resultobj;
17349 fail:
17350 return NULL;
17351 }
17352
17353
17354 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17357 wxColour *arg2 = 0 ;
17358 wxColour temp2 ;
17359 PyObject * obj0 = 0 ;
17360 PyObject * obj1 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self",(char *) "colText", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17367 {
17368 arg2 = &temp2;
17369 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17370 }
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 (arg1)->SetTextColour((wxColour const &)*arg2);
17374
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 Py_INCREF(Py_None); resultobj = Py_None;
17379 return resultobj;
17380 fail:
17381 return NULL;
17382 }
17383
17384
17385 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17386 PyObject *resultobj;
17387 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17388 wxColour *arg2 = 0 ;
17389 wxColour temp2 ;
17390 PyObject * obj0 = 0 ;
17391 PyObject * obj1 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self",(char *) "colBack", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17398 {
17399 arg2 = &temp2;
17400 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17401 }
17402 {
17403 PyThreadState* __tstate = wxPyBeginAllowThreads();
17404 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17405
17406 wxPyEndAllowThreads(__tstate);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 }
17409 Py_INCREF(Py_None); resultobj = Py_None;
17410 return resultobj;
17411 fail:
17412 return NULL;
17413 }
17414
17415
17416 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17419 wxFont *arg2 = 0 ;
17420 PyObject * obj0 = 0 ;
17421 PyObject * obj1 = 0 ;
17422 char *kwnames[] = {
17423 (char *) "self",(char *) "font", NULL
17424 };
17425
17426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17429 if (arg2 == NULL) {
17430 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17431 }
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 (arg1)->SetFont((wxFont const &)*arg2);
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 Py_INCREF(Py_None); resultobj = Py_None;
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_ListItemAttr_HasTextColour(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_HasTextColour",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)->HasTextColour();
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 resultobj = SWIG_PyObj_FromBool((bool)result);
17465 return resultobj;
17466 fail:
17467 return NULL;
17468 }
17469
17470
17471 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17474 bool result;
17475 PyObject * obj0 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "self", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",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 = (bool)(arg1)->HasBackgroundColour();
17485
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 resultobj = SWIG_PyObj_FromBool((bool)result);
17490 return resultobj;
17491 fail:
17492 return NULL;
17493 }
17494
17495
17496 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17497 PyObject *resultobj;
17498 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17499 bool result;
17500 PyObject * obj0 = 0 ;
17501 char *kwnames[] = {
17502 (char *) "self", NULL
17503 };
17504
17505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17507 {
17508 PyThreadState* __tstate = wxPyBeginAllowThreads();
17509 result = (bool)(arg1)->HasFont();
17510
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
17514 resultobj = SWIG_PyObj_FromBool((bool)result);
17515 return resultobj;
17516 fail:
17517 return NULL;
17518 }
17519
17520
17521 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17522 PyObject *resultobj;
17523 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17524 wxColour result;
17525 PyObject * obj0 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self", NULL
17528 };
17529
17530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 result = (arg1)->GetTextColour();
17535
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 {
17540 wxColour * resultptr;
17541 resultptr = new wxColour((wxColour &) result);
17542 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17543 }
17544 return resultobj;
17545 fail:
17546 return NULL;
17547 }
17548
17549
17550 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17551 PyObject *resultobj;
17552 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17553 wxColour result;
17554 PyObject * obj0 = 0 ;
17555 char *kwnames[] = {
17556 (char *) "self", NULL
17557 };
17558
17559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17561 {
17562 PyThreadState* __tstate = wxPyBeginAllowThreads();
17563 result = (arg1)->GetBackgroundColour();
17564
17565 wxPyEndAllowThreads(__tstate);
17566 if (PyErr_Occurred()) SWIG_fail;
17567 }
17568 {
17569 wxColour * resultptr;
17570 resultptr = new wxColour((wxColour &) result);
17571 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17572 }
17573 return resultobj;
17574 fail:
17575 return NULL;
17576 }
17577
17578
17579 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17582 wxFont result;
17583 PyObject * obj0 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17590 {
17591 PyThreadState* __tstate = wxPyBeginAllowThreads();
17592 result = (arg1)->GetFont();
17593
17594 wxPyEndAllowThreads(__tstate);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 }
17597 {
17598 wxFont * resultptr;
17599 resultptr = new wxFont((wxFont &) result);
17600 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17601 }
17602 return resultobj;
17603 fail:
17604 return NULL;
17605 }
17606
17607
17608 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17609 PyObject *resultobj;
17610 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17611 PyObject * obj0 = 0 ;
17612 char *kwnames[] = {
17613 (char *) "self", NULL
17614 };
17615
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 wxListItemAttr_Destroy(arg1);
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 Py_INCREF(Py_None); resultobj = Py_None;
17626 return resultobj;
17627 fail:
17628 return NULL;
17629 }
17630
17631
17632 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17633 PyObject *obj;
17634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17635 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17636 Py_INCREF(obj);
17637 return Py_BuildValue((char *)"");
17638 }
17639 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17640 PyObject *resultobj;
17641 wxListItem *result;
17642 char *kwnames[] = {
17643 NULL
17644 };
17645
17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = (wxListItem *)new wxListItem();
17650
17651 wxPyEndAllowThreads(__tstate);
17652 if (PyErr_Occurred()) SWIG_fail;
17653 }
17654 {
17655 resultobj = wxPyMake_wxObject(result);
17656 }
17657 return resultobj;
17658 fail:
17659 return NULL;
17660 }
17661
17662
17663 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17664 PyObject *resultobj;
17665 wxListItem *arg1 = (wxListItem *) 0 ;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 delete arg1;
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 Py_INCREF(Py_None); resultobj = Py_None;
17681 return resultobj;
17682 fail:
17683 return NULL;
17684 }
17685
17686
17687 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj;
17689 wxListItem *arg1 = (wxListItem *) 0 ;
17690 PyObject * obj0 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17697 {
17698 PyThreadState* __tstate = wxPyBeginAllowThreads();
17699 (arg1)->Clear();
17700
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 Py_INCREF(Py_None); resultobj = Py_None;
17705 return resultobj;
17706 fail:
17707 return NULL;
17708 }
17709
17710
17711 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17712 PyObject *resultobj;
17713 wxListItem *arg1 = (wxListItem *) 0 ;
17714 PyObject * obj0 = 0 ;
17715 char *kwnames[] = {
17716 (char *) "self", NULL
17717 };
17718
17719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17721 {
17722 PyThreadState* __tstate = wxPyBeginAllowThreads();
17723 (arg1)->ClearAttributes();
17724
17725 wxPyEndAllowThreads(__tstate);
17726 if (PyErr_Occurred()) SWIG_fail;
17727 }
17728 Py_INCREF(Py_None); resultobj = Py_None;
17729 return resultobj;
17730 fail:
17731 return NULL;
17732 }
17733
17734
17735 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17736 PyObject *resultobj;
17737 wxListItem *arg1 = (wxListItem *) 0 ;
17738 long arg2 ;
17739 PyObject * obj0 = 0 ;
17740 PyObject * obj1 = 0 ;
17741 char *kwnames[] = {
17742 (char *) "self",(char *) "mask", NULL
17743 };
17744
17745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17747 {
17748 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 {
17752 PyThreadState* __tstate = wxPyBeginAllowThreads();
17753 (arg1)->SetMask(arg2);
17754
17755 wxPyEndAllowThreads(__tstate);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 }
17758 Py_INCREF(Py_None); resultobj = Py_None;
17759 return resultobj;
17760 fail:
17761 return NULL;
17762 }
17763
17764
17765 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17766 PyObject *resultobj;
17767 wxListItem *arg1 = (wxListItem *) 0 ;
17768 long arg2 ;
17769 PyObject * obj0 = 0 ;
17770 PyObject * obj1 = 0 ;
17771 char *kwnames[] = {
17772 (char *) "self",(char *) "id", NULL
17773 };
17774
17775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17777 {
17778 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 {
17782 PyThreadState* __tstate = wxPyBeginAllowThreads();
17783 (arg1)->SetId(arg2);
17784
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 Py_INCREF(Py_None); resultobj = Py_None;
17789 return resultobj;
17790 fail:
17791 return NULL;
17792 }
17793
17794
17795 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17796 PyObject *resultobj;
17797 wxListItem *arg1 = (wxListItem *) 0 ;
17798 int arg2 ;
17799 PyObject * obj0 = 0 ;
17800 PyObject * obj1 = 0 ;
17801 char *kwnames[] = {
17802 (char *) "self",(char *) "col", NULL
17803 };
17804
17805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17807 {
17808 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 (arg1)->SetColumn(arg2);
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 Py_INCREF(Py_None); resultobj = Py_None;
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxListItem *arg1 = (wxListItem *) 0 ;
17828 long arg2 ;
17829 PyObject * obj0 = 0 ;
17830 PyObject * obj1 = 0 ;
17831 char *kwnames[] = {
17832 (char *) "self",(char *) "state", NULL
17833 };
17834
17835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
17836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17837 {
17838 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17839 if (PyErr_Occurred()) SWIG_fail;
17840 }
17841 {
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 (arg1)->SetState(arg2);
17844
17845 wxPyEndAllowThreads(__tstate);
17846 if (PyErr_Occurred()) SWIG_fail;
17847 }
17848 Py_INCREF(Py_None); resultobj = Py_None;
17849 return resultobj;
17850 fail:
17851 return NULL;
17852 }
17853
17854
17855 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17856 PyObject *resultobj;
17857 wxListItem *arg1 = (wxListItem *) 0 ;
17858 long arg2 ;
17859 PyObject * obj0 = 0 ;
17860 PyObject * obj1 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self",(char *) "stateMask", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
17866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17867 {
17868 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 (arg1)->SetStateMask(arg2);
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 Py_INCREF(Py_None); resultobj = Py_None;
17879 return resultobj;
17880 fail:
17881 return NULL;
17882 }
17883
17884
17885 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17886 PyObject *resultobj;
17887 wxListItem *arg1 = (wxListItem *) 0 ;
17888 wxString *arg2 = 0 ;
17889 bool temp2 = False ;
17890 PyObject * obj0 = 0 ;
17891 PyObject * obj1 = 0 ;
17892 char *kwnames[] = {
17893 (char *) "self",(char *) "text", NULL
17894 };
17895
17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
17897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17898 {
17899 arg2 = wxString_in_helper(obj1);
17900 if (arg2 == NULL) SWIG_fail;
17901 temp2 = True;
17902 }
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 (arg1)->SetText((wxString const &)*arg2);
17906
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 Py_INCREF(Py_None); resultobj = Py_None;
17911 {
17912 if (temp2)
17913 delete arg2;
17914 }
17915 return resultobj;
17916 fail:
17917 {
17918 if (temp2)
17919 delete arg2;
17920 }
17921 return NULL;
17922 }
17923
17924
17925 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxListItem *arg1 = (wxListItem *) 0 ;
17928 int arg2 ;
17929 PyObject * obj0 = 0 ;
17930 PyObject * obj1 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self",(char *) "image", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17937 {
17938 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 (arg1)->SetImage(arg2);
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 Py_INCREF(Py_None); resultobj = Py_None;
17949 return resultobj;
17950 fail:
17951 return NULL;
17952 }
17953
17954
17955 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxListItem *arg1 = (wxListItem *) 0 ;
17958 long arg2 ;
17959 PyObject * obj0 = 0 ;
17960 PyObject * obj1 = 0 ;
17961 char *kwnames[] = {
17962 (char *) "self",(char *) "data", NULL
17963 };
17964
17965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
17966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17967 {
17968 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 (arg1)->SetData(arg2);
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 Py_INCREF(Py_None); resultobj = Py_None;
17979 return resultobj;
17980 fail:
17981 return NULL;
17982 }
17983
17984
17985 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17986 PyObject *resultobj;
17987 wxListItem *arg1 = (wxListItem *) 0 ;
17988 int arg2 ;
17989 PyObject * obj0 = 0 ;
17990 PyObject * obj1 = 0 ;
17991 char *kwnames[] = {
17992 (char *) "self",(char *) "width", NULL
17993 };
17994
17995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
17996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17997 {
17998 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17999 if (PyErr_Occurred()) SWIG_fail;
18000 }
18001 {
18002 PyThreadState* __tstate = wxPyBeginAllowThreads();
18003 (arg1)->SetWidth(arg2);
18004
18005 wxPyEndAllowThreads(__tstate);
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 Py_INCREF(Py_None); resultobj = Py_None;
18009 return resultobj;
18010 fail:
18011 return NULL;
18012 }
18013
18014
18015 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxListItem *arg1 = (wxListItem *) 0 ;
18018 int arg2 ;
18019 PyObject * obj0 = 0 ;
18020 PyObject * obj1 = 0 ;
18021 char *kwnames[] = {
18022 (char *) "self",(char *) "align", NULL
18023 };
18024
18025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18027 {
18028 arg2 = (wxListColumnFormat) SWIG_PyObj_AsInt(obj1);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 {
18032 PyThreadState* __tstate = wxPyBeginAllowThreads();
18033 (arg1)->SetAlign((wxListColumnFormat )arg2);
18034
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 Py_INCREF(Py_None); resultobj = Py_None;
18039 return resultobj;
18040 fail:
18041 return NULL;
18042 }
18043
18044
18045 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18046 PyObject *resultobj;
18047 wxListItem *arg1 = (wxListItem *) 0 ;
18048 wxColour *arg2 = 0 ;
18049 wxColour temp2 ;
18050 PyObject * obj0 = 0 ;
18051 PyObject * obj1 = 0 ;
18052 char *kwnames[] = {
18053 (char *) "self",(char *) "colText", NULL
18054 };
18055
18056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18058 {
18059 arg2 = &temp2;
18060 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18061 }
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 (arg1)->SetTextColour((wxColour const &)*arg2);
18065
18066 wxPyEndAllowThreads(__tstate);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 Py_INCREF(Py_None); resultobj = Py_None;
18070 return resultobj;
18071 fail:
18072 return NULL;
18073 }
18074
18075
18076 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18077 PyObject *resultobj;
18078 wxListItem *arg1 = (wxListItem *) 0 ;
18079 wxColour *arg2 = 0 ;
18080 wxColour temp2 ;
18081 PyObject * obj0 = 0 ;
18082 PyObject * obj1 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self",(char *) "colBack", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18089 {
18090 arg2 = &temp2;
18091 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18092 }
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18096
18097 wxPyEndAllowThreads(__tstate);
18098 if (PyErr_Occurred()) SWIG_fail;
18099 }
18100 Py_INCREF(Py_None); resultobj = Py_None;
18101 return resultobj;
18102 fail:
18103 return NULL;
18104 }
18105
18106
18107 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18108 PyObject *resultobj;
18109 wxListItem *arg1 = (wxListItem *) 0 ;
18110 wxFont *arg2 = 0 ;
18111 PyObject * obj0 = 0 ;
18112 PyObject * obj1 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self",(char *) "font", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18120 if (arg2 == NULL) {
18121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18122 }
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 (arg1)->SetFont((wxFont const &)*arg2);
18126
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 Py_INCREF(Py_None); resultobj = Py_None;
18131 return resultobj;
18132 fail:
18133 return NULL;
18134 }
18135
18136
18137 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18138 PyObject *resultobj;
18139 wxListItem *arg1 = (wxListItem *) 0 ;
18140 long result;
18141 PyObject * obj0 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",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 = (long)(arg1)->GetMask();
18151
18152 wxPyEndAllowThreads(__tstate);
18153 if (PyErr_Occurred()) SWIG_fail;
18154 }
18155 resultobj = SWIG_PyObj_FromLong((long)result);
18156 return resultobj;
18157 fail:
18158 return NULL;
18159 }
18160
18161
18162 static PyObject *_wrap_ListItem_GetId(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_GetId",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)->GetId();
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_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxListItem *arg1 = (wxListItem *) 0 ;
18190 int result;
18191 PyObject * obj0 = 0 ;
18192 char *kwnames[] = {
18193 (char *) "self", NULL
18194 };
18195
18196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",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 result = (int)(arg1)->GetColumn();
18201
18202 wxPyEndAllowThreads(__tstate);
18203 if (PyErr_Occurred()) SWIG_fail;
18204 }
18205 resultobj = SWIG_PyObj_FromInt((int)result);
18206 return resultobj;
18207 fail:
18208 return NULL;
18209 }
18210
18211
18212 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18213 PyObject *resultobj;
18214 wxListItem *arg1 = (wxListItem *) 0 ;
18215 long result;
18216 PyObject * obj0 = 0 ;
18217 char *kwnames[] = {
18218 (char *) "self", NULL
18219 };
18220
18221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 result = (long)(arg1)->GetState();
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 resultobj = SWIG_PyObj_FromLong((long)result);
18231 return resultobj;
18232 fail:
18233 return NULL;
18234 }
18235
18236
18237 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18238 PyObject *resultobj;
18239 wxListItem *arg1 = (wxListItem *) 0 ;
18240 wxString *result;
18241 PyObject * obj0 = 0 ;
18242 char *kwnames[] = {
18243 (char *) "self", NULL
18244 };
18245
18246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 {
18251 wxString const &_result_ref = (arg1)->GetText();
18252 result = (wxString *) &_result_ref;
18253 }
18254
18255 wxPyEndAllowThreads(__tstate);
18256 if (PyErr_Occurred()) SWIG_fail;
18257 }
18258 {
18259 #if wxUSE_UNICODE
18260 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18261 #else
18262 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18263 #endif
18264 }
18265 return resultobj;
18266 fail:
18267 return NULL;
18268 }
18269
18270
18271 static PyObject *_wrap_ListItem_GetImage(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_GetImage",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)->GetImage();
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_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxListItem *arg1 = (wxListItem *) 0 ;
18299 long result;
18300 PyObject * obj0 = 0 ;
18301 char *kwnames[] = {
18302 (char *) "self", NULL
18303 };
18304
18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",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 = (long)(arg1)->GetData();
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 resultobj = SWIG_PyObj_FromLong((long)result);
18315 return resultobj;
18316 fail:
18317 return NULL;
18318 }
18319
18320
18321 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj;
18323 wxListItem *arg1 = (wxListItem *) 0 ;
18324 int result;
18325 PyObject * obj0 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self", NULL
18328 };
18329
18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",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 = (int)(arg1)->GetWidth();
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 resultobj = SWIG_PyObj_FromInt((int)result);
18340 return resultobj;
18341 fail:
18342 return NULL;
18343 }
18344
18345
18346 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj;
18348 wxListItem *arg1 = (wxListItem *) 0 ;
18349 int result;
18350 PyObject * obj0 = 0 ;
18351 char *kwnames[] = {
18352 (char *) "self", NULL
18353 };
18354
18355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",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 = (int)(arg1)->GetAlign();
18360
18361 wxPyEndAllowThreads(__tstate);
18362 if (PyErr_Occurred()) SWIG_fail;
18363 }
18364 resultobj = SWIG_PyObj_FromInt((int)result);
18365 return resultobj;
18366 fail:
18367 return NULL;
18368 }
18369
18370
18371 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18372 PyObject *resultobj;
18373 wxListItem *arg1 = (wxListItem *) 0 ;
18374 wxListItemAttr *result;
18375 PyObject * obj0 = 0 ;
18376 char *kwnames[] = {
18377 (char *) "self", NULL
18378 };
18379
18380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",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 = (wxListItemAttr *)(arg1)->GetAttributes();
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
18390 return resultobj;
18391 fail:
18392 return NULL;
18393 }
18394
18395
18396 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18397 PyObject *resultobj;
18398 wxListItem *arg1 = (wxListItem *) 0 ;
18399 bool result;
18400 PyObject * obj0 = 0 ;
18401 char *kwnames[] = {
18402 (char *) "self", NULL
18403 };
18404
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 result = (bool)(arg1)->HasAttributes();
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 resultobj = SWIG_PyObj_FromBool((bool)result);
18415 return resultobj;
18416 fail:
18417 return NULL;
18418 }
18419
18420
18421 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18422 PyObject *resultobj;
18423 wxListItem *arg1 = (wxListItem *) 0 ;
18424 wxColour result;
18425 PyObject * obj0 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 result = ((wxListItem const *)arg1)->GetTextColour();
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 {
18440 wxColour * resultptr;
18441 resultptr = new wxColour((wxColour &) result);
18442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18443 }
18444 return resultobj;
18445 fail:
18446 return NULL;
18447 }
18448
18449
18450 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxListItem *arg1 = (wxListItem *) 0 ;
18453 wxColour result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18461 {
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 {
18469 wxColour * resultptr;
18470 resultptr = new wxColour((wxColour &) result);
18471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18472 }
18473 return resultobj;
18474 fail:
18475 return NULL;
18476 }
18477
18478
18479 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18480 PyObject *resultobj;
18481 wxListItem *arg1 = (wxListItem *) 0 ;
18482 wxFont result;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = ((wxListItem const *)arg1)->GetFont();
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 {
18498 wxFont * resultptr;
18499 resultptr = new wxFont((wxFont &) result);
18500 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
18501 }
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxListItem *arg1 = (wxListItem *) 0 ;
18511 long arg2 ;
18512 PyObject * obj0 = 0 ;
18513 PyObject * obj1 = 0 ;
18514 char *kwnames[] = {
18515 (char *) "self",(char *) "m_mask", NULL
18516 };
18517
18518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18520 {
18521 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18522 if (PyErr_Occurred()) SWIG_fail;
18523 }
18524 if (arg1) (arg1)->m_mask = arg2;
18525
18526 Py_INCREF(Py_None); resultobj = Py_None;
18527 return resultobj;
18528 fail:
18529 return NULL;
18530 }
18531
18532
18533 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18534 PyObject *resultobj;
18535 wxListItem *arg1 = (wxListItem *) 0 ;
18536 long result;
18537 PyObject * obj0 = 0 ;
18538 char *kwnames[] = {
18539 (char *) "self", NULL
18540 };
18541
18542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18544 result = (long) ((arg1)->m_mask);
18545
18546 resultobj = SWIG_PyObj_FromLong((long)result);
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxListItem *arg1 = (wxListItem *) 0 ;
18556 long arg2 ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self",(char *) "m_itemId", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18565 {
18566 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 if (arg1) (arg1)->m_itemId = arg2;
18570
18571 Py_INCREF(Py_None); resultobj = Py_None;
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxListItem *arg1 = (wxListItem *) 0 ;
18581 long result;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 result = (long) ((arg1)->m_itemId);
18590
18591 resultobj = SWIG_PyObj_FromLong((long)result);
18592 return resultobj;
18593 fail:
18594 return NULL;
18595 }
18596
18597
18598 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18599 PyObject *resultobj;
18600 wxListItem *arg1 = (wxListItem *) 0 ;
18601 int arg2 ;
18602 PyObject * obj0 = 0 ;
18603 PyObject * obj1 = 0 ;
18604 char *kwnames[] = {
18605 (char *) "self",(char *) "m_col", NULL
18606 };
18607
18608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18610 {
18611 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 if (arg1) (arg1)->m_col = arg2;
18615
18616 Py_INCREF(Py_None); resultobj = Py_None;
18617 return resultobj;
18618 fail:
18619 return NULL;
18620 }
18621
18622
18623 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18624 PyObject *resultobj;
18625 wxListItem *arg1 = (wxListItem *) 0 ;
18626 int result;
18627 PyObject * obj0 = 0 ;
18628 char *kwnames[] = {
18629 (char *) "self", NULL
18630 };
18631
18632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18634 result = (int) ((arg1)->m_col);
18635
18636 resultobj = SWIG_PyObj_FromInt((int)result);
18637 return resultobj;
18638 fail:
18639 return NULL;
18640 }
18641
18642
18643 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj;
18645 wxListItem *arg1 = (wxListItem *) 0 ;
18646 long arg2 ;
18647 PyObject * obj0 = 0 ;
18648 PyObject * obj1 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self",(char *) "m_state", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18655 {
18656 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 if (arg1) (arg1)->m_state = arg2;
18660
18661 Py_INCREF(Py_None); resultobj = Py_None;
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18669 PyObject *resultobj;
18670 wxListItem *arg1 = (wxListItem *) 0 ;
18671 long result;
18672 PyObject * obj0 = 0 ;
18673 char *kwnames[] = {
18674 (char *) "self", NULL
18675 };
18676
18677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18679 result = (long) ((arg1)->m_state);
18680
18681 resultobj = SWIG_PyObj_FromLong((long)result);
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxListItem *arg1 = (wxListItem *) 0 ;
18691 long arg2 ;
18692 PyObject * obj0 = 0 ;
18693 PyObject * obj1 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self",(char *) "m_stateMask", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18700 {
18701 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 }
18704 if (arg1) (arg1)->m_stateMask = arg2;
18705
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxListItem *arg1 = (wxListItem *) 0 ;
18716 long result;
18717 PyObject * obj0 = 0 ;
18718 char *kwnames[] = {
18719 (char *) "self", NULL
18720 };
18721
18722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18724 result = (long) ((arg1)->m_stateMask);
18725
18726 resultobj = SWIG_PyObj_FromLong((long)result);
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxListItem *arg1 = (wxListItem *) 0 ;
18736 wxString *arg2 = (wxString *) 0 ;
18737 bool temp2 = False ;
18738 PyObject * obj0 = 0 ;
18739 PyObject * obj1 = 0 ;
18740 char *kwnames[] = {
18741 (char *) "self",(char *) "m_text", NULL
18742 };
18743
18744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18746 {
18747 arg2 = wxString_in_helper(obj1);
18748 if (arg2 == NULL) SWIG_fail;
18749 temp2 = True;
18750 }
18751 if (arg1) (arg1)->m_text = *arg2;
18752
18753 Py_INCREF(Py_None); resultobj = Py_None;
18754 {
18755 if (temp2)
18756 delete arg2;
18757 }
18758 return resultobj;
18759 fail:
18760 {
18761 if (temp2)
18762 delete arg2;
18763 }
18764 return NULL;
18765 }
18766
18767
18768 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18769 PyObject *resultobj;
18770 wxListItem *arg1 = (wxListItem *) 0 ;
18771 wxString *result;
18772 PyObject * obj0 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self", NULL
18775 };
18776
18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18779 result = (wxString *)& ((arg1)->m_text);
18780
18781 {
18782 #if wxUSE_UNICODE
18783 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18784 #else
18785 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18786 #endif
18787 }
18788 return resultobj;
18789 fail:
18790 return NULL;
18791 }
18792
18793
18794 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18795 PyObject *resultobj;
18796 wxListItem *arg1 = (wxListItem *) 0 ;
18797 int arg2 ;
18798 PyObject * obj0 = 0 ;
18799 PyObject * obj1 = 0 ;
18800 char *kwnames[] = {
18801 (char *) "self",(char *) "m_image", NULL
18802 };
18803
18804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18806 {
18807 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18808 if (PyErr_Occurred()) SWIG_fail;
18809 }
18810 if (arg1) (arg1)->m_image = arg2;
18811
18812 Py_INCREF(Py_None); resultobj = Py_None;
18813 return resultobj;
18814 fail:
18815 return NULL;
18816 }
18817
18818
18819 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18820 PyObject *resultobj;
18821 wxListItem *arg1 = (wxListItem *) 0 ;
18822 int result;
18823 PyObject * obj0 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self", NULL
18826 };
18827
18828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
18829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18830 result = (int) ((arg1)->m_image);
18831
18832 resultobj = SWIG_PyObj_FromInt((int)result);
18833 return resultobj;
18834 fail:
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxListItem *arg1 = (wxListItem *) 0 ;
18842 long arg2 ;
18843 PyObject * obj0 = 0 ;
18844 PyObject * obj1 = 0 ;
18845 char *kwnames[] = {
18846 (char *) "self",(char *) "m_data", NULL
18847 };
18848
18849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
18850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18851 {
18852 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18853 if (PyErr_Occurred()) SWIG_fail;
18854 }
18855 if (arg1) (arg1)->m_data = arg2;
18856
18857 Py_INCREF(Py_None); resultobj = Py_None;
18858 return resultobj;
18859 fail:
18860 return NULL;
18861 }
18862
18863
18864 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18865 PyObject *resultobj;
18866 wxListItem *arg1 = (wxListItem *) 0 ;
18867 long result;
18868 PyObject * obj0 = 0 ;
18869 char *kwnames[] = {
18870 (char *) "self", NULL
18871 };
18872
18873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
18874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18875 result = (long) ((arg1)->m_data);
18876
18877 resultobj = SWIG_PyObj_FromLong((long)result);
18878 return resultobj;
18879 fail:
18880 return NULL;
18881 }
18882
18883
18884 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18885 PyObject *resultobj;
18886 wxListItem *arg1 = (wxListItem *) 0 ;
18887 int arg2 ;
18888 PyObject * obj0 = 0 ;
18889 PyObject * obj1 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self",(char *) "m_format", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18896 {
18897 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 if (arg1) (arg1)->m_format = arg2;
18901
18902 Py_INCREF(Py_None); resultobj = Py_None;
18903 return resultobj;
18904 fail:
18905 return NULL;
18906 }
18907
18908
18909 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18910 PyObject *resultobj;
18911 wxListItem *arg1 = (wxListItem *) 0 ;
18912 int result;
18913 PyObject * obj0 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
18919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18920 result = (int) ((arg1)->m_format);
18921
18922 resultobj = SWIG_PyObj_FromInt((int)result);
18923 return resultobj;
18924 fail:
18925 return NULL;
18926 }
18927
18928
18929 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxListItem *arg1 = (wxListItem *) 0 ;
18932 int arg2 ;
18933 PyObject * obj0 = 0 ;
18934 PyObject * obj1 = 0 ;
18935 char *kwnames[] = {
18936 (char *) "self",(char *) "m_width", NULL
18937 };
18938
18939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
18940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18941 {
18942 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 if (arg1) (arg1)->m_width = arg2;
18946
18947 Py_INCREF(Py_None); resultobj = Py_None;
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxListItem *arg1 = (wxListItem *) 0 ;
18957 int result;
18958 PyObject * obj0 = 0 ;
18959 char *kwnames[] = {
18960 (char *) "self", NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
18964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18965 result = (int) ((arg1)->m_width);
18966
18967 resultobj = SWIG_PyObj_FromInt((int)result);
18968 return resultobj;
18969 fail:
18970 return NULL;
18971 }
18972
18973
18974 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
18975 PyObject *obj;
18976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18977 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
18978 Py_INCREF(obj);
18979 return Py_BuildValue((char *)"");
18980 }
18981 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18984 int arg2 = (int) 0 ;
18985 wxListEvent *result;
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "commandType",(char *) "id", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
18993 if (obj0) {
18994 {
18995 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
18996 if (PyErr_Occurred()) SWIG_fail;
18997 }
18998 }
18999 if (obj1) {
19000 {
19001 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 }
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
19013 return resultobj;
19014 fail:
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxListEvent *arg1 = (wxListEvent *) 0 ;
19022 int arg2 ;
19023 PyObject * obj0 = 0 ;
19024 PyObject * obj1 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self",(char *) "m_code", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19031 {
19032 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 if (arg1) (arg1)->m_code = arg2;
19036
19037 Py_INCREF(Py_None); resultobj = Py_None;
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxListEvent *arg1 = (wxListEvent *) 0 ;
19047 int result;
19048 PyObject * obj0 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19055 result = (int) ((arg1)->m_code);
19056
19057 resultobj = SWIG_PyObj_FromInt((int)result);
19058 return resultobj;
19059 fail:
19060 return NULL;
19061 }
19062
19063
19064 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj;
19066 wxListEvent *arg1 = (wxListEvent *) 0 ;
19067 long arg2 ;
19068 PyObject * obj0 = 0 ;
19069 PyObject * obj1 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self",(char *) "m_oldItemIndex", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19076 {
19077 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 if (arg1) (arg1)->m_oldItemIndex = arg2;
19081
19082 Py_INCREF(Py_None); resultobj = Py_None;
19083 return resultobj;
19084 fail:
19085 return NULL;
19086 }
19087
19088
19089 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 wxListEvent *arg1 = (wxListEvent *) 0 ;
19092 long result;
19093 PyObject * obj0 = 0 ;
19094 char *kwnames[] = {
19095 (char *) "self", NULL
19096 };
19097
19098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19100 result = (long) ((arg1)->m_oldItemIndex);
19101
19102 resultobj = SWIG_PyObj_FromLong((long)result);
19103 return resultobj;
19104 fail:
19105 return NULL;
19106 }
19107
19108
19109 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj;
19111 wxListEvent *arg1 = (wxListEvent *) 0 ;
19112 long arg2 ;
19113 PyObject * obj0 = 0 ;
19114 PyObject * obj1 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self",(char *) "m_itemIndex", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19121 {
19122 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 if (arg1) (arg1)->m_itemIndex = arg2;
19126
19127 Py_INCREF(Py_None); resultobj = Py_None;
19128 return resultobj;
19129 fail:
19130 return NULL;
19131 }
19132
19133
19134 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxListEvent *arg1 = (wxListEvent *) 0 ;
19137 long result;
19138 PyObject * obj0 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19145 result = (long) ((arg1)->m_itemIndex);
19146
19147 resultobj = SWIG_PyObj_FromLong((long)result);
19148 return resultobj;
19149 fail:
19150 return NULL;
19151 }
19152
19153
19154 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19155 PyObject *resultobj;
19156 wxListEvent *arg1 = (wxListEvent *) 0 ;
19157 int arg2 ;
19158 PyObject * obj0 = 0 ;
19159 PyObject * obj1 = 0 ;
19160 char *kwnames[] = {
19161 (char *) "self",(char *) "m_col", NULL
19162 };
19163
19164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19166 {
19167 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 if (arg1) (arg1)->m_col = arg2;
19171
19172 Py_INCREF(Py_None); resultobj = Py_None;
19173 return resultobj;
19174 fail:
19175 return NULL;
19176 }
19177
19178
19179 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxListEvent *arg1 = (wxListEvent *) 0 ;
19182 int result;
19183 PyObject * obj0 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19190 result = (int) ((arg1)->m_col);
19191
19192 resultobj = SWIG_PyObj_FromInt((int)result);
19193 return resultobj;
19194 fail:
19195 return NULL;
19196 }
19197
19198
19199 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj;
19201 wxListEvent *arg1 = (wxListEvent *) 0 ;
19202 wxPoint *arg2 = (wxPoint *) 0 ;
19203 PyObject * obj0 = 0 ;
19204 PyObject * obj1 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "m_pointDrag", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19212 if (arg1) (arg1)->m_pointDrag = *arg2;
19213
19214 Py_INCREF(Py_None); resultobj = Py_None;
19215 return resultobj;
19216 fail:
19217 return NULL;
19218 }
19219
19220
19221 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj;
19223 wxListEvent *arg1 = (wxListEvent *) 0 ;
19224 wxPoint *result;
19225 PyObject * obj0 = 0 ;
19226 char *kwnames[] = {
19227 (char *) "self", NULL
19228 };
19229
19230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19232 result = (wxPoint *)& ((arg1)->m_pointDrag);
19233
19234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
19235 return resultobj;
19236 fail:
19237 return NULL;
19238 }
19239
19240
19241 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19242 PyObject *resultobj;
19243 wxListEvent *arg1 = (wxListEvent *) 0 ;
19244 wxListItem *result;
19245 PyObject * obj0 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "self", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19252 result = (wxListItem *)& ((arg1)->m_item);
19253
19254 {
19255 resultobj = wxPyMake_wxObject(result);
19256 }
19257 return resultobj;
19258 fail:
19259 return NULL;
19260 }
19261
19262
19263 static PyObject *_wrap_ListEvent_GetKeyCode(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_GetKeyCode",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)->GetKeyCode();
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_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19289 PyObject *resultobj;
19290 wxListEvent *arg1 = (wxListEvent *) 0 ;
19291 long result;
19292 PyObject * obj0 = 0 ;
19293 char *kwnames[] = {
19294 (char *) "self", NULL
19295 };
19296
19297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",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 = (long)(arg1)->GetIndex();
19302
19303 wxPyEndAllowThreads(__tstate);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 }
19306 resultobj = SWIG_PyObj_FromLong((long)result);
19307 return resultobj;
19308 fail:
19309 return NULL;
19310 }
19311
19312
19313 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19314 PyObject *resultobj;
19315 wxListEvent *arg1 = (wxListEvent *) 0 ;
19316 int result;
19317 PyObject * obj0 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19324 {
19325 PyThreadState* __tstate = wxPyBeginAllowThreads();
19326 result = (int)(arg1)->GetColumn();
19327
19328 wxPyEndAllowThreads(__tstate);
19329 if (PyErr_Occurred()) SWIG_fail;
19330 }
19331 resultobj = SWIG_PyObj_FromInt((int)result);
19332 return resultobj;
19333 fail:
19334 return NULL;
19335 }
19336
19337
19338 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj;
19340 wxListEvent *arg1 = (wxListEvent *) 0 ;
19341 wxPoint result;
19342 PyObject * obj0 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 result = (arg1)->GetPoint();
19352
19353 wxPyEndAllowThreads(__tstate);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 }
19356 {
19357 wxPoint * resultptr;
19358 resultptr = new wxPoint((wxPoint &) result);
19359 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19360 }
19361 return resultobj;
19362 fail:
19363 return NULL;
19364 }
19365
19366
19367 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj;
19369 wxListEvent *arg1 = (wxListEvent *) 0 ;
19370 wxString *result;
19371 PyObject * obj0 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 {
19381 wxString const &_result_ref = (arg1)->GetLabel();
19382 result = (wxString *) &_result_ref;
19383 }
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 {
19389 #if wxUSE_UNICODE
19390 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19391 #else
19392 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19393 #endif
19394 }
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxListEvent *arg1 = (wxListEvent *) 0 ;
19404 wxString *result;
19405 PyObject * obj0 = 0 ;
19406 char *kwnames[] = {
19407 (char *) "self", NULL
19408 };
19409
19410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19412 {
19413 PyThreadState* __tstate = wxPyBeginAllowThreads();
19414 {
19415 wxString const &_result_ref = (arg1)->GetText();
19416 result = (wxString *) &_result_ref;
19417 }
19418
19419 wxPyEndAllowThreads(__tstate);
19420 if (PyErr_Occurred()) SWIG_fail;
19421 }
19422 {
19423 #if wxUSE_UNICODE
19424 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19425 #else
19426 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19427 #endif
19428 }
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxListEvent *arg1 = (wxListEvent *) 0 ;
19438 int result;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",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 = (int)(arg1)->GetImage();
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 resultobj = SWIG_PyObj_FromInt((int)result);
19454 return resultobj;
19455 fail:
19456 return NULL;
19457 }
19458
19459
19460 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19461 PyObject *resultobj;
19462 wxListEvent *arg1 = (wxListEvent *) 0 ;
19463 long result;
19464 PyObject * obj0 = 0 ;
19465 char *kwnames[] = {
19466 (char *) "self", NULL
19467 };
19468
19469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",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 result = (long)(arg1)->GetData();
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 resultobj = SWIG_PyObj_FromLong((long)result);
19479 return resultobj;
19480 fail:
19481 return NULL;
19482 }
19483
19484
19485 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj;
19487 wxListEvent *arg1 = (wxListEvent *) 0 ;
19488 long result;
19489 PyObject * obj0 = 0 ;
19490 char *kwnames[] = {
19491 (char *) "self", NULL
19492 };
19493
19494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 result = (long)(arg1)->GetMask();
19499
19500 wxPyEndAllowThreads(__tstate);
19501 if (PyErr_Occurred()) SWIG_fail;
19502 }
19503 resultobj = SWIG_PyObj_FromLong((long)result);
19504 return resultobj;
19505 fail:
19506 return NULL;
19507 }
19508
19509
19510 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19511 PyObject *resultobj;
19512 wxListEvent *arg1 = (wxListEvent *) 0 ;
19513 wxListItem *result;
19514 PyObject * obj0 = 0 ;
19515 char *kwnames[] = {
19516 (char *) "self", NULL
19517 };
19518
19519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 {
19524 wxListItem const &_result_ref = (arg1)->GetItem();
19525 result = (wxListItem *) &_result_ref;
19526 }
19527
19528 wxPyEndAllowThreads(__tstate);
19529 if (PyErr_Occurred()) SWIG_fail;
19530 }
19531 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
19532 return resultobj;
19533 fail:
19534 return NULL;
19535 }
19536
19537
19538 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19539 PyObject *resultobj;
19540 wxListEvent *arg1 = (wxListEvent *) 0 ;
19541 long result;
19542 PyObject * obj0 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",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 = (long)(arg1)->GetCacheFrom();
19552
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 resultobj = SWIG_PyObj_FromLong((long)result);
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxListEvent *arg1 = (wxListEvent *) 0 ;
19566 long result;
19567 PyObject * obj0 = 0 ;
19568 char *kwnames[] = {
19569 (char *) "self", NULL
19570 };
19571
19572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19574 {
19575 PyThreadState* __tstate = wxPyBeginAllowThreads();
19576 result = (long)(arg1)->GetCacheTo();
19577
19578 wxPyEndAllowThreads(__tstate);
19579 if (PyErr_Occurred()) SWIG_fail;
19580 }
19581 resultobj = SWIG_PyObj_FromLong((long)result);
19582 return resultobj;
19583 fail:
19584 return NULL;
19585 }
19586
19587
19588 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19589 PyObject *resultobj;
19590 wxListEvent *arg1 = (wxListEvent *) 0 ;
19591 bool result;
19592 PyObject * obj0 = 0 ;
19593 char *kwnames[] = {
19594 (char *) "self", NULL
19595 };
19596
19597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19599 {
19600 PyThreadState* __tstate = wxPyBeginAllowThreads();
19601 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19602
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 resultobj = SWIG_PyObj_FromBool((bool)result);
19607 return resultobj;
19608 fail:
19609 return NULL;
19610 }
19611
19612
19613 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19614 PyObject *resultobj;
19615 wxListEvent *arg1 = (wxListEvent *) 0 ;
19616 bool arg2 ;
19617 PyObject * obj0 = 0 ;
19618 PyObject * obj1 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self",(char *) "editCancelled", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19625 {
19626 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 {
19630 PyThreadState* __tstate = wxPyBeginAllowThreads();
19631 (arg1)->SetEditCanceled(arg2);
19632
19633 wxPyEndAllowThreads(__tstate);
19634 if (PyErr_Occurred()) SWIG_fail;
19635 }
19636 Py_INCREF(Py_None); resultobj = Py_None;
19637 return resultobj;
19638 fail:
19639 return NULL;
19640 }
19641
19642
19643 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19644 PyObject *obj;
19645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19646 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19647 Py_INCREF(obj);
19648 return Py_BuildValue((char *)"");
19649 }
19650 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj;
19652 wxWindow *arg1 = (wxWindow *) 0 ;
19653 int arg2 = (int) -1 ;
19654 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19655 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19656 wxSize const &arg4_defvalue = wxDefaultSize ;
19657 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19658 long arg5 = (long) wxLC_ICON ;
19659 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19660 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19661 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19662 wxString *arg7 = (wxString *) &arg7_defvalue ;
19663 wxPyListCtrl *result;
19664 wxPoint temp3 ;
19665 wxSize temp4 ;
19666 bool temp7 = False ;
19667 PyObject * obj0 = 0 ;
19668 PyObject * obj1 = 0 ;
19669 PyObject * obj2 = 0 ;
19670 PyObject * obj3 = 0 ;
19671 PyObject * obj4 = 0 ;
19672 PyObject * obj5 = 0 ;
19673 PyObject * obj6 = 0 ;
19674 char *kwnames[] = {
19675 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19676 };
19677
19678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19680 if (obj1) {
19681 {
19682 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19683 if (PyErr_Occurred()) SWIG_fail;
19684 }
19685 }
19686 if (obj2) {
19687 {
19688 arg3 = &temp3;
19689 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19690 }
19691 }
19692 if (obj3) {
19693 {
19694 arg4 = &temp4;
19695 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19696 }
19697 }
19698 if (obj4) {
19699 {
19700 arg5 = (long) SWIG_PyObj_AsLong(obj4);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 }
19704 if (obj5) {
19705 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19706 if (arg6 == NULL) {
19707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19708 }
19709 }
19710 if (obj6) {
19711 {
19712 arg7 = wxString_in_helper(obj6);
19713 if (arg7 == NULL) SWIG_fail;
19714 temp7 = True;
19715 }
19716 }
19717 {
19718 PyThreadState* __tstate = wxPyBeginAllowThreads();
19719 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19720
19721 wxPyEndAllowThreads(__tstate);
19722 if (PyErr_Occurred()) SWIG_fail;
19723 }
19724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19725 {
19726 if (temp7)
19727 delete arg7;
19728 }
19729 return resultobj;
19730 fail:
19731 {
19732 if (temp7)
19733 delete arg7;
19734 }
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxPyListCtrl *result;
19742 char *kwnames[] = {
19743 NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = (wxPyListCtrl *)new wxPyListCtrl();
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19755 return resultobj;
19756 fail:
19757 return NULL;
19758 }
19759
19760
19761 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj;
19763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19764 wxWindow *arg2 = (wxWindow *) 0 ;
19765 int arg3 = (int) -1 ;
19766 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19767 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19768 wxSize const &arg5_defvalue = wxDefaultSize ;
19769 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19770 long arg6 = (long) wxLC_ICON ;
19771 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19772 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19773 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19774 wxString *arg8 = (wxString *) &arg8_defvalue ;
19775 bool result;
19776 wxPoint temp4 ;
19777 wxSize temp5 ;
19778 bool temp8 = False ;
19779 PyObject * obj0 = 0 ;
19780 PyObject * obj1 = 0 ;
19781 PyObject * obj2 = 0 ;
19782 PyObject * obj3 = 0 ;
19783 PyObject * obj4 = 0 ;
19784 PyObject * obj5 = 0 ;
19785 PyObject * obj6 = 0 ;
19786 PyObject * obj7 = 0 ;
19787 char *kwnames[] = {
19788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19789 };
19790
19791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19794 if (obj2) {
19795 {
19796 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19797 if (PyErr_Occurred()) SWIG_fail;
19798 }
19799 }
19800 if (obj3) {
19801 {
19802 arg4 = &temp4;
19803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19804 }
19805 }
19806 if (obj4) {
19807 {
19808 arg5 = &temp5;
19809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19810 }
19811 }
19812 if (obj5) {
19813 {
19814 arg6 = (long) SWIG_PyObj_AsLong(obj5);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 }
19818 if (obj6) {
19819 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19820 if (arg7 == NULL) {
19821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19822 }
19823 }
19824 if (obj7) {
19825 {
19826 arg8 = wxString_in_helper(obj7);
19827 if (arg8 == NULL) SWIG_fail;
19828 temp8 = True;
19829 }
19830 }
19831 {
19832 PyThreadState* __tstate = wxPyBeginAllowThreads();
19833 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19834
19835 wxPyEndAllowThreads(__tstate);
19836 if (PyErr_Occurred()) SWIG_fail;
19837 }
19838 resultobj = SWIG_PyObj_FromBool((bool)result);
19839 {
19840 if (temp8)
19841 delete arg8;
19842 }
19843 return resultobj;
19844 fail:
19845 {
19846 if (temp8)
19847 delete arg8;
19848 }
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19856 PyObject *arg2 = (PyObject *) 0 ;
19857 PyObject *arg3 = (PyObject *) 0 ;
19858 PyObject * obj0 = 0 ;
19859 PyObject * obj1 = 0 ;
19860 PyObject * obj2 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self",(char *) "self",(char *) "_class", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19867 arg2 = obj1;
19868 arg3 = obj2;
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 (arg1)->_setCallbackInfo(arg2,arg3);
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 Py_INCREF(Py_None); resultobj = Py_None;
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19886 wxColour *arg2 = 0 ;
19887 bool result;
19888 wxColour temp2 ;
19889 PyObject * obj0 = 0 ;
19890 PyObject * obj1 = 0 ;
19891 char *kwnames[] = {
19892 (char *) "self",(char *) "col", NULL
19893 };
19894
19895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
19896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19897 {
19898 arg2 = &temp2;
19899 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19900 }
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
19903 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 resultobj = SWIG_PyObj_FromBool((bool)result);
19909 return resultobj;
19910 fail:
19911 return NULL;
19912 }
19913
19914
19915 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj;
19917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19918 wxColour *arg2 = 0 ;
19919 bool result;
19920 wxColour temp2 ;
19921 PyObject * obj0 = 0 ;
19922 PyObject * obj1 = 0 ;
19923 char *kwnames[] = {
19924 (char *) "self",(char *) "col", NULL
19925 };
19926
19927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19929 {
19930 arg2 = &temp2;
19931 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19932 }
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 resultobj = SWIG_PyObj_FromBool((bool)result);
19941 return resultobj;
19942 fail:
19943 return NULL;
19944 }
19945
19946
19947 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19950 int arg2 ;
19951 wxListItem *result;
19952 PyObject * obj0 = 0 ;
19953 PyObject * obj1 = 0 ;
19954 char *kwnames[] = {
19955 (char *) "self",(char *) "col", NULL
19956 };
19957
19958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
19959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19960 {
19961 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19962 if (PyErr_Occurred()) SWIG_fail;
19963 }
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 {
19972 resultobj = wxPyMake_wxObject(result);
19973 }
19974 return resultobj;
19975 fail:
19976 return NULL;
19977 }
19978
19979
19980 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19983 int arg2 ;
19984 wxListItem *arg3 = 0 ;
19985 bool result;
19986 PyObject * obj0 = 0 ;
19987 PyObject * obj1 = 0 ;
19988 PyObject * obj2 = 0 ;
19989 char *kwnames[] = {
19990 (char *) "self",(char *) "col",(char *) "item", NULL
19991 };
19992
19993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
19994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19995 {
19996 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19997 if (PyErr_Occurred()) SWIG_fail;
19998 }
19999 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 if (arg3 == NULL) {
20001 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20002 }
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20006
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 resultobj = SWIG_PyObj_FromBool((bool)result);
20011 return resultobj;
20012 fail:
20013 return NULL;
20014 }
20015
20016
20017 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20018 PyObject *resultobj;
20019 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20020 int arg2 ;
20021 int result;
20022 PyObject * obj0 = 0 ;
20023 PyObject * obj1 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self",(char *) "col", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20030 {
20031 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20032 if (PyErr_Occurred()) SWIG_fail;
20033 }
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 resultobj = SWIG_PyObj_FromInt((int)result);
20042 return resultobj;
20043 fail:
20044 return NULL;
20045 }
20046
20047
20048 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20049 PyObject *resultobj;
20050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20051 int arg2 ;
20052 int arg3 ;
20053 bool result;
20054 PyObject * obj0 = 0 ;
20055 PyObject * obj1 = 0 ;
20056 PyObject * obj2 = 0 ;
20057 char *kwnames[] = {
20058 (char *) "self",(char *) "col",(char *) "width", NULL
20059 };
20060
20061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20063 {
20064 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 {
20068 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 resultobj = SWIG_PyObj_FromBool((bool)result);
20079 return resultobj;
20080 fail:
20081 return NULL;
20082 }
20083
20084
20085 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20086 PyObject *resultobj;
20087 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20088 int result;
20089 PyObject * obj0 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = SWIG_PyObj_FromInt((int)result);
20104 return resultobj;
20105 fail:
20106 return NULL;
20107 }
20108
20109
20110 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj;
20112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20113 wxRect result;
20114 PyObject * obj0 = 0 ;
20115 char *kwnames[] = {
20116 (char *) "self", NULL
20117 };
20118
20119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20124
20125 wxPyEndAllowThreads(__tstate);
20126 if (PyErr_Occurred()) SWIG_fail;
20127 }
20128 {
20129 wxRect * resultptr;
20130 resultptr = new wxRect((wxRect &) result);
20131 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20132 }
20133 return resultobj;
20134 fail:
20135 return NULL;
20136 }
20137
20138
20139 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20140 PyObject *resultobj;
20141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20142 wxTextCtrl *result;
20143 PyObject * obj0 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
20149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20150 {
20151 PyThreadState* __tstate = wxPyBeginAllowThreads();
20152 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
20153
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 {
20158 resultobj = wxPyMake_wxObject(result);
20159 }
20160 return resultobj;
20161 fail:
20162 return NULL;
20163 }
20164
20165
20166 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj;
20168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20169 long arg2 ;
20170 int arg3 = (int) 0 ;
20171 wxListItem *result;
20172 PyObject * obj0 = 0 ;
20173 PyObject * obj1 = 0 ;
20174 PyObject * obj2 = 0 ;
20175 char *kwnames[] = {
20176 (char *) "self",(char *) "itemId",(char *) "col", NULL
20177 };
20178
20179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) 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 if (obj2) {
20186 {
20187 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 }
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 {
20199 resultobj = wxPyMake_wxObject(result);
20200 }
20201 return resultobj;
20202 fail:
20203 return NULL;
20204 }
20205
20206
20207 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20210 wxListItem *arg2 = 0 ;
20211 bool result;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj1 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "self",(char *) "info", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20221 if (arg2 == NULL) {
20222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20223 }
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 result = (bool)(arg1)->SetItem(*arg2);
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 resultobj = SWIG_PyObj_FromBool((bool)result);
20232 return resultobj;
20233 fail:
20234 return NULL;
20235 }
20236
20237
20238 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj;
20240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20241 long arg2 ;
20242 int arg3 ;
20243 wxString *arg4 = 0 ;
20244 int arg5 = (int) -1 ;
20245 long result;
20246 bool temp4 = False ;
20247 PyObject * obj0 = 0 ;
20248 PyObject * obj1 = 0 ;
20249 PyObject * obj2 = 0 ;
20250 PyObject * obj3 = 0 ;
20251 PyObject * obj4 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20258 {
20259 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 {
20263 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 }
20266 {
20267 arg4 = wxString_in_helper(obj3);
20268 if (arg4 == NULL) SWIG_fail;
20269 temp4 = True;
20270 }
20271 if (obj4) {
20272 {
20273 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20274 if (PyErr_Occurred()) SWIG_fail;
20275 }
20276 }
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 resultobj = SWIG_PyObj_FromLong((long)result);
20285 {
20286 if (temp4)
20287 delete arg4;
20288 }
20289 return resultobj;
20290 fail:
20291 {
20292 if (temp4)
20293 delete arg4;
20294 }
20295 return NULL;
20296 }
20297
20298
20299 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20300 PyObject *resultobj;
20301 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20302 long arg2 ;
20303 long arg3 ;
20304 int result;
20305 PyObject * obj0 = 0 ;
20306 PyObject * obj1 = 0 ;
20307 PyObject * obj2 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20314 {
20315 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 {
20319 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 resultobj = SWIG_PyObj_FromInt((int)result);
20330 return resultobj;
20331 fail:
20332 return NULL;
20333 }
20334
20335
20336 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20339 long arg2 ;
20340 long arg3 ;
20341 long arg4 ;
20342 bool result;
20343 PyObject * obj0 = 0 ;
20344 PyObject * obj1 = 0 ;
20345 PyObject * obj2 = 0 ;
20346 PyObject * obj3 = 0 ;
20347 char *kwnames[] = {
20348 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20349 };
20350
20351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20353 {
20354 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 {
20358 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 {
20362 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 resultobj = SWIG_PyObj_FromBool((bool)result);
20373 return resultobj;
20374 fail:
20375 return NULL;
20376 }
20377
20378
20379 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20382 long arg2 ;
20383 int arg3 ;
20384 int arg4 ;
20385 bool result;
20386 PyObject * obj0 = 0 ;
20387 PyObject * obj1 = 0 ;
20388 PyObject * obj2 = 0 ;
20389 PyObject * obj3 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 {
20397 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 {
20401 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 {
20405 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 {
20409 PyThreadState* __tstate = wxPyBeginAllowThreads();
20410 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20411
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
20415 resultobj = SWIG_PyObj_FromBool((bool)result);
20416 return resultobj;
20417 fail:
20418 return NULL;
20419 }
20420
20421
20422 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20423 PyObject *resultobj;
20424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20425 long arg2 ;
20426 wxString result;
20427 PyObject * obj0 = 0 ;
20428 PyObject * obj1 = 0 ;
20429 char *kwnames[] = {
20430 (char *) "self",(char *) "item", NULL
20431 };
20432
20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20435 {
20436 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 {
20447 #if wxUSE_UNICODE
20448 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20449 #else
20450 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20451 #endif
20452 }
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20462 long arg2 ;
20463 wxString *arg3 = 0 ;
20464 bool temp3 = False ;
20465 PyObject * obj0 = 0 ;
20466 PyObject * obj1 = 0 ;
20467 PyObject * obj2 = 0 ;
20468 char *kwnames[] = {
20469 (char *) "self",(char *) "item",(char *) "str", NULL
20470 };
20471
20472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",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 = wxString_in_helper(obj2);
20480 if (arg3 == NULL) SWIG_fail;
20481 temp3 = True;
20482 }
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20486
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 Py_INCREF(Py_None); resultobj = Py_None;
20491 {
20492 if (temp3)
20493 delete arg3;
20494 }
20495 return resultobj;
20496 fail:
20497 {
20498 if (temp3)
20499 delete arg3;
20500 }
20501 return NULL;
20502 }
20503
20504
20505 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20506 PyObject *resultobj;
20507 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20508 long arg2 ;
20509 long result;
20510 PyObject * obj0 = 0 ;
20511 PyObject * obj1 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "self",(char *) "item", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20518 {
20519 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 {
20523 PyThreadState* __tstate = wxPyBeginAllowThreads();
20524 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20525
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 resultobj = SWIG_PyObj_FromLong((long)result);
20530 return resultobj;
20531 fail:
20532 return NULL;
20533 }
20534
20535
20536 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20537 PyObject *resultobj;
20538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20539 long arg2 ;
20540 long arg3 ;
20541 bool result;
20542 PyObject * obj0 = 0 ;
20543 PyObject * obj1 = 0 ;
20544 PyObject * obj2 = 0 ;
20545 char *kwnames[] = {
20546 (char *) "self",(char *) "item",(char *) "data", NULL
20547 };
20548
20549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20551 {
20552 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 {
20556 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 {
20560 PyThreadState* __tstate = wxPyBeginAllowThreads();
20561 result = (bool)(arg1)->SetItemData(arg2,arg3);
20562
20563 wxPyEndAllowThreads(__tstate);
20564 if (PyErr_Occurred()) SWIG_fail;
20565 }
20566 resultobj = SWIG_PyObj_FromBool((bool)result);
20567 return resultobj;
20568 fail:
20569 return NULL;
20570 }
20571
20572
20573 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20574 PyObject *resultobj;
20575 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20576 long arg2 ;
20577 wxPoint result;
20578 PyObject * obj0 = 0 ;
20579 PyObject * obj1 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self",(char *) "item", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20586 {
20587 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20593
20594 wxPyEndAllowThreads(__tstate);
20595 if (PyErr_Occurred()) SWIG_fail;
20596 }
20597 {
20598 wxPoint * resultptr;
20599 resultptr = new wxPoint((wxPoint &) result);
20600 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20601 }
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj;
20610 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20611 long arg2 ;
20612 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20613 wxRect result;
20614 PyObject * obj0 = 0 ;
20615 PyObject * obj1 = 0 ;
20616 PyObject * obj2 = 0 ;
20617 char *kwnames[] = {
20618 (char *) "self",(char *) "item",(char *) "code", NULL
20619 };
20620
20621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 {
20624 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 }
20627 if (obj2) {
20628 {
20629 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 }
20633 {
20634 PyThreadState* __tstate = wxPyBeginAllowThreads();
20635 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20636
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 {
20641 wxRect * resultptr;
20642 resultptr = new wxRect((wxRect &) result);
20643 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20644 }
20645 return resultobj;
20646 fail:
20647 return NULL;
20648 }
20649
20650
20651 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20652 PyObject *resultobj;
20653 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20654 long arg2 ;
20655 wxPoint *arg3 = 0 ;
20656 bool result;
20657 wxPoint temp3 ;
20658 PyObject * obj0 = 0 ;
20659 PyObject * obj1 = 0 ;
20660 PyObject * obj2 = 0 ;
20661 char *kwnames[] = {
20662 (char *) "self",(char *) "item",(char *) "pos", NULL
20663 };
20664
20665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20667 {
20668 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 {
20672 arg3 = &temp3;
20673 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20674 }
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 resultobj = SWIG_PyObj_FromBool((bool)result);
20683 return resultobj;
20684 fail:
20685 return NULL;
20686 }
20687
20688
20689 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20692 int result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20703
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 resultobj = SWIG_PyObj_FromInt((int)result);
20708 return resultobj;
20709 fail:
20710 return NULL;
20711 }
20712
20713
20714 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20715 PyObject *resultobj;
20716 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20717 int result;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20725 {
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20728
20729 wxPyEndAllowThreads(__tstate);
20730 if (PyErr_Occurred()) SWIG_fail;
20731 }
20732 resultobj = SWIG_PyObj_FromInt((int)result);
20733 return resultobj;
20734 fail:
20735 return NULL;
20736 }
20737
20738
20739 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20740 PyObject *resultobj;
20741 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20742 wxSize result;
20743 PyObject * obj0 = 0 ;
20744 char *kwnames[] = {
20745 (char *) "self", NULL
20746 };
20747
20748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20750 {
20751 PyThreadState* __tstate = wxPyBeginAllowThreads();
20752 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20753
20754 wxPyEndAllowThreads(__tstate);
20755 if (PyErr_Occurred()) SWIG_fail;
20756 }
20757 {
20758 wxSize * resultptr;
20759 resultptr = new wxSize((wxSize &) result);
20760 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20761 }
20762 return resultobj;
20763 fail:
20764 return NULL;
20765 }
20766
20767
20768 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20769 PyObject *resultobj;
20770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20771 int result;
20772 PyObject * obj0 = 0 ;
20773 char *kwnames[] = {
20774 (char *) "self", NULL
20775 };
20776
20777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20779 {
20780 PyThreadState* __tstate = wxPyBeginAllowThreads();
20781 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20782
20783 wxPyEndAllowThreads(__tstate);
20784 if (PyErr_Occurred()) SWIG_fail;
20785 }
20786 resultobj = SWIG_PyObj_FromInt((int)result);
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20794 PyObject *resultobj;
20795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20796 wxColour result;
20797 PyObject * obj0 = 0 ;
20798 char *kwnames[] = {
20799 (char *) "self", NULL
20800 };
20801
20802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20804 {
20805 PyThreadState* __tstate = wxPyBeginAllowThreads();
20806 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20807
20808 wxPyEndAllowThreads(__tstate);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
20811 {
20812 wxColour * resultptr;
20813 resultptr = new wxColour((wxColour &) result);
20814 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20815 }
20816 return resultobj;
20817 fail:
20818 return NULL;
20819 }
20820
20821
20822 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20823 PyObject *resultobj;
20824 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20825 wxColour *arg2 = 0 ;
20826 wxColour temp2 ;
20827 PyObject * obj0 = 0 ;
20828 PyObject * obj1 = 0 ;
20829 char *kwnames[] = {
20830 (char *) "self",(char *) "col", NULL
20831 };
20832
20833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
20834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20835 {
20836 arg2 = &temp2;
20837 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20838 }
20839 {
20840 PyThreadState* __tstate = wxPyBeginAllowThreads();
20841 (arg1)->SetTextColour((wxColour const &)*arg2);
20842
20843 wxPyEndAllowThreads(__tstate);
20844 if (PyErr_Occurred()) SWIG_fail;
20845 }
20846 Py_INCREF(Py_None); resultobj = Py_None;
20847 return resultobj;
20848 fail:
20849 return NULL;
20850 }
20851
20852
20853 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20856 long result;
20857 PyObject * obj0 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
20863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 resultobj = SWIG_PyObj_FromLong((long)result);
20872 return resultobj;
20873 fail:
20874 return NULL;
20875 }
20876
20877
20878 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20879 PyObject *resultobj;
20880 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20881 long arg2 ;
20882 bool arg3 = (bool) True ;
20883 PyObject * obj0 = 0 ;
20884 PyObject * obj1 = 0 ;
20885 PyObject * obj2 = 0 ;
20886 char *kwnames[] = {
20887 (char *) "self",(char *) "style",(char *) "add", NULL
20888 };
20889
20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20892 {
20893 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 if (obj2) {
20897 {
20898 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 }
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 (arg1)->SetSingleStyle(arg2,arg3);
20905
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 Py_INCREF(Py_None); resultobj = Py_None;
20910 return resultobj;
20911 fail:
20912 return NULL;
20913 }
20914
20915
20916 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj;
20918 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20919 long arg2 ;
20920 PyObject * obj0 = 0 ;
20921 PyObject * obj1 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "self",(char *) "style", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20928 {
20929 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 {
20933 PyThreadState* __tstate = wxPyBeginAllowThreads();
20934 (arg1)->SetWindowStyleFlag(arg2);
20935
20936 wxPyEndAllowThreads(__tstate);
20937 if (PyErr_Occurred()) SWIG_fail;
20938 }
20939 Py_INCREF(Py_None); resultobj = Py_None;
20940 return resultobj;
20941 fail:
20942 return NULL;
20943 }
20944
20945
20946 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20947 PyObject *resultobj;
20948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20949 long arg2 ;
20950 int arg3 = (int) wxLIST_NEXT_ALL ;
20951 int arg4 = (int) wxLIST_STATE_DONTCARE ;
20952 long result;
20953 PyObject * obj0 = 0 ;
20954 PyObject * obj1 = 0 ;
20955 PyObject * obj2 = 0 ;
20956 PyObject * obj3 = 0 ;
20957 char *kwnames[] = {
20958 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20959 };
20960
20961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20963 {
20964 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20965 if (PyErr_Occurred()) SWIG_fail;
20966 }
20967 if (obj2) {
20968 {
20969 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20970 if (PyErr_Occurred()) SWIG_fail;
20971 }
20972 }
20973 if (obj3) {
20974 {
20975 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20976 if (PyErr_Occurred()) SWIG_fail;
20977 }
20978 }
20979 {
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 resultobj = SWIG_PyObj_FromLong((long)result);
20987 return resultobj;
20988 fail:
20989 return NULL;
20990 }
20991
20992
20993 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20994 PyObject *resultobj;
20995 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20996 int arg2 ;
20997 wxImageList *result;
20998 PyObject * obj0 = 0 ;
20999 PyObject * obj1 = 0 ;
21000 char *kwnames[] = {
21001 (char *) "self",(char *) "which", NULL
21002 };
21003
21004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21006 {
21007 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 {
21018 resultobj = wxPyMake_wxObject(result);
21019 }
21020 return resultobj;
21021 fail:
21022 return NULL;
21023 }
21024
21025
21026 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21029 wxImageList *arg2 = (wxImageList *) 0 ;
21030 int arg3 ;
21031 PyObject * obj0 = 0 ;
21032 PyObject * obj1 = 0 ;
21033 PyObject * obj2 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self",(char *) "imageList",(char *) "which", NULL
21036 };
21037
21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21041 {
21042 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 {
21046 PyThreadState* __tstate = wxPyBeginAllowThreads();
21047 (arg1)->SetImageList(arg2,arg3);
21048
21049 wxPyEndAllowThreads(__tstate);
21050 if (PyErr_Occurred()) SWIG_fail;
21051 }
21052 Py_INCREF(Py_None); resultobj = Py_None;
21053 return resultobj;
21054 fail:
21055 return NULL;
21056 }
21057
21058
21059 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21060 PyObject *resultobj;
21061 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21062 wxImageList *arg2 = (wxImageList *) 0 ;
21063 int arg3 ;
21064 PyObject * obj0 = 0 ;
21065 PyObject * obj1 = 0 ;
21066 PyObject * obj2 = 0 ;
21067 char *kwnames[] = {
21068 (char *) "self",(char *) "imageList",(char *) "which", NULL
21069 };
21070
21071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21074 {
21075 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21076 if (PyErr_Occurred()) SWIG_fail;
21077 }
21078 {
21079 PyThreadState* __tstate = wxPyBeginAllowThreads();
21080 (arg1)->AssignImageList(arg2,arg3);
21081
21082 wxPyEndAllowThreads(__tstate);
21083 if (PyErr_Occurred()) SWIG_fail;
21084 }
21085 Py_INCREF(Py_None); resultobj = Py_None;
21086 return resultobj;
21087 fail:
21088 return NULL;
21089 }
21090
21091
21092 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21093 PyObject *resultobj;
21094 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21095 bool result;
21096 PyObject * obj0 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21103 {
21104 PyThreadState* __tstate = wxPyBeginAllowThreads();
21105 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21106
21107 wxPyEndAllowThreads(__tstate);
21108 if (PyErr_Occurred()) SWIG_fail;
21109 }
21110 resultobj = SWIG_PyObj_FromBool((bool)result);
21111 return resultobj;
21112 fail:
21113 return NULL;
21114 }
21115
21116
21117 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21118 PyObject *resultobj;
21119 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21120 long arg2 ;
21121 PyObject * obj0 = 0 ;
21122 PyObject * obj1 = 0 ;
21123 char *kwnames[] = {
21124 (char *) "self",(char *) "item", NULL
21125 };
21126
21127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21129 {
21130 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21131 if (PyErr_Occurred()) SWIG_fail;
21132 }
21133 {
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 (arg1)->RefreshItem(arg2);
21136
21137 wxPyEndAllowThreads(__tstate);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
21140 Py_INCREF(Py_None); resultobj = Py_None;
21141 return resultobj;
21142 fail:
21143 return NULL;
21144 }
21145
21146
21147 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21148 PyObject *resultobj;
21149 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21150 long arg2 ;
21151 long arg3 ;
21152 PyObject * obj0 = 0 ;
21153 PyObject * obj1 = 0 ;
21154 PyObject * obj2 = 0 ;
21155 char *kwnames[] = {
21156 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21157 };
21158
21159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21161 {
21162 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21163 if (PyErr_Occurred()) SWIG_fail;
21164 }
21165 {
21166 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
21169 {
21170 PyThreadState* __tstate = wxPyBeginAllowThreads();
21171 (arg1)->RefreshItems(arg2,arg3);
21172
21173 wxPyEndAllowThreads(__tstate);
21174 if (PyErr_Occurred()) SWIG_fail;
21175 }
21176 Py_INCREF(Py_None); resultobj = Py_None;
21177 return resultobj;
21178 fail:
21179 return NULL;
21180 }
21181
21182
21183 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21184 PyObject *resultobj;
21185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21186 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21187 bool result;
21188 PyObject * obj0 = 0 ;
21189 PyObject * obj1 = 0 ;
21190 char *kwnames[] = {
21191 (char *) "self",(char *) "flag", NULL
21192 };
21193
21194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21196 if (obj1) {
21197 {
21198 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
21201 }
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = (bool)(arg1)->Arrange(arg2);
21205
21206 wxPyEndAllowThreads(__tstate);
21207 if (PyErr_Occurred()) SWIG_fail;
21208 }
21209 resultobj = SWIG_PyObj_FromBool((bool)result);
21210 return resultobj;
21211 fail:
21212 return NULL;
21213 }
21214
21215
21216 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21217 PyObject *resultobj;
21218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21219 long arg2 ;
21220 bool result;
21221 PyObject * obj0 = 0 ;
21222 PyObject * obj1 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self",(char *) "item", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21229 {
21230 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 {
21234 PyThreadState* __tstate = wxPyBeginAllowThreads();
21235 result = (bool)(arg1)->DeleteItem(arg2);
21236
21237 wxPyEndAllowThreads(__tstate);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 resultobj = SWIG_PyObj_FromBool((bool)result);
21241 return resultobj;
21242 fail:
21243 return NULL;
21244 }
21245
21246
21247 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj;
21249 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21250 bool result;
21251 PyObject * obj0 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "self", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = (bool)(arg1)->DeleteAllItems();
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 resultobj = SWIG_PyObj_FromBool((bool)result);
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21275 int arg2 ;
21276 bool result;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 char *kwnames[] = {
21280 (char *) "self",(char *) "col", NULL
21281 };
21282
21283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21285 {
21286 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21287 if (PyErr_Occurred()) SWIG_fail;
21288 }
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 result = (bool)(arg1)->DeleteColumn(arg2);
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 resultobj = SWIG_PyObj_FromBool((bool)result);
21297 return resultobj;
21298 fail:
21299 return NULL;
21300 }
21301
21302
21303 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21304 PyObject *resultobj;
21305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21306 bool result;
21307 PyObject * obj0 = 0 ;
21308 char *kwnames[] = {
21309 (char *) "self", NULL
21310 };
21311
21312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 result = (bool)(arg1)->DeleteAllColumns();
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 resultobj = SWIG_PyObj_FromBool((bool)result);
21322 return resultobj;
21323 fail:
21324 return NULL;
21325 }
21326
21327
21328 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21331 PyObject * obj0 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21338 {
21339 PyThreadState* __tstate = wxPyBeginAllowThreads();
21340 (arg1)->ClearAll();
21341
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 Py_INCREF(Py_None); resultobj = Py_None;
21346 return resultobj;
21347 fail:
21348 return NULL;
21349 }
21350
21351
21352 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21355 long arg2 ;
21356 wxTextCtrl *result;
21357 PyObject * obj0 = 0 ;
21358 PyObject * obj1 = 0 ;
21359 char *kwnames[] = {
21360 (char *) "self",(char *) "item", NULL
21361 };
21362
21363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21365 {
21366 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21367 if (PyErr_Occurred()) SWIG_fail;
21368 }
21369 {
21370 PyThreadState* __tstate = wxPyBeginAllowThreads();
21371 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
21372
21373 wxPyEndAllowThreads(__tstate);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 {
21377 resultobj = wxPyMake_wxObject(result);
21378 }
21379 return resultobj;
21380 fail:
21381 return NULL;
21382 }
21383
21384
21385 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21386 PyObject *resultobj;
21387 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21388 bool arg2 ;
21389 bool result;
21390 PyObject * obj0 = 0 ;
21391 PyObject * obj1 = 0 ;
21392 char *kwnames[] = {
21393 (char *) "self",(char *) "cancel", NULL
21394 };
21395
21396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
21397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21398 {
21399 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 {
21403 PyThreadState* __tstate = wxPyBeginAllowThreads();
21404 result = (bool)(arg1)->EndEditLabel(arg2);
21405
21406 wxPyEndAllowThreads(__tstate);
21407 if (PyErr_Occurred()) SWIG_fail;
21408 }
21409 resultobj = SWIG_PyObj_FromBool((bool)result);
21410 return resultobj;
21411 fail:
21412 return NULL;
21413 }
21414
21415
21416 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21417 PyObject *resultobj;
21418 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21419 long arg2 ;
21420 bool result;
21421 PyObject * obj0 = 0 ;
21422 PyObject * obj1 = 0 ;
21423 char *kwnames[] = {
21424 (char *) "self",(char *) "item", NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21429 {
21430 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 {
21434 PyThreadState* __tstate = wxPyBeginAllowThreads();
21435 result = (bool)(arg1)->EnsureVisible(arg2);
21436
21437 wxPyEndAllowThreads(__tstate);
21438 if (PyErr_Occurred()) SWIG_fail;
21439 }
21440 resultobj = SWIG_PyObj_FromBool((bool)result);
21441 return resultobj;
21442 fail:
21443 return NULL;
21444 }
21445
21446
21447 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21448 PyObject *resultobj;
21449 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21450 long arg2 ;
21451 wxString *arg3 = 0 ;
21452 bool arg4 = (bool) False ;
21453 long result;
21454 bool temp3 = False ;
21455 PyObject * obj0 = 0 ;
21456 PyObject * obj1 = 0 ;
21457 PyObject * obj2 = 0 ;
21458 PyObject * obj3 = 0 ;
21459 char *kwnames[] = {
21460 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21461 };
21462
21463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21465 {
21466 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 {
21470 arg3 = wxString_in_helper(obj2);
21471 if (arg3 == NULL) SWIG_fail;
21472 temp3 = True;
21473 }
21474 if (obj3) {
21475 {
21476 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
21479 }
21480 {
21481 PyThreadState* __tstate = wxPyBeginAllowThreads();
21482 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21483
21484 wxPyEndAllowThreads(__tstate);
21485 if (PyErr_Occurred()) SWIG_fail;
21486 }
21487 resultobj = SWIG_PyObj_FromLong((long)result);
21488 {
21489 if (temp3)
21490 delete arg3;
21491 }
21492 return resultobj;
21493 fail:
21494 {
21495 if (temp3)
21496 delete arg3;
21497 }
21498 return NULL;
21499 }
21500
21501
21502 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21503 PyObject *resultobj;
21504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21505 long arg2 ;
21506 long arg3 ;
21507 long result;
21508 PyObject * obj0 = 0 ;
21509 PyObject * obj1 = 0 ;
21510 PyObject * obj2 = 0 ;
21511 char *kwnames[] = {
21512 (char *) "self",(char *) "start",(char *) "data", NULL
21513 };
21514
21515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21517 {
21518 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21519 if (PyErr_Occurred()) SWIG_fail;
21520 }
21521 {
21522 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (long)(arg1)->FindItem(arg2,arg3);
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 resultobj = SWIG_PyObj_FromLong((long)result);
21533 return resultobj;
21534 fail:
21535 return NULL;
21536 }
21537
21538
21539 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj;
21541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21542 long arg2 ;
21543 wxPoint *arg3 = 0 ;
21544 int arg4 ;
21545 long result;
21546 wxPoint temp3 ;
21547 PyObject * obj0 = 0 ;
21548 PyObject * obj1 = 0 ;
21549 PyObject * obj2 = 0 ;
21550 PyObject * obj3 = 0 ;
21551 char *kwnames[] = {
21552 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21553 };
21554
21555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21557 {
21558 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
21561 {
21562 arg3 = &temp3;
21563 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21564 }
21565 {
21566 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 {
21570 PyThreadState* __tstate = wxPyBeginAllowThreads();
21571 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21572
21573 wxPyEndAllowThreads(__tstate);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 }
21576 resultobj = SWIG_PyObj_FromLong((long)result);
21577 return resultobj;
21578 fail:
21579 return NULL;
21580 }
21581
21582
21583 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21584 PyObject *resultobj;
21585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21586 wxPoint *arg2 = 0 ;
21587 int *arg3 = 0 ;
21588 long result;
21589 wxPoint temp2 ;
21590 int temp3 ;
21591 PyObject * obj0 = 0 ;
21592 PyObject * obj1 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "self",(char *) "point", NULL
21595 };
21596
21597 arg3 = &temp3;
21598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21600 {
21601 arg2 = &temp2;
21602 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21603 }
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21607
21608 wxPyEndAllowThreads(__tstate);
21609 if (PyErr_Occurred()) SWIG_fail;
21610 }
21611 resultobj = SWIG_PyObj_FromLong((long)result);
21612 {
21613 PyObject *o = PyInt_FromLong((long) (*arg3));
21614 resultobj = t_output_helper(resultobj,o);
21615 }
21616 return resultobj;
21617 fail:
21618 return NULL;
21619 }
21620
21621
21622 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21623 PyObject *resultobj;
21624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21625 wxListItem *arg2 = 0 ;
21626 long result;
21627 PyObject * obj0 = 0 ;
21628 PyObject * obj1 = 0 ;
21629 char *kwnames[] = {
21630 (char *) "self",(char *) "info", NULL
21631 };
21632
21633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21636 if (arg2 == NULL) {
21637 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21638 }
21639 {
21640 PyThreadState* __tstate = wxPyBeginAllowThreads();
21641 result = (long)(arg1)->InsertItem(*arg2);
21642
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 resultobj = SWIG_PyObj_FromLong((long)result);
21647 return resultobj;
21648 fail:
21649 return NULL;
21650 }
21651
21652
21653 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21656 long arg2 ;
21657 wxString *arg3 = 0 ;
21658 long result;
21659 bool temp3 = False ;
21660 PyObject * obj0 = 0 ;
21661 PyObject * obj1 = 0 ;
21662 PyObject * obj2 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self",(char *) "index",(char *) "label", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21669 {
21670 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 {
21674 arg3 = wxString_in_helper(obj2);
21675 if (arg3 == NULL) SWIG_fail;
21676 temp3 = True;
21677 }
21678 {
21679 PyThreadState* __tstate = wxPyBeginAllowThreads();
21680 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21681
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
21685 resultobj = SWIG_PyObj_FromLong((long)result);
21686 {
21687 if (temp3)
21688 delete arg3;
21689 }
21690 return resultobj;
21691 fail:
21692 {
21693 if (temp3)
21694 delete arg3;
21695 }
21696 return NULL;
21697 }
21698
21699
21700 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21701 PyObject *resultobj;
21702 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21703 long arg2 ;
21704 int arg3 ;
21705 long result;
21706 PyObject * obj0 = 0 ;
21707 PyObject * obj1 = 0 ;
21708 PyObject * obj2 = 0 ;
21709 char *kwnames[] = {
21710 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21711 };
21712
21713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21715 {
21716 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 {
21720 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 }
21723 {
21724 PyThreadState* __tstate = wxPyBeginAllowThreads();
21725 result = (long)(arg1)->InsertItem(arg2,arg3);
21726
21727 wxPyEndAllowThreads(__tstate);
21728 if (PyErr_Occurred()) SWIG_fail;
21729 }
21730 resultobj = SWIG_PyObj_FromLong((long)result);
21731 return resultobj;
21732 fail:
21733 return NULL;
21734 }
21735
21736
21737 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21738 PyObject *resultobj;
21739 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21740 long arg2 ;
21741 wxString *arg3 = 0 ;
21742 int arg4 ;
21743 long result;
21744 bool temp3 = False ;
21745 PyObject * obj0 = 0 ;
21746 PyObject * obj1 = 0 ;
21747 PyObject * obj2 = 0 ;
21748 PyObject * obj3 = 0 ;
21749 char *kwnames[] = {
21750 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21751 };
21752
21753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21755 {
21756 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 }
21759 {
21760 arg3 = wxString_in_helper(obj2);
21761 if (arg3 == NULL) SWIG_fail;
21762 temp3 = True;
21763 }
21764 {
21765 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21766 if (PyErr_Occurred()) SWIG_fail;
21767 }
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 resultobj = SWIG_PyObj_FromLong((long)result);
21776 {
21777 if (temp3)
21778 delete arg3;
21779 }
21780 return resultobj;
21781 fail:
21782 {
21783 if (temp3)
21784 delete arg3;
21785 }
21786 return NULL;
21787 }
21788
21789
21790 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21791 PyObject *resultobj;
21792 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21793 long arg2 ;
21794 wxListItem *arg3 = 0 ;
21795 long result;
21796 PyObject * obj0 = 0 ;
21797 PyObject * obj1 = 0 ;
21798 PyObject * obj2 = 0 ;
21799 char *kwnames[] = {
21800 (char *) "self",(char *) "col",(char *) "info", NULL
21801 };
21802
21803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21805 {
21806 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21810 if (arg3 == NULL) {
21811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21812 }
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 resultobj = SWIG_PyObj_FromLong((long)result);
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21830 long arg2 ;
21831 wxString *arg3 = 0 ;
21832 int arg4 = (int) wxLIST_FORMAT_LEFT ;
21833 int arg5 = (int) -1 ;
21834 long result;
21835 bool temp3 = False ;
21836 PyObject * obj0 = 0 ;
21837 PyObject * obj1 = 0 ;
21838 PyObject * obj2 = 0 ;
21839 PyObject * obj3 = 0 ;
21840 PyObject * obj4 = 0 ;
21841 char *kwnames[] = {
21842 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21843 };
21844
21845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21847 {
21848 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 {
21852 arg3 = wxString_in_helper(obj2);
21853 if (arg3 == NULL) SWIG_fail;
21854 temp3 = True;
21855 }
21856 if (obj3) {
21857 {
21858 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 }
21861 }
21862 if (obj4) {
21863 {
21864 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 }
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 resultobj = SWIG_PyObj_FromLong((long)result);
21876 {
21877 if (temp3)
21878 delete arg3;
21879 }
21880 return resultobj;
21881 fail:
21882 {
21883 if (temp3)
21884 delete arg3;
21885 }
21886 return NULL;
21887 }
21888
21889
21890 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21891 PyObject *resultobj;
21892 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21893 long arg2 ;
21894 PyObject * obj0 = 0 ;
21895 PyObject * obj1 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self",(char *) "count", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
21901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21902 {
21903 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 {
21907 PyThreadState* __tstate = wxPyBeginAllowThreads();
21908 (arg1)->SetItemCount(arg2);
21909
21910 wxPyEndAllowThreads(__tstate);
21911 if (PyErr_Occurred()) SWIG_fail;
21912 }
21913 Py_INCREF(Py_None); resultobj = Py_None;
21914 return resultobj;
21915 fail:
21916 return NULL;
21917 }
21918
21919
21920 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
21921 PyObject *resultobj;
21922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21923 int arg2 ;
21924 int arg3 ;
21925 bool result;
21926 PyObject * obj0 = 0 ;
21927 PyObject * obj1 = 0 ;
21928 PyObject * obj2 = 0 ;
21929 char *kwnames[] = {
21930 (char *) "self",(char *) "dx",(char *) "dy", NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 {
21936 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 {
21940 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21941 if (PyErr_Occurred()) SWIG_fail;
21942 }
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 result = (bool)(arg1)->ScrollList(arg2,arg3);
21946
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 resultobj = SWIG_PyObj_FromBool((bool)result);
21951 return resultobj;
21952 fail:
21953 return NULL;
21954 }
21955
21956
21957 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21958 PyObject *resultobj;
21959 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21960 long arg2 ;
21961 wxColour *arg3 = 0 ;
21962 wxColour temp3 ;
21963 PyObject * obj0 = 0 ;
21964 PyObject * obj1 = 0 ;
21965 PyObject * obj2 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self",(char *) "item",(char *) "col", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21972 {
21973 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 {
21977 arg3 = &temp3;
21978 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21979 }
21980 {
21981 PyThreadState* __tstate = wxPyBeginAllowThreads();
21982 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
21983
21984 wxPyEndAllowThreads(__tstate);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 Py_INCREF(Py_None); resultobj = Py_None;
21988 return resultobj;
21989 fail:
21990 return NULL;
21991 }
21992
21993
21994 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj;
21996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21997 long arg2 ;
21998 wxColour result;
21999 PyObject * obj0 = 0 ;
22000 PyObject * obj1 = 0 ;
22001 char *kwnames[] = {
22002 (char *) "self",(char *) "item", NULL
22003 };
22004
22005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22007 {
22008 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 {
22019 wxColour * resultptr;
22020 resultptr = new wxColour((wxColour &) result);
22021 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22022 }
22023 return resultobj;
22024 fail:
22025 return NULL;
22026 }
22027
22028
22029 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22030 PyObject *resultobj;
22031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22032 long arg2 ;
22033 wxColour *arg3 = 0 ;
22034 wxColour temp3 ;
22035 PyObject * obj0 = 0 ;
22036 PyObject * obj1 = 0 ;
22037 PyObject * obj2 = 0 ;
22038 char *kwnames[] = {
22039 (char *) "self",(char *) "item",(char *) "col", NULL
22040 };
22041
22042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22044 {
22045 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 {
22049 arg3 = &temp3;
22050 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22051 }
22052 {
22053 PyThreadState* __tstate = wxPyBeginAllowThreads();
22054 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22055
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 Py_INCREF(Py_None); resultobj = Py_None;
22060 return resultobj;
22061 fail:
22062 return NULL;
22063 }
22064
22065
22066 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22067 PyObject *resultobj;
22068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22069 long arg2 ;
22070 wxColour result;
22071 PyObject * obj0 = 0 ;
22072 PyObject * obj1 = 0 ;
22073 char *kwnames[] = {
22074 (char *) "self",(char *) "item", NULL
22075 };
22076
22077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22079 {
22080 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 {
22091 wxColour * resultptr;
22092 resultptr = new wxColour((wxColour &) result);
22093 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22094 }
22095 return resultobj;
22096 fail:
22097 return NULL;
22098 }
22099
22100
22101 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22102 PyObject *resultobj;
22103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22104 PyObject *arg2 = (PyObject *) 0 ;
22105 bool result;
22106 PyObject * obj0 = 0 ;
22107 PyObject * obj1 = 0 ;
22108 char *kwnames[] = {
22109 (char *) "self",(char *) "func", NULL
22110 };
22111
22112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22114 arg2 = obj1;
22115 {
22116 PyThreadState* __tstate = wxPyBeginAllowThreads();
22117 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22118
22119 wxPyEndAllowThreads(__tstate);
22120 if (PyErr_Occurred()) SWIG_fail;
22121 }
22122 resultobj = SWIG_PyObj_FromBool((bool)result);
22123 return resultobj;
22124 fail:
22125 return NULL;
22126 }
22127
22128
22129 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22132 wxWindow *result;
22133 PyObject * obj0 = 0 ;
22134 char *kwnames[] = {
22135 (char *) "self", NULL
22136 };
22137
22138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22140 {
22141 PyThreadState* __tstate = wxPyBeginAllowThreads();
22142 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22143
22144 wxPyEndAllowThreads(__tstate);
22145 if (PyErr_Occurred()) SWIG_fail;
22146 }
22147 {
22148 resultobj = wxPyMake_wxObject(result);
22149 }
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22157 PyObject *obj;
22158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22159 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22160 Py_INCREF(obj);
22161 return Py_BuildValue((char *)"");
22162 }
22163 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22164 PyObject *resultobj;
22165 wxWindow *arg1 = (wxWindow *) 0 ;
22166 int arg2 = (int) -1 ;
22167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22169 wxSize const &arg4_defvalue = wxDefaultSize ;
22170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22171 long arg5 = (long) wxLC_REPORT ;
22172 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22173 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22174 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22175 wxString *arg7 = (wxString *) &arg7_defvalue ;
22176 wxListView *result;
22177 wxPoint temp3 ;
22178 wxSize temp4 ;
22179 bool temp7 = False ;
22180 PyObject * obj0 = 0 ;
22181 PyObject * obj1 = 0 ;
22182 PyObject * obj2 = 0 ;
22183 PyObject * obj3 = 0 ;
22184 PyObject * obj4 = 0 ;
22185 PyObject * obj5 = 0 ;
22186 PyObject * obj6 = 0 ;
22187 char *kwnames[] = {
22188 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22189 };
22190
22191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22193 if (obj1) {
22194 {
22195 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 }
22199 if (obj2) {
22200 {
22201 arg3 = &temp3;
22202 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22203 }
22204 }
22205 if (obj3) {
22206 {
22207 arg4 = &temp4;
22208 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22209 }
22210 }
22211 if (obj4) {
22212 {
22213 arg5 = (long) SWIG_PyObj_AsLong(obj4);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
22216 }
22217 if (obj5) {
22218 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22219 if (arg6 == NULL) {
22220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22221 }
22222 }
22223 if (obj6) {
22224 {
22225 arg7 = wxString_in_helper(obj6);
22226 if (arg7 == NULL) SWIG_fail;
22227 temp7 = True;
22228 }
22229 }
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22238 {
22239 if (temp7)
22240 delete arg7;
22241 }
22242 return resultobj;
22243 fail:
22244 {
22245 if (temp7)
22246 delete arg7;
22247 }
22248 return NULL;
22249 }
22250
22251
22252 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22253 PyObject *resultobj;
22254 wxListView *result;
22255 char *kwnames[] = {
22256 NULL
22257 };
22258
22259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (wxListView *)new wxListView();
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxListView *arg1 = (wxListView *) 0 ;
22277 wxWindow *arg2 = (wxWindow *) 0 ;
22278 int arg3 = (int) -1 ;
22279 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22280 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22281 wxSize const &arg5_defvalue = wxDefaultSize ;
22282 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22283 long arg6 = (long) wxLC_REPORT ;
22284 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22285 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22286 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22287 wxString *arg8 = (wxString *) &arg8_defvalue ;
22288 bool result;
22289 wxPoint temp4 ;
22290 wxSize temp5 ;
22291 bool temp8 = False ;
22292 PyObject * obj0 = 0 ;
22293 PyObject * obj1 = 0 ;
22294 PyObject * obj2 = 0 ;
22295 PyObject * obj3 = 0 ;
22296 PyObject * obj4 = 0 ;
22297 PyObject * obj5 = 0 ;
22298 PyObject * obj6 = 0 ;
22299 PyObject * obj7 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22307 if (obj2) {
22308 {
22309 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 }
22313 if (obj3) {
22314 {
22315 arg4 = &temp4;
22316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22317 }
22318 }
22319 if (obj4) {
22320 {
22321 arg5 = &temp5;
22322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22323 }
22324 }
22325 if (obj5) {
22326 {
22327 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 }
22331 if (obj6) {
22332 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22333 if (arg7 == NULL) {
22334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22335 }
22336 }
22337 if (obj7) {
22338 {
22339 arg8 = wxString_in_helper(obj7);
22340 if (arg8 == NULL) SWIG_fail;
22341 temp8 = True;
22342 }
22343 }
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 resultobj = SWIG_PyObj_FromBool((bool)result);
22352 {
22353 if (temp8)
22354 delete arg8;
22355 }
22356 return resultobj;
22357 fail:
22358 {
22359 if (temp8)
22360 delete arg8;
22361 }
22362 return NULL;
22363 }
22364
22365
22366 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22367 PyObject *resultobj;
22368 wxListView *arg1 = (wxListView *) 0 ;
22369 long arg2 ;
22370 bool arg3 = (bool) True ;
22371 PyObject * obj0 = 0 ;
22372 PyObject * obj1 = 0 ;
22373 PyObject * obj2 = 0 ;
22374 char *kwnames[] = {
22375 (char *) "self",(char *) "n",(char *) "on", NULL
22376 };
22377
22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22380 {
22381 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 if (obj2) {
22385 {
22386 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22387 if (PyErr_Occurred()) SWIG_fail;
22388 }
22389 }
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 (arg1)->Select(arg2,arg3);
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 Py_INCREF(Py_None); resultobj = Py_None;
22398 return resultobj;
22399 fail:
22400 return NULL;
22401 }
22402
22403
22404 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxListView *arg1 = (wxListView *) 0 ;
22407 long arg2 ;
22408 PyObject * obj0 = 0 ;
22409 PyObject * obj1 = 0 ;
22410 char *kwnames[] = {
22411 (char *) "self",(char *) "index", NULL
22412 };
22413
22414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22416 {
22417 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 {
22421 PyThreadState* __tstate = wxPyBeginAllowThreads();
22422 (arg1)->Focus(arg2);
22423
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 Py_INCREF(Py_None); resultobj = Py_None;
22428 return resultobj;
22429 fail:
22430 return NULL;
22431 }
22432
22433
22434 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22435 PyObject *resultobj;
22436 wxListView *arg1 = (wxListView *) 0 ;
22437 long result;
22438 PyObject * obj0 = 0 ;
22439 char *kwnames[] = {
22440 (char *) "self", NULL
22441 };
22442
22443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22445 {
22446 PyThreadState* __tstate = wxPyBeginAllowThreads();
22447 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22448
22449 wxPyEndAllowThreads(__tstate);
22450 if (PyErr_Occurred()) SWIG_fail;
22451 }
22452 resultobj = SWIG_PyObj_FromLong((long)result);
22453 return resultobj;
22454 fail:
22455 return NULL;
22456 }
22457
22458
22459 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22460 PyObject *resultobj;
22461 wxListView *arg1 = (wxListView *) 0 ;
22462 long arg2 ;
22463 long result;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 char *kwnames[] = {
22467 (char *) "self",(char *) "item", NULL
22468 };
22469
22470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22472 {
22473 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22479
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 resultobj = SWIG_PyObj_FromLong((long)result);
22484 return resultobj;
22485 fail:
22486 return NULL;
22487 }
22488
22489
22490 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22491 PyObject *resultobj;
22492 wxListView *arg1 = (wxListView *) 0 ;
22493 long result;
22494 PyObject * obj0 = 0 ;
22495 char *kwnames[] = {
22496 (char *) "self", NULL
22497 };
22498
22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 resultobj = SWIG_PyObj_FromLong((long)result);
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxListView *arg1 = (wxListView *) 0 ;
22518 long arg2 ;
22519 bool result;
22520 PyObject * obj0 = 0 ;
22521 PyObject * obj1 = 0 ;
22522 char *kwnames[] = {
22523 (char *) "self",(char *) "index", NULL
22524 };
22525
22526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22528 {
22529 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 }
22532 {
22533 PyThreadState* __tstate = wxPyBeginAllowThreads();
22534 result = (bool)(arg1)->IsSelected(arg2);
22535
22536 wxPyEndAllowThreads(__tstate);
22537 if (PyErr_Occurred()) SWIG_fail;
22538 }
22539 resultobj = SWIG_PyObj_FromBool((bool)result);
22540 return resultobj;
22541 fail:
22542 return NULL;
22543 }
22544
22545
22546 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxListView *arg1 = (wxListView *) 0 ;
22549 int arg2 ;
22550 int arg3 ;
22551 PyObject * obj0 = 0 ;
22552 PyObject * obj1 = 0 ;
22553 PyObject * obj2 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self",(char *) "col",(char *) "image", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22560 {
22561 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 {
22565 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 (arg1)->SetColumnImage(arg2,arg3);
22571
22572 wxPyEndAllowThreads(__tstate);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 }
22575 Py_INCREF(Py_None); resultobj = Py_None;
22576 return resultobj;
22577 fail:
22578 return NULL;
22579 }
22580
22581
22582 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22583 PyObject *resultobj;
22584 wxListView *arg1 = (wxListView *) 0 ;
22585 int arg2 ;
22586 PyObject * obj0 = 0 ;
22587 PyObject * obj1 = 0 ;
22588 char *kwnames[] = {
22589 (char *) "self",(char *) "col", NULL
22590 };
22591
22592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22594 {
22595 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 {
22599 PyThreadState* __tstate = wxPyBeginAllowThreads();
22600 (arg1)->ClearColumnImage(arg2);
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 * ListView_swigregister(PyObject *self, PyObject *args) {
22613 PyObject *obj;
22614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22615 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22616 Py_INCREF(obj);
22617 return Py_BuildValue((char *)"");
22618 }
22619 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22620 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22621 return 1;
22622 }
22623
22624
22625 static PyObject *_wrap_TreeCtrlNameStr_get() {
22626 PyObject *pyobj;
22627
22628 {
22629 #if wxUSE_UNICODE
22630 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22631 #else
22632 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22633 #endif
22634 }
22635 return pyobj;
22636 }
22637
22638
22639 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22640 PyObject *resultobj;
22641 wxTreeItemId *result;
22642 char *kwnames[] = {
22643 NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 result = (wxTreeItemId *)new wxTreeItemId();
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
22655 return resultobj;
22656 fail:
22657 return NULL;
22658 }
22659
22660
22661 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj;
22663 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22664 PyObject * obj0 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22671 {
22672 PyThreadState* __tstate = wxPyBeginAllowThreads();
22673 delete arg1;
22674
22675 wxPyEndAllowThreads(__tstate);
22676 if (PyErr_Occurred()) SWIG_fail;
22677 }
22678 Py_INCREF(Py_None); resultobj = Py_None;
22679 return resultobj;
22680 fail:
22681 return NULL;
22682 }
22683
22684
22685 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22686 PyObject *resultobj;
22687 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22688 bool result;
22689 PyObject * obj0 = 0 ;
22690 char *kwnames[] = {
22691 (char *) "self", NULL
22692 };
22693
22694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22696 {
22697 PyThreadState* __tstate = wxPyBeginAllowThreads();
22698 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22699
22700 wxPyEndAllowThreads(__tstate);
22701 if (PyErr_Occurred()) SWIG_fail;
22702 }
22703 resultobj = SWIG_PyObj_FromBool((bool)result);
22704 return resultobj;
22705 fail:
22706 return NULL;
22707 }
22708
22709
22710 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22711 PyObject *resultobj;
22712 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22713 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22714 bool result;
22715 PyObject * obj0 = 0 ;
22716 PyObject * obj1 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self",(char *) "other", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 resultobj = SWIG_PyObj_FromBool((bool)result);
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22741 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22742 bool result;
22743 PyObject * obj0 = 0 ;
22744 PyObject * obj1 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self",(char *) "other", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 resultobj = SWIG_PyObj_FromBool((bool)result);
22760 return resultobj;
22761 fail:
22762 return NULL;
22763 }
22764
22765
22766 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22767 PyObject *resultobj;
22768 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22769 void *arg2 = (void *) 0 ;
22770 PyObject * obj0 = 0 ;
22771 PyObject * obj1 = 0 ;
22772 char *kwnames[] = {
22773 (char *) "self",(char *) "m_pItem", NULL
22774 };
22775
22776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
22779 if (arg1) (arg1)->m_pItem = arg2;
22780
22781 Py_INCREF(Py_None); resultobj = Py_None;
22782 return resultobj;
22783 fail:
22784 return NULL;
22785 }
22786
22787
22788 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj;
22790 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22791 void *result;
22792 PyObject * obj0 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self", NULL
22795 };
22796
22797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22799 result = (void *) ((arg1)->m_pItem);
22800
22801 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
22802 return resultobj;
22803 fail:
22804 return NULL;
22805 }
22806
22807
22808 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
22809 PyObject *obj;
22810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22811 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22812 Py_INCREF(obj);
22813 return Py_BuildValue((char *)"");
22814 }
22815 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22816 PyObject *resultobj;
22817 PyObject *arg1 = (PyObject *) NULL ;
22818 wxPyTreeItemData *result;
22819 PyObject * obj0 = 0 ;
22820 char *kwnames[] = {
22821 (char *) "obj", NULL
22822 };
22823
22824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
22825 if (obj0) {
22826 arg1 = obj0;
22827 }
22828 {
22829 PyThreadState* __tstate = wxPyBeginAllowThreads();
22830 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
22831
22832 wxPyEndAllowThreads(__tstate);
22833 if (PyErr_Occurred()) SWIG_fail;
22834 }
22835 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
22836 return resultobj;
22837 fail:
22838 return NULL;
22839 }
22840
22841
22842 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22843 PyObject *resultobj;
22844 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22845 PyObject *result;
22846 PyObject * obj0 = 0 ;
22847 char *kwnames[] = {
22848 (char *) "self", NULL
22849 };
22850
22851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
22852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22853 {
22854 PyThreadState* __tstate = wxPyBeginAllowThreads();
22855 result = (PyObject *)(arg1)->GetData();
22856
22857 wxPyEndAllowThreads(__tstate);
22858 if (PyErr_Occurred()) SWIG_fail;
22859 }
22860 resultobj = result;
22861 return resultobj;
22862 fail:
22863 return NULL;
22864 }
22865
22866
22867 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22868 PyObject *resultobj;
22869 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22870 PyObject *arg2 = (PyObject *) 0 ;
22871 PyObject * obj0 = 0 ;
22872 PyObject * obj1 = 0 ;
22873 char *kwnames[] = {
22874 (char *) "self",(char *) "obj", NULL
22875 };
22876
22877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
22878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22879 arg2 = obj1;
22880 {
22881 PyThreadState* __tstate = wxPyBeginAllowThreads();
22882 (arg1)->SetData(arg2);
22883
22884 wxPyEndAllowThreads(__tstate);
22885 if (PyErr_Occurred()) SWIG_fail;
22886 }
22887 Py_INCREF(Py_None); resultobj = Py_None;
22888 return resultobj;
22889 fail:
22890 return NULL;
22891 }
22892
22893
22894 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj;
22896 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22897 wxTreeItemId *result;
22898 PyObject * obj0 = 0 ;
22899 char *kwnames[] = {
22900 (char *) "self", NULL
22901 };
22902
22903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
22904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22905 {
22906 PyThreadState* __tstate = wxPyBeginAllowThreads();
22907 {
22908 wxTreeItemId const &_result_ref = (arg1)->GetId();
22909 result = (wxTreeItemId *) &_result_ref;
22910 }
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
22916 return resultobj;
22917 fail:
22918 return NULL;
22919 }
22920
22921
22922 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22923 PyObject *resultobj;
22924 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22925 wxTreeItemId *arg2 = 0 ;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "id", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22935 if (arg2 == NULL) {
22936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22937 }
22938 {
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 (arg1)->SetId((wxTreeItemId const &)*arg2);
22941
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 Py_INCREF(Py_None); resultobj = Py_None;
22946 return resultobj;
22947 fail:
22948 return NULL;
22949 }
22950
22951
22952 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22955 PyObject * obj0 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self", NULL
22958 };
22959
22960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
22961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22962 {
22963 PyThreadState* __tstate = wxPyBeginAllowThreads();
22964 wxPyTreeItemData_Destroy(arg1);
22965
22966 wxPyEndAllowThreads(__tstate);
22967 if (PyErr_Occurred()) SWIG_fail;
22968 }
22969 Py_INCREF(Py_None); resultobj = Py_None;
22970 return resultobj;
22971 fail:
22972 return NULL;
22973 }
22974
22975
22976 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
22977 PyObject *obj;
22978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22979 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
22980 Py_INCREF(obj);
22981 return Py_BuildValue((char *)"");
22982 }
22983 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
22984 PyObject *resultobj;
22985 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22986 int arg2 = (int) 0 ;
22987 wxTreeEvent *result;
22988 PyObject * obj0 = 0 ;
22989 PyObject * obj1 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "commandType",(char *) "id", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
22995 if (obj0) {
22996 {
22997 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
22998 if (PyErr_Occurred()) SWIG_fail;
22999 }
23000 }
23001 if (obj1) {
23002 {
23003 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 }
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
23015 return resultobj;
23016 fail:
23017 return NULL;
23018 }
23019
23020
23021 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23022 PyObject *resultobj;
23023 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23024 wxTreeItemId result;
23025 PyObject * obj0 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 result = ((wxTreeEvent const *)arg1)->GetItem();
23035
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 {
23040 wxTreeItemId * resultptr;
23041 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23042 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23043 }
23044 return resultobj;
23045 fail:
23046 return NULL;
23047 }
23048
23049
23050 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23051 PyObject *resultobj;
23052 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23053 wxTreeItemId *arg2 = 0 ;
23054 PyObject * obj0 = 0 ;
23055 PyObject * obj1 = 0 ;
23056 char *kwnames[] = {
23057 (char *) "self",(char *) "item", NULL
23058 };
23059
23060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23063 if (arg2 == NULL) {
23064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23065 }
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 Py_INCREF(Py_None); resultobj = Py_None;
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23083 wxTreeItemId result;
23084 PyObject * obj0 = 0 ;
23085 char *kwnames[] = {
23086 (char *) "self", NULL
23087 };
23088
23089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23094
23095 wxPyEndAllowThreads(__tstate);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 }
23098 {
23099 wxTreeItemId * resultptr;
23100 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23101 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23102 }
23103 return resultobj;
23104 fail:
23105 return NULL;
23106 }
23107
23108
23109 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23110 PyObject *resultobj;
23111 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23112 wxTreeItemId *arg2 = 0 ;
23113 PyObject * obj0 = 0 ;
23114 PyObject * obj1 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self",(char *) "item", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23122 if (arg2 == NULL) {
23123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23124 }
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 Py_INCREF(Py_None); resultobj = Py_None;
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23142 wxPoint result;
23143 PyObject * obj0 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "self", NULL
23146 };
23147
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 result = ((wxTreeEvent const *)arg1)->GetPoint();
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 {
23158 wxPoint * resultptr;
23159 resultptr = new wxPoint((wxPoint &) result);
23160 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23161 }
23162 return resultobj;
23163 fail:
23164 return NULL;
23165 }
23166
23167
23168 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23169 PyObject *resultobj;
23170 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23171 wxPoint *arg2 = 0 ;
23172 wxPoint temp2 ;
23173 PyObject * obj0 = 0 ;
23174 PyObject * obj1 = 0 ;
23175 char *kwnames[] = {
23176 (char *) "self",(char *) "pt", NULL
23177 };
23178
23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23181 {
23182 arg2 = &temp2;
23183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23184 }
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 (arg1)->SetPoint((wxPoint const &)*arg2);
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 Py_INCREF(Py_None); resultobj = Py_None;
23193 return resultobj;
23194 fail:
23195 return NULL;
23196 }
23197
23198
23199 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23200 PyObject *resultobj;
23201 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23202 wxKeyEvent *result;
23203 PyObject * obj0 = 0 ;
23204 char *kwnames[] = {
23205 (char *) "self", NULL
23206 };
23207
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23210 {
23211 PyThreadState* __tstate = wxPyBeginAllowThreads();
23212 {
23213 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23214 result = (wxKeyEvent *) &_result_ref;
23215 }
23216
23217 wxPyEndAllowThreads(__tstate);
23218 if (PyErr_Occurred()) SWIG_fail;
23219 }
23220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
23221 return resultobj;
23222 fail:
23223 return NULL;
23224 }
23225
23226
23227 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23228 PyObject *resultobj;
23229 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23230 int result;
23231 PyObject * obj0 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23238 {
23239 PyThreadState* __tstate = wxPyBeginAllowThreads();
23240 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23241
23242 wxPyEndAllowThreads(__tstate);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 }
23245 resultobj = SWIG_PyObj_FromInt((int)result);
23246 return resultobj;
23247 fail:
23248 return NULL;
23249 }
23250
23251
23252 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23253 PyObject *resultobj;
23254 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23255 wxKeyEvent *arg2 = 0 ;
23256 PyObject * obj0 = 0 ;
23257 PyObject * obj1 = 0 ;
23258 char *kwnames[] = {
23259 (char *) "self",(char *) "evt", NULL
23260 };
23261
23262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23265 if (arg2 == NULL) {
23266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23267 }
23268 {
23269 PyThreadState* __tstate = wxPyBeginAllowThreads();
23270 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23271
23272 wxPyEndAllowThreads(__tstate);
23273 if (PyErr_Occurred()) SWIG_fail;
23274 }
23275 Py_INCREF(Py_None); resultobj = Py_None;
23276 return resultobj;
23277 fail:
23278 return NULL;
23279 }
23280
23281
23282 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23283 PyObject *resultobj;
23284 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23285 wxString *result;
23286 PyObject * obj0 = 0 ;
23287 char *kwnames[] = {
23288 (char *) "self", NULL
23289 };
23290
23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23293 {
23294 PyThreadState* __tstate = wxPyBeginAllowThreads();
23295 {
23296 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23297 result = (wxString *) &_result_ref;
23298 }
23299
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 {
23304 #if wxUSE_UNICODE
23305 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23306 #else
23307 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23308 #endif
23309 }
23310 return resultobj;
23311 fail:
23312 return NULL;
23313 }
23314
23315
23316 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23317 PyObject *resultobj;
23318 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23319 wxString *arg2 = 0 ;
23320 bool temp2 = False ;
23321 PyObject * obj0 = 0 ;
23322 PyObject * obj1 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self",(char *) "label", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23329 {
23330 arg2 = wxString_in_helper(obj1);
23331 if (arg2 == NULL) SWIG_fail;
23332 temp2 = True;
23333 }
23334 {
23335 PyThreadState* __tstate = wxPyBeginAllowThreads();
23336 (arg1)->SetLabel((wxString const &)*arg2);
23337
23338 wxPyEndAllowThreads(__tstate);
23339 if (PyErr_Occurred()) SWIG_fail;
23340 }
23341 Py_INCREF(Py_None); resultobj = Py_None;
23342 {
23343 if (temp2)
23344 delete arg2;
23345 }
23346 return resultobj;
23347 fail:
23348 {
23349 if (temp2)
23350 delete arg2;
23351 }
23352 return NULL;
23353 }
23354
23355
23356 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23357 PyObject *resultobj;
23358 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23359 bool result;
23360 PyObject * obj0 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "self", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23370
23371 wxPyEndAllowThreads(__tstate);
23372 if (PyErr_Occurred()) SWIG_fail;
23373 }
23374 resultobj = SWIG_PyObj_FromBool((bool)result);
23375 return resultobj;
23376 fail:
23377 return NULL;
23378 }
23379
23380
23381 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23384 bool arg2 ;
23385 PyObject * obj0 = 0 ;
23386 PyObject * obj1 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self",(char *) "editCancelled", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23393 {
23394 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 {
23398 PyThreadState* __tstate = wxPyBeginAllowThreads();
23399 (arg1)->SetEditCanceled(arg2);
23400
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 Py_INCREF(Py_None); resultobj = Py_None;
23405 return resultobj;
23406 fail:
23407 return NULL;
23408 }
23409
23410
23411 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23412 PyObject *resultobj;
23413 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23414 wxString *arg2 = 0 ;
23415 bool temp2 = False ;
23416 PyObject * obj0 = 0 ;
23417 PyObject * obj1 = 0 ;
23418 char *kwnames[] = {
23419 (char *) "self",(char *) "toolTip", NULL
23420 };
23421
23422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23424 {
23425 arg2 = wxString_in_helper(obj1);
23426 if (arg2 == NULL) SWIG_fail;
23427 temp2 = True;
23428 }
23429 {
23430 PyThreadState* __tstate = wxPyBeginAllowThreads();
23431 (arg1)->SetToolTip((wxString const &)*arg2);
23432
23433 wxPyEndAllowThreads(__tstate);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 }
23436 Py_INCREF(Py_None); resultobj = Py_None;
23437 {
23438 if (temp2)
23439 delete arg2;
23440 }
23441 return resultobj;
23442 fail:
23443 {
23444 if (temp2)
23445 delete arg2;
23446 }
23447 return NULL;
23448 }
23449
23450
23451 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23452 PyObject *obj;
23453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23454 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23455 Py_INCREF(obj);
23456 return Py_BuildValue((char *)"");
23457 }
23458 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj;
23460 wxWindow *arg1 = (wxWindow *) 0 ;
23461 int arg2 = (int) -1 ;
23462 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23463 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23464 wxSize const &arg4_defvalue = wxDefaultSize ;
23465 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23466 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23467 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23468 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23469 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23470 wxString *arg7 = (wxString *) &arg7_defvalue ;
23471 wxPyTreeCtrl *result;
23472 wxPoint temp3 ;
23473 wxSize temp4 ;
23474 bool temp7 = False ;
23475 PyObject * obj0 = 0 ;
23476 PyObject * obj1 = 0 ;
23477 PyObject * obj2 = 0 ;
23478 PyObject * obj3 = 0 ;
23479 PyObject * obj4 = 0 ;
23480 PyObject * obj5 = 0 ;
23481 PyObject * obj6 = 0 ;
23482 char *kwnames[] = {
23483 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23488 if (obj1) {
23489 {
23490 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23491 if (PyErr_Occurred()) SWIG_fail;
23492 }
23493 }
23494 if (obj2) {
23495 {
23496 arg3 = &temp3;
23497 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23498 }
23499 }
23500 if (obj3) {
23501 {
23502 arg4 = &temp4;
23503 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23504 }
23505 }
23506 if (obj4) {
23507 {
23508 arg5 = (long) SWIG_PyObj_AsLong(obj4);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 }
23512 if (obj5) {
23513 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23514 if (arg6 == NULL) {
23515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23516 }
23517 }
23518 if (obj6) {
23519 {
23520 arg7 = wxString_in_helper(obj6);
23521 if (arg7 == NULL) SWIG_fail;
23522 temp7 = True;
23523 }
23524 }
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23528
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 {
23533 resultobj = wxPyMake_wxObject(result);
23534 }
23535 {
23536 if (temp7)
23537 delete arg7;
23538 }
23539 return resultobj;
23540 fail:
23541 {
23542 if (temp7)
23543 delete arg7;
23544 }
23545 return NULL;
23546 }
23547
23548
23549 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxPyTreeCtrl *result;
23552 char *kwnames[] = {
23553 NULL
23554 };
23555
23556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
23564 {
23565 resultobj = wxPyMake_wxObject(result);
23566 }
23567 return resultobj;
23568 fail:
23569 return NULL;
23570 }
23571
23572
23573 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23574 PyObject *resultobj;
23575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23576 wxWindow *arg2 = (wxWindow *) 0 ;
23577 int arg3 = (int) -1 ;
23578 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23579 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23580 wxSize const &arg5_defvalue = wxDefaultSize ;
23581 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23582 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23583 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23584 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23585 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23586 wxString *arg8 = (wxString *) &arg8_defvalue ;
23587 bool result;
23588 wxPoint temp4 ;
23589 wxSize temp5 ;
23590 bool temp8 = False ;
23591 PyObject * obj0 = 0 ;
23592 PyObject * obj1 = 0 ;
23593 PyObject * obj2 = 0 ;
23594 PyObject * obj3 = 0 ;
23595 PyObject * obj4 = 0 ;
23596 PyObject * obj5 = 0 ;
23597 PyObject * obj6 = 0 ;
23598 PyObject * obj7 = 0 ;
23599 char *kwnames[] = {
23600 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23601 };
23602
23603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23606 if (obj2) {
23607 {
23608 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 }
23612 if (obj3) {
23613 {
23614 arg4 = &temp4;
23615 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23616 }
23617 }
23618 if (obj4) {
23619 {
23620 arg5 = &temp5;
23621 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23622 }
23623 }
23624 if (obj5) {
23625 {
23626 arg6 = (long) SWIG_PyObj_AsLong(obj5);
23627 if (PyErr_Occurred()) SWIG_fail;
23628 }
23629 }
23630 if (obj6) {
23631 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23632 if (arg7 == NULL) {
23633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23634 }
23635 }
23636 if (obj7) {
23637 {
23638 arg8 = wxString_in_helper(obj7);
23639 if (arg8 == NULL) SWIG_fail;
23640 temp8 = True;
23641 }
23642 }
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 resultobj = SWIG_PyObj_FromBool((bool)result);
23651 {
23652 if (temp8)
23653 delete arg8;
23654 }
23655 return resultobj;
23656 fail:
23657 {
23658 if (temp8)
23659 delete arg8;
23660 }
23661 return NULL;
23662 }
23663
23664
23665 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23666 PyObject *resultobj;
23667 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23668 PyObject *arg2 = (PyObject *) 0 ;
23669 PyObject *arg3 = (PyObject *) 0 ;
23670 PyObject * obj0 = 0 ;
23671 PyObject * obj1 = 0 ;
23672 PyObject * obj2 = 0 ;
23673 char *kwnames[] = {
23674 (char *) "self",(char *) "self",(char *) "_class", NULL
23675 };
23676
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23679 arg2 = obj1;
23680 arg3 = obj2;
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 (arg1)->_setCallbackInfo(arg2,arg3);
23684
23685 wxPyEndAllowThreads(__tstate);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 Py_INCREF(Py_None); resultobj = Py_None;
23689 return resultobj;
23690 fail:
23691 return NULL;
23692 }
23693
23694
23695 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23696 PyObject *resultobj;
23697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23698 size_t result;
23699 PyObject * obj0 = 0 ;
23700 char *kwnames[] = {
23701 (char *) "self", NULL
23702 };
23703
23704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23706 {
23707 PyThreadState* __tstate = wxPyBeginAllowThreads();
23708 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23709
23710 wxPyEndAllowThreads(__tstate);
23711 if (PyErr_Occurred()) SWIG_fail;
23712 }
23713 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23714 return resultobj;
23715 fail:
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23723 unsigned int result;
23724 PyObject * obj0 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23739 return resultobj;
23740 fail:
23741 return NULL;
23742 }
23743
23744
23745 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23748 unsigned int arg2 ;
23749 PyObject * obj0 = 0 ;
23750 PyObject * obj1 = 0 ;
23751 char *kwnames[] = {
23752 (char *) "self",(char *) "indent", NULL
23753 };
23754
23755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23757 {
23758 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23759 if (PyErr_Occurred()) SWIG_fail;
23760 }
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 (arg1)->SetIndent(arg2);
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 Py_INCREF(Py_None); resultobj = Py_None;
23769 return resultobj;
23770 fail:
23771 return NULL;
23772 }
23773
23774
23775 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23776 PyObject *resultobj;
23777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23778 unsigned int result;
23779 PyObject * obj0 = 0 ;
23780 char *kwnames[] = {
23781 (char *) "self", NULL
23782 };
23783
23784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23794 return resultobj;
23795 fail:
23796 return NULL;
23797 }
23798
23799
23800 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23801 PyObject *resultobj;
23802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23803 unsigned int arg2 ;
23804 PyObject * obj0 = 0 ;
23805 PyObject * obj1 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self",(char *) "spacing", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23812 {
23813 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 {
23817 PyThreadState* __tstate = wxPyBeginAllowThreads();
23818 (arg1)->SetSpacing(arg2);
23819
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 Py_INCREF(Py_None); resultobj = Py_None;
23824 return resultobj;
23825 fail:
23826 return NULL;
23827 }
23828
23829
23830 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23831 PyObject *resultobj;
23832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23833 wxImageList *result;
23834 PyObject * obj0 = 0 ;
23835 char *kwnames[] = {
23836 (char *) "self", NULL
23837 };
23838
23839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
23840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 {
23849 resultobj = wxPyMake_wxObject(result);
23850 }
23851 return resultobj;
23852 fail:
23853 return NULL;
23854 }
23855
23856
23857 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23858 PyObject *resultobj;
23859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23860 wxImageList *result;
23861 PyObject * obj0 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
23867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 {
23876 resultobj = wxPyMake_wxObject(result);
23877 }
23878 return resultobj;
23879 fail:
23880 return NULL;
23881 }
23882
23883
23884 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23885 PyObject *resultobj;
23886 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23887 wxImageList *arg2 = (wxImageList *) 0 ;
23888 PyObject * obj0 = 0 ;
23889 PyObject * obj1 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self",(char *) "imageList", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 (arg1)->SetImageList(arg2);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 Py_INCREF(Py_None); resultobj = Py_None;
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23914 wxImageList *arg2 = (wxImageList *) 0 ;
23915 PyObject * obj0 = 0 ;
23916 PyObject * obj1 = 0 ;
23917 char *kwnames[] = {
23918 (char *) "self",(char *) "imageList", NULL
23919 };
23920
23921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
23922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23924 {
23925 PyThreadState* __tstate = wxPyBeginAllowThreads();
23926 (arg1)->SetStateImageList(arg2);
23927
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 Py_INCREF(Py_None); resultobj = Py_None;
23932 return resultobj;
23933 fail:
23934 return NULL;
23935 }
23936
23937
23938 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23939 PyObject *resultobj;
23940 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23941 wxImageList *arg2 = (wxImageList *) 0 ;
23942 PyObject * obj0 = 0 ;
23943 PyObject * obj1 = 0 ;
23944 char *kwnames[] = {
23945 (char *) "self",(char *) "imageList", NULL
23946 };
23947
23948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
23949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23951 {
23952 PyThreadState* __tstate = wxPyBeginAllowThreads();
23953 (arg1)->AssignImageList(arg2);
23954
23955 wxPyEndAllowThreads(__tstate);
23956 if (PyErr_Occurred()) SWIG_fail;
23957 }
23958 Py_INCREF(Py_None); resultobj = Py_None;
23959 return resultobj;
23960 fail:
23961 return NULL;
23962 }
23963
23964
23965 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23966 PyObject *resultobj;
23967 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23968 wxImageList *arg2 = (wxImageList *) 0 ;
23969 PyObject * obj0 = 0 ;
23970 PyObject * obj1 = 0 ;
23971 char *kwnames[] = {
23972 (char *) "self",(char *) "imageList", NULL
23973 };
23974
23975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
23976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23978 {
23979 PyThreadState* __tstate = wxPyBeginAllowThreads();
23980 (arg1)->AssignStateImageList(arg2);
23981
23982 wxPyEndAllowThreads(__tstate);
23983 if (PyErr_Occurred()) SWIG_fail;
23984 }
23985 Py_INCREF(Py_None); resultobj = Py_None;
23986 return resultobj;
23987 fail:
23988 return NULL;
23989 }
23990
23991
23992 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj;
23994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23995 wxTreeItemId *arg2 = 0 ;
23996 wxString result;
23997 PyObject * obj0 = 0 ;
23998 PyObject * obj1 = 0 ;
23999 char *kwnames[] = {
24000 (char *) "self",(char *) "item", NULL
24001 };
24002
24003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24006 if (arg2 == NULL) {
24007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24008 }
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
24011 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24012
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 {
24017 #if wxUSE_UNICODE
24018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24019 #else
24020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24021 #endif
24022 }
24023 return resultobj;
24024 fail:
24025 return NULL;
24026 }
24027
24028
24029 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24030 PyObject *resultobj;
24031 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24032 wxTreeItemId *arg2 = 0 ;
24033 int arg3 = (int) wxTreeItemIcon_Normal ;
24034 int result;
24035 PyObject * obj0 = 0 ;
24036 PyObject * obj1 = 0 ;
24037 PyObject * obj2 = 0 ;
24038 char *kwnames[] = {
24039 (char *) "self",(char *) "item",(char *) "which", NULL
24040 };
24041
24042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24045 if (arg2 == NULL) {
24046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24047 }
24048 if (obj2) {
24049 {
24050 arg3 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj2);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 }
24053 }
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
24061 resultobj = SWIG_PyObj_FromInt((int)result);
24062 return resultobj;
24063 fail:
24064 return NULL;
24065 }
24066
24067
24068 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj;
24070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24071 wxTreeItemId *arg2 = 0 ;
24072 wxPyTreeItemData *result;
24073 PyObject * obj0 = 0 ;
24074 PyObject * obj1 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self",(char *) "item", NULL
24077 };
24078
24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24082 if (arg2 == NULL) {
24083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24084 }
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj;
24101 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24102 wxTreeItemId *arg2 = 0 ;
24103 PyObject *result;
24104 PyObject * obj0 = 0 ;
24105 PyObject * obj1 = 0 ;
24106 char *kwnames[] = {
24107 (char *) "self",(char *) "item", NULL
24108 };
24109
24110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24113 if (arg2 == NULL) {
24114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24115 }
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24119
24120 wxPyEndAllowThreads(__tstate);
24121 if (PyErr_Occurred()) SWIG_fail;
24122 }
24123 resultobj = result;
24124 return resultobj;
24125 fail:
24126 return NULL;
24127 }
24128
24129
24130 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24133 wxTreeItemId *arg2 = 0 ;
24134 wxColour result;
24135 PyObject * obj0 = 0 ;
24136 PyObject * obj1 = 0 ;
24137 char *kwnames[] = {
24138 (char *) "self",(char *) "item", NULL
24139 };
24140
24141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24144 if (arg2 == NULL) {
24145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24146 }
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 {
24155 wxColour * resultptr;
24156 resultptr = new wxColour((wxColour &) result);
24157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24158 }
24159 return resultobj;
24160 fail:
24161 return NULL;
24162 }
24163
24164
24165 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24166 PyObject *resultobj;
24167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24168 wxTreeItemId *arg2 = 0 ;
24169 wxColour result;
24170 PyObject * obj0 = 0 ;
24171 PyObject * obj1 = 0 ;
24172 char *kwnames[] = {
24173 (char *) "self",(char *) "item", NULL
24174 };
24175
24176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24179 if (arg2 == NULL) {
24180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24181 }
24182 {
24183 PyThreadState* __tstate = wxPyBeginAllowThreads();
24184 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24185
24186 wxPyEndAllowThreads(__tstate);
24187 if (PyErr_Occurred()) SWIG_fail;
24188 }
24189 {
24190 wxColour * resultptr;
24191 resultptr = new wxColour((wxColour &) result);
24192 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24193 }
24194 return resultobj;
24195 fail:
24196 return NULL;
24197 }
24198
24199
24200 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24201 PyObject *resultobj;
24202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24203 wxTreeItemId *arg2 = 0 ;
24204 wxFont result;
24205 PyObject * obj0 = 0 ;
24206 PyObject * obj1 = 0 ;
24207 char *kwnames[] = {
24208 (char *) "self",(char *) "item", NULL
24209 };
24210
24211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24214 if (arg2 == NULL) {
24215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24216 }
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24220
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 {
24225 wxFont * resultptr;
24226 resultptr = new wxFont((wxFont &) result);
24227 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
24228 }
24229 return resultobj;
24230 fail:
24231 return NULL;
24232 }
24233
24234
24235 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24236 PyObject *resultobj;
24237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24238 wxTreeItemId *arg2 = 0 ;
24239 wxString *arg3 = 0 ;
24240 bool temp3 = False ;
24241 PyObject * obj0 = 0 ;
24242 PyObject * obj1 = 0 ;
24243 PyObject * obj2 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self",(char *) "item",(char *) "text", NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24251 if (arg2 == NULL) {
24252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24253 }
24254 {
24255 arg3 = wxString_in_helper(obj2);
24256 if (arg3 == NULL) SWIG_fail;
24257 temp3 = True;
24258 }
24259 {
24260 PyThreadState* __tstate = wxPyBeginAllowThreads();
24261 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24262
24263 wxPyEndAllowThreads(__tstate);
24264 if (PyErr_Occurred()) SWIG_fail;
24265 }
24266 Py_INCREF(Py_None); resultobj = Py_None;
24267 {
24268 if (temp3)
24269 delete arg3;
24270 }
24271 return resultobj;
24272 fail:
24273 {
24274 if (temp3)
24275 delete arg3;
24276 }
24277 return NULL;
24278 }
24279
24280
24281 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24284 wxTreeItemId *arg2 = 0 ;
24285 int arg3 ;
24286 int arg4 = (int) wxTreeItemIcon_Normal ;
24287 PyObject * obj0 = 0 ;
24288 PyObject * obj1 = 0 ;
24289 PyObject * obj2 = 0 ;
24290 PyObject * obj3 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24297 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24298 if (arg2 == NULL) {
24299 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24300 }
24301 {
24302 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 if (obj3) {
24306 {
24307 arg4 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj3);
24308 if (PyErr_Occurred()) SWIG_fail;
24309 }
24310 }
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 Py_INCREF(Py_None); resultobj = Py_None;
24319 return resultobj;
24320 fail:
24321 return NULL;
24322 }
24323
24324
24325 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24326 PyObject *resultobj;
24327 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24328 wxTreeItemId *arg2 = 0 ;
24329 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24330 PyObject * obj0 = 0 ;
24331 PyObject * obj1 = 0 ;
24332 PyObject * obj2 = 0 ;
24333 char *kwnames[] = {
24334 (char *) "self",(char *) "item",(char *) "data", NULL
24335 };
24336
24337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24340 if (arg2 == NULL) {
24341 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24342 }
24343 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24344 {
24345 PyThreadState* __tstate = wxPyBeginAllowThreads();
24346 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24347
24348 wxPyEndAllowThreads(__tstate);
24349 if (PyErr_Occurred()) SWIG_fail;
24350 }
24351 Py_INCREF(Py_None); resultobj = Py_None;
24352 return resultobj;
24353 fail:
24354 return NULL;
24355 }
24356
24357
24358 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24359 PyObject *resultobj;
24360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24361 wxTreeItemId *arg2 = 0 ;
24362 PyObject *arg3 = (PyObject *) 0 ;
24363 PyObject * obj0 = 0 ;
24364 PyObject * obj1 = 0 ;
24365 PyObject * obj2 = 0 ;
24366 char *kwnames[] = {
24367 (char *) "self",(char *) "item",(char *) "obj", NULL
24368 };
24369
24370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24373 if (arg2 == NULL) {
24374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24375 }
24376 arg3 = obj2;
24377 {
24378 PyThreadState* __tstate = wxPyBeginAllowThreads();
24379 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24380
24381 wxPyEndAllowThreads(__tstate);
24382 if (PyErr_Occurred()) SWIG_fail;
24383 }
24384 Py_INCREF(Py_None); resultobj = Py_None;
24385 return resultobj;
24386 fail:
24387 return NULL;
24388 }
24389
24390
24391 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24392 PyObject *resultobj;
24393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24394 wxTreeItemId *arg2 = 0 ;
24395 bool arg3 = (bool) True ;
24396 PyObject * obj0 = 0 ;
24397 PyObject * obj1 = 0 ;
24398 PyObject * obj2 = 0 ;
24399 char *kwnames[] = {
24400 (char *) "self",(char *) "item",(char *) "has", NULL
24401 };
24402
24403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24405 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24406 if (arg2 == NULL) {
24407 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24408 }
24409 if (obj2) {
24410 {
24411 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 }
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 Py_INCREF(Py_None); resultobj = Py_None;
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24432 wxTreeItemId *arg2 = 0 ;
24433 bool arg3 = (bool) True ;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 PyObject * obj2 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self",(char *) "item",(char *) "bold", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24444 if (arg2 == NULL) {
24445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24446 }
24447 if (obj2) {
24448 {
24449 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 }
24453 {
24454 PyThreadState* __tstate = wxPyBeginAllowThreads();
24455 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24456
24457 wxPyEndAllowThreads(__tstate);
24458 if (PyErr_Occurred()) SWIG_fail;
24459 }
24460 Py_INCREF(Py_None); resultobj = Py_None;
24461 return resultobj;
24462 fail:
24463 return NULL;
24464 }
24465
24466
24467 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
24468 PyObject *resultobj;
24469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24470 wxTreeItemId *arg2 = 0 ;
24471 bool arg3 = (bool) True ;
24472 PyObject * obj0 = 0 ;
24473 PyObject * obj1 = 0 ;
24474 PyObject * obj2 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self",(char *) "item",(char *) "highlight", NULL
24477 };
24478
24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
24480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24482 if (arg2 == NULL) {
24483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24484 }
24485 if (obj2) {
24486 {
24487 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 }
24491 {
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
24494
24495 wxPyEndAllowThreads(__tstate);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
24498 Py_INCREF(Py_None); resultobj = Py_None;
24499 return resultobj;
24500 fail:
24501 return NULL;
24502 }
24503
24504
24505 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24506 PyObject *resultobj;
24507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24508 wxTreeItemId *arg2 = 0 ;
24509 wxColour *arg3 = 0 ;
24510 wxColour temp3 ;
24511 PyObject * obj0 = 0 ;
24512 PyObject * obj1 = 0 ;
24513 PyObject * obj2 = 0 ;
24514 char *kwnames[] = {
24515 (char *) "self",(char *) "item",(char *) "col", NULL
24516 };
24517
24518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24521 if (arg2 == NULL) {
24522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24523 }
24524 {
24525 arg3 = &temp3;
24526 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24527 }
24528 {
24529 PyThreadState* __tstate = wxPyBeginAllowThreads();
24530 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24531
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 Py_INCREF(Py_None); resultobj = Py_None;
24536 return resultobj;
24537 fail:
24538 return NULL;
24539 }
24540
24541
24542 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24543 PyObject *resultobj;
24544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24545 wxTreeItemId *arg2 = 0 ;
24546 wxColour *arg3 = 0 ;
24547 wxColour temp3 ;
24548 PyObject * obj0 = 0 ;
24549 PyObject * obj1 = 0 ;
24550 PyObject * obj2 = 0 ;
24551 char *kwnames[] = {
24552 (char *) "self",(char *) "item",(char *) "col", NULL
24553 };
24554
24555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24558 if (arg2 == NULL) {
24559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24560 }
24561 {
24562 arg3 = &temp3;
24563 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24564 }
24565 {
24566 PyThreadState* __tstate = wxPyBeginAllowThreads();
24567 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24568
24569 wxPyEndAllowThreads(__tstate);
24570 if (PyErr_Occurred()) SWIG_fail;
24571 }
24572 Py_INCREF(Py_None); resultobj = Py_None;
24573 return resultobj;
24574 fail:
24575 return NULL;
24576 }
24577
24578
24579 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24580 PyObject *resultobj;
24581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24582 wxTreeItemId *arg2 = 0 ;
24583 wxFont *arg3 = 0 ;
24584 PyObject * obj0 = 0 ;
24585 PyObject * obj1 = 0 ;
24586 PyObject * obj2 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "item",(char *) "font", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24594 if (arg2 == NULL) {
24595 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24596 }
24597 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24598 if (arg3 == NULL) {
24599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24600 }
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 Py_INCREF(Py_None); resultobj = Py_None;
24609 return resultobj;
24610 fail:
24611 return NULL;
24612 }
24613
24614
24615 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24616 PyObject *resultobj;
24617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24618 wxTreeItemId *arg2 = 0 ;
24619 bool result;
24620 PyObject * obj0 = 0 ;
24621 PyObject * obj1 = 0 ;
24622 char *kwnames[] = {
24623 (char *) "self",(char *) "item", NULL
24624 };
24625
24626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24629 if (arg2 == NULL) {
24630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24631 }
24632 {
24633 PyThreadState* __tstate = wxPyBeginAllowThreads();
24634 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24635
24636 wxPyEndAllowThreads(__tstate);
24637 if (PyErr_Occurred()) SWIG_fail;
24638 }
24639 resultobj = SWIG_PyObj_FromBool((bool)result);
24640 return resultobj;
24641 fail:
24642 return NULL;
24643 }
24644
24645
24646 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24647 PyObject *resultobj;
24648 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24649 wxTreeItemId *arg2 = 0 ;
24650 bool result;
24651 PyObject * obj0 = 0 ;
24652 PyObject * obj1 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "self",(char *) "item", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24660 if (arg2 == NULL) {
24661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24662 }
24663 {
24664 PyThreadState* __tstate = wxPyBeginAllowThreads();
24665 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24666
24667 wxPyEndAllowThreads(__tstate);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 resultobj = SWIG_PyObj_FromBool((bool)result);
24671 return resultobj;
24672 fail:
24673 return NULL;
24674 }
24675
24676
24677 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24678 PyObject *resultobj;
24679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24680 wxTreeItemId *arg2 = 0 ;
24681 bool result;
24682 PyObject * obj0 = 0 ;
24683 PyObject * obj1 = 0 ;
24684 char *kwnames[] = {
24685 (char *) "self",(char *) "item", NULL
24686 };
24687
24688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24691 if (arg2 == NULL) {
24692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24693 }
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 resultobj = SWIG_PyObj_FromBool((bool)result);
24702 return resultobj;
24703 fail:
24704 return NULL;
24705 }
24706
24707
24708 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24709 PyObject *resultobj;
24710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24711 wxTreeItemId *arg2 = 0 ;
24712 bool result;
24713 PyObject * obj0 = 0 ;
24714 PyObject * obj1 = 0 ;
24715 char *kwnames[] = {
24716 (char *) "self",(char *) "item", NULL
24717 };
24718
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24722 if (arg2 == NULL) {
24723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24724 }
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24728
24729 wxPyEndAllowThreads(__tstate);
24730 if (PyErr_Occurred()) SWIG_fail;
24731 }
24732 resultobj = SWIG_PyObj_FromBool((bool)result);
24733 return resultobj;
24734 fail:
24735 return NULL;
24736 }
24737
24738
24739 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24740 PyObject *resultobj;
24741 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24742 wxTreeItemId *arg2 = 0 ;
24743 bool result;
24744 PyObject * obj0 = 0 ;
24745 PyObject * obj1 = 0 ;
24746 char *kwnames[] = {
24747 (char *) "self",(char *) "item", NULL
24748 };
24749
24750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24753 if (arg2 == NULL) {
24754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24755 }
24756 {
24757 PyThreadState* __tstate = wxPyBeginAllowThreads();
24758 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24759
24760 wxPyEndAllowThreads(__tstate);
24761 if (PyErr_Occurred()) SWIG_fail;
24762 }
24763 resultobj = SWIG_PyObj_FromBool((bool)result);
24764 return resultobj;
24765 fail:
24766 return NULL;
24767 }
24768
24769
24770 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24771 PyObject *resultobj;
24772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24773 wxTreeItemId *arg2 = 0 ;
24774 bool arg3 = (bool) True ;
24775 size_t result;
24776 PyObject * obj0 = 0 ;
24777 PyObject * obj1 = 0 ;
24778 PyObject * obj2 = 0 ;
24779 char *kwnames[] = {
24780 (char *) "self",(char *) "item",(char *) "recursively", NULL
24781 };
24782
24783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24786 if (arg2 == NULL) {
24787 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24788 }
24789 if (obj2) {
24790 {
24791 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 }
24795 {
24796 PyThreadState* __tstate = wxPyBeginAllowThreads();
24797 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24798
24799 wxPyEndAllowThreads(__tstate);
24800 if (PyErr_Occurred()) SWIG_fail;
24801 }
24802 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24803 return resultobj;
24804 fail:
24805 return NULL;
24806 }
24807
24808
24809 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24810 PyObject *resultobj;
24811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24812 wxTreeItemId result;
24813 PyObject * obj0 = 0 ;
24814 char *kwnames[] = {
24815 (char *) "self", NULL
24816 };
24817
24818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 {
24828 wxTreeItemId * resultptr;
24829 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24830 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24831 }
24832 return resultobj;
24833 fail:
24834 return NULL;
24835 }
24836
24837
24838 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24839 PyObject *resultobj;
24840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24841 wxTreeItemId result;
24842 PyObject * obj0 = 0 ;
24843 char *kwnames[] = {
24844 (char *) "self", NULL
24845 };
24846
24847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
24848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
24852
24853 wxPyEndAllowThreads(__tstate);
24854 if (PyErr_Occurred()) SWIG_fail;
24855 }
24856 {
24857 wxTreeItemId * resultptr;
24858 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24859 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24860 }
24861 return resultobj;
24862 fail:
24863 return NULL;
24864 }
24865
24866
24867 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
24868 PyObject *resultobj;
24869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24870 PyObject *result;
24871 PyObject * obj0 = 0 ;
24872 char *kwnames[] = {
24873 (char *) "self", NULL
24874 };
24875
24876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
24877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
24881
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 resultobj = result;
24886 return resultobj;
24887 fail:
24888 return NULL;
24889 }
24890
24891
24892 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24893 PyObject *resultobj;
24894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24895 wxTreeItemId *arg2 = 0 ;
24896 wxTreeItemId result;
24897 PyObject * obj0 = 0 ;
24898 PyObject * obj1 = 0 ;
24899 char *kwnames[] = {
24900 (char *) "self",(char *) "item", NULL
24901 };
24902
24903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
24904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24906 if (arg2 == NULL) {
24907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24908 }
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 {
24917 wxTreeItemId * resultptr;
24918 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24919 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24920 }
24921 return resultobj;
24922 fail:
24923 return NULL;
24924 }
24925
24926
24927 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj;
24929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24930 wxTreeItemId *arg2 = 0 ;
24931 PyObject *result;
24932 PyObject * obj0 = 0 ;
24933 PyObject * obj1 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self",(char *) "item", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24941 if (arg2 == NULL) {
24942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24943 }
24944 {
24945 PyThreadState* __tstate = wxPyBeginAllowThreads();
24946 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
24947
24948 wxPyEndAllowThreads(__tstate);
24949 if (PyErr_Occurred()) SWIG_fail;
24950 }
24951 resultobj = result;
24952 return resultobj;
24953 fail:
24954 return NULL;
24955 }
24956
24957
24958 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24959 PyObject *resultobj;
24960 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24961 wxTreeItemId *arg2 = 0 ;
24962 void *arg3 = (void *) 0 ;
24963 PyObject *result;
24964 PyObject * obj0 = 0 ;
24965 PyObject * obj1 = 0 ;
24966 PyObject * obj2 = 0 ;
24967 char *kwnames[] = {
24968 (char *) "self",(char *) "item",(char *) "cookie", NULL
24969 };
24970
24971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24974 if (arg2 == NULL) {
24975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24976 }
24977 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24978 {
24979 PyThreadState* __tstate = wxPyBeginAllowThreads();
24980 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
24981
24982 wxPyEndAllowThreads(__tstate);
24983 if (PyErr_Occurred()) SWIG_fail;
24984 }
24985 resultobj = result;
24986 return resultobj;
24987 fail:
24988 return NULL;
24989 }
24990
24991
24992 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24993 PyObject *resultobj;
24994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24995 wxTreeItemId *arg2 = 0 ;
24996 wxTreeItemId result;
24997 PyObject * obj0 = 0 ;
24998 PyObject * obj1 = 0 ;
24999 char *kwnames[] = {
25000 (char *) "self",(char *) "item", NULL
25001 };
25002
25003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25006 if (arg2 == NULL) {
25007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25008 }
25009 {
25010 PyThreadState* __tstate = wxPyBeginAllowThreads();
25011 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25012
25013 wxPyEndAllowThreads(__tstate);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
25016 {
25017 wxTreeItemId * resultptr;
25018 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25019 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25020 }
25021 return resultobj;
25022 fail:
25023 return NULL;
25024 }
25025
25026
25027 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25028 PyObject *resultobj;
25029 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25030 wxTreeItemId *arg2 = 0 ;
25031 wxTreeItemId result;
25032 PyObject * obj0 = 0 ;
25033 PyObject * obj1 = 0 ;
25034 char *kwnames[] = {
25035 (char *) "self",(char *) "item", NULL
25036 };
25037
25038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25041 if (arg2 == NULL) {
25042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25043 }
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25047
25048 wxPyEndAllowThreads(__tstate);
25049 if (PyErr_Occurred()) SWIG_fail;
25050 }
25051 {
25052 wxTreeItemId * resultptr;
25053 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25054 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25055 }
25056 return resultobj;
25057 fail:
25058 return NULL;
25059 }
25060
25061
25062 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25063 PyObject *resultobj;
25064 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25065 wxTreeItemId *arg2 = 0 ;
25066 wxTreeItemId result;
25067 PyObject * obj0 = 0 ;
25068 PyObject * obj1 = 0 ;
25069 char *kwnames[] = {
25070 (char *) "self",(char *) "item", NULL
25071 };
25072
25073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25076 if (arg2 == NULL) {
25077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25078 }
25079 {
25080 PyThreadState* __tstate = wxPyBeginAllowThreads();
25081 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25082
25083 wxPyEndAllowThreads(__tstate);
25084 if (PyErr_Occurred()) SWIG_fail;
25085 }
25086 {
25087 wxTreeItemId * resultptr;
25088 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25089 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25090 }
25091 return resultobj;
25092 fail:
25093 return NULL;
25094 }
25095
25096
25097 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25098 PyObject *resultobj;
25099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25100 wxTreeItemId result;
25101 PyObject * obj0 = 0 ;
25102 char *kwnames[] = {
25103 (char *) "self", NULL
25104 };
25105
25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25111
25112 wxPyEndAllowThreads(__tstate);
25113 if (PyErr_Occurred()) SWIG_fail;
25114 }
25115 {
25116 wxTreeItemId * resultptr;
25117 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25118 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25119 }
25120 return resultobj;
25121 fail:
25122 return NULL;
25123 }
25124
25125
25126 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25129 wxTreeItemId *arg2 = 0 ;
25130 wxTreeItemId result;
25131 PyObject * obj0 = 0 ;
25132 PyObject * obj1 = 0 ;
25133 char *kwnames[] = {
25134 (char *) "self",(char *) "item", NULL
25135 };
25136
25137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25140 if (arg2 == NULL) {
25141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25142 }
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 {
25151 wxTreeItemId * resultptr;
25152 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25153 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25154 }
25155 return resultobj;
25156 fail:
25157 return NULL;
25158 }
25159
25160
25161 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25162 PyObject *resultobj;
25163 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25164 wxTreeItemId *arg2 = 0 ;
25165 wxTreeItemId result;
25166 PyObject * obj0 = 0 ;
25167 PyObject * obj1 = 0 ;
25168 char *kwnames[] = {
25169 (char *) "self",(char *) "item", NULL
25170 };
25171
25172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25175 if (arg2 == NULL) {
25176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25177 }
25178 {
25179 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
25185 {
25186 wxTreeItemId * resultptr;
25187 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25188 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25189 }
25190 return resultobj;
25191 fail:
25192 return NULL;
25193 }
25194
25195
25196 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj;
25198 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25199 wxString *arg2 = 0 ;
25200 int arg3 = (int) -1 ;
25201 int arg4 = (int) -1 ;
25202 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25203 wxTreeItemId result;
25204 bool temp2 = False ;
25205 PyObject * obj0 = 0 ;
25206 PyObject * obj1 = 0 ;
25207 PyObject * obj2 = 0 ;
25208 PyObject * obj3 = 0 ;
25209 PyObject * obj4 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25216 {
25217 arg2 = wxString_in_helper(obj1);
25218 if (arg2 == NULL) SWIG_fail;
25219 temp2 = True;
25220 }
25221 if (obj2) {
25222 {
25223 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
25226 }
25227 if (obj3) {
25228 {
25229 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25230 if (PyErr_Occurred()) SWIG_fail;
25231 }
25232 }
25233 if (obj4) {
25234 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25235 }
25236 {
25237 PyThreadState* __tstate = wxPyBeginAllowThreads();
25238 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25239
25240 wxPyEndAllowThreads(__tstate);
25241 if (PyErr_Occurred()) SWIG_fail;
25242 }
25243 {
25244 wxTreeItemId * resultptr;
25245 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25246 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25247 }
25248 {
25249 if (temp2)
25250 delete arg2;
25251 }
25252 return resultobj;
25253 fail:
25254 {
25255 if (temp2)
25256 delete arg2;
25257 }
25258 return NULL;
25259 }
25260
25261
25262 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25263 PyObject *resultobj;
25264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25265 wxTreeItemId *arg2 = 0 ;
25266 wxString *arg3 = 0 ;
25267 int arg4 = (int) -1 ;
25268 int arg5 = (int) -1 ;
25269 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25270 wxTreeItemId result;
25271 bool temp3 = False ;
25272 PyObject * obj0 = 0 ;
25273 PyObject * obj1 = 0 ;
25274 PyObject * obj2 = 0 ;
25275 PyObject * obj3 = 0 ;
25276 PyObject * obj4 = 0 ;
25277 PyObject * obj5 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25285 if (arg2 == NULL) {
25286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25287 }
25288 {
25289 arg3 = wxString_in_helper(obj2);
25290 if (arg3 == NULL) SWIG_fail;
25291 temp3 = True;
25292 }
25293 if (obj3) {
25294 {
25295 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 }
25299 if (obj4) {
25300 {
25301 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 }
25305 if (obj5) {
25306 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25307 }
25308 {
25309 PyThreadState* __tstate = wxPyBeginAllowThreads();
25310 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25311
25312 wxPyEndAllowThreads(__tstate);
25313 if (PyErr_Occurred()) SWIG_fail;
25314 }
25315 {
25316 wxTreeItemId * resultptr;
25317 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25318 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25319 }
25320 {
25321 if (temp3)
25322 delete arg3;
25323 }
25324 return resultobj;
25325 fail:
25326 {
25327 if (temp3)
25328 delete arg3;
25329 }
25330 return NULL;
25331 }
25332
25333
25334 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25335 PyObject *resultobj;
25336 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25337 wxTreeItemId *arg2 = 0 ;
25338 wxTreeItemId *arg3 = 0 ;
25339 wxString *arg4 = 0 ;
25340 int arg5 = (int) -1 ;
25341 int arg6 = (int) -1 ;
25342 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25343 wxTreeItemId result;
25344 bool temp4 = False ;
25345 PyObject * obj0 = 0 ;
25346 PyObject * obj1 = 0 ;
25347 PyObject * obj2 = 0 ;
25348 PyObject * obj3 = 0 ;
25349 PyObject * obj4 = 0 ;
25350 PyObject * obj5 = 0 ;
25351 PyObject * obj6 = 0 ;
25352 char *kwnames[] = {
25353 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25354 };
25355
25356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25359 if (arg2 == NULL) {
25360 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25361 }
25362 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25363 if (arg3 == NULL) {
25364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25365 }
25366 {
25367 arg4 = wxString_in_helper(obj3);
25368 if (arg4 == NULL) SWIG_fail;
25369 temp4 = True;
25370 }
25371 if (obj4) {
25372 {
25373 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 }
25377 if (obj5) {
25378 {
25379 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25380 if (PyErr_Occurred()) SWIG_fail;
25381 }
25382 }
25383 if (obj6) {
25384 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25385 }
25386 {
25387 PyThreadState* __tstate = wxPyBeginAllowThreads();
25388 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25389
25390 wxPyEndAllowThreads(__tstate);
25391 if (PyErr_Occurred()) SWIG_fail;
25392 }
25393 {
25394 wxTreeItemId * resultptr;
25395 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25396 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25397 }
25398 {
25399 if (temp4)
25400 delete arg4;
25401 }
25402 return resultobj;
25403 fail:
25404 {
25405 if (temp4)
25406 delete arg4;
25407 }
25408 return NULL;
25409 }
25410
25411
25412 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj;
25414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25415 wxTreeItemId *arg2 = 0 ;
25416 size_t arg3 ;
25417 wxString *arg4 = 0 ;
25418 int arg5 = (int) -1 ;
25419 int arg6 = (int) -1 ;
25420 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25421 wxTreeItemId result;
25422 bool temp4 = False ;
25423 PyObject * obj0 = 0 ;
25424 PyObject * obj1 = 0 ;
25425 PyObject * obj2 = 0 ;
25426 PyObject * obj3 = 0 ;
25427 PyObject * obj4 = 0 ;
25428 PyObject * obj5 = 0 ;
25429 PyObject * obj6 = 0 ;
25430 char *kwnames[] = {
25431 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25432 };
25433
25434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25437 if (arg2 == NULL) {
25438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25439 }
25440 {
25441 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 {
25445 arg4 = wxString_in_helper(obj3);
25446 if (arg4 == NULL) SWIG_fail;
25447 temp4 = True;
25448 }
25449 if (obj4) {
25450 {
25451 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 }
25455 if (obj5) {
25456 {
25457 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 }
25461 if (obj6) {
25462 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25463 }
25464 {
25465 PyThreadState* __tstate = wxPyBeginAllowThreads();
25466 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25467
25468 wxPyEndAllowThreads(__tstate);
25469 if (PyErr_Occurred()) SWIG_fail;
25470 }
25471 {
25472 wxTreeItemId * resultptr;
25473 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25474 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25475 }
25476 {
25477 if (temp4)
25478 delete arg4;
25479 }
25480 return resultobj;
25481 fail:
25482 {
25483 if (temp4)
25484 delete arg4;
25485 }
25486 return NULL;
25487 }
25488
25489
25490 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj;
25492 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25493 wxTreeItemId *arg2 = 0 ;
25494 wxString *arg3 = 0 ;
25495 int arg4 = (int) -1 ;
25496 int arg5 = (int) -1 ;
25497 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25498 wxTreeItemId result;
25499 bool temp3 = False ;
25500 PyObject * obj0 = 0 ;
25501 PyObject * obj1 = 0 ;
25502 PyObject * obj2 = 0 ;
25503 PyObject * obj3 = 0 ;
25504 PyObject * obj4 = 0 ;
25505 PyObject * obj5 = 0 ;
25506 char *kwnames[] = {
25507 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25508 };
25509
25510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25513 if (arg2 == NULL) {
25514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25515 }
25516 {
25517 arg3 = wxString_in_helper(obj2);
25518 if (arg3 == NULL) SWIG_fail;
25519 temp3 = True;
25520 }
25521 if (obj3) {
25522 {
25523 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 }
25527 if (obj4) {
25528 {
25529 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 }
25533 if (obj5) {
25534 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25535 }
25536 {
25537 PyThreadState* __tstate = wxPyBeginAllowThreads();
25538 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25539
25540 wxPyEndAllowThreads(__tstate);
25541 if (PyErr_Occurred()) SWIG_fail;
25542 }
25543 {
25544 wxTreeItemId * resultptr;
25545 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25546 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25547 }
25548 {
25549 if (temp3)
25550 delete arg3;
25551 }
25552 return resultobj;
25553 fail:
25554 {
25555 if (temp3)
25556 delete arg3;
25557 }
25558 return NULL;
25559 }
25560
25561
25562 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25563 PyObject *resultobj;
25564 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25565 wxTreeItemId *arg2 = 0 ;
25566 PyObject * obj0 = 0 ;
25567 PyObject * obj1 = 0 ;
25568 char *kwnames[] = {
25569 (char *) "self",(char *) "item", NULL
25570 };
25571
25572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25575 if (arg2 == NULL) {
25576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25577 }
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 (arg1)->Delete((wxTreeItemId const &)*arg2);
25581
25582 wxPyEndAllowThreads(__tstate);
25583 if (PyErr_Occurred()) SWIG_fail;
25584 }
25585 Py_INCREF(Py_None); resultobj = Py_None;
25586 return resultobj;
25587 fail:
25588 return NULL;
25589 }
25590
25591
25592 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25595 wxTreeItemId *arg2 = 0 ;
25596 PyObject * obj0 = 0 ;
25597 PyObject * obj1 = 0 ;
25598 char *kwnames[] = {
25599 (char *) "self",(char *) "item", NULL
25600 };
25601
25602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25605 if (arg2 == NULL) {
25606 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25607 }
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 Py_INCREF(Py_None); resultobj = Py_None;
25616 return resultobj;
25617 fail:
25618 return NULL;
25619 }
25620
25621
25622 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25623 PyObject *resultobj;
25624 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25625 PyObject * obj0 = 0 ;
25626 char *kwnames[] = {
25627 (char *) "self", NULL
25628 };
25629
25630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 (arg1)->DeleteAllItems();
25635
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 Py_INCREF(Py_None); resultobj = Py_None;
25640 return resultobj;
25641 fail:
25642 return NULL;
25643 }
25644
25645
25646 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25647 PyObject *resultobj;
25648 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25649 wxTreeItemId *arg2 = 0 ;
25650 PyObject * obj0 = 0 ;
25651 PyObject * obj1 = 0 ;
25652 char *kwnames[] = {
25653 (char *) "self",(char *) "item", NULL
25654 };
25655
25656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25659 if (arg2 == NULL) {
25660 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25661 }
25662 {
25663 PyThreadState* __tstate = wxPyBeginAllowThreads();
25664 (arg1)->Expand((wxTreeItemId const &)*arg2);
25665
25666 wxPyEndAllowThreads(__tstate);
25667 if (PyErr_Occurred()) SWIG_fail;
25668 }
25669 Py_INCREF(Py_None); resultobj = Py_None;
25670 return resultobj;
25671 fail:
25672 return NULL;
25673 }
25674
25675
25676 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
25677 PyObject *resultobj;
25678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25679 wxTreeItemId *arg2 = 0 ;
25680 PyObject * obj0 = 0 ;
25681 PyObject * obj1 = 0 ;
25682 char *kwnames[] = {
25683 (char *) "self",(char *) "item", NULL
25684 };
25685
25686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25688 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25689 if (arg2 == NULL) {
25690 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25691 }
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25695
25696 wxPyEndAllowThreads(__tstate);
25697 if (PyErr_Occurred()) SWIG_fail;
25698 }
25699 Py_INCREF(Py_None); resultobj = Py_None;
25700 return resultobj;
25701 fail:
25702 return NULL;
25703 }
25704
25705
25706 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
25707 PyObject *resultobj;
25708 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25709 wxTreeItemId *arg2 = 0 ;
25710 PyObject * obj0 = 0 ;
25711 PyObject * obj1 = 0 ;
25712 char *kwnames[] = {
25713 (char *) "self",(char *) "item", NULL
25714 };
25715
25716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25719 if (arg2 == NULL) {
25720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25721 }
25722 {
25723 PyThreadState* __tstate = wxPyBeginAllowThreads();
25724 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25725
25726 wxPyEndAllowThreads(__tstate);
25727 if (PyErr_Occurred()) SWIG_fail;
25728 }
25729 Py_INCREF(Py_None); resultobj = Py_None;
25730 return resultobj;
25731 fail:
25732 return NULL;
25733 }
25734
25735
25736 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
25737 PyObject *resultobj;
25738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25739 wxTreeItemId *arg2 = 0 ;
25740 PyObject * obj0 = 0 ;
25741 PyObject * obj1 = 0 ;
25742 char *kwnames[] = {
25743 (char *) "self",(char *) "item", NULL
25744 };
25745
25746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25749 if (arg2 == NULL) {
25750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25751 }
25752 {
25753 PyThreadState* __tstate = wxPyBeginAllowThreads();
25754 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25755
25756 wxPyEndAllowThreads(__tstate);
25757 if (PyErr_Occurred()) SWIG_fail;
25758 }
25759 Py_INCREF(Py_None); resultobj = Py_None;
25760 return resultobj;
25761 fail:
25762 return NULL;
25763 }
25764
25765
25766 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
25767 PyObject *resultobj;
25768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25769 PyObject * obj0 = 0 ;
25770 char *kwnames[] = {
25771 (char *) "self", NULL
25772 };
25773
25774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25776 {
25777 PyThreadState* __tstate = wxPyBeginAllowThreads();
25778 (arg1)->Unselect();
25779
25780 wxPyEndAllowThreads(__tstate);
25781 if (PyErr_Occurred()) SWIG_fail;
25782 }
25783 Py_INCREF(Py_None); resultobj = Py_None;
25784 return resultobj;
25785 fail:
25786 return NULL;
25787 }
25788
25789
25790 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25791 PyObject *resultobj;
25792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25793 PyObject * obj0 = 0 ;
25794 char *kwnames[] = {
25795 (char *) "self", NULL
25796 };
25797
25798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25800 {
25801 PyThreadState* __tstate = wxPyBeginAllowThreads();
25802 (arg1)->UnselectAll();
25803
25804 wxPyEndAllowThreads(__tstate);
25805 if (PyErr_Occurred()) SWIG_fail;
25806 }
25807 Py_INCREF(Py_None); resultobj = Py_None;
25808 return resultobj;
25809 fail:
25810 return NULL;
25811 }
25812
25813
25814 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25815 PyObject *resultobj;
25816 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25817 wxTreeItemId *arg2 = 0 ;
25818 PyObject * obj0 = 0 ;
25819 PyObject * obj1 = 0 ;
25820 char *kwnames[] = {
25821 (char *) "self",(char *) "item", NULL
25822 };
25823
25824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
25825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25826 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25827 if (arg2 == NULL) {
25828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25829 }
25830 {
25831 PyThreadState* __tstate = wxPyBeginAllowThreads();
25832 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
25833
25834 wxPyEndAllowThreads(__tstate);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 }
25837 Py_INCREF(Py_None); resultobj = Py_None;
25838 return resultobj;
25839 fail:
25840 return NULL;
25841 }
25842
25843
25844 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25845 PyObject *resultobj;
25846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25847 wxTreeItemId *arg2 = 0 ;
25848 PyObject * obj0 = 0 ;
25849 PyObject * obj1 = 0 ;
25850 char *kwnames[] = {
25851 (char *) "self",(char *) "item", NULL
25852 };
25853
25854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25857 if (arg2 == NULL) {
25858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25859 }
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
25863
25864 wxPyEndAllowThreads(__tstate);
25865 if (PyErr_Occurred()) SWIG_fail;
25866 }
25867 Py_INCREF(Py_None); resultobj = Py_None;
25868 return resultobj;
25869 fail:
25870 return NULL;
25871 }
25872
25873
25874 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
25875 PyObject *resultobj;
25876 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25877 wxTreeItemId *arg2 = 0 ;
25878 PyObject * obj0 = 0 ;
25879 PyObject * obj1 = 0 ;
25880 char *kwnames[] = {
25881 (char *) "self",(char *) "item", NULL
25882 };
25883
25884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
25885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25886 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25887 if (arg2 == NULL) {
25888 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25889 }
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
25893
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 Py_INCREF(Py_None); resultobj = Py_None;
25898 return resultobj;
25899 fail:
25900 return NULL;
25901 }
25902
25903
25904 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25905 PyObject *resultobj;
25906 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25907 wxTreeItemId *arg2 = 0 ;
25908 PyObject * obj0 = 0 ;
25909 PyObject * obj1 = 0 ;
25910 char *kwnames[] = {
25911 (char *) "self",(char *) "item", NULL
25912 };
25913
25914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25917 if (arg2 == NULL) {
25918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25919 }
25920 {
25921 PyThreadState* __tstate = wxPyBeginAllowThreads();
25922 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
25923
25924 wxPyEndAllowThreads(__tstate);
25925 if (PyErr_Occurred()) SWIG_fail;
25926 }
25927 Py_INCREF(Py_None); resultobj = Py_None;
25928 return resultobj;
25929 fail:
25930 return NULL;
25931 }
25932
25933
25934 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
25935 PyObject *resultobj;
25936 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25937 wxTextCtrl *result;
25938 PyObject * obj0 = 0 ;
25939 char *kwnames[] = {
25940 (char *) "self", NULL
25941 };
25942
25943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
25944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25945 {
25946 PyThreadState* __tstate = wxPyBeginAllowThreads();
25947 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
25948
25949 wxPyEndAllowThreads(__tstate);
25950 if (PyErr_Occurred()) SWIG_fail;
25951 }
25952 {
25953 resultobj = wxPyMake_wxObject(result);
25954 }
25955 return resultobj;
25956 fail:
25957 return NULL;
25958 }
25959
25960
25961 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25962 PyObject *resultobj;
25963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25964 wxTreeItemId *arg2 = 0 ;
25965 bool arg3 = (bool) False ;
25966 PyObject * obj0 = 0 ;
25967 PyObject * obj1 = 0 ;
25968 PyObject * obj2 = 0 ;
25969 char *kwnames[] = {
25970 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
25971 };
25972
25973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
25974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25975 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25976 if (arg2 == NULL) {
25977 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25978 }
25979 if (obj2) {
25980 {
25981 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25982 if (PyErr_Occurred()) SWIG_fail;
25983 }
25984 }
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
25988
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 Py_INCREF(Py_None); resultobj = Py_None;
25993 return resultobj;
25994 fail:
25995 return NULL;
25996 }
25997
25998
25999 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26000 PyObject *resultobj;
26001 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26002 wxTreeItemId *arg2 = 0 ;
26003 PyObject * obj0 = 0 ;
26004 PyObject * obj1 = 0 ;
26005 char *kwnames[] = {
26006 (char *) "self",(char *) "item", NULL
26007 };
26008
26009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26012 if (arg2 == NULL) {
26013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26014 }
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 Py_INCREF(Py_None); resultobj = Py_None;
26023 return resultobj;
26024 fail:
26025 return NULL;
26026 }
26027
26028
26029 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26030 PyObject *resultobj;
26031 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26032 wxPoint *arg2 = 0 ;
26033 int *arg3 = 0 ;
26034 wxTreeItemId result;
26035 wxPoint temp2 ;
26036 int temp3 ;
26037 PyObject * obj0 = 0 ;
26038 PyObject * obj1 = 0 ;
26039 char *kwnames[] = {
26040 (char *) "self",(char *) "point", NULL
26041 };
26042
26043 arg3 = &temp3;
26044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26046 {
26047 arg2 = &temp2;
26048 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26049 }
26050 {
26051 PyThreadState* __tstate = wxPyBeginAllowThreads();
26052 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26053
26054 wxPyEndAllowThreads(__tstate);
26055 if (PyErr_Occurred()) SWIG_fail;
26056 }
26057 {
26058 wxTreeItemId * resultptr;
26059 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26061 }
26062 {
26063 PyObject *o = PyInt_FromLong((long) (*arg3));
26064 resultobj = t_output_helper(resultobj,o);
26065 }
26066 return resultobj;
26067 fail:
26068 return NULL;
26069 }
26070
26071
26072 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26073 PyObject *resultobj;
26074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26075 wxTreeItemId *arg2 = 0 ;
26076 bool arg3 = (bool) False ;
26077 PyObject *result;
26078 PyObject * obj0 = 0 ;
26079 PyObject * obj1 = 0 ;
26080 PyObject * obj2 = 0 ;
26081 char *kwnames[] = {
26082 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26083 };
26084
26085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26088 if (arg2 == NULL) {
26089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26090 }
26091 if (obj2) {
26092 {
26093 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26094 if (PyErr_Occurred()) SWIG_fail;
26095 }
26096 }
26097 {
26098 PyThreadState* __tstate = wxPyBeginAllowThreads();
26099 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26100
26101 wxPyEndAllowThreads(__tstate);
26102 if (PyErr_Occurred()) SWIG_fail;
26103 }
26104 resultobj = result;
26105 return resultobj;
26106 fail:
26107 return NULL;
26108 }
26109
26110
26111 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26112 PyObject *obj;
26113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26114 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26115 Py_INCREF(obj);
26116 return Py_BuildValue((char *)"");
26117 }
26118 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26119 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26120 return 1;
26121 }
26122
26123
26124 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26125 PyObject *pyobj;
26126
26127 {
26128 #if wxUSE_UNICODE
26129 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26130 #else
26131 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26132 #endif
26133 }
26134 return pyobj;
26135 }
26136
26137
26138 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26139 PyObject *resultobj;
26140 wxWindow *arg1 = (wxWindow *) 0 ;
26141 int arg2 = (int) (int)-1 ;
26142 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26143 wxString *arg3 = (wxString *) &arg3_defvalue ;
26144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26146 wxSize const &arg5_defvalue = wxDefaultSize ;
26147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26148 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26149 wxString const &arg7_defvalue = wxPyEmptyString ;
26150 wxString *arg7 = (wxString *) &arg7_defvalue ;
26151 int arg8 = (int) 0 ;
26152 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26153 wxString *arg9 = (wxString *) &arg9_defvalue ;
26154 wxGenericDirCtrl *result;
26155 bool temp3 = False ;
26156 wxPoint temp4 ;
26157 wxSize temp5 ;
26158 bool temp7 = False ;
26159 bool temp9 = False ;
26160 PyObject * obj0 = 0 ;
26161 PyObject * obj1 = 0 ;
26162 PyObject * obj2 = 0 ;
26163 PyObject * obj3 = 0 ;
26164 PyObject * obj4 = 0 ;
26165 PyObject * obj5 = 0 ;
26166 PyObject * obj6 = 0 ;
26167 PyObject * obj7 = 0 ;
26168 PyObject * obj8 = 0 ;
26169 char *kwnames[] = {
26170 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26171 };
26172
26173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26175 if (obj1) {
26176 {
26177 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26178 if (PyErr_Occurred()) SWIG_fail;
26179 }
26180 }
26181 if (obj2) {
26182 {
26183 arg3 = wxString_in_helper(obj2);
26184 if (arg3 == NULL) SWIG_fail;
26185 temp3 = True;
26186 }
26187 }
26188 if (obj3) {
26189 {
26190 arg4 = &temp4;
26191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26192 }
26193 }
26194 if (obj4) {
26195 {
26196 arg5 = &temp5;
26197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26198 }
26199 }
26200 if (obj5) {
26201 {
26202 arg6 = (long) SWIG_PyObj_AsLong(obj5);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
26205 }
26206 if (obj6) {
26207 {
26208 arg7 = wxString_in_helper(obj6);
26209 if (arg7 == NULL) SWIG_fail;
26210 temp7 = True;
26211 }
26212 }
26213 if (obj7) {
26214 {
26215 arg8 = (int) SWIG_PyObj_AsInt(obj7);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 }
26219 if (obj8) {
26220 {
26221 arg9 = wxString_in_helper(obj8);
26222 if (arg9 == NULL) SWIG_fail;
26223 temp9 = True;
26224 }
26225 }
26226 {
26227 PyThreadState* __tstate = wxPyBeginAllowThreads();
26228 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26229
26230 wxPyEndAllowThreads(__tstate);
26231 if (PyErr_Occurred()) SWIG_fail;
26232 }
26233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26234 {
26235 if (temp3)
26236 delete arg3;
26237 }
26238 {
26239 if (temp7)
26240 delete arg7;
26241 }
26242 {
26243 if (temp9)
26244 delete arg9;
26245 }
26246 return resultobj;
26247 fail:
26248 {
26249 if (temp3)
26250 delete arg3;
26251 }
26252 {
26253 if (temp7)
26254 delete arg7;
26255 }
26256 {
26257 if (temp9)
26258 delete arg9;
26259 }
26260 return NULL;
26261 }
26262
26263
26264 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26265 PyObject *resultobj;
26266 wxGenericDirCtrl *result;
26267 char *kwnames[] = {
26268 NULL
26269 };
26270
26271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26272 {
26273 PyThreadState* __tstate = wxPyBeginAllowThreads();
26274 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26275
26276 wxPyEndAllowThreads(__tstate);
26277 if (PyErr_Occurred()) SWIG_fail;
26278 }
26279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26280 return resultobj;
26281 fail:
26282 return NULL;
26283 }
26284
26285
26286 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26287 PyObject *resultobj;
26288 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26289 wxWindow *arg2 = (wxWindow *) 0 ;
26290 int arg3 = (int) (int)-1 ;
26291 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26292 wxString *arg4 = (wxString *) &arg4_defvalue ;
26293 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26294 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26295 wxSize const &arg6_defvalue = wxDefaultSize ;
26296 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26297 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26298 wxString const &arg8_defvalue = wxPyEmptyString ;
26299 wxString *arg8 = (wxString *) &arg8_defvalue ;
26300 int arg9 = (int) 0 ;
26301 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26302 wxString *arg10 = (wxString *) &arg10_defvalue ;
26303 bool result;
26304 bool temp4 = False ;
26305 wxPoint temp5 ;
26306 wxSize temp6 ;
26307 bool temp8 = False ;
26308 bool temp10 = False ;
26309 PyObject * obj0 = 0 ;
26310 PyObject * obj1 = 0 ;
26311 PyObject * obj2 = 0 ;
26312 PyObject * obj3 = 0 ;
26313 PyObject * obj4 = 0 ;
26314 PyObject * obj5 = 0 ;
26315 PyObject * obj6 = 0 ;
26316 PyObject * obj7 = 0 ;
26317 PyObject * obj8 = 0 ;
26318 PyObject * obj9 = 0 ;
26319 char *kwnames[] = {
26320 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26321 };
26322
26323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26326 if (obj2) {
26327 {
26328 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 }
26331 }
26332 if (obj3) {
26333 {
26334 arg4 = wxString_in_helper(obj3);
26335 if (arg4 == NULL) SWIG_fail;
26336 temp4 = True;
26337 }
26338 }
26339 if (obj4) {
26340 {
26341 arg5 = &temp5;
26342 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26343 }
26344 }
26345 if (obj5) {
26346 {
26347 arg6 = &temp6;
26348 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26349 }
26350 }
26351 if (obj6) {
26352 {
26353 arg7 = (long) SWIG_PyObj_AsLong(obj6);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
26356 }
26357 if (obj7) {
26358 {
26359 arg8 = wxString_in_helper(obj7);
26360 if (arg8 == NULL) SWIG_fail;
26361 temp8 = True;
26362 }
26363 }
26364 if (obj8) {
26365 {
26366 arg9 = (int) SWIG_PyObj_AsInt(obj8);
26367 if (PyErr_Occurred()) SWIG_fail;
26368 }
26369 }
26370 if (obj9) {
26371 {
26372 arg10 = wxString_in_helper(obj9);
26373 if (arg10 == NULL) SWIG_fail;
26374 temp10 = True;
26375 }
26376 }
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26380
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
26384 resultobj = SWIG_PyObj_FromBool((bool)result);
26385 {
26386 if (temp4)
26387 delete arg4;
26388 }
26389 {
26390 if (temp8)
26391 delete arg8;
26392 }
26393 {
26394 if (temp10)
26395 delete arg10;
26396 }
26397 return resultobj;
26398 fail:
26399 {
26400 if (temp4)
26401 delete arg4;
26402 }
26403 {
26404 if (temp8)
26405 delete arg8;
26406 }
26407 {
26408 if (temp10)
26409 delete arg10;
26410 }
26411 return NULL;
26412 }
26413
26414
26415 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26416 PyObject *resultobj;
26417 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26418 wxString *arg2 = 0 ;
26419 bool result;
26420 bool temp2 = False ;
26421 PyObject * obj0 = 0 ;
26422 PyObject * obj1 = 0 ;
26423 char *kwnames[] = {
26424 (char *) "self",(char *) "path", NULL
26425 };
26426
26427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26429 {
26430 arg2 = wxString_in_helper(obj1);
26431 if (arg2 == NULL) SWIG_fail;
26432 temp2 = True;
26433 }
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 resultobj = SWIG_PyObj_FromBool((bool)result);
26442 {
26443 if (temp2)
26444 delete arg2;
26445 }
26446 return resultobj;
26447 fail:
26448 {
26449 if (temp2)
26450 delete arg2;
26451 }
26452 return NULL;
26453 }
26454
26455
26456 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26457 PyObject *resultobj;
26458 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26459 wxString result;
26460 PyObject * obj0 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26467 {
26468 PyThreadState* __tstate = wxPyBeginAllowThreads();
26469 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26470
26471 wxPyEndAllowThreads(__tstate);
26472 if (PyErr_Occurred()) SWIG_fail;
26473 }
26474 {
26475 #if wxUSE_UNICODE
26476 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26477 #else
26478 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26479 #endif
26480 }
26481 return resultobj;
26482 fail:
26483 return NULL;
26484 }
26485
26486
26487 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26488 PyObject *resultobj;
26489 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26490 wxString *arg2 = 0 ;
26491 bool temp2 = False ;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 char *kwnames[] = {
26495 (char *) "self",(char *) "path", NULL
26496 };
26497
26498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26500 {
26501 arg2 = wxString_in_helper(obj1);
26502 if (arg2 == NULL) SWIG_fail;
26503 temp2 = True;
26504 }
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 (arg1)->SetDefaultPath((wxString const &)*arg2);
26508
26509 wxPyEndAllowThreads(__tstate);
26510 if (PyErr_Occurred()) SWIG_fail;
26511 }
26512 Py_INCREF(Py_None); resultobj = Py_None;
26513 {
26514 if (temp2)
26515 delete arg2;
26516 }
26517 return resultobj;
26518 fail:
26519 {
26520 if (temp2)
26521 delete arg2;
26522 }
26523 return NULL;
26524 }
26525
26526
26527 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26528 PyObject *resultobj;
26529 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26530 wxString result;
26531 PyObject * obj0 = 0 ;
26532 char *kwnames[] = {
26533 (char *) "self", NULL
26534 };
26535
26536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26538 {
26539 PyThreadState* __tstate = wxPyBeginAllowThreads();
26540 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26541
26542 wxPyEndAllowThreads(__tstate);
26543 if (PyErr_Occurred()) SWIG_fail;
26544 }
26545 {
26546 #if wxUSE_UNICODE
26547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26548 #else
26549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26550 #endif
26551 }
26552 return resultobj;
26553 fail:
26554 return NULL;
26555 }
26556
26557
26558 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26559 PyObject *resultobj;
26560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26561 wxString result;
26562 PyObject * obj0 = 0 ;
26563 char *kwnames[] = {
26564 (char *) "self", NULL
26565 };
26566
26567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26569 {
26570 PyThreadState* __tstate = wxPyBeginAllowThreads();
26571 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26572
26573 wxPyEndAllowThreads(__tstate);
26574 if (PyErr_Occurred()) SWIG_fail;
26575 }
26576 {
26577 #if wxUSE_UNICODE
26578 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26579 #else
26580 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26581 #endif
26582 }
26583 return resultobj;
26584 fail:
26585 return NULL;
26586 }
26587
26588
26589 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26590 PyObject *resultobj;
26591 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26592 wxString *arg2 = 0 ;
26593 bool temp2 = False ;
26594 PyObject * obj0 = 0 ;
26595 PyObject * obj1 = 0 ;
26596 char *kwnames[] = {
26597 (char *) "self",(char *) "path", NULL
26598 };
26599
26600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26602 {
26603 arg2 = wxString_in_helper(obj1);
26604 if (arg2 == NULL) SWIG_fail;
26605 temp2 = True;
26606 }
26607 {
26608 PyThreadState* __tstate = wxPyBeginAllowThreads();
26609 (arg1)->SetPath((wxString const &)*arg2);
26610
26611 wxPyEndAllowThreads(__tstate);
26612 if (PyErr_Occurred()) SWIG_fail;
26613 }
26614 Py_INCREF(Py_None); resultobj = Py_None;
26615 {
26616 if (temp2)
26617 delete arg2;
26618 }
26619 return resultobj;
26620 fail:
26621 {
26622 if (temp2)
26623 delete arg2;
26624 }
26625 return NULL;
26626 }
26627
26628
26629 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26630 PyObject *resultobj;
26631 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26632 bool arg2 ;
26633 PyObject * obj0 = 0 ;
26634 PyObject * obj1 = 0 ;
26635 char *kwnames[] = {
26636 (char *) "self",(char *) "show", NULL
26637 };
26638
26639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26641 {
26642 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->ShowHidden(arg2);
26648
26649 wxPyEndAllowThreads(__tstate);
26650 if (PyErr_Occurred()) SWIG_fail;
26651 }
26652 Py_INCREF(Py_None); resultobj = Py_None;
26653 return resultobj;
26654 fail:
26655 return NULL;
26656 }
26657
26658
26659 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26660 PyObject *resultobj;
26661 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26662 bool result;
26663 PyObject * obj0 = 0 ;
26664 char *kwnames[] = {
26665 (char *) "self", NULL
26666 };
26667
26668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26670 {
26671 PyThreadState* __tstate = wxPyBeginAllowThreads();
26672 result = (bool)(arg1)->GetShowHidden();
26673
26674 wxPyEndAllowThreads(__tstate);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 }
26677 resultobj = SWIG_PyObj_FromBool((bool)result);
26678 return resultobj;
26679 fail:
26680 return NULL;
26681 }
26682
26683
26684 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26685 PyObject *resultobj;
26686 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26687 wxString result;
26688 PyObject * obj0 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26695 {
26696 PyThreadState* __tstate = wxPyBeginAllowThreads();
26697 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26698
26699 wxPyEndAllowThreads(__tstate);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 }
26702 {
26703 #if wxUSE_UNICODE
26704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26705 #else
26706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26707 #endif
26708 }
26709 return resultobj;
26710 fail:
26711 return NULL;
26712 }
26713
26714
26715 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26716 PyObject *resultobj;
26717 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26718 wxString *arg2 = 0 ;
26719 bool temp2 = False ;
26720 PyObject * obj0 = 0 ;
26721 PyObject * obj1 = 0 ;
26722 char *kwnames[] = {
26723 (char *) "self",(char *) "filter", NULL
26724 };
26725
26726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26728 {
26729 arg2 = wxString_in_helper(obj1);
26730 if (arg2 == NULL) SWIG_fail;
26731 temp2 = True;
26732 }
26733 {
26734 PyThreadState* __tstate = wxPyBeginAllowThreads();
26735 (arg1)->SetFilter((wxString const &)*arg2);
26736
26737 wxPyEndAllowThreads(__tstate);
26738 if (PyErr_Occurred()) SWIG_fail;
26739 }
26740 Py_INCREF(Py_None); resultobj = Py_None;
26741 {
26742 if (temp2)
26743 delete arg2;
26744 }
26745 return resultobj;
26746 fail:
26747 {
26748 if (temp2)
26749 delete arg2;
26750 }
26751 return NULL;
26752 }
26753
26754
26755 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26756 PyObject *resultobj;
26757 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26758 int result;
26759 PyObject * obj0 = 0 ;
26760 char *kwnames[] = {
26761 (char *) "self", NULL
26762 };
26763
26764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26766 {
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26769
26770 wxPyEndAllowThreads(__tstate);
26771 if (PyErr_Occurred()) SWIG_fail;
26772 }
26773 resultobj = SWIG_PyObj_FromInt((int)result);
26774 return resultobj;
26775 fail:
26776 return NULL;
26777 }
26778
26779
26780 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26781 PyObject *resultobj;
26782 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26783 int arg2 ;
26784 PyObject * obj0 = 0 ;
26785 PyObject * obj1 = 0 ;
26786 char *kwnames[] = {
26787 (char *) "self",(char *) "n", NULL
26788 };
26789
26790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26792 {
26793 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 (arg1)->SetFilterIndex(arg2);
26799
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 Py_INCREF(Py_None); resultobj = Py_None;
26804 return resultobj;
26805 fail:
26806 return NULL;
26807 }
26808
26809
26810 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj;
26812 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26813 wxTreeItemId result;
26814 PyObject * obj0 = 0 ;
26815 char *kwnames[] = {
26816 (char *) "self", NULL
26817 };
26818
26819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
26820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 result = (arg1)->GetRootId();
26824
26825 wxPyEndAllowThreads(__tstate);
26826 if (PyErr_Occurred()) SWIG_fail;
26827 }
26828 {
26829 wxTreeItemId * resultptr;
26830 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26831 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26832 }
26833 return resultobj;
26834 fail:
26835 return NULL;
26836 }
26837
26838
26839 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26840 PyObject *resultobj;
26841 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26842 wxPyTreeCtrl *result;
26843 PyObject * obj0 = 0 ;
26844 char *kwnames[] = {
26845 (char *) "self", NULL
26846 };
26847
26848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
26849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26850 {
26851 PyThreadState* __tstate = wxPyBeginAllowThreads();
26852 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
26853
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 {
26858 resultobj = wxPyMake_wxObject(result);
26859 }
26860 return resultobj;
26861 fail:
26862 return NULL;
26863 }
26864
26865
26866 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26867 PyObject *resultobj;
26868 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26869 wxDirFilterListCtrl *result;
26870 PyObject * obj0 = 0 ;
26871 char *kwnames[] = {
26872 (char *) "self", NULL
26873 };
26874
26875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",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 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
26880
26881 wxPyEndAllowThreads(__tstate);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
26885 return resultobj;
26886 fail:
26887 return NULL;
26888 }
26889
26890
26891 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26892 PyObject *resultobj;
26893 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26894 wxTreeItemId arg2 ;
26895 wxString *arg3 = 0 ;
26896 bool *arg4 = 0 ;
26897 wxTreeItemId result;
26898 wxTreeItemId *argp2 ;
26899 bool temp3 = False ;
26900 bool temp4 ;
26901 PyObject * obj0 = 0 ;
26902 PyObject * obj1 = 0 ;
26903 PyObject * obj2 = 0 ;
26904 char *kwnames[] = {
26905 (char *) "self",(char *) "parentId",(char *) "path", NULL
26906 };
26907
26908 arg4 = &temp4;
26909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26911 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
26912 arg2 = *argp2;
26913 {
26914 arg3 = wxString_in_helper(obj2);
26915 if (arg3 == NULL) SWIG_fail;
26916 temp3 = True;
26917 }
26918 {
26919 PyThreadState* __tstate = wxPyBeginAllowThreads();
26920 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
26921
26922 wxPyEndAllowThreads(__tstate);
26923 if (PyErr_Occurred()) SWIG_fail;
26924 }
26925 {
26926 wxTreeItemId * resultptr;
26927 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26928 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26929 }
26930 {
26931 PyObject *o = PyInt_FromLong((long) (*arg4));
26932 resultobj = t_output_helper(resultobj,o);
26933 }
26934 {
26935 if (temp3)
26936 delete arg3;
26937 }
26938 return resultobj;
26939 fail:
26940 {
26941 if (temp3)
26942 delete arg3;
26943 }
26944 return NULL;
26945 }
26946
26947
26948 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
26949 PyObject *resultobj;
26950 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26951 PyObject * obj0 = 0 ;
26952 char *kwnames[] = {
26953 (char *) "self", NULL
26954 };
26955
26956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
26957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 (arg1)->DoResize();
26961
26962 wxPyEndAllowThreads(__tstate);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
26965 Py_INCREF(Py_None); resultobj = Py_None;
26966 return resultobj;
26967 fail:
26968 return NULL;
26969 }
26970
26971
26972 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
26973 PyObject *resultobj;
26974 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26975 PyObject * obj0 = 0 ;
26976 char *kwnames[] = {
26977 (char *) "self", NULL
26978 };
26979
26980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
26981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26982 {
26983 PyThreadState* __tstate = wxPyBeginAllowThreads();
26984 (arg1)->ReCreateTree();
26985
26986 wxPyEndAllowThreads(__tstate);
26987 if (PyErr_Occurred()) SWIG_fail;
26988 }
26989 Py_INCREF(Py_None); resultobj = Py_None;
26990 return resultobj;
26991 fail:
26992 return NULL;
26993 }
26994
26995
26996 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
26997 PyObject *obj;
26998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26999 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27000 Py_INCREF(obj);
27001 return Py_BuildValue((char *)"");
27002 }
27003 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27004 PyObject *resultobj;
27005 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27006 int arg2 = (int) (int)-1 ;
27007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27009 wxSize const &arg4_defvalue = wxDefaultSize ;
27010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27011 long arg5 = (long) 0 ;
27012 wxDirFilterListCtrl *result;
27013 wxPoint temp3 ;
27014 wxSize temp4 ;
27015 PyObject * obj0 = 0 ;
27016 PyObject * obj1 = 0 ;
27017 PyObject * obj2 = 0 ;
27018 PyObject * obj3 = 0 ;
27019 PyObject * obj4 = 0 ;
27020 char *kwnames[] = {
27021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27022 };
27023
27024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27026 if (obj1) {
27027 {
27028 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27029 if (PyErr_Occurred()) SWIG_fail;
27030 }
27031 }
27032 if (obj2) {
27033 {
27034 arg3 = &temp3;
27035 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27036 }
27037 }
27038 if (obj3) {
27039 {
27040 arg4 = &temp4;
27041 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27042 }
27043 }
27044 if (obj4) {
27045 {
27046 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
27049 }
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27053
27054 wxPyEndAllowThreads(__tstate);
27055 if (PyErr_Occurred()) SWIG_fail;
27056 }
27057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27058 return resultobj;
27059 fail:
27060 return NULL;
27061 }
27062
27063
27064 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27065 PyObject *resultobj;
27066 wxDirFilterListCtrl *result;
27067 char *kwnames[] = {
27068 NULL
27069 };
27070
27071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27072 {
27073 PyThreadState* __tstate = wxPyBeginAllowThreads();
27074 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27075
27076 wxPyEndAllowThreads(__tstate);
27077 if (PyErr_Occurred()) SWIG_fail;
27078 }
27079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27080 return resultobj;
27081 fail:
27082 return NULL;
27083 }
27084
27085
27086 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27087 PyObject *resultobj;
27088 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27089 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27090 int arg3 = (int) (int)-1 ;
27091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27093 wxSize const &arg5_defvalue = wxDefaultSize ;
27094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27095 long arg6 = (long) 0 ;
27096 bool result;
27097 wxPoint temp4 ;
27098 wxSize temp5 ;
27099 PyObject * obj0 = 0 ;
27100 PyObject * obj1 = 0 ;
27101 PyObject * obj2 = 0 ;
27102 PyObject * obj3 = 0 ;
27103 PyObject * obj4 = 0 ;
27104 PyObject * obj5 = 0 ;
27105 char *kwnames[] = {
27106 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27107 };
27108
27109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27112 if (obj2) {
27113 {
27114 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
27115 if (PyErr_Occurred()) SWIG_fail;
27116 }
27117 }
27118 if (obj3) {
27119 {
27120 arg4 = &temp4;
27121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27122 }
27123 }
27124 if (obj4) {
27125 {
27126 arg5 = &temp5;
27127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27128 }
27129 }
27130 if (obj5) {
27131 {
27132 arg6 = (long) SWIG_PyObj_AsLong(obj5);
27133 if (PyErr_Occurred()) SWIG_fail;
27134 }
27135 }
27136 {
27137 PyThreadState* __tstate = wxPyBeginAllowThreads();
27138 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27139
27140 wxPyEndAllowThreads(__tstate);
27141 if (PyErr_Occurred()) SWIG_fail;
27142 }
27143 resultobj = SWIG_PyObj_FromBool((bool)result);
27144 return resultobj;
27145 fail:
27146 return NULL;
27147 }
27148
27149
27150 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27151 PyObject *resultobj;
27152 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27153 wxString *arg2 = 0 ;
27154 int arg3 ;
27155 bool temp2 = False ;
27156 PyObject * obj0 = 0 ;
27157 PyObject * obj1 = 0 ;
27158 PyObject * obj2 = 0 ;
27159 char *kwnames[] = {
27160 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27161 };
27162
27163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27165 {
27166 arg2 = wxString_in_helper(obj1);
27167 if (arg2 == NULL) SWIG_fail;
27168 temp2 = True;
27169 }
27170 {
27171 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27172 if (PyErr_Occurred()) SWIG_fail;
27173 }
27174 {
27175 PyThreadState* __tstate = wxPyBeginAllowThreads();
27176 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27177
27178 wxPyEndAllowThreads(__tstate);
27179 if (PyErr_Occurred()) SWIG_fail;
27180 }
27181 Py_INCREF(Py_None); resultobj = Py_None;
27182 {
27183 if (temp2)
27184 delete arg2;
27185 }
27186 return resultobj;
27187 fail:
27188 {
27189 if (temp2)
27190 delete arg2;
27191 }
27192 return NULL;
27193 }
27194
27195
27196 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27197 PyObject *obj;
27198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27199 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27200 Py_INCREF(obj);
27201 return Py_BuildValue((char *)"");
27202 }
27203 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27204 PyObject *resultobj;
27205 wxWindow *arg1 = (wxWindow *) 0 ;
27206 int arg2 ;
27207 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27208 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27209 wxSize const &arg4_defvalue = wxDefaultSize ;
27210 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27211 long arg5 = (long) 0 ;
27212 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27213 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27214 wxString const &arg7_defvalue = wxPyControlNameStr ;
27215 wxString *arg7 = (wxString *) &arg7_defvalue ;
27216 wxPyControl *result;
27217 wxPoint temp3 ;
27218 wxSize temp4 ;
27219 bool temp7 = False ;
27220 PyObject * obj0 = 0 ;
27221 PyObject * obj1 = 0 ;
27222 PyObject * obj2 = 0 ;
27223 PyObject * obj3 = 0 ;
27224 PyObject * obj4 = 0 ;
27225 PyObject * obj5 = 0 ;
27226 PyObject * obj6 = 0 ;
27227 char *kwnames[] = {
27228 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27229 };
27230
27231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27233 {
27234 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27235 if (PyErr_Occurred()) SWIG_fail;
27236 }
27237 if (obj2) {
27238 {
27239 arg3 = &temp3;
27240 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27241 }
27242 }
27243 if (obj3) {
27244 {
27245 arg4 = &temp4;
27246 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27247 }
27248 }
27249 if (obj4) {
27250 {
27251 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27252 if (PyErr_Occurred()) SWIG_fail;
27253 }
27254 }
27255 if (obj5) {
27256 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27257 if (arg6 == NULL) {
27258 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27259 }
27260 }
27261 if (obj6) {
27262 {
27263 arg7 = wxString_in_helper(obj6);
27264 if (arg7 == NULL) SWIG_fail;
27265 temp7 = True;
27266 }
27267 }
27268 {
27269 PyThreadState* __tstate = wxPyBeginAllowThreads();
27270 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27271
27272 wxPyEndAllowThreads(__tstate);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
27276 {
27277 if (temp7)
27278 delete arg7;
27279 }
27280 return resultobj;
27281 fail:
27282 {
27283 if (temp7)
27284 delete arg7;
27285 }
27286 return NULL;
27287 }
27288
27289
27290 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27291 PyObject *resultobj;
27292 wxPyControl *arg1 = (wxPyControl *) 0 ;
27293 PyObject *arg2 = (PyObject *) 0 ;
27294 PyObject *arg3 = (PyObject *) 0 ;
27295 PyObject * obj0 = 0 ;
27296 PyObject * obj1 = 0 ;
27297 PyObject * obj2 = 0 ;
27298 char *kwnames[] = {
27299 (char *) "self",(char *) "self",(char *) "_class", NULL
27300 };
27301
27302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27304 arg2 = obj1;
27305 arg3 = obj2;
27306 {
27307 PyThreadState* __tstate = wxPyBeginAllowThreads();
27308 (arg1)->_setCallbackInfo(arg2,arg3);
27309
27310 wxPyEndAllowThreads(__tstate);
27311 if (PyErr_Occurred()) SWIG_fail;
27312 }
27313 Py_INCREF(Py_None); resultobj = Py_None;
27314 return resultobj;
27315 fail:
27316 return NULL;
27317 }
27318
27319
27320 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27321 PyObject *resultobj;
27322 wxPyControl *arg1 = (wxPyControl *) 0 ;
27323 int arg2 ;
27324 int arg3 ;
27325 int arg4 ;
27326 int arg5 ;
27327 PyObject * obj0 = 0 ;
27328 PyObject * obj1 = 0 ;
27329 PyObject * obj2 = 0 ;
27330 PyObject * obj3 = 0 ;
27331 PyObject * obj4 = 0 ;
27332 char *kwnames[] = {
27333 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27334 };
27335
27336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27338 {
27339 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27340 if (PyErr_Occurred()) SWIG_fail;
27341 }
27342 {
27343 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27344 if (PyErr_Occurred()) SWIG_fail;
27345 }
27346 {
27347 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27348 if (PyErr_Occurred()) SWIG_fail;
27349 }
27350 {
27351 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27352 if (PyErr_Occurred()) SWIG_fail;
27353 }
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 Py_INCREF(Py_None); resultobj = Py_None;
27362 return resultobj;
27363 fail:
27364 return NULL;
27365 }
27366
27367
27368 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27369 PyObject *resultobj;
27370 wxPyControl *arg1 = (wxPyControl *) 0 ;
27371 int arg2 ;
27372 int arg3 ;
27373 int arg4 ;
27374 int arg5 ;
27375 int arg6 = (int) wxSIZE_AUTO ;
27376 PyObject * obj0 = 0 ;
27377 PyObject * obj1 = 0 ;
27378 PyObject * obj2 = 0 ;
27379 PyObject * obj3 = 0 ;
27380 PyObject * obj4 = 0 ;
27381 PyObject * obj5 = 0 ;
27382 char *kwnames[] = {
27383 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27384 };
27385
27386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27388 {
27389 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
27392 {
27393 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 {
27397 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 {
27401 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27402 if (PyErr_Occurred()) SWIG_fail;
27403 }
27404 if (obj5) {
27405 {
27406 arg6 = (int) SWIG_PyObj_AsInt(obj5);
27407 if (PyErr_Occurred()) SWIG_fail;
27408 }
27409 }
27410 {
27411 PyThreadState* __tstate = wxPyBeginAllowThreads();
27412 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27413
27414 wxPyEndAllowThreads(__tstate);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 }
27417 Py_INCREF(Py_None); resultobj = Py_None;
27418 return resultobj;
27419 fail:
27420 return NULL;
27421 }
27422
27423
27424 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27425 PyObject *resultobj;
27426 wxPyControl *arg1 = (wxPyControl *) 0 ;
27427 int arg2 ;
27428 int arg3 ;
27429 PyObject * obj0 = 0 ;
27430 PyObject * obj1 = 0 ;
27431 PyObject * obj2 = 0 ;
27432 char *kwnames[] = {
27433 (char *) "self",(char *) "width",(char *) "height", NULL
27434 };
27435
27436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27438 {
27439 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27440 if (PyErr_Occurred()) SWIG_fail;
27441 }
27442 {
27443 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27444 if (PyErr_Occurred()) SWIG_fail;
27445 }
27446 {
27447 PyThreadState* __tstate = wxPyBeginAllowThreads();
27448 (arg1)->base_DoSetClientSize(arg2,arg3);
27449
27450 wxPyEndAllowThreads(__tstate);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 }
27453 Py_INCREF(Py_None); resultobj = Py_None;
27454 return resultobj;
27455 fail:
27456 return NULL;
27457 }
27458
27459
27460 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27461 PyObject *resultobj;
27462 wxPyControl *arg1 = (wxPyControl *) 0 ;
27463 int arg2 ;
27464 int arg3 ;
27465 PyObject * obj0 = 0 ;
27466 PyObject * obj1 = 0 ;
27467 PyObject * obj2 = 0 ;
27468 char *kwnames[] = {
27469 (char *) "self",(char *) "x",(char *) "y", NULL
27470 };
27471
27472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27474 {
27475 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27476 if (PyErr_Occurred()) SWIG_fail;
27477 }
27478 {
27479 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27480 if (PyErr_Occurred()) SWIG_fail;
27481 }
27482 {
27483 PyThreadState* __tstate = wxPyBeginAllowThreads();
27484 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27485
27486 wxPyEndAllowThreads(__tstate);
27487 if (PyErr_Occurred()) SWIG_fail;
27488 }
27489 Py_INCREF(Py_None); resultobj = Py_None;
27490 return resultobj;
27491 fail:
27492 return NULL;
27493 }
27494
27495
27496 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27497 PyObject *resultobj;
27498 wxPyControl *arg1 = (wxPyControl *) 0 ;
27499 int *arg2 = (int *) 0 ;
27500 int *arg3 = (int *) 0 ;
27501 int temp2 ;
27502 int temp3 ;
27503 PyObject * obj0 = 0 ;
27504 char *kwnames[] = {
27505 (char *) "self", NULL
27506 };
27507
27508 arg2 = &temp2;
27509 arg3 = &temp3;
27510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27512 {
27513 PyThreadState* __tstate = wxPyBeginAllowThreads();
27514 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27515
27516 wxPyEndAllowThreads(__tstate);
27517 if (PyErr_Occurred()) SWIG_fail;
27518 }
27519 Py_INCREF(Py_None); resultobj = Py_None;
27520 {
27521 PyObject *o = PyInt_FromLong((long) (*arg2));
27522 resultobj = t_output_helper(resultobj,o);
27523 }
27524 {
27525 PyObject *o = PyInt_FromLong((long) (*arg3));
27526 resultobj = t_output_helper(resultobj,o);
27527 }
27528 return resultobj;
27529 fail:
27530 return NULL;
27531 }
27532
27533
27534 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27535 PyObject *resultobj;
27536 wxPyControl *arg1 = (wxPyControl *) 0 ;
27537 int *arg2 = (int *) 0 ;
27538 int *arg3 = (int *) 0 ;
27539 int temp2 ;
27540 int temp3 ;
27541 PyObject * obj0 = 0 ;
27542 char *kwnames[] = {
27543 (char *) "self", NULL
27544 };
27545
27546 arg2 = &temp2;
27547 arg3 = &temp3;
27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27550 {
27551 PyThreadState* __tstate = wxPyBeginAllowThreads();
27552 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27553
27554 wxPyEndAllowThreads(__tstate);
27555 if (PyErr_Occurred()) SWIG_fail;
27556 }
27557 Py_INCREF(Py_None); resultobj = Py_None;
27558 {
27559 PyObject *o = PyInt_FromLong((long) (*arg2));
27560 resultobj = t_output_helper(resultobj,o);
27561 }
27562 {
27563 PyObject *o = PyInt_FromLong((long) (*arg3));
27564 resultobj = t_output_helper(resultobj,o);
27565 }
27566 return resultobj;
27567 fail:
27568 return NULL;
27569 }
27570
27571
27572 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27573 PyObject *resultobj;
27574 wxPyControl *arg1 = (wxPyControl *) 0 ;
27575 int *arg2 = (int *) 0 ;
27576 int *arg3 = (int *) 0 ;
27577 int temp2 ;
27578 int temp3 ;
27579 PyObject * obj0 = 0 ;
27580 char *kwnames[] = {
27581 (char *) "self", NULL
27582 };
27583
27584 arg2 = &temp2;
27585 arg3 = &temp3;
27586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27588 {
27589 PyThreadState* __tstate = wxPyBeginAllowThreads();
27590 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27591
27592 wxPyEndAllowThreads(__tstate);
27593 if (PyErr_Occurred()) SWIG_fail;
27594 }
27595 Py_INCREF(Py_None); resultobj = Py_None;
27596 {
27597 PyObject *o = PyInt_FromLong((long) (*arg2));
27598 resultobj = t_output_helper(resultobj,o);
27599 }
27600 {
27601 PyObject *o = PyInt_FromLong((long) (*arg3));
27602 resultobj = t_output_helper(resultobj,o);
27603 }
27604 return resultobj;
27605 fail:
27606 return NULL;
27607 }
27608
27609
27610 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27611 PyObject *resultobj;
27612 wxPyControl *arg1 = (wxPyControl *) 0 ;
27613 wxSize result;
27614 PyObject * obj0 = 0 ;
27615 char *kwnames[] = {
27616 (char *) "self", NULL
27617 };
27618
27619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27621 {
27622 PyThreadState* __tstate = wxPyBeginAllowThreads();
27623 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27624
27625 wxPyEndAllowThreads(__tstate);
27626 if (PyErr_Occurred()) SWIG_fail;
27627 }
27628 {
27629 wxSize * resultptr;
27630 resultptr = new wxSize((wxSize &) result);
27631 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27632 }
27633 return resultobj;
27634 fail:
27635 return NULL;
27636 }
27637
27638
27639 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27640 PyObject *resultobj;
27641 wxPyControl *arg1 = (wxPyControl *) 0 ;
27642 wxSize result;
27643 PyObject * obj0 = 0 ;
27644 char *kwnames[] = {
27645 (char *) "self", NULL
27646 };
27647
27648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27650 {
27651 PyThreadState* __tstate = wxPyBeginAllowThreads();
27652 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27653
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 {
27658 wxSize * resultptr;
27659 resultptr = new wxSize((wxSize &) result);
27660 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27661 }
27662 return resultobj;
27663 fail:
27664 return NULL;
27665 }
27666
27667
27668 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
27669 PyObject *resultobj;
27670 wxPyControl *arg1 = (wxPyControl *) 0 ;
27671 PyObject * obj0 = 0 ;
27672 char *kwnames[] = {
27673 (char *) "self", NULL
27674 };
27675
27676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27678 {
27679 PyThreadState* __tstate = wxPyBeginAllowThreads();
27680 (arg1)->base_InitDialog();
27681
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 Py_INCREF(Py_None); resultobj = Py_None;
27686 return resultobj;
27687 fail:
27688 return NULL;
27689 }
27690
27691
27692 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27693 PyObject *resultobj;
27694 wxPyControl *arg1 = (wxPyControl *) 0 ;
27695 bool result;
27696 PyObject * obj0 = 0 ;
27697 char *kwnames[] = {
27698 (char *) "self", NULL
27699 };
27700
27701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27703 {
27704 PyThreadState* __tstate = wxPyBeginAllowThreads();
27705 result = (bool)(arg1)->base_TransferDataToWindow();
27706
27707 wxPyEndAllowThreads(__tstate);
27708 if (PyErr_Occurred()) SWIG_fail;
27709 }
27710 resultobj = SWIG_PyObj_FromBool((bool)result);
27711 return resultobj;
27712 fail:
27713 return NULL;
27714 }
27715
27716
27717 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27718 PyObject *resultobj;
27719 wxPyControl *arg1 = (wxPyControl *) 0 ;
27720 bool result;
27721 PyObject * obj0 = 0 ;
27722 char *kwnames[] = {
27723 (char *) "self", NULL
27724 };
27725
27726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27728 {
27729 PyThreadState* __tstate = wxPyBeginAllowThreads();
27730 result = (bool)(arg1)->base_TransferDataFromWindow();
27731
27732 wxPyEndAllowThreads(__tstate);
27733 if (PyErr_Occurred()) SWIG_fail;
27734 }
27735 resultobj = SWIG_PyObj_FromBool((bool)result);
27736 return resultobj;
27737 fail:
27738 return NULL;
27739 }
27740
27741
27742 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27743 PyObject *resultobj;
27744 wxPyControl *arg1 = (wxPyControl *) 0 ;
27745 bool result;
27746 PyObject * obj0 = 0 ;
27747 char *kwnames[] = {
27748 (char *) "self", NULL
27749 };
27750
27751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27753 {
27754 PyThreadState* __tstate = wxPyBeginAllowThreads();
27755 result = (bool)(arg1)->base_Validate();
27756
27757 wxPyEndAllowThreads(__tstate);
27758 if (PyErr_Occurred()) SWIG_fail;
27759 }
27760 resultobj = SWIG_PyObj_FromBool((bool)result);
27761 return resultobj;
27762 fail:
27763 return NULL;
27764 }
27765
27766
27767 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
27768 PyObject *resultobj;
27769 wxPyControl *arg1 = (wxPyControl *) 0 ;
27770 bool result;
27771 PyObject * obj0 = 0 ;
27772 char *kwnames[] = {
27773 (char *) "self", NULL
27774 };
27775
27776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
27777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27778 {
27779 PyThreadState* __tstate = wxPyBeginAllowThreads();
27780 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27781
27782 wxPyEndAllowThreads(__tstate);
27783 if (PyErr_Occurred()) SWIG_fail;
27784 }
27785 resultobj = SWIG_PyObj_FromBool((bool)result);
27786 return resultobj;
27787 fail:
27788 return NULL;
27789 }
27790
27791
27792 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
27793 PyObject *resultobj;
27794 wxPyControl *arg1 = (wxPyControl *) 0 ;
27795 bool result;
27796 PyObject * obj0 = 0 ;
27797 char *kwnames[] = {
27798 (char *) "self", NULL
27799 };
27800
27801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27803 {
27804 PyThreadState* __tstate = wxPyBeginAllowThreads();
27805 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27806
27807 wxPyEndAllowThreads(__tstate);
27808 if (PyErr_Occurred()) SWIG_fail;
27809 }
27810 resultobj = SWIG_PyObj_FromBool((bool)result);
27811 return resultobj;
27812 fail:
27813 return NULL;
27814 }
27815
27816
27817 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27818 PyObject *resultobj;
27819 wxPyControl *arg1 = (wxPyControl *) 0 ;
27820 wxSize result;
27821 PyObject * obj0 = 0 ;
27822 char *kwnames[] = {
27823 (char *) "self", NULL
27824 };
27825
27826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
27827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27828 {
27829 PyThreadState* __tstate = wxPyBeginAllowThreads();
27830 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
27831
27832 wxPyEndAllowThreads(__tstate);
27833 if (PyErr_Occurred()) SWIG_fail;
27834 }
27835 {
27836 wxSize * resultptr;
27837 resultptr = new wxSize((wxSize &) result);
27838 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27839 }
27840 return resultobj;
27841 fail:
27842 return NULL;
27843 }
27844
27845
27846 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27847 PyObject *resultobj;
27848 wxPyControl *arg1 = (wxPyControl *) 0 ;
27849 wxWindow *arg2 = (wxWindow *) 0 ;
27850 PyObject * obj0 = 0 ;
27851 PyObject * obj1 = 0 ;
27852 char *kwnames[] = {
27853 (char *) "self",(char *) "child", NULL
27854 };
27855
27856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
27857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27859 {
27860 PyThreadState* __tstate = wxPyBeginAllowThreads();
27861 (arg1)->base_AddChild(arg2);
27862
27863 wxPyEndAllowThreads(__tstate);
27864 if (PyErr_Occurred()) SWIG_fail;
27865 }
27866 Py_INCREF(Py_None); resultobj = Py_None;
27867 return resultobj;
27868 fail:
27869 return NULL;
27870 }
27871
27872
27873 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27874 PyObject *resultobj;
27875 wxPyControl *arg1 = (wxPyControl *) 0 ;
27876 wxWindow *arg2 = (wxWindow *) 0 ;
27877 PyObject * obj0 = 0 ;
27878 PyObject * obj1 = 0 ;
27879 char *kwnames[] = {
27880 (char *) "self",(char *) "child", NULL
27881 };
27882
27883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
27884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27886 {
27887 PyThreadState* __tstate = wxPyBeginAllowThreads();
27888 (arg1)->base_RemoveChild(arg2);
27889
27890 wxPyEndAllowThreads(__tstate);
27891 if (PyErr_Occurred()) SWIG_fail;
27892 }
27893 Py_INCREF(Py_None); resultobj = Py_None;
27894 return resultobj;
27895 fail:
27896 return NULL;
27897 }
27898
27899
27900 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
27901 PyObject *obj;
27902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27903 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
27904 Py_INCREF(obj);
27905 return Py_BuildValue((char *)"");
27906 }
27907 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
27908 PyObject *resultobj;
27909 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27910 int arg2 = (int) 0 ;
27911 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27912 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27913 wxHelpEvent *result;
27914 wxPoint temp3 ;
27915 PyObject * obj0 = 0 ;
27916 PyObject * obj1 = 0 ;
27917 PyObject * obj2 = 0 ;
27918 char *kwnames[] = {
27919 (char *) "type",(char *) "winid",(char *) "pt", NULL
27920 };
27921
27922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
27923 if (obj0) {
27924 {
27925 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 }
27929 if (obj1) {
27930 {
27931 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27932 if (PyErr_Occurred()) SWIG_fail;
27933 }
27934 }
27935 if (obj2) {
27936 {
27937 arg3 = &temp3;
27938 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27939 }
27940 }
27941 {
27942 PyThreadState* __tstate = wxPyBeginAllowThreads();
27943 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
27944
27945 wxPyEndAllowThreads(__tstate);
27946 if (PyErr_Occurred()) SWIG_fail;
27947 }
27948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
27949 return resultobj;
27950 fail:
27951 return NULL;
27952 }
27953
27954
27955 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27956 PyObject *resultobj;
27957 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27958 wxPoint *result;
27959 PyObject * obj0 = 0 ;
27960 char *kwnames[] = {
27961 (char *) "self", NULL
27962 };
27963
27964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
27965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27966 {
27967 PyThreadState* __tstate = wxPyBeginAllowThreads();
27968 {
27969 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
27970 result = (wxPoint *) &_result_ref;
27971 }
27972
27973 wxPyEndAllowThreads(__tstate);
27974 if (PyErr_Occurred()) SWIG_fail;
27975 }
27976 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
27977 return resultobj;
27978 fail:
27979 return NULL;
27980 }
27981
27982
27983 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27984 PyObject *resultobj;
27985 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27986 wxPoint *arg2 = 0 ;
27987 wxPoint temp2 ;
27988 PyObject * obj0 = 0 ;
27989 PyObject * obj1 = 0 ;
27990 char *kwnames[] = {
27991 (char *) "self",(char *) "pos", NULL
27992 };
27993
27994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
27995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27996 {
27997 arg2 = &temp2;
27998 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27999 }
28000 {
28001 PyThreadState* __tstate = wxPyBeginAllowThreads();
28002 (arg1)->SetPosition((wxPoint const &)*arg2);
28003
28004 wxPyEndAllowThreads(__tstate);
28005 if (PyErr_Occurred()) SWIG_fail;
28006 }
28007 Py_INCREF(Py_None); resultobj = Py_None;
28008 return resultobj;
28009 fail:
28010 return NULL;
28011 }
28012
28013
28014 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28015 PyObject *resultobj;
28016 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28017 wxString *result;
28018 PyObject * obj0 = 0 ;
28019 char *kwnames[] = {
28020 (char *) "self", NULL
28021 };
28022
28023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28025 {
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 {
28028 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28029 result = (wxString *) &_result_ref;
28030 }
28031
28032 wxPyEndAllowThreads(__tstate);
28033 if (PyErr_Occurred()) SWIG_fail;
28034 }
28035 {
28036 #if wxUSE_UNICODE
28037 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28038 #else
28039 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28040 #endif
28041 }
28042 return resultobj;
28043 fail:
28044 return NULL;
28045 }
28046
28047
28048 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28049 PyObject *resultobj;
28050 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28051 wxString *arg2 = 0 ;
28052 bool temp2 = False ;
28053 PyObject * obj0 = 0 ;
28054 PyObject * obj1 = 0 ;
28055 char *kwnames[] = {
28056 (char *) "self",(char *) "link", NULL
28057 };
28058
28059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28061 {
28062 arg2 = wxString_in_helper(obj1);
28063 if (arg2 == NULL) SWIG_fail;
28064 temp2 = True;
28065 }
28066 {
28067 PyThreadState* __tstate = wxPyBeginAllowThreads();
28068 (arg1)->SetLink((wxString const &)*arg2);
28069
28070 wxPyEndAllowThreads(__tstate);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 Py_INCREF(Py_None); resultobj = Py_None;
28074 {
28075 if (temp2)
28076 delete arg2;
28077 }
28078 return resultobj;
28079 fail:
28080 {
28081 if (temp2)
28082 delete arg2;
28083 }
28084 return NULL;
28085 }
28086
28087
28088 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28089 PyObject *resultobj;
28090 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28091 wxString *result;
28092 PyObject * obj0 = 0 ;
28093 char *kwnames[] = {
28094 (char *) "self", NULL
28095 };
28096
28097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28099 {
28100 PyThreadState* __tstate = wxPyBeginAllowThreads();
28101 {
28102 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28103 result = (wxString *) &_result_ref;
28104 }
28105
28106 wxPyEndAllowThreads(__tstate);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 {
28110 #if wxUSE_UNICODE
28111 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28112 #else
28113 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28114 #endif
28115 }
28116 return resultobj;
28117 fail:
28118 return NULL;
28119 }
28120
28121
28122 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28123 PyObject *resultobj;
28124 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28125 wxString *arg2 = 0 ;
28126 bool temp2 = False ;
28127 PyObject * obj0 = 0 ;
28128 PyObject * obj1 = 0 ;
28129 char *kwnames[] = {
28130 (char *) "self",(char *) "target", NULL
28131 };
28132
28133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28135 {
28136 arg2 = wxString_in_helper(obj1);
28137 if (arg2 == NULL) SWIG_fail;
28138 temp2 = True;
28139 }
28140 {
28141 PyThreadState* __tstate = wxPyBeginAllowThreads();
28142 (arg1)->SetTarget((wxString const &)*arg2);
28143
28144 wxPyEndAllowThreads(__tstate);
28145 if (PyErr_Occurred()) SWIG_fail;
28146 }
28147 Py_INCREF(Py_None); resultobj = Py_None;
28148 {
28149 if (temp2)
28150 delete arg2;
28151 }
28152 return resultobj;
28153 fail:
28154 {
28155 if (temp2)
28156 delete arg2;
28157 }
28158 return NULL;
28159 }
28160
28161
28162 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28163 PyObject *obj;
28164 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28165 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28166 Py_INCREF(obj);
28167 return Py_BuildValue((char *)"");
28168 }
28169 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28170 PyObject *resultobj;
28171 wxWindow *arg1 = (wxWindow *) NULL ;
28172 bool arg2 = (bool) True ;
28173 wxContextHelp *result;
28174 PyObject * obj0 = 0 ;
28175 PyObject * obj1 = 0 ;
28176 char *kwnames[] = {
28177 (char *) "window",(char *) "doNow", NULL
28178 };
28179
28180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28181 if (obj0) {
28182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28183 }
28184 if (obj1) {
28185 {
28186 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28187 if (PyErr_Occurred()) SWIG_fail;
28188 }
28189 }
28190 {
28191 PyThreadState* __tstate = wxPyBeginAllowThreads();
28192 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28193
28194 wxPyEndAllowThreads(__tstate);
28195 if (PyErr_Occurred()) SWIG_fail;
28196 }
28197 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
28198 return resultobj;
28199 fail:
28200 return NULL;
28201 }
28202
28203
28204 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28205 PyObject *resultobj;
28206 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28207 PyObject * obj0 = 0 ;
28208 char *kwnames[] = {
28209 (char *) "self", NULL
28210 };
28211
28212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28214 {
28215 PyThreadState* __tstate = wxPyBeginAllowThreads();
28216 delete arg1;
28217
28218 wxPyEndAllowThreads(__tstate);
28219 if (PyErr_Occurred()) SWIG_fail;
28220 }
28221 Py_INCREF(Py_None); resultobj = Py_None;
28222 return resultobj;
28223 fail:
28224 return NULL;
28225 }
28226
28227
28228 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28229 PyObject *resultobj;
28230 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28231 wxWindow *arg2 = (wxWindow *) NULL ;
28232 bool result;
28233 PyObject * obj0 = 0 ;
28234 PyObject * obj1 = 0 ;
28235 char *kwnames[] = {
28236 (char *) "self",(char *) "window", NULL
28237 };
28238
28239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28241 if (obj1) {
28242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28243 }
28244 {
28245 PyThreadState* __tstate = wxPyBeginAllowThreads();
28246 result = (bool)(arg1)->BeginContextHelp(arg2);
28247
28248 wxPyEndAllowThreads(__tstate);
28249 if (PyErr_Occurred()) SWIG_fail;
28250 }
28251 resultobj = SWIG_PyObj_FromBool((bool)result);
28252 return resultobj;
28253 fail:
28254 return NULL;
28255 }
28256
28257
28258 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28259 PyObject *resultobj;
28260 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28261 bool result;
28262 PyObject * obj0 = 0 ;
28263 char *kwnames[] = {
28264 (char *) "self", NULL
28265 };
28266
28267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28269 {
28270 PyThreadState* __tstate = wxPyBeginAllowThreads();
28271 result = (bool)(arg1)->EndContextHelp();
28272
28273 wxPyEndAllowThreads(__tstate);
28274 if (PyErr_Occurred()) SWIG_fail;
28275 }
28276 resultobj = SWIG_PyObj_FromBool((bool)result);
28277 return resultobj;
28278 fail:
28279 return NULL;
28280 }
28281
28282
28283 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28284 PyObject *obj;
28285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28286 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28287 Py_INCREF(obj);
28288 return Py_BuildValue((char *)"");
28289 }
28290 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28291 PyObject *resultobj;
28292 wxWindow *arg1 = (wxWindow *) 0 ;
28293 int arg2 = (int) wxID_CONTEXT_HELP ;
28294 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28295 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28296 wxSize const &arg4_defvalue = wxDefaultSize ;
28297 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28298 long arg5 = (long) wxBU_AUTODRAW ;
28299 wxContextHelpButton *result;
28300 wxPoint temp3 ;
28301 wxSize temp4 ;
28302 PyObject * obj0 = 0 ;
28303 PyObject * obj1 = 0 ;
28304 PyObject * obj2 = 0 ;
28305 PyObject * obj3 = 0 ;
28306 PyObject * obj4 = 0 ;
28307 char *kwnames[] = {
28308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28309 };
28310
28311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28313 if (obj1) {
28314 {
28315 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28316 if (PyErr_Occurred()) SWIG_fail;
28317 }
28318 }
28319 if (obj2) {
28320 {
28321 arg3 = &temp3;
28322 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28323 }
28324 }
28325 if (obj3) {
28326 {
28327 arg4 = &temp4;
28328 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28329 }
28330 }
28331 if (obj4) {
28332 {
28333 arg5 = (long) SWIG_PyObj_AsLong(obj4);
28334 if (PyErr_Occurred()) SWIG_fail;
28335 }
28336 }
28337 {
28338 PyThreadState* __tstate = wxPyBeginAllowThreads();
28339 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28340
28341 wxPyEndAllowThreads(__tstate);
28342 if (PyErr_Occurred()) SWIG_fail;
28343 }
28344 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
28345 return resultobj;
28346 fail:
28347 return NULL;
28348 }
28349
28350
28351 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28352 PyObject *obj;
28353 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28354 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28355 Py_INCREF(obj);
28356 return Py_BuildValue((char *)"");
28357 }
28358 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28359 PyObject *resultobj;
28360 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28361 wxHelpProvider *result;
28362 PyObject * obj0 = 0 ;
28363 char *kwnames[] = {
28364 (char *) "helpProvider", NULL
28365 };
28366
28367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28369 {
28370 PyThreadState* __tstate = wxPyBeginAllowThreads();
28371 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28372
28373 wxPyEndAllowThreads(__tstate);
28374 if (PyErr_Occurred()) SWIG_fail;
28375 }
28376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28377 return resultobj;
28378 fail:
28379 return NULL;
28380 }
28381
28382
28383 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28384 PyObject *resultobj;
28385 wxHelpProvider *result;
28386 char *kwnames[] = {
28387 NULL
28388 };
28389
28390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28391 {
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
28393 result = (wxHelpProvider *)wxHelpProvider::Get();
28394
28395 wxPyEndAllowThreads(__tstate);
28396 if (PyErr_Occurred()) SWIG_fail;
28397 }
28398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28399 return resultobj;
28400 fail:
28401 return NULL;
28402 }
28403
28404
28405 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28406 PyObject *resultobj;
28407 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28408 wxWindow *arg2 = (wxWindow *) 0 ;
28409 wxString result;
28410 PyObject * obj0 = 0 ;
28411 PyObject * obj1 = 0 ;
28412 char *kwnames[] = {
28413 (char *) "self",(char *) "window", NULL
28414 };
28415
28416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28419 {
28420 PyThreadState* __tstate = wxPyBeginAllowThreads();
28421 result = (arg1)->GetHelp((wxWindow const *)arg2);
28422
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 {
28427 #if wxUSE_UNICODE
28428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28429 #else
28430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28431 #endif
28432 }
28433 return resultobj;
28434 fail:
28435 return NULL;
28436 }
28437
28438
28439 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28440 PyObject *resultobj;
28441 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28442 wxWindow *arg2 = (wxWindow *) 0 ;
28443 bool result;
28444 PyObject * obj0 = 0 ;
28445 PyObject * obj1 = 0 ;
28446 char *kwnames[] = {
28447 (char *) "self",(char *) "window", NULL
28448 };
28449
28450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28453 {
28454 PyThreadState* __tstate = wxPyBeginAllowThreads();
28455 result = (bool)(arg1)->ShowHelp(arg2);
28456
28457 wxPyEndAllowThreads(__tstate);
28458 if (PyErr_Occurred()) SWIG_fail;
28459 }
28460 resultobj = SWIG_PyObj_FromBool((bool)result);
28461 return resultobj;
28462 fail:
28463 return NULL;
28464 }
28465
28466
28467 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28468 PyObject *resultobj;
28469 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28470 wxWindow *arg2 = (wxWindow *) 0 ;
28471 wxString *arg3 = 0 ;
28472 bool temp3 = False ;
28473 PyObject * obj0 = 0 ;
28474 PyObject * obj1 = 0 ;
28475 PyObject * obj2 = 0 ;
28476 char *kwnames[] = {
28477 (char *) "self",(char *) "window",(char *) "text", NULL
28478 };
28479
28480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28483 {
28484 arg3 = wxString_in_helper(obj2);
28485 if (arg3 == NULL) SWIG_fail;
28486 temp3 = True;
28487 }
28488 {
28489 PyThreadState* __tstate = wxPyBeginAllowThreads();
28490 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28491
28492 wxPyEndAllowThreads(__tstate);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 Py_INCREF(Py_None); resultobj = Py_None;
28496 {
28497 if (temp3)
28498 delete arg3;
28499 }
28500 return resultobj;
28501 fail:
28502 {
28503 if (temp3)
28504 delete arg3;
28505 }
28506 return NULL;
28507 }
28508
28509
28510 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28511 PyObject *resultobj;
28512 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28513 int arg2 ;
28514 wxString *arg3 = 0 ;
28515 bool temp3 = False ;
28516 PyObject * obj0 = 0 ;
28517 PyObject * obj1 = 0 ;
28518 PyObject * obj2 = 0 ;
28519 char *kwnames[] = {
28520 (char *) "self",(char *) "id",(char *) "text", NULL
28521 };
28522
28523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28525 {
28526 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28527 if (PyErr_Occurred()) SWIG_fail;
28528 }
28529 {
28530 arg3 = wxString_in_helper(obj2);
28531 if (arg3 == NULL) SWIG_fail;
28532 temp3 = True;
28533 }
28534 {
28535 PyThreadState* __tstate = wxPyBeginAllowThreads();
28536 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28537
28538 wxPyEndAllowThreads(__tstate);
28539 if (PyErr_Occurred()) SWIG_fail;
28540 }
28541 Py_INCREF(Py_None); resultobj = Py_None;
28542 {
28543 if (temp3)
28544 delete arg3;
28545 }
28546 return resultobj;
28547 fail:
28548 {
28549 if (temp3)
28550 delete arg3;
28551 }
28552 return NULL;
28553 }
28554
28555
28556 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28557 PyObject *resultobj;
28558 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28559 PyObject * obj0 = 0 ;
28560 char *kwnames[] = {
28561 (char *) "self", NULL
28562 };
28563
28564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28566 {
28567 PyThreadState* __tstate = wxPyBeginAllowThreads();
28568 wxHelpProvider_Destroy(arg1);
28569
28570 wxPyEndAllowThreads(__tstate);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 }
28573 Py_INCREF(Py_None); resultobj = Py_None;
28574 return resultobj;
28575 fail:
28576 return NULL;
28577 }
28578
28579
28580 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
28581 PyObject *obj;
28582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28583 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28584 Py_INCREF(obj);
28585 return Py_BuildValue((char *)"");
28586 }
28587 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
28588 PyObject *resultobj;
28589 wxSimpleHelpProvider *result;
28590 char *kwnames[] = {
28591 NULL
28592 };
28593
28594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28595 {
28596 PyThreadState* __tstate = wxPyBeginAllowThreads();
28597 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28598
28599 wxPyEndAllowThreads(__tstate);
28600 if (PyErr_Occurred()) SWIG_fail;
28601 }
28602 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
28603 return resultobj;
28604 fail:
28605 return NULL;
28606 }
28607
28608
28609 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
28610 PyObject *obj;
28611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28612 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28613 Py_INCREF(obj);
28614 return Py_BuildValue((char *)"");
28615 }
28616 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28617 PyObject *resultobj;
28618 wxBitmap *arg1 = 0 ;
28619 wxCursor const &arg2_defvalue = wxNullCursor ;
28620 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28621 wxGenericDragImage *result;
28622 PyObject * obj0 = 0 ;
28623 PyObject * obj1 = 0 ;
28624 char *kwnames[] = {
28625 (char *) "image",(char *) "cursor", NULL
28626 };
28627
28628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28630 if (arg1 == NULL) {
28631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28632 }
28633 if (obj1) {
28634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28635 if (arg2 == NULL) {
28636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28637 }
28638 }
28639 {
28640 PyThreadState* __tstate = wxPyBeginAllowThreads();
28641 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28642
28643 wxPyEndAllowThreads(__tstate);
28644 if (PyErr_Occurred()) SWIG_fail;
28645 }
28646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28647 return resultobj;
28648 fail:
28649 return NULL;
28650 }
28651
28652
28653 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
28654 PyObject *resultobj;
28655 wxIcon *arg1 = 0 ;
28656 wxCursor const &arg2_defvalue = wxNullCursor ;
28657 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28658 wxGenericDragImage *result;
28659 PyObject * obj0 = 0 ;
28660 PyObject * obj1 = 0 ;
28661 char *kwnames[] = {
28662 (char *) "image",(char *) "cursor", NULL
28663 };
28664
28665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28667 if (arg1 == NULL) {
28668 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28669 }
28670 if (obj1) {
28671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28672 if (arg2 == NULL) {
28673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28674 }
28675 }
28676 {
28677 PyThreadState* __tstate = wxPyBeginAllowThreads();
28678 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*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_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
28691 PyObject *resultobj;
28692 wxString *arg1 = 0 ;
28693 wxCursor const &arg2_defvalue = wxNullCursor ;
28694 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28695 wxGenericDragImage *result;
28696 bool temp1 = False ;
28697 PyObject * obj0 = 0 ;
28698 PyObject * obj1 = 0 ;
28699 char *kwnames[] = {
28700 (char *) "str",(char *) "cursor", NULL
28701 };
28702
28703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28704 {
28705 arg1 = wxString_in_helper(obj0);
28706 if (arg1 == NULL) SWIG_fail;
28707 temp1 = True;
28708 }
28709 if (obj1) {
28710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28711 if (arg2 == NULL) {
28712 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28713 }
28714 }
28715 {
28716 PyThreadState* __tstate = wxPyBeginAllowThreads();
28717 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28718
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28723 {
28724 if (temp1)
28725 delete arg1;
28726 }
28727 return resultobj;
28728 fail:
28729 {
28730 if (temp1)
28731 delete arg1;
28732 }
28733 return NULL;
28734 }
28735
28736
28737 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28738 PyObject *resultobj;
28739 wxPyTreeCtrl *arg1 = 0 ;
28740 wxTreeItemId *arg2 = 0 ;
28741 wxGenericDragImage *result;
28742 PyObject * obj0 = 0 ;
28743 PyObject * obj1 = 0 ;
28744 char *kwnames[] = {
28745 (char *) "treeCtrl",(char *) "id", NULL
28746 };
28747
28748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28750 if (arg1 == NULL) {
28751 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28752 }
28753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28754 if (arg2 == NULL) {
28755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28756 }
28757 {
28758 PyThreadState* __tstate = wxPyBeginAllowThreads();
28759 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
28760
28761 wxPyEndAllowThreads(__tstate);
28762 if (PyErr_Occurred()) SWIG_fail;
28763 }
28764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28765 return resultobj;
28766 fail:
28767 return NULL;
28768 }
28769
28770
28771 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28772 PyObject *resultobj;
28773 wxPyListCtrl *arg1 = 0 ;
28774 long arg2 ;
28775 wxGenericDragImage *result;
28776 PyObject * obj0 = 0 ;
28777 PyObject * obj1 = 0 ;
28778 char *kwnames[] = {
28779 (char *) "listCtrl",(char *) "id", NULL
28780 };
28781
28782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
28783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28784 if (arg1 == NULL) {
28785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28786 }
28787 {
28788 arg2 = (long) SWIG_PyObj_AsLong(obj1);
28789 if (PyErr_Occurred()) SWIG_fail;
28790 }
28791 {
28792 PyThreadState* __tstate = wxPyBeginAllowThreads();
28793 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
28794
28795 wxPyEndAllowThreads(__tstate);
28796 if (PyErr_Occurred()) SWIG_fail;
28797 }
28798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28799 return resultobj;
28800 fail:
28801 return NULL;
28802 }
28803
28804
28805 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28806 PyObject *resultobj;
28807 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28808 PyObject * obj0 = 0 ;
28809 char *kwnames[] = {
28810 (char *) "self", NULL
28811 };
28812
28813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
28814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28815 {
28816 PyThreadState* __tstate = wxPyBeginAllowThreads();
28817 delete arg1;
28818
28819 wxPyEndAllowThreads(__tstate);
28820 if (PyErr_Occurred()) SWIG_fail;
28821 }
28822 Py_INCREF(Py_None); resultobj = Py_None;
28823 return resultobj;
28824 fail:
28825 return NULL;
28826 }
28827
28828
28829 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28830 PyObject *resultobj;
28831 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28832 wxBitmap *arg2 = (wxBitmap *) 0 ;
28833 PyObject * obj0 = 0 ;
28834 PyObject * obj1 = 0 ;
28835 char *kwnames[] = {
28836 (char *) "self",(char *) "bitmap", NULL
28837 };
28838
28839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
28840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28842 {
28843 PyThreadState* __tstate = wxPyBeginAllowThreads();
28844 (arg1)->SetBackingBitmap(arg2);
28845
28846 wxPyEndAllowThreads(__tstate);
28847 if (PyErr_Occurred()) SWIG_fail;
28848 }
28849 Py_INCREF(Py_None); resultobj = Py_None;
28850 return resultobj;
28851 fail:
28852 return NULL;
28853 }
28854
28855
28856 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28857 PyObject *resultobj;
28858 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28859 wxPoint *arg2 = 0 ;
28860 wxWindow *arg3 = (wxWindow *) 0 ;
28861 bool arg4 = (bool) False ;
28862 wxRect *arg5 = (wxRect *) NULL ;
28863 bool result;
28864 wxPoint temp2 ;
28865 PyObject * obj0 = 0 ;
28866 PyObject * obj1 = 0 ;
28867 PyObject * obj2 = 0 ;
28868 PyObject * obj3 = 0 ;
28869 PyObject * obj4 = 0 ;
28870 char *kwnames[] = {
28871 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28872 };
28873
28874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28876 {
28877 arg2 = &temp2;
28878 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28879 }
28880 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28881 if (obj3) {
28882 {
28883 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 }
28887 if (obj4) {
28888 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28889 }
28890 {
28891 PyThreadState* __tstate = wxPyBeginAllowThreads();
28892 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
28893
28894 wxPyEndAllowThreads(__tstate);
28895 if (PyErr_Occurred()) SWIG_fail;
28896 }
28897 resultobj = SWIG_PyObj_FromBool((bool)result);
28898 return resultobj;
28899 fail:
28900 return NULL;
28901 }
28902
28903
28904 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
28905 PyObject *resultobj;
28906 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28907 wxPoint *arg2 = 0 ;
28908 wxWindow *arg3 = (wxWindow *) 0 ;
28909 wxWindow *arg4 = (wxWindow *) 0 ;
28910 bool result;
28911 wxPoint temp2 ;
28912 PyObject * obj0 = 0 ;
28913 PyObject * obj1 = 0 ;
28914 PyObject * obj2 = 0 ;
28915 PyObject * obj3 = 0 ;
28916 char *kwnames[] = {
28917 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28918 };
28919
28920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28922 {
28923 arg2 = &temp2;
28924 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28925 }
28926 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28927 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28928 {
28929 PyThreadState* __tstate = wxPyBeginAllowThreads();
28930 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
28931
28932 wxPyEndAllowThreads(__tstate);
28933 if (PyErr_Occurred()) SWIG_fail;
28934 }
28935 resultobj = SWIG_PyObj_FromBool((bool)result);
28936 return resultobj;
28937 fail:
28938 return NULL;
28939 }
28940
28941
28942 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28943 PyObject *resultobj;
28944 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28945 bool result;
28946 PyObject * obj0 = 0 ;
28947 char *kwnames[] = {
28948 (char *) "self", NULL
28949 };
28950
28951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
28952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28953 {
28954 PyThreadState* __tstate = wxPyBeginAllowThreads();
28955 result = (bool)(arg1)->EndDrag();
28956
28957 wxPyEndAllowThreads(__tstate);
28958 if (PyErr_Occurred()) SWIG_fail;
28959 }
28960 resultobj = SWIG_PyObj_FromBool((bool)result);
28961 return resultobj;
28962 fail:
28963 return NULL;
28964 }
28965
28966
28967 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
28968 PyObject *resultobj;
28969 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28970 wxPoint *arg2 = 0 ;
28971 bool result;
28972 wxPoint temp2 ;
28973 PyObject * obj0 = 0 ;
28974 PyObject * obj1 = 0 ;
28975 char *kwnames[] = {
28976 (char *) "self",(char *) "pt", NULL
28977 };
28978
28979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
28980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28981 {
28982 arg2 = &temp2;
28983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28984 }
28985 {
28986 PyThreadState* __tstate = wxPyBeginAllowThreads();
28987 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
28988
28989 wxPyEndAllowThreads(__tstate);
28990 if (PyErr_Occurred()) SWIG_fail;
28991 }
28992 resultobj = SWIG_PyObj_FromBool((bool)result);
28993 return resultobj;
28994 fail:
28995 return NULL;
28996 }
28997
28998
28999 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29000 PyObject *resultobj;
29001 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29002 bool result;
29003 PyObject * obj0 = 0 ;
29004 char *kwnames[] = {
29005 (char *) "self", NULL
29006 };
29007
29008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29010 {
29011 PyThreadState* __tstate = wxPyBeginAllowThreads();
29012 result = (bool)(arg1)->Show();
29013
29014 wxPyEndAllowThreads(__tstate);
29015 if (PyErr_Occurred()) SWIG_fail;
29016 }
29017 resultobj = SWIG_PyObj_FromBool((bool)result);
29018 return resultobj;
29019 fail:
29020 return NULL;
29021 }
29022
29023
29024 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29025 PyObject *resultobj;
29026 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29027 bool result;
29028 PyObject * obj0 = 0 ;
29029 char *kwnames[] = {
29030 (char *) "self", NULL
29031 };
29032
29033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29035 {
29036 PyThreadState* __tstate = wxPyBeginAllowThreads();
29037 result = (bool)(arg1)->Hide();
29038
29039 wxPyEndAllowThreads(__tstate);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
29042 resultobj = SWIG_PyObj_FromBool((bool)result);
29043 return resultobj;
29044 fail:
29045 return NULL;
29046 }
29047
29048
29049 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29050 PyObject *resultobj;
29051 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29052 wxPoint *arg2 = 0 ;
29053 wxRect result;
29054 wxPoint temp2 ;
29055 PyObject * obj0 = 0 ;
29056 PyObject * obj1 = 0 ;
29057 char *kwnames[] = {
29058 (char *) "self",(char *) "pos", NULL
29059 };
29060
29061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29063 {
29064 arg2 = &temp2;
29065 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29066 }
29067 {
29068 PyThreadState* __tstate = wxPyBeginAllowThreads();
29069 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29070
29071 wxPyEndAllowThreads(__tstate);
29072 if (PyErr_Occurred()) SWIG_fail;
29073 }
29074 {
29075 wxRect * resultptr;
29076 resultptr = new wxRect((wxRect &) result);
29077 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
29078 }
29079 return resultobj;
29080 fail:
29081 return NULL;
29082 }
29083
29084
29085 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29086 PyObject *resultobj;
29087 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29088 wxDC *arg2 = 0 ;
29089 wxPoint *arg3 = 0 ;
29090 bool result;
29091 wxPoint temp3 ;
29092 PyObject * obj0 = 0 ;
29093 PyObject * obj1 = 0 ;
29094 PyObject * obj2 = 0 ;
29095 char *kwnames[] = {
29096 (char *) "self",(char *) "dc",(char *) "pos", NULL
29097 };
29098
29099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29102 if (arg2 == NULL) {
29103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29104 }
29105 {
29106 arg3 = &temp3;
29107 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29108 }
29109 {
29110 PyThreadState* __tstate = wxPyBeginAllowThreads();
29111 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29112
29113 wxPyEndAllowThreads(__tstate);
29114 if (PyErr_Occurred()) SWIG_fail;
29115 }
29116 resultobj = SWIG_PyObj_FromBool((bool)result);
29117 return resultobj;
29118 fail:
29119 return NULL;
29120 }
29121
29122
29123 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29124 PyObject *resultobj;
29125 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29126 wxDC *arg2 = 0 ;
29127 wxMemoryDC *arg3 = 0 ;
29128 wxRect *arg4 = 0 ;
29129 wxRect *arg5 = 0 ;
29130 bool result;
29131 wxRect temp4 ;
29132 wxRect temp5 ;
29133 PyObject * obj0 = 0 ;
29134 PyObject * obj1 = 0 ;
29135 PyObject * obj2 = 0 ;
29136 PyObject * obj3 = 0 ;
29137 PyObject * obj4 = 0 ;
29138 char *kwnames[] = {
29139 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29140 };
29141
29142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29145 if (arg2 == NULL) {
29146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29147 }
29148 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29149 if (arg3 == NULL) {
29150 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29151 }
29152 {
29153 arg4 = &temp4;
29154 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29155 }
29156 {
29157 arg5 = &temp5;
29158 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29159 }
29160 {
29161 PyThreadState* __tstate = wxPyBeginAllowThreads();
29162 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29163
29164 wxPyEndAllowThreads(__tstate);
29165 if (PyErr_Occurred()) SWIG_fail;
29166 }
29167 resultobj = SWIG_PyObj_FromBool((bool)result);
29168 return resultobj;
29169 fail:
29170 return NULL;
29171 }
29172
29173
29174 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29175 PyObject *resultobj;
29176 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29177 wxPoint *arg2 = 0 ;
29178 wxPoint *arg3 = 0 ;
29179 bool arg4 ;
29180 bool arg5 ;
29181 bool result;
29182 wxPoint temp2 ;
29183 wxPoint temp3 ;
29184 PyObject * obj0 = 0 ;
29185 PyObject * obj1 = 0 ;
29186 PyObject * obj2 = 0 ;
29187 PyObject * obj3 = 0 ;
29188 PyObject * obj4 = 0 ;
29189 char *kwnames[] = {
29190 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29191 };
29192
29193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29195 {
29196 arg2 = &temp2;
29197 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29198 }
29199 {
29200 arg3 = &temp3;
29201 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29202 }
29203 {
29204 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29205 if (PyErr_Occurred()) SWIG_fail;
29206 }
29207 {
29208 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
29209 if (PyErr_Occurred()) SWIG_fail;
29210 }
29211 {
29212 PyThreadState* __tstate = wxPyBeginAllowThreads();
29213 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29214
29215 wxPyEndAllowThreads(__tstate);
29216 if (PyErr_Occurred()) SWIG_fail;
29217 }
29218 resultobj = SWIG_PyObj_FromBool((bool)result);
29219 return resultobj;
29220 fail:
29221 return NULL;
29222 }
29223
29224
29225 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29226 PyObject *obj;
29227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29228 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29229 Py_INCREF(obj);
29230 return Py_BuildValue((char *)"");
29231 }
29232 static PyMethodDef SwigMethods[] = {
29233 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29234 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29235 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29236 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29237 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
29238 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
29239 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29240 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29241 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29242 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29243 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29244 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29245 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29246 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29247 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29248 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29249 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29250 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29251 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29252 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29253 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29254 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29255 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29256 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29257 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29258 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29259 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29260 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29261 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29262 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29263 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29264 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29265 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29266 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29267 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29268 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29269 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29270 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
29271 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
29272 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29273 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29274 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29275 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29276 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29277 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29278 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29279 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29280 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29281 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29282 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29283 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29284 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29285 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29286 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29287 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29288 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29289 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29290 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29291 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29292 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29293 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29294 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29295 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29296 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29297 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29298 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29299 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29300 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29301 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29302 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29303 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29304 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29305 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29306 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29307 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29308 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29309 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29310 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29311 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29312 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29313 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29314 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29315 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29316 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29317 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29318 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29319 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29320 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29321 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29322 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29323 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29324 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29325 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29326 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29327 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29328 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29329 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29330 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29331 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29332 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29333 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29334 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29335 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29336 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29337 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29338 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29339 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29340 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29341 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29342 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29343 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29344 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29345 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29346 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29347 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29348 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29349 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29350 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29351 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29352 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
29353 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29354 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29355 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29356 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29357 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29358 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29359 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29360 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29361 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29362 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29363 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29364 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29365 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29366 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29367 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29368 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29369 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29370 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29371 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29372 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29373 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29374 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29375 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29376 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29377 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29378 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29379 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29380 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29381 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29382 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29383 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29384 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29385 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29386 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29387 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29388 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29389 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29390 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29391 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29392 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29393 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29394 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29395 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29396 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29397 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29398 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29399 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29400 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29401 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29402 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29403 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29404 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29405 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29406 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29407 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29408 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29409 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29410 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29411 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29412 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29413 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29414 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29415 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29416 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29417 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29418 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29419 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29420 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29421 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29422 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29423 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29424 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29425 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29426 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29427 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29428 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29429 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29430 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29431 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29432 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29433 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29434 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29435 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29436 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
29437 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
29438 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29439 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29440 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29441 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29442 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29443 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29444 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29445 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29446 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29447 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29448 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29449 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29450 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29451 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29452 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29453 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29454 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29455 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29456 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29457 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29458 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29459 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29460 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29461 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29462 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29463 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29464 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29465 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29466 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29467 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29468 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29469 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29470 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29471 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29472 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29473 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29474 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29475 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29476 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29477 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29478 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29479 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29480 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29481 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29482 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29483 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29484 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29485 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29486 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29487 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29488 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29489 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29490 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29491 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29492 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29493 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29494 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29495 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29496 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29497 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29498 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29499 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29500 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29501 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29502 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29503 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
29504 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29505 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29506 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
29507 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
29508 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
29509 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
29510 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
29511 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
29512 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
29513 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
29514 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
29515 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
29516 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
29517 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
29518 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29519 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
29520 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29521 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
29522 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
29523 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
29524 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
29525 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
29526 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
29527 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
29528 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
29529 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
29530 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
29531 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
29532 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
29533 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
29534 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
29535 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29536 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29537 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
29538 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
29539 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
29540 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
29541 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29542 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
29543 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
29544 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29545 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29546 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29547 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
29548 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
29549 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29550 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29551 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
29552 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
29553 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
29554 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
29555 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
29556 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29557 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
29558 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
29559 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
29560 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
29561 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
29562 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
29563 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
29564 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
29565 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
29566 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
29567 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
29568 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29569 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
29570 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
29571 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
29572 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29573 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
29574 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
29575 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
29576 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
29577 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
29578 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
29579 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
29580 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
29581 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
29582 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
29583 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
29584 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
29585 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29586 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29587 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
29588 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
29589 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
29590 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29591 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29592 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
29593 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
29594 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
29595 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
29596 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
29597 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
29598 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
29599 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
29600 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
29601 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
29602 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
29603 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
29604 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
29605 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29606 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29607 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29608 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
29609 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
29610 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
29611 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
29612 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
29613 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29614 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
29615 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
29616 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29617 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29618 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
29619 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
29620 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
29621 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
29622 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
29623 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
29624 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
29625 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
29626 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
29627 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
29628 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
29629 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
29630 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
29631 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
29632 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
29633 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
29634 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
29635 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
29636 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
29637 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
29638 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
29639 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
29640 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29641 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
29642 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
29643 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
29644 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
29645 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
29646 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29647 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29648 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29649 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29650 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
29651 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
29652 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
29653 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29654 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
29655 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
29656 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
29657 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29658 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
29659 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
29660 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
29661 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
29662 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29663 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29664 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
29665 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29666 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
29667 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
29668 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
29669 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
29670 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
29671 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
29672 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29673 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
29674 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
29675 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29676 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29677 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29678 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29679 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29680 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29681 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29682 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29683 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29684 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
29685 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
29686 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
29687 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
29688 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
29689 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
29690 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
29691 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
29692 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
29693 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
29694 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
29695 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
29696 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
29697 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
29698 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
29699 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
29700 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29701 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29702 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
29703 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
29704 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
29705 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
29706 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
29707 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
29708 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
29709 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
29710 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
29711 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
29712 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
29713 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
29714 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29715 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29716 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
29717 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
29718 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
29719 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
29720 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
29721 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
29722 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
29723 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
29724 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
29725 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
29726 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
29727 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
29728 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
29729 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
29730 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
29731 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
29733 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
29736 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
29737 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
29738 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
29740 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
29741 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
29746 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
29747 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
29748 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29751 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
29752 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
29753 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29754 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29755 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
29756 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
29758 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
29759 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29760 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
29761 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29763 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
29765 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
29767 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
29770 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29771 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29774 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29775 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
29780 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
29781 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
29782 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
29783 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29784 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29785 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29786 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29787 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29788 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
29789 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
29790 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
29791 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
29792 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29793 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29794 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
29795 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29796 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29797 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
29798 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
29799 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
29800 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29801 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29802 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29803 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29804 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
29805 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
29806 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
29807 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
29808 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
29809 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29810 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
29811 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
29812 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
29813 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29814 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
29815 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29816 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
29817 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
29818 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
29819 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29820 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29821 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
29822 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
29823 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
29824 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
29825 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
29826 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
29827 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
29828 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29829 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29830 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29831 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29832 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
29833 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
29834 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
29835 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
29836 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
29837 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
29838 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
29839 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
29840 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
29841 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
29842 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
29843 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
29844 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
29845 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
29846 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
29847 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29848 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29849 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
29850 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
29851 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
29852 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
29853 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
29854 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
29855 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
29856 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
29857 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
29858 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
29859 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
29860 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
29861 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
29862 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
29863 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29864 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
29865 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
29866 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
29867 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29868 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
29869 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29870 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29871 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29872 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29873 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
29874 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29875 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29876 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
29877 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
29878 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
29879 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29880 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29881 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29882 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
29883 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
29884 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
29885 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
29886 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
29887 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29888 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
29889 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29890 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
29891 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29892 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
29893 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29894 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
29895 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29896 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
29897 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29898 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29899 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
29900 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29901 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29902 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29903 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
29904 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29905 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
29906 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
29907 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29908 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29909 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29910 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
29911 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29912 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
29913 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
29914 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
29915 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
29916 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
29917 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29918 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
29919 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
29920 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
29921 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
29922 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
29923 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
29924 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
29925 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
29926 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
29927 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
29928 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
29929 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
29930 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29931 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
29932 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
29933 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
29934 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
29935 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29936 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
29937 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
29938 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
29939 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
29940 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
29941 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
29942 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
29943 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29944 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
29945 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29946 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
29947 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
29948 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
29949 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29950 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
29951 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
29952 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29953 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29954 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29955 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
29956 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29957 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29958 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
29959 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
29960 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
29961 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
29962 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
29963 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
29964 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
29965 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29966 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29967 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
29968 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29969 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29970 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
29971 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
29972 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
29973 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
29974 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29975 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29976 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29977 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
29978 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
29979 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
29980 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29981 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
29982 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
29983 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
29984 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
29985 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
29986 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
29987 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
29988 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
29989 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
29990 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
29991 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
29992 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
29993 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
29994 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
29995 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
29996 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
29997 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
29998 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
29999 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30000 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30001 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30002 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30003 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30004 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30005 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30006 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30007 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30008 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30009 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30010 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30011 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30012 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30013 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30014 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30015 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30016 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30017 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30022 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30023 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30024 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
30025 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30028 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30029 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30030 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30035 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30036 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30038 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30040 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30042 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
30043 { NULL, NULL }
30044 };
30045
30046
30047 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30048
30049 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30050 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30051 }
30052 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30053 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30054 }
30055 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30056 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30057 }
30058 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30059 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30060 }
30061 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30062 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30063 }
30064 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30065 return (void *)((wxSizer *) ((wxGridSizer *) x));
30066 }
30067 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30068 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30069 }
30070 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30071 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30072 }
30073 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30074 return (void *)((wxSizer *) ((wxPySizer *) x));
30075 }
30076 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30077 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30078 }
30079 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30080 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30081 }
30082 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30083 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30084 }
30085 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30086 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30087 }
30088 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30089 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30090 }
30091 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30092 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30093 }
30094 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30095 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30096 }
30097 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30098 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30099 }
30100 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30101 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30102 }
30103 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30104 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30105 }
30106 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30107 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30108 }
30109 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30110 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30111 }
30112 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30113 return (void *)((wxEvent *) ((wxPyEvent *) x));
30114 }
30115 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30116 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30117 }
30118 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30119 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30120 }
30121 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30122 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30123 }
30124 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30125 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30126 }
30127 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30128 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30129 }
30130 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30131 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30132 }
30133 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30134 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30135 }
30136 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30137 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30138 }
30139 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30140 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30141 }
30142 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30143 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30144 }
30145 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30146 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30147 }
30148 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30149 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30150 }
30151 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30152 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30153 }
30154 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30155 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30156 }
30157 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30158 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30159 }
30160 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30161 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30162 }
30163 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30164 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30165 }
30166 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30167 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30168 }
30169 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30170 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30171 }
30172 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30173 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30174 }
30175 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30176 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30177 }
30178 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30179 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30180 }
30181 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30182 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30183 }
30184 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30185 return (void *)((wxEvent *) ((wxShowEvent *) x));
30186 }
30187 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30188 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30189 }
30190 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30192 }
30193 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30194 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30195 }
30196 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30197 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30198 }
30199 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30200 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30201 }
30202 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30203 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30204 }
30205 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30206 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30207 }
30208 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30209 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30210 }
30211 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30212 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30213 }
30214 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30215 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30216 }
30217 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30218 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30219 }
30220 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30221 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30222 }
30223 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30224 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30225 }
30226 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30227 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30228 }
30229 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30230 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30231 }
30232 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30233 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30234 }
30235 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30236 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30237 }
30238 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30239 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30240 }
30241 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30242 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30243 }
30244 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30245 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30246 }
30247 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30248 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30249 }
30250 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30251 return (void *)((wxControl *) ((wxStaticBox *) x));
30252 }
30253 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30254 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30255 }
30256 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30257 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30258 }
30259 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30260 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30261 }
30262 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30263 return (void *)((wxControl *) ((wxScrollBar *) x));
30264 }
30265 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30266 return (void *)((wxControl *) ((wxBookCtrl *) x));
30267 }
30268 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30269 return (void *)((wxControl *) ((wxRadioButton *) x));
30270 }
30271 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30272 return (void *)((wxControl *) ((wxToggleButton *) x));
30273 }
30274 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30275 return (void *)((wxControl *) ((wxGauge *) x));
30276 }
30277 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30278 return (void *)((wxControl *) ((wxToolBarBase *) x));
30279 }
30280 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30281 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30282 }
30283 static void *_p_wxButtonTo_p_wxControl(void *x) {
30284 return (void *)((wxControl *) ((wxButton *) x));
30285 }
30286 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30287 return (void *)((wxControl *) ((wxSpinButton *) x));
30288 }
30289 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30290 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30291 }
30292 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30293 return (void *)((wxControl *) ((wxControlWithItems *) x));
30294 }
30295 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30296 return (void *)((wxControl *) ((wxRadioBox *) x));
30297 }
30298 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30299 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30300 }
30301 static void *_p_wxListbookTo_p_wxControl(void *x) {
30302 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30303 }
30304 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30305 return (void *)((wxControl *) ((wxCheckBox *) x));
30306 }
30307 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30308 return (void *)((wxControl *) ((wxTextCtrl *) x));
30309 }
30310 static void *_p_wxListViewTo_p_wxControl(void *x) {
30311 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30312 }
30313 static void *_p_wxSliderTo_p_wxControl(void *x) {
30314 return (void *)((wxControl *) ((wxSlider *) x));
30315 }
30316 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30317 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30318 }
30319 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30320 return (void *)((wxControl *) ((wxPyControl *) x));
30321 }
30322 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30323 return (void *)((wxControl *) ((wxStaticLine *) x));
30324 }
30325 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30326 return (void *)((wxControl *) ((wxStaticText *) x));
30327 }
30328 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30329 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30330 }
30331 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
30332 return (void *)((wxChoice *) ((wxComboBox *) x));
30333 }
30334 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30335 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30336 }
30337 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30338 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30339 }
30340 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30341 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30342 }
30343 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30344 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30345 }
30346 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30347 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30348 }
30349 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30350 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30351 }
30352 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30353 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30354 }
30355 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30356 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30357 }
30358 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30359 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30360 }
30361 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30362 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30363 }
30364 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30365 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30366 }
30367 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30369 }
30370 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30371 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30372 }
30373 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30374 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30375 }
30376 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30377 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30378 }
30379 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30380 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30381 }
30382 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30383 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30384 }
30385 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30386 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30387 }
30388 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30390 }
30391 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30393 }
30394 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30395 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30396 }
30397 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30399 }
30400 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30401 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30402 }
30403 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30405 }
30406 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30408 }
30409 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30411 }
30412 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30414 }
30415 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30417 }
30418 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30419 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30420 }
30421 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30423 }
30424 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30426 }
30427 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30428 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30429 }
30430 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30432 }
30433 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30435 }
30436 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30438 }
30439 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30441 }
30442 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30444 }
30445 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30447 }
30448 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30450 }
30451 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30453 }
30454 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30456 }
30457 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30459 }
30460 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30462 }
30463 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30465 }
30466 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30468 }
30469 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30470 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30471 }
30472 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30474 }
30475 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30476 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30477 }
30478 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30479 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30480 }
30481 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30482 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30483 }
30484 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30485 return (void *)((wxButton *) ((wxBitmapButton *) x));
30486 }
30487 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30488 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30489 }
30490 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30491 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30492 }
30493 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30494 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30495 }
30496 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30497 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30498 }
30499 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30500 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30501 }
30502 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30503 return (void *)((wxObject *) ((wxSizerItem *) x));
30504 }
30505 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30507 }
30508 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30509 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30510 }
30511 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30512 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30513 }
30514 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30515 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30516 }
30517 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30518 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30519 }
30520 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30521 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30522 }
30523 static void *_p_wxSizerTo_p_wxObject(void *x) {
30524 return (void *)((wxObject *) ((wxSizer *) x));
30525 }
30526 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30527 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30528 }
30529 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30531 }
30532 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30534 }
30535 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30536 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30537 }
30538 static void *_p_wxEventTo_p_wxObject(void *x) {
30539 return (void *)((wxObject *) ((wxEvent *) x));
30540 }
30541 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30542 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30543 }
30544 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30545 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30546 }
30547 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30548 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30549 }
30550 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30552 }
30553 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30555 }
30556 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30558 }
30559 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30560 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30561 }
30562 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30563 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30564 }
30565 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30566 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30567 }
30568 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30569 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30570 }
30571 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30572 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30573 }
30574 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30575 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30576 }
30577 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30579 }
30580 static void *_p_wxControlTo_p_wxObject(void *x) {
30581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30582 }
30583 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30585 }
30586 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30588 }
30589 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30591 }
30592 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30594 }
30595 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30597 }
30598 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30599 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30600 }
30601 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30603 }
30604 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30605 return (void *)((wxObject *) ((wxFSFile *) x));
30606 }
30607 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30608 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30609 }
30610 static void *_p_wxListViewTo_p_wxObject(void *x) {
30611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30612 }
30613 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30615 }
30616 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30618 }
30619 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30620 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30621 }
30622 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30624 }
30625 static void *_p_wxListbookTo_p_wxObject(void *x) {
30626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30627 }
30628 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30629 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30630 }
30631 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30632 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30633 }
30634 static void *_p_wxSliderTo_p_wxObject(void *x) {
30635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30636 }
30637 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30638 return (void *)((wxObject *) ((wxMenuItem *) x));
30639 }
30640 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30641 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30642 }
30643 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30645 }
30646 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30647 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30648 }
30649 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30650 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30651 }
30652 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30653 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30654 }
30655 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30656 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30657 }
30658 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30659 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30660 }
30661 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30662 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30663 }
30664 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30666 }
30667 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30668 return (void *)((wxObject *) ((wxContextHelp *) x));
30669 }
30670 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30671 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30672 }
30673 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30674 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30675 }
30676 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30677 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30678 }
30679 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30680 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30681 }
30682 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30683 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30684 }
30685 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30686 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30687 }
30688 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30689 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30690 }
30691 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30692 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30693 }
30694 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30695 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30696 }
30697 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30698 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30699 }
30700 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30701 return (void *)((wxObject *) ((wxImageHandler *) x));
30702 }
30703 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30704 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30705 }
30706 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30707 return (void *)((wxObject *) ((wxEvtHandler *) x));
30708 }
30709 static void *_p_wxListEventTo_p_wxObject(void *x) {
30710 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30711 }
30712 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30714 }
30715 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30717 }
30718 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30720 }
30721 static void *_p_wxButtonTo_p_wxObject(void *x) {
30722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30723 }
30724 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30726 }
30727 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30729 }
30730 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30732 }
30733 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30734 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30735 }
30736 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30738 }
30739 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30741 }
30742 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30744 }
30745 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
30746 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
30747 }
30748 static void *_p_wxListItemTo_p_wxObject(void *x) {
30749 return (void *)((wxObject *) ((wxListItem *) x));
30750 }
30751 static void *_p_wxImageTo_p_wxObject(void *x) {
30752 return (void *)((wxObject *) ((wxImage *) x));
30753 }
30754 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
30755 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
30756 }
30757 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30758 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30759 }
30760 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
30761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30762 }
30763 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
30764 return (void *)((wxObject *) ((wxGenericDragImage *) x));
30765 }
30766 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
30767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30768 }
30769 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
30770 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30771 }
30772 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
30773 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30774 }
30775 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30776 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30777 }
30778 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30779 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30780 }
30781 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30782 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30783 }
30784 static void *_p_wxWindowTo_p_wxObject(void *x) {
30785 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30786 }
30787 static void *_p_wxMenuTo_p_wxObject(void *x) {
30788 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30789 }
30790 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30792 }
30793 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30794 return (void *)((wxObject *) ((wxFileSystem *) x));
30795 }
30796 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30798 }
30799 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30800 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30801 }
30802 static void *_p_wxPyAppTo_p_wxObject(void *x) {
30803 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30804 }
30805 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30806 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30807 }
30808 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30809 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30810 }
30811 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30812 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30813 }
30814 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
30815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30816 }
30817 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30818 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30819 }
30820 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30821 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30822 }
30823 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
30824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
30825 }
30826 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30827 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30828 }
30829 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30830 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30831 }
30832 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30834 }
30835 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30837 }
30838 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
30839 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
30840 }
30841 static void *_p_wxToolBarTo_p_wxObject(void *x) {
30842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30843 }
30844 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30845 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30846 }
30847 static void *_p_wxValidatorTo_p_wxObject(void *x) {
30848 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30849 }
30850 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
30851 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
30852 }
30853 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
30854 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
30855 }
30856 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
30857 return (void *)((wxWindow *) ((wxMenuBar *) x));
30858 }
30859 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
30860 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30861 }
30862 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
30863 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
30864 }
30865 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
30866 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
30867 }
30868 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
30869 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
30870 }
30871 static void *_p_wxControlTo_p_wxWindow(void *x) {
30872 return (void *)((wxWindow *) ((wxControl *) x));
30873 }
30874 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
30875 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
30876 }
30877 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
30878 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30879 }
30880 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
30881 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
30882 }
30883 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
30884 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30885 }
30886 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
30887 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
30888 }
30889 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
30890 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
30891 }
30892 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
30893 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
30894 }
30895 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
30896 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
30897 }
30898 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
30899 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
30900 }
30901 static void *_p_wxListbookTo_p_wxWindow(void *x) {
30902 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30903 }
30904 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
30905 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
30906 }
30907 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
30908 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
30909 }
30910 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
30911 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
30912 }
30913 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
30914 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30915 }
30916 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
30917 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30918 }
30919 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
30920 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30921 }
30922 static void *_p_wxListViewTo_p_wxWindow(void *x) {
30923 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30924 }
30925 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
30926 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30927 }
30928 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
30929 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
30930 }
30931 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
30932 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
30933 }
30934 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
30935 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
30936 }
30937 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
30938 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
30939 }
30940 static void *_p_wxSliderTo_p_wxWindow(void *x) {
30941 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
30942 }
30943 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
30944 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
30945 }
30946 static void *_p_wxButtonTo_p_wxWindow(void *x) {
30947 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
30948 }
30949 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
30950 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
30951 }
30952 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
30953 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30954 }
30955 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
30956 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
30957 }
30958 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
30959 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30960 }
30961 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
30962 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30963 }
30964 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
30965 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
30966 }
30967 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
30968 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
30969 }
30970 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
30971 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
30972 }
30973 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
30974 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
30975 }
30976 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
30977 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
30978 }
30979 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
30980 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30981 }
30982 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
30983 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30984 }
30985 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
30986 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
30987 }
30988 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
30989 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
30990 }
30991 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
30992 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
30993 }
30994 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
30995 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
30996 }
30997 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
30998 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
30999 }
31000 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31001 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31002 }
31003 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31004 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31005 }
31006 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
31007 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
31008 }
31009 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31010 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31011 }
31012 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31013 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31014 }
31015 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31016 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31017 }
31018 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31019 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31020 }
31021 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31022 return (void *)((wxValidator *) ((wxPyValidator *) x));
31023 }
31024 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31025 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}};
31026 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}};
31027 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31028 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31029 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}};
31030 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31031 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31032 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31033 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}};
31034 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31035 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
31036 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31037 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}};
31038 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31039 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31040 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
31041 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31042 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31043 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31044 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
31045 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31046 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31047 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31048 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31049 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31050 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31051 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31052 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31053 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31054 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31055 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}};
31056 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31057 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31058 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31059 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31060 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31061 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31062 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31063 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31064 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}};
31065 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31066 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
31067 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31068 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}};
31069 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31070 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}};
31071 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
31072 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31073 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31074 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31075 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31076 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31077 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31078 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31079 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31080 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31081 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31082 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31083 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31084 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31085 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31086 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
31087 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31088 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31089 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31090 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31091 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31092 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}};
31093 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31094 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31095 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}};
31096 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31097 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31098 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31099 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31100 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}};
31101 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31102 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems},{"_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}};
31103 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31104 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31105 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31106 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31107 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
31108
31109 static swig_type_info *swig_types_initial[] = {
31110 _swigt__p_wxTextUrlEvent,
31111 _swigt__p_wxBookCtrlEvent,
31112 _swigt__p_wxSizer,
31113 _swigt__p_wxCheckBox,
31114 _swigt__p_wxPyTreeCtrl,
31115 _swigt__p_wxEvent,
31116 _swigt__p_wxGenericDirCtrl,
31117 _swigt__p_bool,
31118 _swigt__p_wxPyTreeItemData,
31119 _swigt__p_wxItemContainer,
31120 _swigt__p_wxDirFilterListCtrl,
31121 _swigt__p_wxPyListCtrl,
31122 _swigt__p_wxStaticLine,
31123 _swigt__p_wxControl,
31124 _swigt__p_wxPyControl,
31125 _swigt__p_wxGauge,
31126 _swigt__p_wxToolBarBase,
31127 _swigt__p_wxFont,
31128 _swigt__p_wxToggleButton,
31129 _swigt__p_wxRadioButton,
31130 _swigt__p_wxChoice,
31131 _swigt__p_wxMemoryDC,
31132 _swigt__p_wxListItemAttr,
31133 _swigt__p_void,
31134 _swigt__p_int,
31135 _swigt__p_wxSize,
31136 _swigt__p_wxDC,
31137 _swigt__p_wxListView,
31138 _swigt__p_wxIcon,
31139 _swigt__p_wxTextCtrl,
31140 _swigt__p_wxNotebook,
31141 _swigt__p_wxNotifyEvent,
31142 _swigt__p_wxArrayString,
31143 _swigt__p_wxListbook,
31144 _swigt__p_wxStaticBitmap,
31145 _swigt__p_wxSlider,
31146 _swigt__p_wxStaticBox,
31147 _swigt__p_wxArrayInt,
31148 _swigt__p_wxContextHelp,
31149 _swigt__p_long,
31150 _swigt__p_wxEvtHandler,
31151 _swigt__p_wxListEvent,
31152 _swigt__p_wxListBox,
31153 _swigt__p_wxCheckListBox,
31154 _swigt__p_wxBookCtrl,
31155 _swigt__p_wxSpinButton,
31156 _swigt__p_wxButton,
31157 _swigt__p_wxBitmapButton,
31158 _swigt__p_wxRect,
31159 _swigt__p_wxContextHelpButton,
31160 _swigt__p_wxRadioBox,
31161 _swigt__p_wxScrollBar,
31162 _swigt__p_char,
31163 _swigt__p_wxTreeItemId,
31164 _swigt__p_wxComboBox,
31165 _swigt__p_wxHelpEvent,
31166 _swigt__p_wxListItem,
31167 _swigt__p_wxNotebookSizer,
31168 _swigt__p_wxSpinEvent,
31169 _swigt__p_wxGenericDragImage,
31170 _swigt__p_wxSpinCtrl,
31171 _swigt__p_wxImageList,
31172 _swigt__p_wxHelpProvider,
31173 _swigt__p_wxTextAttr,
31174 _swigt__p_wxSimpleHelpProvider,
31175 _swigt__p_wxPoint,
31176 _swigt__p_wxListbookEvent,
31177 _swigt__p_wxNotebookEvent,
31178 _swigt__p_wxObject,
31179 _swigt__p_wxCursor,
31180 _swigt__p_wxKeyEvent,
31181 _swigt__p_wxWindow,
31182 _swigt__p_wxString,
31183 _swigt__p_wxBitmap,
31184 _swigt__p_wxTreeEvent,
31185 _swigt__p_wxMouseEvent,
31186 _swigt__p_wxCommandEvent,
31187 _swigt__p_wxStaticText,
31188 _swigt__p_wxControlWithItems,
31189 _swigt__p_wxToolBarToolBase,
31190 _swigt__p_wxColour,
31191 _swigt__p_wxToolBar,
31192 _swigt__p_wxBookCtrlSizer,
31193 _swigt__p_wxValidator,
31194 0
31195 };
31196
31197
31198 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31199
31200 static swig_const_info swig_const_table[] = {
31201 {0}};
31202
31203 #ifdef __cplusplus
31204 }
31205 #endif
31206
31207 #ifdef __cplusplus
31208 extern "C"
31209 #endif
31210 SWIGEXPORT(void) SWIG_init(void) {
31211 static PyObject *SWIG_globals = 0;
31212 static int typeinit = 0;
31213 PyObject *m, *d;
31214 int i;
31215 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31216 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31217 d = PyModule_GetDict(m);
31218
31219 if (!typeinit) {
31220 for (i = 0; swig_types_initial[i]; i++) {
31221 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31222 }
31223 typeinit = 1;
31224 }
31225 SWIG_InstallConstants(d,swig_const_table);
31226
31227 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31228 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31229 PyDict_SetItemString(d,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT));
31230 PyDict_SetItemString(d,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP));
31231 PyDict_SetItemString(d,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT));
31232 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM));
31233 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT));
31234 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW));
31235 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31236 PyDict_SetItemString(d,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE));
31237 PyDict_SetItemString(d,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE));
31238 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31239 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED));
31240 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED));
31241 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED));
31242 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31243 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31244 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31245 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL));
31246 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL));
31247 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH));
31248 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR));
31249 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31250 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31251 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31252 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31253 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31254 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL));
31255 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL));
31256 PyDict_SetItemString(d,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY));
31257 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE));
31258 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB));
31259 PyDict_SetItemString(d,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT));
31260 PyDict_SetItemString(d,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER));
31261 PyDict_SetItemString(d,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT));
31262 PyDict_SetItemString(d,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE));
31263 PyDict_SetItemString(d,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH));
31264 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER));
31265 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD));
31266 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL));
31267 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL));
31268 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP));
31269 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP));
31270 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP));
31271 PyDict_SetItemString(d,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2));
31272 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31273 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31274 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31275 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31276 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31277 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31278 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31279 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31280 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31281 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31282 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31283 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31284 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31285 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT));
31286 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31287 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31288 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31289 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS));
31290 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31291 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31292 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31293 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31294 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31295 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31296 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31297 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL));
31298 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL));
31299 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS));
31300 PyDict_SetItemString(d,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP));
31301 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31302 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31303 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31304 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31305 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31306 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31307 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31308 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH));
31309 PyDict_SetItemString(d,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP));
31310 PyDict_SetItemString(d,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT));
31311 PyDict_SetItemString(d,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT));
31312 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM));
31313 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE));
31314 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE));
31315 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON));
31316 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL));
31317 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM));
31318 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31319 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31320 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT));
31321 PyDict_SetItemString(d,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP));
31322 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM));
31323 PyDict_SetItemString(d,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT));
31324 PyDict_SetItemString(d,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT));
31325 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK));
31326 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31327 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31328 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON));
31329 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31330 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL));
31331 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL));
31332 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL));
31333 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS));
31334 PyDict_SetItemString(d,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT));
31335 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE));
31336 PyDict_SetItemString(d,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS));
31337 PyDict_SetItemString(d,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT));
31338 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER));
31339 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN));
31340 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT));
31341 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT));
31342 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31343 PyDict_SetItemString(d,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES));
31344 PyDict_SetItemString(d,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES));
31345 PyDict_SetItemString(d,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON));
31346 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON));
31347 PyDict_SetItemString(d,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST));
31348 PyDict_SetItemString(d,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT));
31349 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP));
31350 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT));
31351 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE));
31352 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL));
31353 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS));
31354 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER));
31355 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER));
31356 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL));
31357 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING));
31358 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING));
31359 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE));
31360 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN));
31361 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT));
31362 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE));
31363 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT));
31364 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE));
31365 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA));
31366 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM));
31367 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH));
31368 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT));
31369 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE));
31370 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED));
31371 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED));
31372 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED));
31373 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT));
31374 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED));
31375 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED));
31376 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE));
31377 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED));
31378 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE));
31379 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE));
31380 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW));
31381 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE));
31382 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31383 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31384 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31385 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31386 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT));
31387 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT));
31388 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM));
31389 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE));
31390 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL));
31391 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW));
31392 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT));
31393 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT));
31394 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT));
31395 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT));
31396 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP));
31397 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31398 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT));
31399 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT));
31400 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE));
31401 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER));
31402 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE));
31403 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31404 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS));
31405 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON));
31406 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL));
31407 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP));
31408 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN));
31409 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT));
31410 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT));
31411 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31412 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31413 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31414 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31415 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31416 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31417 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31418 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31419 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31420 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31421 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31422 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31423 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31424 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31425 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31426 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31427 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31428 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31429 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31430 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31431 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31432 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31433
31434 // Map renamed classes back to their common name for OOR
31435 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31436
31437 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31438 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS));
31439 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS));
31440 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES));
31441 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT));
31442 PyDict_SetItemString(d,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE));
31443 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE));
31444 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED));
31445 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31446 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS));
31447 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT));
31448 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES));
31449 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31450 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE));
31451 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS));
31452 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS));
31453 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS));
31454 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal));
31455 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected));
31456 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded));
31457 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31458 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max));
31459 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE));
31460 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW));
31461 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE));
31462 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31463 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31464 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31465 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31466 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31467 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31468 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT));
31469 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT));
31470 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31471 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31472 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM));
31473 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31474 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31475 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31476 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31477 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31478 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31479 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31480 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31481 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31482 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31483 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31484 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31485 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31486 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31487 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31488 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31489 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31490 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31491 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31492 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31493
31494 // Map renamed classes back to their common name for OOR
31495 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31496 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31497
31498 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31499 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY));
31500 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31501 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31502 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31503 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31504 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31505 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31506 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31507 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31508
31509 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31510
31511 }
31512