]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info *swig_types[85];
318
319 /* -------- TYPES TABLE (END) -------- */
320
321
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
326
327 #define SWIG_name "_controls"
328
329 #include <limits.h>
330 #include <float.h>
331 #include <string.h>
332
333 #ifndef SWIGSTATIC
334 #ifdef __cplusplus
335 #define SWIGSTATIC(a) static inline a
336 #else
337 #define SWIGSTATIC(a) static a
338 #endif
339 #endif
340
341 #ifndef numeric_cast
342 #ifdef __cplusplus
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #else
346 #define numeric_cast(type,a) static_cast<type>(a)
347 #endif
348 #else
349 #define numeric_cast(type,a) (type)(a)
350 #endif
351 #endif
352
353
354
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
369
370 static const wxString wxPyPanelNameStr(wxPanelNameStr);
371 static const wxString wxPyEmptyString(wxEmptyString);
372 static const wxString wxPyControlNameStr(wxControlNameStr);
373
374 const wxArrayString wxPyEmptyStringArray;
375
376 static const wxString wxPyButtonNameStr(wxButtonNameStr);
377
378 SWIGSTATIC(int)
379 SWIG_PyObj_AsInt(PyObject *obj)
380 {
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
383 }
384
385
386 SWIGSTATIC(long)
387 SWIG_PyObj_AsLong(PyObject * obj)
388 {
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390 }
391
392 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
393
394 SWIGSTATIC(bool)
395 SWIG_PyObj_AsBool(PyObject *obj)
396 {
397 return PyObject_IsTrue(obj) ? true : false;
398 }
399
400 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
401 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
402 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
403 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
404 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
405 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
406
407 #include <wx/checklst.h>
408
409
410 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
411 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
412 if (clientData) {
413 wxPyClientData* data = new wxPyClientData(clientData);
414 self->Insert(item, pos, data);
415 } else
416 self->Insert(item, pos);
417 }
418 PyObject *wxListBox_GetSelections(wxListBox *self){
419 wxArrayInt lst;
420 self->GetSelections(lst);
421 PyObject *tup = PyTuple_New(lst.GetCount());
422 for(size_t i=0; i<lst.GetCount(); i++) {
423 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
424 }
425 return tup;
426 }
427 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
428
429 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
430 PyObject* o2;
431 PyObject* o3;
432
433 if (!target) {
434 target = o;
435 } else if (target == Py_None) {
436 Py_DECREF(Py_None);
437 target = o;
438 } else {
439 if (!PyTuple_Check(target)) {
440 o2 = target;
441 target = PyTuple_New(1);
442 PyTuple_SetItem(target, 0, o2);
443 }
444 o3 = PyTuple_New(1);
445 PyTuple_SetItem(o3, 0, o);
446
447 o2 = target;
448 target = PySequence_Concat(o2, o3);
449 Py_DECREF(o2);
450 Py_DECREF(o3);
451 }
452 return target;
453 }
454
455 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
456 self->AppendText(text);
457 }
458 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
459 return self->GetValue().Mid(from, to - from);
460 }
461 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
462 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
463 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
464 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
465 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
466
467 #include <wx/slider.h>
468
469
470 static const wxString wxPySliderNameStr(wxSliderNameStr);
471 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
472
473 #if defined(__WXMAC__) || defined(__WXX11__)
474 // implement dummy classes and such for wxMac
475
476 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
477
478 class wxToggleButton : public wxControl
479 {
480 public:
481 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
482 const wxPoint&, const wxSize&, long,
483 const wxValidator&, const wxString&)
484 { wxPyRaiseNotImplemented(); }
485
486 wxToggleButton()
487 { wxPyRaiseNotImplemented(); }
488 };
489 #endif
490
491 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
492
493 SWIGSTATIC(PyObject* )
494 SWIG_PyObj_FromUnsignedLong(unsigned long value)
495 {
496 return (value > (unsigned long)(LONG_MAX)) ?
497 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
498 }
499
500 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
501 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
502 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
503 if (udata) {
504 Py_INCREF(udata->m_obj);
505 return udata->m_obj;
506 } else {
507 Py_INCREF(Py_None);
508 return Py_None;
509 }
510 }
511 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
512 self->SetClientData(new wxPyUserData(clientData));
513 }
514 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){
515 wxPyUserData* udata = NULL;
516 if (clientData && clientData != Py_None)
517 udata = new wxPyUserData(clientData);
518 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
519 shortHelp, longHelp, udata);
520 }
521 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){
522 wxPyUserData* udata = NULL;
523 if (clientData && clientData != Py_None)
524 udata = new wxPyUserData(clientData);
525 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
526 shortHelp, longHelp, udata);
527 }
528 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
529 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
530 if (udata) {
531 Py_INCREF(udata->m_obj);
532 return udata->m_obj;
533 } else {
534 Py_INCREF(Py_None);
535 return Py_None;
536 }
537 }
538 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
539 self->SetToolClientData(id, new wxPyUserData(clientData));
540 }
541
542 #include <wx/listctrl.h>
543
544
545 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
546 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
547 // Python aware sorting function for wxPyListCtrl
548 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
549 int retval = 0;
550 PyObject* func = (PyObject*)funcPtr;
551 wxPyBeginBlockThreads();
552
553 PyObject* args = Py_BuildValue("(ii)", item1, item2);
554 PyObject* result = PyEval_CallObject(func, args);
555 Py_DECREF(args);
556 if (result) {
557 retval = PyInt_AsLong(result);
558 Py_DECREF(result);
559 }
560
561 wxPyEndBlockThreads();
562 return retval;
563 }
564
565 // C++ Version of a Python aware class
566 class wxPyListCtrl : public wxListCtrl {
567 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
568 public:
569 wxPyListCtrl() : wxListCtrl() {}
570 wxPyListCtrl(wxWindow* parent, wxWindowID id,
571 const wxPoint& pos,
572 const wxSize& size,
573 long style,
574 const wxValidator& validator,
575 const wxString& name) :
576 wxListCtrl(parent, id, pos, size, style, validator, name) {}
577
578 bool Create(wxWindow* parent, wxWindowID id,
579 const wxPoint& pos,
580 const wxSize& size,
581 long style,
582 const wxValidator& validator,
583 const wxString& name) {
584 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
585 }
586
587 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
588 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
589 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
590
591 PYPRIVATE;
592 };
593
594 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
595
596 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
597 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
598 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
599
600 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
601 wxListItem item;
602 item.SetMask( wxLIST_MASK_STATE |
603 wxLIST_MASK_TEXT |
604 wxLIST_MASK_IMAGE |
605 wxLIST_MASK_DATA |
606 wxLIST_SET_ITEM |
607 wxLIST_MASK_WIDTH |
608 wxLIST_MASK_FORMAT
609 );
610 if (self->GetColumn(col, item))
611 return new wxListItem(item);
612 else
613 return NULL;
614 }
615 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
616 wxListItem* info = new wxListItem;
617 info->m_itemId = itemId;
618 info->m_col = col;
619 info->m_mask = 0xFFFF;
620 self->GetItem(*info);
621 return info;
622 }
623 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
624 wxPoint pos;
625 self->GetItemPosition(item, pos);
626 return pos;
627 }
628 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
629 wxRect rect;
630 self->GetItemRect(item, rect, code);
631 return rect;
632 }
633 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
634 if (!PyCallable_Check(func))
635 return False;
636 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
637 }
638 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
639
640
641
642 return (wxWindow*)self->m_mainWin;
643
644 }
645
646 #include <wx/treectrl.h>
647 #include "wx/wxPython/pytree.h"
648
649 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
650 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
651 if (!other) return False;
652 return *self == *other;
653 }
654 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
655 if (!other) return True;
656 return *self != *other;
657 }
658 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
659 // C++ version of Python aware wxTreeCtrl
660 class wxPyTreeCtrl : public wxTreeCtrl {
661 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
662 public:
663 wxPyTreeCtrl() : wxTreeCtrl() {}
664 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
665 const wxPoint& pos,
666 const wxSize& size,
667 long style,
668 const wxValidator& validator,
669 const wxString& name) :
670 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
671
672 bool Create(wxWindow *parent, wxWindowID id,
673 const wxPoint& pos,
674 const wxSize& size,
675 long style,
676 const wxValidator& validator,
677 const wxString& name) {
678 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
679 }
680
681
682 int OnCompareItems(const wxTreeItemId& item1,
683 const wxTreeItemId& item2) {
684 int rval = 0;
685 bool found;
686 wxPyBeginBlockThreads();
687 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
688 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
689 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
690 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
691 Py_DECREF(o1);
692 Py_DECREF(o2);
693 }
694 wxPyEndBlockThreads();
695 if (! found)
696 rval = wxTreeCtrl::OnCompareItems(item1, item2);
697 return rval;
698 }
699 PYPRIVATE;
700 };
701
702 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
703
704
705
706 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
707
708
709 SWIGSTATIC(unsigned int)
710 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
711 {
712 return numeric_cast(unsigned int,
713 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
714 }
715
716 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
717 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
718 if (data == NULL) {
719 data = new wxPyTreeItemData();
720 data->SetId(item); // set the id
721 self->SetItemData(item, data);
722 }
723 return data;
724 }
725 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
726 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
727 if (data == NULL) {
728 data = new wxPyTreeItemData();
729 data->SetId(item); // set the id
730 self->SetItemData(item, data);
731 }
732 return data->GetData();
733 }
734 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
735 data->SetId(item); // set the id
736 self->SetItemData(item, data);
737 }
738 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
739 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
740 if (data == NULL) {
741 data = new wxPyTreeItemData(obj);
742 data->SetId(item); // set the id
743 self->SetItemData(item, data);
744 } else
745 data->SetData(obj);
746 }
747 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
748 wxPyBeginBlockThreads();
749 PyObject* rval = PyList_New(0);
750 wxArrayTreeItemIds array;
751 size_t num, x;
752 num = self->GetSelections(array);
753 for (x=0; x < num; x++) {
754 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
755 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
756 PyList_Append(rval, item);
757 }
758 wxPyEndBlockThreads();
759 return rval;
760 }
761 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
762 void* cookie = 0;
763 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
764 wxPyBeginBlockThreads();
765 PyObject* tup = PyTuple_New(2);
766 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
767 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
768 wxPyEndBlockThreads();
769 return tup;
770 }
771 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
772 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
773 wxPyBeginBlockThreads();
774 PyObject* tup = PyTuple_New(2);
775 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
776 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
777 wxPyEndBlockThreads();
778 return tup;
779 }
780 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
781 wxRect rect;
782 if (self->GetBoundingRect(item, rect, textOnly)) {
783 wxPyBeginBlockThreads();
784 wxRect* r = new wxRect(rect);
785 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
786 wxPyEndBlockThreads();
787 return val;
788 }
789 else
790 RETURN_NONE();
791 }
792 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
793 // C++ version of Python aware wxControl
794 class wxPyControl : public wxControl
795 {
796 DECLARE_DYNAMIC_CLASS(wxPyControl)
797 public:
798 wxPyControl() : wxControl() {}
799 wxPyControl(wxWindow* parent, const wxWindowID id,
800 const wxPoint& pos = wxDefaultPosition,
801 const wxSize& size = wxDefaultSize,
802 long style = 0,
803 const wxValidator& validator=wxDefaultValidator,
804 const wxString& name = wxPyControlNameStr)
805 : wxControl(parent, id, pos, size, style, validator, name) {}
806
807
808 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
809 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
810 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
811 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
812
813 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
814 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
815 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
816
817 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
818 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
819
820 DEC_PYCALLBACK__(InitDialog);
821 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
822 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
823 DEC_PYCALLBACK_BOOL_(Validate);
824
825 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
826 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
827 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
828
829 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
830 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
831
832 PYPRIVATE;
833 };
834
835 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
836
837 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
838 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
839 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
840 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
841
842 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
843 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
844 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
845
846 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
847 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
848
849 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
850 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
851 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
852 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
853
854 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
855 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
856 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
857
858 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
859 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
860
861
862
863
864 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
865
866 #include <wx/generic/dragimgg.h>
867
868 #ifdef __cplusplus
869 extern "C" {
870 #endif
871 static int _wrap_ButtonNameStr_set(PyObject *) {
872 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
873 return 1;
874 }
875
876
877 static PyObject *_wrap_ButtonNameStr_get() {
878 PyObject *pyobj;
879
880 {
881 #if wxUSE_UNICODE
882 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
883 #else
884 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
885 #endif
886 }
887 return pyobj;
888 }
889
890
891 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
892 PyObject *resultobj;
893 wxWindow *arg1 = (wxWindow *) 0 ;
894 int arg2 ;
895 wxString *arg3 = 0 ;
896 wxPoint const &arg4_defvalue = wxDefaultPosition ;
897 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
898 wxSize const &arg5_defvalue = wxDefaultSize ;
899 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
900 long arg6 = (long) 0 ;
901 wxValidator const &arg7_defvalue = wxDefaultValidator ;
902 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
903 wxString const &arg8_defvalue = wxPyButtonNameStr ;
904 wxString *arg8 = (wxString *) &arg8_defvalue ;
905 wxButton *result;
906 bool temp3 = False ;
907 wxPoint temp4 ;
908 wxSize temp5 ;
909 bool temp8 = False ;
910 PyObject * obj0 = 0 ;
911 PyObject * obj1 = 0 ;
912 PyObject * obj2 = 0 ;
913 PyObject * obj3 = 0 ;
914 PyObject * obj4 = 0 ;
915 PyObject * obj5 = 0 ;
916 PyObject * obj6 = 0 ;
917 PyObject * obj7 = 0 ;
918 char *kwnames[] = {
919 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
920 };
921
922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
924 {
925 arg2 = (int) SWIG_PyObj_AsInt(obj1);
926 if (PyErr_Occurred()) SWIG_fail;
927 }
928 {
929 arg3 = wxString_in_helper(obj2);
930 if (arg3 == NULL) SWIG_fail;
931 temp3 = True;
932 }
933 if (obj3) {
934 {
935 arg4 = &temp4;
936 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
937 }
938 }
939 if (obj4) {
940 {
941 arg5 = &temp5;
942 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
943 }
944 }
945 if (obj5) {
946 {
947 arg6 = (long) SWIG_PyObj_AsLong(obj5);
948 if (PyErr_Occurred()) SWIG_fail;
949 }
950 }
951 if (obj6) {
952 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
953 if (arg7 == NULL) {
954 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
955 }
956 }
957 if (obj7) {
958 {
959 arg8 = wxString_in_helper(obj7);
960 if (arg8 == NULL) SWIG_fail;
961 temp8 = True;
962 }
963 }
964 {
965 PyThreadState* __tstate = wxPyBeginAllowThreads();
966 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
967
968 wxPyEndAllowThreads(__tstate);
969 if (PyErr_Occurred()) SWIG_fail;
970 }
971 {
972 resultobj = wxPyMake_wxObject(result);
973 }
974 {
975 if (temp3)
976 delete arg3;
977 }
978 {
979 if (temp8)
980 delete arg8;
981 }
982 return resultobj;
983 fail:
984 {
985 if (temp3)
986 delete arg3;
987 }
988 {
989 if (temp8)
990 delete arg8;
991 }
992 return NULL;
993 }
994
995
996 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject *resultobj;
998 wxButton *result;
999 char *kwnames[] = {
1000 NULL
1001 };
1002
1003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1004 {
1005 PyThreadState* __tstate = wxPyBeginAllowThreads();
1006 result = (wxButton *)new wxButton();
1007
1008 wxPyEndAllowThreads(__tstate);
1009 if (PyErr_Occurred()) SWIG_fail;
1010 }
1011 {
1012 resultobj = wxPyMake_wxObject(result);
1013 }
1014 return resultobj;
1015 fail:
1016 return NULL;
1017 }
1018
1019
1020 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1021 PyObject *resultobj;
1022 wxButton *arg1 = (wxButton *) 0 ;
1023 wxWindow *arg2 = (wxWindow *) 0 ;
1024 int arg3 ;
1025 wxString *arg4 = 0 ;
1026 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1027 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1028 wxSize const &arg6_defvalue = wxDefaultSize ;
1029 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1030 long arg7 = (long) 0 ;
1031 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1032 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1033 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1034 wxString *arg9 = (wxString *) &arg9_defvalue ;
1035 bool result;
1036 bool temp4 = False ;
1037 wxPoint temp5 ;
1038 wxSize temp6 ;
1039 bool temp9 = False ;
1040 PyObject * obj0 = 0 ;
1041 PyObject * obj1 = 0 ;
1042 PyObject * obj2 = 0 ;
1043 PyObject * obj3 = 0 ;
1044 PyObject * obj4 = 0 ;
1045 PyObject * obj5 = 0 ;
1046 PyObject * obj6 = 0 ;
1047 PyObject * obj7 = 0 ;
1048 PyObject * obj8 = 0 ;
1049 char *kwnames[] = {
1050 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1051 };
1052
1053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1056 {
1057 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1058 if (PyErr_Occurred()) SWIG_fail;
1059 }
1060 {
1061 arg4 = wxString_in_helper(obj3);
1062 if (arg4 == NULL) SWIG_fail;
1063 temp4 = True;
1064 }
1065 if (obj4) {
1066 {
1067 arg5 = &temp5;
1068 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1069 }
1070 }
1071 if (obj5) {
1072 {
1073 arg6 = &temp6;
1074 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1075 }
1076 }
1077 if (obj6) {
1078 {
1079 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1080 if (PyErr_Occurred()) SWIG_fail;
1081 }
1082 }
1083 if (obj7) {
1084 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1085 if (arg8 == NULL) {
1086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1087 }
1088 }
1089 if (obj8) {
1090 {
1091 arg9 = wxString_in_helper(obj8);
1092 if (arg9 == NULL) SWIG_fail;
1093 temp9 = True;
1094 }
1095 }
1096 {
1097 PyThreadState* __tstate = wxPyBeginAllowThreads();
1098 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1099
1100 wxPyEndAllowThreads(__tstate);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1104 {
1105 if (temp4)
1106 delete arg4;
1107 }
1108 {
1109 if (temp9)
1110 delete arg9;
1111 }
1112 return resultobj;
1113 fail:
1114 {
1115 if (temp4)
1116 delete arg4;
1117 }
1118 {
1119 if (temp9)
1120 delete arg9;
1121 }
1122 return NULL;
1123 }
1124
1125
1126 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject *resultobj;
1128 wxButton *arg1 = (wxButton *) 0 ;
1129 PyObject * obj0 = 0 ;
1130 char *kwnames[] = {
1131 (char *) "self", NULL
1132 };
1133
1134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1136 {
1137 PyThreadState* __tstate = wxPyBeginAllowThreads();
1138 (arg1)->SetDefault();
1139
1140 wxPyEndAllowThreads(__tstate);
1141 if (PyErr_Occurred()) SWIG_fail;
1142 }
1143 Py_INCREF(Py_None); resultobj = Py_None;
1144 return resultobj;
1145 fail:
1146 return NULL;
1147 }
1148
1149
1150 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1151 PyObject *resultobj;
1152 wxSize result;
1153 char *kwnames[] = {
1154 NULL
1155 };
1156
1157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1158 {
1159 PyThreadState* __tstate = wxPyBeginAllowThreads();
1160 result = wxButton::GetDefaultSize();
1161
1162 wxPyEndAllowThreads(__tstate);
1163 if (PyErr_Occurred()) SWIG_fail;
1164 }
1165 {
1166 wxSize * resultptr;
1167 resultptr = new wxSize((wxSize &) result);
1168 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1169 }
1170 return resultobj;
1171 fail:
1172 return NULL;
1173 }
1174
1175
1176 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1177 PyObject *obj;
1178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1179 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1180 Py_INCREF(obj);
1181 return Py_BuildValue((char *)"");
1182 }
1183 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1184 PyObject *resultobj;
1185 wxWindow *arg1 = (wxWindow *) 0 ;
1186 int arg2 ;
1187 wxBitmap *arg3 = 0 ;
1188 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1189 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1190 wxSize const &arg5_defvalue = wxDefaultSize ;
1191 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1192 long arg6 = (long) wxBU_AUTODRAW ;
1193 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1194 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1195 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1196 wxString *arg8 = (wxString *) &arg8_defvalue ;
1197 wxBitmapButton *result;
1198 wxPoint temp4 ;
1199 wxSize temp5 ;
1200 bool temp8 = False ;
1201 PyObject * obj0 = 0 ;
1202 PyObject * obj1 = 0 ;
1203 PyObject * obj2 = 0 ;
1204 PyObject * obj3 = 0 ;
1205 PyObject * obj4 = 0 ;
1206 PyObject * obj5 = 0 ;
1207 PyObject * obj6 = 0 ;
1208 PyObject * obj7 = 0 ;
1209 char *kwnames[] = {
1210 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1211 };
1212
1213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1215 {
1216 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 }
1219 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1220 if (arg3 == NULL) {
1221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1222 }
1223 if (obj3) {
1224 {
1225 arg4 = &temp4;
1226 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1227 }
1228 }
1229 if (obj4) {
1230 {
1231 arg5 = &temp5;
1232 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1233 }
1234 }
1235 if (obj5) {
1236 {
1237 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1238 if (PyErr_Occurred()) SWIG_fail;
1239 }
1240 }
1241 if (obj6) {
1242 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1243 if (arg7 == NULL) {
1244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1245 }
1246 }
1247 if (obj7) {
1248 {
1249 arg8 = wxString_in_helper(obj7);
1250 if (arg8 == NULL) SWIG_fail;
1251 temp8 = True;
1252 }
1253 }
1254 {
1255 PyThreadState* __tstate = wxPyBeginAllowThreads();
1256 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1257
1258 wxPyEndAllowThreads(__tstate);
1259 if (PyErr_Occurred()) SWIG_fail;
1260 }
1261 {
1262 resultobj = wxPyMake_wxObject(result);
1263 }
1264 {
1265 if (temp8)
1266 delete arg8;
1267 }
1268 return resultobj;
1269 fail:
1270 {
1271 if (temp8)
1272 delete arg8;
1273 }
1274 return NULL;
1275 }
1276
1277
1278 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxBitmapButton *result;
1281 char *kwnames[] = {
1282 NULL
1283 };
1284
1285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1286 {
1287 PyThreadState* __tstate = wxPyBeginAllowThreads();
1288 result = (wxBitmapButton *)new wxBitmapButton();
1289
1290 wxPyEndAllowThreads(__tstate);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 {
1294 resultobj = wxPyMake_wxObject(result);
1295 }
1296 return resultobj;
1297 fail:
1298 return NULL;
1299 }
1300
1301
1302 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1303 PyObject *resultobj;
1304 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1305 wxWindow *arg2 = (wxWindow *) 0 ;
1306 int arg3 ;
1307 wxBitmap *arg4 = 0 ;
1308 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1309 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1310 wxSize const &arg6_defvalue = wxDefaultSize ;
1311 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1312 long arg7 = (long) wxBU_AUTODRAW ;
1313 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1314 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1315 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1316 wxString *arg9 = (wxString *) &arg9_defvalue ;
1317 bool result;
1318 wxPoint temp5 ;
1319 wxSize temp6 ;
1320 bool temp9 = False ;
1321 PyObject * obj0 = 0 ;
1322 PyObject * obj1 = 0 ;
1323 PyObject * obj2 = 0 ;
1324 PyObject * obj3 = 0 ;
1325 PyObject * obj4 = 0 ;
1326 PyObject * obj5 = 0 ;
1327 PyObject * obj6 = 0 ;
1328 PyObject * obj7 = 0 ;
1329 PyObject * obj8 = 0 ;
1330 char *kwnames[] = {
1331 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1332 };
1333
1334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1337 {
1338 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1339 if (PyErr_Occurred()) SWIG_fail;
1340 }
1341 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1342 if (arg4 == NULL) {
1343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1344 }
1345 if (obj4) {
1346 {
1347 arg5 = &temp5;
1348 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1349 }
1350 }
1351 if (obj5) {
1352 {
1353 arg6 = &temp6;
1354 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1355 }
1356 }
1357 if (obj6) {
1358 {
1359 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1360 if (PyErr_Occurred()) SWIG_fail;
1361 }
1362 }
1363 if (obj7) {
1364 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1365 if (arg8 == NULL) {
1366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1367 }
1368 }
1369 if (obj8) {
1370 {
1371 arg9 = wxString_in_helper(obj8);
1372 if (arg9 == NULL) SWIG_fail;
1373 temp9 = True;
1374 }
1375 }
1376 {
1377 PyThreadState* __tstate = wxPyBeginAllowThreads();
1378 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1379
1380 wxPyEndAllowThreads(__tstate);
1381 if (PyErr_Occurred()) SWIG_fail;
1382 }
1383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1384 {
1385 if (temp9)
1386 delete arg9;
1387 }
1388 return resultobj;
1389 fail:
1390 {
1391 if (temp9)
1392 delete arg9;
1393 }
1394 return NULL;
1395 }
1396
1397
1398 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1399 PyObject *resultobj;
1400 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1401 wxBitmap result;
1402 PyObject * obj0 = 0 ;
1403 char *kwnames[] = {
1404 (char *) "self", NULL
1405 };
1406
1407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1409 {
1410 PyThreadState* __tstate = wxPyBeginAllowThreads();
1411 result = (arg1)->GetBitmapLabel();
1412
1413 wxPyEndAllowThreads(__tstate);
1414 if (PyErr_Occurred()) SWIG_fail;
1415 }
1416 {
1417 wxBitmap * resultptr;
1418 resultptr = new wxBitmap((wxBitmap &) result);
1419 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1420 }
1421 return resultobj;
1422 fail:
1423 return NULL;
1424 }
1425
1426
1427 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1428 PyObject *resultobj;
1429 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1430 wxBitmap result;
1431 PyObject * obj0 = 0 ;
1432 char *kwnames[] = {
1433 (char *) "self", NULL
1434 };
1435
1436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 result = (arg1)->GetBitmapDisabled();
1441
1442 wxPyEndAllowThreads(__tstate);
1443 if (PyErr_Occurred()) SWIG_fail;
1444 }
1445 {
1446 wxBitmap * resultptr;
1447 resultptr = new wxBitmap((wxBitmap &) result);
1448 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1449 }
1450 return resultobj;
1451 fail:
1452 return NULL;
1453 }
1454
1455
1456 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1457 PyObject *resultobj;
1458 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1459 wxBitmap result;
1460 PyObject * obj0 = 0 ;
1461 char *kwnames[] = {
1462 (char *) "self", NULL
1463 };
1464
1465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1467 {
1468 PyThreadState* __tstate = wxPyBeginAllowThreads();
1469 result = (arg1)->GetBitmapFocus();
1470
1471 wxPyEndAllowThreads(__tstate);
1472 if (PyErr_Occurred()) SWIG_fail;
1473 }
1474 {
1475 wxBitmap * resultptr;
1476 resultptr = new wxBitmap((wxBitmap &) result);
1477 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1478 }
1479 return resultobj;
1480 fail:
1481 return NULL;
1482 }
1483
1484
1485 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1488 wxBitmap result;
1489 PyObject * obj0 = 0 ;
1490 char *kwnames[] = {
1491 (char *) "self", NULL
1492 };
1493
1494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1496 {
1497 PyThreadState* __tstate = wxPyBeginAllowThreads();
1498 result = (arg1)->GetBitmapSelected();
1499
1500 wxPyEndAllowThreads(__tstate);
1501 if (PyErr_Occurred()) SWIG_fail;
1502 }
1503 {
1504 wxBitmap * resultptr;
1505 resultptr = new wxBitmap((wxBitmap &) result);
1506 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1507 }
1508 return resultobj;
1509 fail:
1510 return NULL;
1511 }
1512
1513
1514 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1515 PyObject *resultobj;
1516 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1517 wxBitmap *arg2 = 0 ;
1518 PyObject * obj0 = 0 ;
1519 PyObject * obj1 = 0 ;
1520 char *kwnames[] = {
1521 (char *) "self",(char *) "bitmap", NULL
1522 };
1523
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1527 if (arg2 == NULL) {
1528 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1529 }
1530 {
1531 PyThreadState* __tstate = wxPyBeginAllowThreads();
1532 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1533
1534 wxPyEndAllowThreads(__tstate);
1535 if (PyErr_Occurred()) SWIG_fail;
1536 }
1537 Py_INCREF(Py_None); resultobj = Py_None;
1538 return resultobj;
1539 fail:
1540 return NULL;
1541 }
1542
1543
1544 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1545 PyObject *resultobj;
1546 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1547 wxBitmap *arg2 = 0 ;
1548 PyObject * obj0 = 0 ;
1549 PyObject * obj1 = 0 ;
1550 char *kwnames[] = {
1551 (char *) "self",(char *) "bitmap", NULL
1552 };
1553
1554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1557 if (arg2 == NULL) {
1558 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1559 }
1560 {
1561 PyThreadState* __tstate = wxPyBeginAllowThreads();
1562 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1563
1564 wxPyEndAllowThreads(__tstate);
1565 if (PyErr_Occurred()) SWIG_fail;
1566 }
1567 Py_INCREF(Py_None); resultobj = Py_None;
1568 return resultobj;
1569 fail:
1570 return NULL;
1571 }
1572
1573
1574 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1575 PyObject *resultobj;
1576 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1577 wxBitmap *arg2 = 0 ;
1578 PyObject * obj0 = 0 ;
1579 PyObject * obj1 = 0 ;
1580 char *kwnames[] = {
1581 (char *) "self",(char *) "bitmap", NULL
1582 };
1583
1584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1587 if (arg2 == NULL) {
1588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1589 }
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 Py_INCREF(Py_None); resultobj = Py_None;
1598 return resultobj;
1599 fail:
1600 return NULL;
1601 }
1602
1603
1604 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1607 wxBitmap *arg2 = 0 ;
1608 PyObject * obj0 = 0 ;
1609 PyObject * obj1 = 0 ;
1610 char *kwnames[] = {
1611 (char *) "self",(char *) "bitmap", NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1617 if (arg2 == NULL) {
1618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1619 }
1620 {
1621 PyThreadState* __tstate = wxPyBeginAllowThreads();
1622 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1623
1624 wxPyEndAllowThreads(__tstate);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 Py_INCREF(Py_None); resultobj = Py_None;
1628 return resultobj;
1629 fail:
1630 return NULL;
1631 }
1632
1633
1634 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1635 PyObject *resultobj;
1636 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1637 int arg2 ;
1638 int arg3 ;
1639 PyObject * obj0 = 0 ;
1640 PyObject * obj1 = 0 ;
1641 PyObject * obj2 = 0 ;
1642 char *kwnames[] = {
1643 (char *) "self",(char *) "x",(char *) "y", NULL
1644 };
1645
1646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1648 {
1649 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 {
1653 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1654 if (PyErr_Occurred()) SWIG_fail;
1655 }
1656 {
1657 PyThreadState* __tstate = wxPyBeginAllowThreads();
1658 (arg1)->SetMargins(arg2,arg3);
1659
1660 wxPyEndAllowThreads(__tstate);
1661 if (PyErr_Occurred()) SWIG_fail;
1662 }
1663 Py_INCREF(Py_None); resultobj = Py_None;
1664 return resultobj;
1665 fail:
1666 return NULL;
1667 }
1668
1669
1670 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1671 PyObject *resultobj;
1672 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1673 int result;
1674 PyObject * obj0 = 0 ;
1675 char *kwnames[] = {
1676 (char *) "self", NULL
1677 };
1678
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1681 {
1682 PyThreadState* __tstate = wxPyBeginAllowThreads();
1683 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1684
1685 wxPyEndAllowThreads(__tstate);
1686 if (PyErr_Occurred()) SWIG_fail;
1687 }
1688 resultobj = SWIG_PyObj_FromInt((int)result);
1689 return resultobj;
1690 fail:
1691 return NULL;
1692 }
1693
1694
1695 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1696 PyObject *resultobj;
1697 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1698 int result;
1699 PyObject * obj0 = 0 ;
1700 char *kwnames[] = {
1701 (char *) "self", NULL
1702 };
1703
1704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1706 {
1707 PyThreadState* __tstate = wxPyBeginAllowThreads();
1708 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1709
1710 wxPyEndAllowThreads(__tstate);
1711 if (PyErr_Occurred()) SWIG_fail;
1712 }
1713 resultobj = SWIG_PyObj_FromInt((int)result);
1714 return resultobj;
1715 fail:
1716 return NULL;
1717 }
1718
1719
1720 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1721 PyObject *obj;
1722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1723 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1724 Py_INCREF(obj);
1725 return Py_BuildValue((char *)"");
1726 }
1727 static int _wrap_CheckBoxNameStr_set(PyObject *) {
1728 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1729 return 1;
1730 }
1731
1732
1733 static PyObject *_wrap_CheckBoxNameStr_get() {
1734 PyObject *pyobj;
1735
1736 {
1737 #if wxUSE_UNICODE
1738 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1739 #else
1740 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1741 #endif
1742 }
1743 return pyobj;
1744 }
1745
1746
1747 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1748 PyObject *resultobj;
1749 wxWindow *arg1 = (wxWindow *) 0 ;
1750 int arg2 ;
1751 wxString *arg3 = 0 ;
1752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1754 wxSize const &arg5_defvalue = wxDefaultSize ;
1755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1756 long arg6 = (long) 0 ;
1757 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1758 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1759 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1760 wxString *arg8 = (wxString *) &arg8_defvalue ;
1761 wxCheckBox *result;
1762 bool temp3 = False ;
1763 wxPoint temp4 ;
1764 wxSize temp5 ;
1765 bool temp8 = False ;
1766 PyObject * obj0 = 0 ;
1767 PyObject * obj1 = 0 ;
1768 PyObject * obj2 = 0 ;
1769 PyObject * obj3 = 0 ;
1770 PyObject * obj4 = 0 ;
1771 PyObject * obj5 = 0 ;
1772 PyObject * obj6 = 0 ;
1773 PyObject * obj7 = 0 ;
1774 char *kwnames[] = {
1775 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1776 };
1777
1778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1780 {
1781 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1782 if (PyErr_Occurred()) SWIG_fail;
1783 }
1784 {
1785 arg3 = wxString_in_helper(obj2);
1786 if (arg3 == NULL) SWIG_fail;
1787 temp3 = True;
1788 }
1789 if (obj3) {
1790 {
1791 arg4 = &temp4;
1792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1793 }
1794 }
1795 if (obj4) {
1796 {
1797 arg5 = &temp5;
1798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1799 }
1800 }
1801 if (obj5) {
1802 {
1803 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 }
1807 if (obj6) {
1808 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1809 if (arg7 == NULL) {
1810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1811 }
1812 }
1813 if (obj7) {
1814 {
1815 arg8 = wxString_in_helper(obj7);
1816 if (arg8 == NULL) SWIG_fail;
1817 temp8 = True;
1818 }
1819 }
1820 {
1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
1822 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1823
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 }
1827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1828 {
1829 if (temp3)
1830 delete arg3;
1831 }
1832 {
1833 if (temp8)
1834 delete arg8;
1835 }
1836 return resultobj;
1837 fail:
1838 {
1839 if (temp3)
1840 delete arg3;
1841 }
1842 {
1843 if (temp8)
1844 delete arg8;
1845 }
1846 return NULL;
1847 }
1848
1849
1850 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject *resultobj;
1852 wxCheckBox *result;
1853 char *kwnames[] = {
1854 NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 result = (wxCheckBox *)new wxCheckBox();
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1875 wxWindow *arg2 = (wxWindow *) 0 ;
1876 int arg3 ;
1877 wxString *arg4 = 0 ;
1878 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1879 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1880 wxSize const &arg6_defvalue = wxDefaultSize ;
1881 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1882 long arg7 = (long) 0 ;
1883 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1884 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1885 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1886 wxString *arg9 = (wxString *) &arg9_defvalue ;
1887 bool result;
1888 bool temp4 = False ;
1889 wxPoint temp5 ;
1890 wxSize temp6 ;
1891 bool temp9 = False ;
1892 PyObject * obj0 = 0 ;
1893 PyObject * obj1 = 0 ;
1894 PyObject * obj2 = 0 ;
1895 PyObject * obj3 = 0 ;
1896 PyObject * obj4 = 0 ;
1897 PyObject * obj5 = 0 ;
1898 PyObject * obj6 = 0 ;
1899 PyObject * obj7 = 0 ;
1900 PyObject * obj8 = 0 ;
1901 char *kwnames[] = {
1902 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1903 };
1904
1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1908 {
1909 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
1912 {
1913 arg4 = wxString_in_helper(obj3);
1914 if (arg4 == NULL) SWIG_fail;
1915 temp4 = True;
1916 }
1917 if (obj4) {
1918 {
1919 arg5 = &temp5;
1920 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1921 }
1922 }
1923 if (obj5) {
1924 {
1925 arg6 = &temp6;
1926 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1927 }
1928 }
1929 if (obj6) {
1930 {
1931 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1932 if (PyErr_Occurred()) SWIG_fail;
1933 }
1934 }
1935 if (obj7) {
1936 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1937 if (arg8 == NULL) {
1938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1939 }
1940 }
1941 if (obj8) {
1942 {
1943 arg9 = wxString_in_helper(obj8);
1944 if (arg9 == NULL) SWIG_fail;
1945 temp9 = True;
1946 }
1947 }
1948 {
1949 PyThreadState* __tstate = wxPyBeginAllowThreads();
1950 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1951
1952 wxPyEndAllowThreads(__tstate);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
1955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1956 {
1957 if (temp4)
1958 delete arg4;
1959 }
1960 {
1961 if (temp9)
1962 delete arg9;
1963 }
1964 return resultobj;
1965 fail:
1966 {
1967 if (temp4)
1968 delete arg4;
1969 }
1970 {
1971 if (temp9)
1972 delete arg9;
1973 }
1974 return NULL;
1975 }
1976
1977
1978 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1979 PyObject *resultobj;
1980 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1981 bool result;
1982 PyObject * obj0 = 0 ;
1983 char *kwnames[] = {
1984 (char *) "self", NULL
1985 };
1986
1987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1989 {
1990 PyThreadState* __tstate = wxPyBeginAllowThreads();
1991 result = (bool)(arg1)->GetValue();
1992
1993 wxPyEndAllowThreads(__tstate);
1994 if (PyErr_Occurred()) SWIG_fail;
1995 }
1996 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1997 return resultobj;
1998 fail:
1999 return NULL;
2000 }
2001
2002
2003 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2004 PyObject *resultobj;
2005 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2006 bool result;
2007 PyObject * obj0 = 0 ;
2008 char *kwnames[] = {
2009 (char *) "self", NULL
2010 };
2011
2012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2014 {
2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
2016 result = (bool)(arg1)->IsChecked();
2017
2018 wxPyEndAllowThreads(__tstate);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 }
2021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2022 return resultobj;
2023 fail:
2024 return NULL;
2025 }
2026
2027
2028 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2029 PyObject *resultobj;
2030 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2031 bool arg2 ;
2032 PyObject * obj0 = 0 ;
2033 PyObject * obj1 = 0 ;
2034 char *kwnames[] = {
2035 (char *) "self",(char *) "state", NULL
2036 };
2037
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2040 {
2041 arg2 = (bool const) SWIG_PyObj_AsBool(obj1);
2042 if (PyErr_Occurred()) SWIG_fail;
2043 }
2044 {
2045 PyThreadState* __tstate = wxPyBeginAllowThreads();
2046 (arg1)->SetValue(arg2);
2047
2048 wxPyEndAllowThreads(__tstate);
2049 if (PyErr_Occurred()) SWIG_fail;
2050 }
2051 Py_INCREF(Py_None); resultobj = Py_None;
2052 return resultobj;
2053 fail:
2054 return NULL;
2055 }
2056
2057
2058 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2059 PyObject *resultobj;
2060 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2061 int result;
2062 PyObject * obj0 = 0 ;
2063 char *kwnames[] = {
2064 (char *) "self", NULL
2065 };
2066
2067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2069 {
2070 PyThreadState* __tstate = wxPyBeginAllowThreads();
2071 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2072
2073 wxPyEndAllowThreads(__tstate);
2074 if (PyErr_Occurred()) SWIG_fail;
2075 }
2076 resultobj = SWIG_PyObj_FromInt((int)result);
2077 return resultobj;
2078 fail:
2079 return NULL;
2080 }
2081
2082
2083 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2084 PyObject *resultobj;
2085 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2086 int arg2 ;
2087 PyObject * obj0 = 0 ;
2088 PyObject * obj1 = 0 ;
2089 char *kwnames[] = {
2090 (char *) "self",(char *) "state", NULL
2091 };
2092
2093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2095 {
2096 arg2 = (wxCheckBoxState) SWIG_PyObj_AsInt(obj1);
2097 if (PyErr_Occurred()) SWIG_fail;
2098 }
2099 {
2100 PyThreadState* __tstate = wxPyBeginAllowThreads();
2101 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2102
2103 wxPyEndAllowThreads(__tstate);
2104 if (PyErr_Occurred()) SWIG_fail;
2105 }
2106 Py_INCREF(Py_None); resultobj = Py_None;
2107 return resultobj;
2108 fail:
2109 return NULL;
2110 }
2111
2112
2113 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2114 PyObject *resultobj;
2115 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2116 bool result;
2117 PyObject * obj0 = 0 ;
2118 char *kwnames[] = {
2119 (char *) "self", NULL
2120 };
2121
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2124 {
2125 PyThreadState* __tstate = wxPyBeginAllowThreads();
2126 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2127
2128 wxPyEndAllowThreads(__tstate);
2129 if (PyErr_Occurred()) SWIG_fail;
2130 }
2131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2132 return resultobj;
2133 fail:
2134 return NULL;
2135 }
2136
2137
2138 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2139 PyObject *resultobj;
2140 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2141 bool result;
2142 PyObject * obj0 = 0 ;
2143 char *kwnames[] = {
2144 (char *) "self", NULL
2145 };
2146
2147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2149 {
2150 PyThreadState* __tstate = wxPyBeginAllowThreads();
2151 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2152
2153 wxPyEndAllowThreads(__tstate);
2154 if (PyErr_Occurred()) SWIG_fail;
2155 }
2156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2157 return resultobj;
2158 fail:
2159 return NULL;
2160 }
2161
2162
2163 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2164 PyObject *obj;
2165 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2166 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2167 Py_INCREF(obj);
2168 return Py_BuildValue((char *)"");
2169 }
2170 static int _wrap_ChoiceNameStr_set(PyObject *) {
2171 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2172 return 1;
2173 }
2174
2175
2176 static PyObject *_wrap_ChoiceNameStr_get() {
2177 PyObject *pyobj;
2178
2179 {
2180 #if wxUSE_UNICODE
2181 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2182 #else
2183 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2184 #endif
2185 }
2186 return pyobj;
2187 }
2188
2189
2190 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxWindow *arg1 = (wxWindow *) 0 ;
2193 int arg2 ;
2194 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2195 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2196 wxSize const &arg4_defvalue = wxDefaultSize ;
2197 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2198 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2199 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2200 long arg6 = (long) 0 ;
2201 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2202 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2203 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2204 wxString *arg8 = (wxString *) &arg8_defvalue ;
2205 wxChoice *result;
2206 wxPoint temp3 ;
2207 wxSize temp4 ;
2208 bool temp5 = False ;
2209 bool temp8 = False ;
2210 PyObject * obj0 = 0 ;
2211 PyObject * obj1 = 0 ;
2212 PyObject * obj2 = 0 ;
2213 PyObject * obj3 = 0 ;
2214 PyObject * obj4 = 0 ;
2215 PyObject * obj5 = 0 ;
2216 PyObject * obj6 = 0 ;
2217 PyObject * obj7 = 0 ;
2218 char *kwnames[] = {
2219 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2220 };
2221
2222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2224 {
2225 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2226 if (PyErr_Occurred()) SWIG_fail;
2227 }
2228 if (obj2) {
2229 {
2230 arg3 = &temp3;
2231 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2232 }
2233 }
2234 if (obj3) {
2235 {
2236 arg4 = &temp4;
2237 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2238 }
2239 }
2240 if (obj4) {
2241 {
2242 if (! PySequence_Check(obj4)) {
2243 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2244 SWIG_fail;
2245 }
2246 arg5 = new wxArrayString;
2247 temp5 = True;
2248 int i, len=PySequence_Length(obj4);
2249 for (i=0; i<len; i++) {
2250 PyObject* item = PySequence_GetItem(obj4, i);
2251 #if wxUSE_UNICODE
2252 PyObject* str = PyObject_Unicode(item);
2253 #else
2254 PyObject* str = PyObject_Str(item);
2255 #endif
2256 arg5->Add(Py2wxString(str));
2257 Py_DECREF(item);
2258 Py_DECREF(str);
2259 }
2260 }
2261 }
2262 if (obj5) {
2263 {
2264 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2265 if (PyErr_Occurred()) SWIG_fail;
2266 }
2267 }
2268 if (obj6) {
2269 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2270 if (arg7 == NULL) {
2271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2272 }
2273 }
2274 if (obj7) {
2275 {
2276 arg8 = wxString_in_helper(obj7);
2277 if (arg8 == NULL) SWIG_fail;
2278 temp8 = True;
2279 }
2280 }
2281 {
2282 PyThreadState* __tstate = wxPyBeginAllowThreads();
2283 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2284
2285 wxPyEndAllowThreads(__tstate);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2289 {
2290 if (temp5) delete arg5;
2291 }
2292 {
2293 if (temp8)
2294 delete arg8;
2295 }
2296 return resultobj;
2297 fail:
2298 {
2299 if (temp5) delete arg5;
2300 }
2301 {
2302 if (temp8)
2303 delete arg8;
2304 }
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2310 PyObject *resultobj;
2311 wxChoice *result;
2312 char *kwnames[] = {
2313 NULL
2314 };
2315
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 result = (wxChoice *)new wxChoice();
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) SWIG_fail;
2323 }
2324 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2325 return resultobj;
2326 fail:
2327 return NULL;
2328 }
2329
2330
2331 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2332 PyObject *resultobj;
2333 wxChoice *arg1 = (wxChoice *) 0 ;
2334 wxWindow *arg2 = (wxWindow *) 0 ;
2335 int arg3 ;
2336 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2337 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2338 wxSize const &arg5_defvalue = wxDefaultSize ;
2339 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2340 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2341 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2342 long arg7 = (long) 0 ;
2343 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2344 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2345 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2346 wxString *arg9 = (wxString *) &arg9_defvalue ;
2347 bool result;
2348 wxPoint temp4 ;
2349 wxSize temp5 ;
2350 bool temp6 = False ;
2351 bool temp9 = False ;
2352 PyObject * obj0 = 0 ;
2353 PyObject * obj1 = 0 ;
2354 PyObject * obj2 = 0 ;
2355 PyObject * obj3 = 0 ;
2356 PyObject * obj4 = 0 ;
2357 PyObject * obj5 = 0 ;
2358 PyObject * obj6 = 0 ;
2359 PyObject * obj7 = 0 ;
2360 PyObject * obj8 = 0 ;
2361 char *kwnames[] = {
2362 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2363 };
2364
2365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2368 {
2369 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2370 if (PyErr_Occurred()) SWIG_fail;
2371 }
2372 if (obj3) {
2373 {
2374 arg4 = &temp4;
2375 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2376 }
2377 }
2378 if (obj4) {
2379 {
2380 arg5 = &temp5;
2381 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2382 }
2383 }
2384 if (obj5) {
2385 {
2386 if (! PySequence_Check(obj5)) {
2387 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2388 SWIG_fail;
2389 }
2390 arg6 = new wxArrayString;
2391 temp6 = True;
2392 int i, len=PySequence_Length(obj5);
2393 for (i=0; i<len; i++) {
2394 PyObject* item = PySequence_GetItem(obj5, i);
2395 #if wxUSE_UNICODE
2396 PyObject* str = PyObject_Unicode(item);
2397 #else
2398 PyObject* str = PyObject_Str(item);
2399 #endif
2400 arg6->Add(Py2wxString(str));
2401 Py_DECREF(item);
2402 Py_DECREF(str);
2403 }
2404 }
2405 }
2406 if (obj6) {
2407 {
2408 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 }
2412 if (obj7) {
2413 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2414 if (arg8 == NULL) {
2415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2416 }
2417 }
2418 if (obj8) {
2419 {
2420 arg9 = wxString_in_helper(obj8);
2421 if (arg9 == NULL) SWIG_fail;
2422 temp9 = True;
2423 }
2424 }
2425 {
2426 PyThreadState* __tstate = wxPyBeginAllowThreads();
2427 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2428
2429 wxPyEndAllowThreads(__tstate);
2430 if (PyErr_Occurred()) SWIG_fail;
2431 }
2432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2433 {
2434 if (temp6) delete arg6;
2435 }
2436 {
2437 if (temp9)
2438 delete arg9;
2439 }
2440 return resultobj;
2441 fail:
2442 {
2443 if (temp6) delete arg6;
2444 }
2445 {
2446 if (temp9)
2447 delete arg9;
2448 }
2449 return NULL;
2450 }
2451
2452
2453 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject *resultobj;
2455 wxChoice *arg1 = (wxChoice *) 0 ;
2456 int result;
2457 PyObject * obj0 = 0 ;
2458 char *kwnames[] = {
2459 (char *) "self", NULL
2460 };
2461
2462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 result = (int)(arg1)->GetColumns();
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 resultobj = SWIG_PyObj_FromInt((int)result);
2472 return resultobj;
2473 fail:
2474 return NULL;
2475 }
2476
2477
2478 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject *resultobj;
2480 wxChoice *arg1 = (wxChoice *) 0 ;
2481 int arg2 = (int) (int)1 ;
2482 PyObject * obj0 = 0 ;
2483 PyObject * obj1 = 0 ;
2484 char *kwnames[] = {
2485 (char *) "self",(char *) "n", NULL
2486 };
2487
2488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Choice_SetColumns",kwnames,&obj0,&obj1)) goto fail;
2489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2490 if (obj1) {
2491 {
2492 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2493 if (PyErr_Occurred()) SWIG_fail;
2494 }
2495 }
2496 {
2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2498 (arg1)->SetColumns(arg2);
2499
2500 wxPyEndAllowThreads(__tstate);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 }
2503 Py_INCREF(Py_None); resultobj = Py_None;
2504 return resultobj;
2505 fail:
2506 return NULL;
2507 }
2508
2509
2510 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2511 PyObject *resultobj;
2512 wxChoice *arg1 = (wxChoice *) 0 ;
2513 int arg2 ;
2514 PyObject * obj0 = 0 ;
2515 PyObject * obj1 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self",(char *) "n", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 {
2523 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 (arg1)->SetSelection(arg2);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 Py_INCREF(Py_None); resultobj = Py_None;
2534 return resultobj;
2535 fail:
2536 return NULL;
2537 }
2538
2539
2540 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject *resultobj;
2542 wxChoice *arg1 = (wxChoice *) 0 ;
2543 wxString *arg2 = 0 ;
2544 bool temp2 = False ;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 char *kwnames[] = {
2548 (char *) "self",(char *) "string", NULL
2549 };
2550
2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2553 {
2554 arg2 = wxString_in_helper(obj1);
2555 if (arg2 == NULL) SWIG_fail;
2556 temp2 = True;
2557 }
2558 {
2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
2560 (arg1)->SetStringSelection((wxString const &)*arg2);
2561
2562 wxPyEndAllowThreads(__tstate);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 Py_INCREF(Py_None); resultobj = Py_None;
2566 {
2567 if (temp2)
2568 delete arg2;
2569 }
2570 return resultobj;
2571 fail:
2572 {
2573 if (temp2)
2574 delete arg2;
2575 }
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxChoice *arg1 = (wxChoice *) 0 ;
2583 int arg2 ;
2584 wxString *arg3 = 0 ;
2585 bool temp3 = False ;
2586 PyObject * obj0 = 0 ;
2587 PyObject * obj1 = 0 ;
2588 PyObject * obj2 = 0 ;
2589 char *kwnames[] = {
2590 (char *) "self",(char *) "n",(char *) "s", NULL
2591 };
2592
2593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2595 {
2596 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2597 if (PyErr_Occurred()) SWIG_fail;
2598 }
2599 {
2600 arg3 = wxString_in_helper(obj2);
2601 if (arg3 == NULL) SWIG_fail;
2602 temp3 = True;
2603 }
2604 {
2605 PyThreadState* __tstate = wxPyBeginAllowThreads();
2606 (arg1)->SetString(arg2,(wxString const &)*arg3);
2607
2608 wxPyEndAllowThreads(__tstate);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 Py_INCREF(Py_None); resultobj = Py_None;
2612 {
2613 if (temp3)
2614 delete arg3;
2615 }
2616 return resultobj;
2617 fail:
2618 {
2619 if (temp3)
2620 delete arg3;
2621 }
2622 return NULL;
2623 }
2624
2625
2626 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2627 PyObject *obj;
2628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2629 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2630 Py_INCREF(obj);
2631 return Py_BuildValue((char *)"");
2632 }
2633 static int _wrap_ComboBoxNameStr_set(PyObject *) {
2634 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2635 return 1;
2636 }
2637
2638
2639 static PyObject *_wrap_ComboBoxNameStr_get() {
2640 PyObject *pyobj;
2641
2642 {
2643 #if wxUSE_UNICODE
2644 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2645 #else
2646 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2647 #endif
2648 }
2649 return pyobj;
2650 }
2651
2652
2653 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2654 PyObject *resultobj;
2655 wxWindow *arg1 = (wxWindow *) 0 ;
2656 int arg2 ;
2657 wxString const &arg3_defvalue = wxPyEmptyString ;
2658 wxString *arg3 = (wxString *) &arg3_defvalue ;
2659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2661 wxSize const &arg5_defvalue = wxDefaultSize ;
2662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2663 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2664 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2665 long arg7 = (long) 0 ;
2666 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2667 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2668 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2669 wxString *arg9 = (wxString *) &arg9_defvalue ;
2670 wxComboBox *result;
2671 bool temp3 = False ;
2672 wxPoint temp4 ;
2673 wxSize temp5 ;
2674 bool temp6 = False ;
2675 bool temp9 = False ;
2676 PyObject * obj0 = 0 ;
2677 PyObject * obj1 = 0 ;
2678 PyObject * obj2 = 0 ;
2679 PyObject * obj3 = 0 ;
2680 PyObject * obj4 = 0 ;
2681 PyObject * obj5 = 0 ;
2682 PyObject * obj6 = 0 ;
2683 PyObject * obj7 = 0 ;
2684 PyObject * obj8 = 0 ;
2685 char *kwnames[] = {
2686 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2687 };
2688
2689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2691 {
2692 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 if (obj2) {
2696 {
2697 arg3 = wxString_in_helper(obj2);
2698 if (arg3 == NULL) SWIG_fail;
2699 temp3 = True;
2700 }
2701 }
2702 if (obj3) {
2703 {
2704 arg4 = &temp4;
2705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2706 }
2707 }
2708 if (obj4) {
2709 {
2710 arg5 = &temp5;
2711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2712 }
2713 }
2714 if (obj5) {
2715 {
2716 if (! PySequence_Check(obj5)) {
2717 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2718 SWIG_fail;
2719 }
2720 arg6 = new wxArrayString;
2721 temp6 = True;
2722 int i, len=PySequence_Length(obj5);
2723 for (i=0; i<len; i++) {
2724 PyObject* item = PySequence_GetItem(obj5, i);
2725 #if wxUSE_UNICODE
2726 PyObject* str = PyObject_Unicode(item);
2727 #else
2728 PyObject* str = PyObject_Str(item);
2729 #endif
2730 arg6->Add(Py2wxString(str));
2731 Py_DECREF(item);
2732 Py_DECREF(str);
2733 }
2734 }
2735 }
2736 if (obj6) {
2737 {
2738 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2739 if (PyErr_Occurred()) SWIG_fail;
2740 }
2741 }
2742 if (obj7) {
2743 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2744 if (arg8 == NULL) {
2745 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2746 }
2747 }
2748 if (obj8) {
2749 {
2750 arg9 = wxString_in_helper(obj8);
2751 if (arg9 == NULL) SWIG_fail;
2752 temp9 = True;
2753 }
2754 }
2755 {
2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
2757 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2758
2759 wxPyEndAllowThreads(__tstate);
2760 if (PyErr_Occurred()) SWIG_fail;
2761 }
2762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2763 {
2764 if (temp3)
2765 delete arg3;
2766 }
2767 {
2768 if (temp6) delete arg6;
2769 }
2770 {
2771 if (temp9)
2772 delete arg9;
2773 }
2774 return resultobj;
2775 fail:
2776 {
2777 if (temp3)
2778 delete arg3;
2779 }
2780 {
2781 if (temp6) delete arg6;
2782 }
2783 {
2784 if (temp9)
2785 delete arg9;
2786 }
2787 return NULL;
2788 }
2789
2790
2791 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2792 PyObject *resultobj;
2793 wxComboBox *result;
2794 char *kwnames[] = {
2795 NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2799 {
2800 PyThreadState* __tstate = wxPyBeginAllowThreads();
2801 result = (wxComboBox *)new wxComboBox();
2802
2803 wxPyEndAllowThreads(__tstate);
2804 if (PyErr_Occurred()) SWIG_fail;
2805 }
2806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2807 return resultobj;
2808 fail:
2809 return NULL;
2810 }
2811
2812
2813 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2814 PyObject *resultobj;
2815 wxComboBox *arg1 = (wxComboBox *) 0 ;
2816 wxWindow *arg2 = (wxWindow *) 0 ;
2817 int arg3 ;
2818 wxString const &arg4_defvalue = wxPyEmptyString ;
2819 wxString *arg4 = (wxString *) &arg4_defvalue ;
2820 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2821 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2822 wxSize const &arg6_defvalue = wxDefaultSize ;
2823 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2824 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2825 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2826 long arg8 = (long) 0 ;
2827 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2828 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2829 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2830 wxString *arg10 = (wxString *) &arg10_defvalue ;
2831 bool result;
2832 bool temp4 = False ;
2833 wxPoint temp5 ;
2834 wxSize temp6 ;
2835 bool temp7 = False ;
2836 bool temp10 = False ;
2837 PyObject * obj0 = 0 ;
2838 PyObject * obj1 = 0 ;
2839 PyObject * obj2 = 0 ;
2840 PyObject * obj3 = 0 ;
2841 PyObject * obj4 = 0 ;
2842 PyObject * obj5 = 0 ;
2843 PyObject * obj6 = 0 ;
2844 PyObject * obj7 = 0 ;
2845 PyObject * obj8 = 0 ;
2846 PyObject * obj9 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2854 {
2855 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 }
2858 if (obj3) {
2859 {
2860 arg4 = wxString_in_helper(obj3);
2861 if (arg4 == NULL) SWIG_fail;
2862 temp4 = True;
2863 }
2864 }
2865 if (obj4) {
2866 {
2867 arg5 = &temp5;
2868 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2869 }
2870 }
2871 if (obj5) {
2872 {
2873 arg6 = &temp6;
2874 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2875 }
2876 }
2877 if (obj6) {
2878 {
2879 if (! PySequence_Check(obj6)) {
2880 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2881 SWIG_fail;
2882 }
2883 arg7 = new wxArrayString;
2884 temp7 = True;
2885 int i, len=PySequence_Length(obj6);
2886 for (i=0; i<len; i++) {
2887 PyObject* item = PySequence_GetItem(obj6, i);
2888 #if wxUSE_UNICODE
2889 PyObject* str = PyObject_Unicode(item);
2890 #else
2891 PyObject* str = PyObject_Str(item);
2892 #endif
2893 arg7->Add(Py2wxString(str));
2894 Py_DECREF(item);
2895 Py_DECREF(str);
2896 }
2897 }
2898 }
2899 if (obj7) {
2900 {
2901 arg8 = (long) SWIG_PyObj_AsLong(obj7);
2902 if (PyErr_Occurred()) SWIG_fail;
2903 }
2904 }
2905 if (obj8) {
2906 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2907 if (arg9 == NULL) {
2908 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2909 }
2910 }
2911 if (obj9) {
2912 {
2913 arg10 = wxString_in_helper(obj9);
2914 if (arg10 == NULL) SWIG_fail;
2915 temp10 = True;
2916 }
2917 }
2918 {
2919 PyThreadState* __tstate = wxPyBeginAllowThreads();
2920 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2921
2922 wxPyEndAllowThreads(__tstate);
2923 if (PyErr_Occurred()) SWIG_fail;
2924 }
2925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2926 {
2927 if (temp4)
2928 delete arg4;
2929 }
2930 {
2931 if (temp7) delete arg7;
2932 }
2933 {
2934 if (temp10)
2935 delete arg10;
2936 }
2937 return resultobj;
2938 fail:
2939 {
2940 if (temp4)
2941 delete arg4;
2942 }
2943 {
2944 if (temp7) delete arg7;
2945 }
2946 {
2947 if (temp10)
2948 delete arg10;
2949 }
2950 return NULL;
2951 }
2952
2953
2954 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxComboBox *arg1 = (wxComboBox *) 0 ;
2957 wxString result;
2958 PyObject * obj0 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2965 {
2966 PyThreadState* __tstate = wxPyBeginAllowThreads();
2967 result = ((wxComboBox const *)arg1)->GetValue();
2968
2969 wxPyEndAllowThreads(__tstate);
2970 if (PyErr_Occurred()) SWIG_fail;
2971 }
2972 {
2973 #if wxUSE_UNICODE
2974 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2975 #else
2976 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2977 #endif
2978 }
2979 return resultobj;
2980 fail:
2981 return NULL;
2982 }
2983
2984
2985 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2986 PyObject *resultobj;
2987 wxComboBox *arg1 = (wxComboBox *) 0 ;
2988 wxString *arg2 = 0 ;
2989 bool temp2 = False ;
2990 PyObject * obj0 = 0 ;
2991 PyObject * obj1 = 0 ;
2992 char *kwnames[] = {
2993 (char *) "self",(char *) "value", NULL
2994 };
2995
2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2998 {
2999 arg2 = wxString_in_helper(obj1);
3000 if (arg2 == NULL) SWIG_fail;
3001 temp2 = True;
3002 }
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 (arg1)->SetValue((wxString const &)*arg2);
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 Py_INCREF(Py_None); resultobj = Py_None;
3011 {
3012 if (temp2)
3013 delete arg2;
3014 }
3015 return resultobj;
3016 fail:
3017 {
3018 if (temp2)
3019 delete arg2;
3020 }
3021 return NULL;
3022 }
3023
3024
3025 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject *resultobj;
3027 wxComboBox *arg1 = (wxComboBox *) 0 ;
3028 PyObject * obj0 = 0 ;
3029 char *kwnames[] = {
3030 (char *) "self", NULL
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 (arg1)->Copy();
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) SWIG_fail;
3041 }
3042 Py_INCREF(Py_None); resultobj = Py_None;
3043 return resultobj;
3044 fail:
3045 return NULL;
3046 }
3047
3048
3049 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3050 PyObject *resultobj;
3051 wxComboBox *arg1 = (wxComboBox *) 0 ;
3052 PyObject * obj0 = 0 ;
3053 char *kwnames[] = {
3054 (char *) "self", NULL
3055 };
3056
3057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3059 {
3060 PyThreadState* __tstate = wxPyBeginAllowThreads();
3061 (arg1)->Cut();
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 }
3066 Py_INCREF(Py_None); resultobj = Py_None;
3067 return resultobj;
3068 fail:
3069 return NULL;
3070 }
3071
3072
3073 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxComboBox *arg1 = (wxComboBox *) 0 ;
3076 PyObject * obj0 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3083 {
3084 PyThreadState* __tstate = wxPyBeginAllowThreads();
3085 (arg1)->Paste();
3086
3087 wxPyEndAllowThreads(__tstate);
3088 if (PyErr_Occurred()) SWIG_fail;
3089 }
3090 Py_INCREF(Py_None); resultobj = Py_None;
3091 return resultobj;
3092 fail:
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxComboBox *arg1 = (wxComboBox *) 0 ;
3100 long arg2 ;
3101 PyObject * obj0 = 0 ;
3102 PyObject * obj1 = 0 ;
3103 char *kwnames[] = {
3104 (char *) "self",(char *) "pos", NULL
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3109 {
3110 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 (arg1)->SetInsertionPoint(arg2);
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 Py_INCREF(Py_None); resultobj = Py_None;
3121 return resultobj;
3122 fail:
3123 return NULL;
3124 }
3125
3126
3127 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3128 PyObject *resultobj;
3129 wxComboBox *arg1 = (wxComboBox *) 0 ;
3130 long result;
3131 PyObject * obj0 = 0 ;
3132 char *kwnames[] = {
3133 (char *) "self", NULL
3134 };
3135
3136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 resultobj = SWIG_PyObj_FromLong((long)result);
3146 return resultobj;
3147 fail:
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxComboBox *arg1 = (wxComboBox *) 0 ;
3155 long result;
3156 PyObject * obj0 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "self", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 resultobj = SWIG_PyObj_FromLong((long)result);
3171 return resultobj;
3172 fail:
3173 return NULL;
3174 }
3175
3176
3177 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxComboBox *arg1 = (wxComboBox *) 0 ;
3180 long arg2 ;
3181 long arg3 ;
3182 wxString *arg4 = 0 ;
3183 bool temp4 = False ;
3184 PyObject * obj0 = 0 ;
3185 PyObject * obj1 = 0 ;
3186 PyObject * obj2 = 0 ;
3187 PyObject * obj3 = 0 ;
3188 char *kwnames[] = {
3189 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3190 };
3191
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3194 {
3195 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
3198 {
3199 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 {
3203 arg4 = wxString_in_helper(obj3);
3204 if (arg4 == NULL) SWIG_fail;
3205 temp4 = True;
3206 }
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 Py_INCREF(Py_None); resultobj = Py_None;
3215 {
3216 if (temp4)
3217 delete arg4;
3218 }
3219 return resultobj;
3220 fail:
3221 {
3222 if (temp4)
3223 delete arg4;
3224 }
3225 return NULL;
3226 }
3227
3228
3229 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3230 PyObject *resultobj;
3231 wxComboBox *arg1 = (wxComboBox *) 0 ;
3232 int arg2 ;
3233 PyObject * obj0 = 0 ;
3234 PyObject * obj1 = 0 ;
3235 char *kwnames[] = {
3236 (char *) "self",(char *) "n", NULL
3237 };
3238
3239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3241 {
3242 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 (arg1)->SetSelection(arg2);
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 Py_INCREF(Py_None); resultobj = Py_None;
3253 return resultobj;
3254 fail:
3255 return NULL;
3256 }
3257
3258
3259 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3260 PyObject *resultobj;
3261 wxComboBox *arg1 = (wxComboBox *) 0 ;
3262 long arg2 ;
3263 long arg3 ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 PyObject * obj2 = 0 ;
3267 char *kwnames[] = {
3268 (char *) "self",(char *) "from",(char *) "to", NULL
3269 };
3270
3271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3273 {
3274 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 {
3278 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3279 if (PyErr_Occurred()) SWIG_fail;
3280 }
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 (arg1)->SetSelection(arg2,arg3);
3284
3285 wxPyEndAllowThreads(__tstate);
3286 if (PyErr_Occurred()) SWIG_fail;
3287 }
3288 Py_INCREF(Py_None); resultobj = Py_None;
3289 return resultobj;
3290 fail:
3291 return NULL;
3292 }
3293
3294
3295 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3296 PyObject *resultobj;
3297 wxComboBox *arg1 = (wxComboBox *) 0 ;
3298 bool arg2 ;
3299 PyObject * obj0 = 0 ;
3300 PyObject * obj1 = 0 ;
3301 char *kwnames[] = {
3302 (char *) "self",(char *) "editable", NULL
3303 };
3304
3305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3307 {
3308 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3309 if (PyErr_Occurred()) SWIG_fail;
3310 }
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 (arg1)->SetEditable(arg2);
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 }
3318 Py_INCREF(Py_None); resultobj = Py_None;
3319 return resultobj;
3320 fail:
3321 return NULL;
3322 }
3323
3324
3325 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3326 PyObject *resultobj;
3327 wxComboBox *arg1 = (wxComboBox *) 0 ;
3328 PyObject * obj0 = 0 ;
3329 char *kwnames[] = {
3330 (char *) "self", NULL
3331 };
3332
3333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 (arg1)->SetInsertionPointEnd();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 Py_INCREF(Py_None); resultobj = Py_None;
3343 return resultobj;
3344 fail:
3345 return NULL;
3346 }
3347
3348
3349 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxComboBox *arg1 = (wxComboBox *) 0 ;
3352 long arg2 ;
3353 long arg3 ;
3354 PyObject * obj0 = 0 ;
3355 PyObject * obj1 = 0 ;
3356 PyObject * obj2 = 0 ;
3357 char *kwnames[] = {
3358 (char *) "self",(char *) "from",(char *) "to", NULL
3359 };
3360
3361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3363 {
3364 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 {
3368 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 (arg1)->Remove(arg2,arg3);
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 Py_INCREF(Py_None); resultobj = Py_None;
3379 return resultobj;
3380 fail:
3381 return NULL;
3382 }
3383
3384
3385 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3386 PyObject *obj;
3387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3388 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3389 Py_INCREF(obj);
3390 return Py_BuildValue((char *)"");
3391 }
3392 static int _wrap_GaugeNameStr_set(PyObject *) {
3393 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3394 return 1;
3395 }
3396
3397
3398 static PyObject *_wrap_GaugeNameStr_get() {
3399 PyObject *pyobj;
3400
3401 {
3402 #if wxUSE_UNICODE
3403 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3404 #else
3405 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3406 #endif
3407 }
3408 return pyobj;
3409 }
3410
3411
3412 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3413 PyObject *resultobj;
3414 wxWindow *arg1 = (wxWindow *) 0 ;
3415 int arg2 ;
3416 int arg3 ;
3417 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3418 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3419 wxSize const &arg5_defvalue = wxDefaultSize ;
3420 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3421 long arg6 = (long) wxGA_HORIZONTAL ;
3422 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3423 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3424 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3425 wxString *arg8 = (wxString *) &arg8_defvalue ;
3426 wxGauge *result;
3427 wxPoint temp4 ;
3428 wxSize temp5 ;
3429 bool temp8 = False ;
3430 PyObject * obj0 = 0 ;
3431 PyObject * obj1 = 0 ;
3432 PyObject * obj2 = 0 ;
3433 PyObject * obj3 = 0 ;
3434 PyObject * obj4 = 0 ;
3435 PyObject * obj5 = 0 ;
3436 PyObject * obj6 = 0 ;
3437 PyObject * obj7 = 0 ;
3438 char *kwnames[] = {
3439 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3444 {
3445 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 {
3449 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3450 if (PyErr_Occurred()) SWIG_fail;
3451 }
3452 if (obj3) {
3453 {
3454 arg4 = &temp4;
3455 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3456 }
3457 }
3458 if (obj4) {
3459 {
3460 arg5 = &temp5;
3461 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3462 }
3463 }
3464 if (obj5) {
3465 {
3466 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 }
3470 if (obj6) {
3471 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3472 if (arg7 == NULL) {
3473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3474 }
3475 }
3476 if (obj7) {
3477 {
3478 arg8 = wxString_in_helper(obj7);
3479 if (arg8 == NULL) SWIG_fail;
3480 temp8 = True;
3481 }
3482 }
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3486
3487 wxPyEndAllowThreads(__tstate);
3488 if (PyErr_Occurred()) SWIG_fail;
3489 }
3490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3491 {
3492 if (temp8)
3493 delete arg8;
3494 }
3495 return resultobj;
3496 fail:
3497 {
3498 if (temp8)
3499 delete arg8;
3500 }
3501 return NULL;
3502 }
3503
3504
3505 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3506 PyObject *resultobj;
3507 wxGauge *result;
3508 char *kwnames[] = {
3509 NULL
3510 };
3511
3512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 result = (wxGauge *)new wxGauge();
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3521 return resultobj;
3522 fail:
3523 return NULL;
3524 }
3525
3526
3527 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3528 PyObject *resultobj;
3529 wxGauge *arg1 = (wxGauge *) 0 ;
3530 wxWindow *arg2 = (wxWindow *) 0 ;
3531 int arg3 ;
3532 int arg4 ;
3533 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3534 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3535 wxSize const &arg6_defvalue = wxDefaultSize ;
3536 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3537 long arg7 = (long) wxGA_HORIZONTAL ;
3538 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3539 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3540 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3541 wxString *arg9 = (wxString *) &arg9_defvalue ;
3542 bool result;
3543 wxPoint temp5 ;
3544 wxSize temp6 ;
3545 bool temp9 = False ;
3546 PyObject * obj0 = 0 ;
3547 PyObject * obj1 = 0 ;
3548 PyObject * obj2 = 0 ;
3549 PyObject * obj3 = 0 ;
3550 PyObject * obj4 = 0 ;
3551 PyObject * obj5 = 0 ;
3552 PyObject * obj6 = 0 ;
3553 PyObject * obj7 = 0 ;
3554 PyObject * obj8 = 0 ;
3555 char *kwnames[] = {
3556 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3557 };
3558
3559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3562 {
3563 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 {
3567 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 if (obj4) {
3571 {
3572 arg5 = &temp5;
3573 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3574 }
3575 }
3576 if (obj5) {
3577 {
3578 arg6 = &temp6;
3579 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3580 }
3581 }
3582 if (obj6) {
3583 {
3584 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 }
3588 if (obj7) {
3589 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3590 if (arg8 == NULL) {
3591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3592 }
3593 }
3594 if (obj8) {
3595 {
3596 arg9 = wxString_in_helper(obj8);
3597 if (arg9 == NULL) SWIG_fail;
3598 temp9 = True;
3599 }
3600 }
3601 {
3602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3603 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3604
3605 wxPyEndAllowThreads(__tstate);
3606 if (PyErr_Occurred()) SWIG_fail;
3607 }
3608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3609 {
3610 if (temp9)
3611 delete arg9;
3612 }
3613 return resultobj;
3614 fail:
3615 {
3616 if (temp9)
3617 delete arg9;
3618 }
3619 return NULL;
3620 }
3621
3622
3623 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3624 PyObject *resultobj;
3625 wxGauge *arg1 = (wxGauge *) 0 ;
3626 int arg2 ;
3627 PyObject * obj0 = 0 ;
3628 PyObject * obj1 = 0 ;
3629 char *kwnames[] = {
3630 (char *) "self",(char *) "range", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3635 {
3636 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3637 if (PyErr_Occurred()) SWIG_fail;
3638 }
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 (arg1)->SetRange(arg2);
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 Py_INCREF(Py_None); resultobj = Py_None;
3647 return resultobj;
3648 fail:
3649 return NULL;
3650 }
3651
3652
3653 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj;
3655 wxGauge *arg1 = (wxGauge *) 0 ;
3656 int result;
3657 PyObject * obj0 = 0 ;
3658 char *kwnames[] = {
3659 (char *) "self", NULL
3660 };
3661
3662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3664 {
3665 PyThreadState* __tstate = wxPyBeginAllowThreads();
3666 result = (int)((wxGauge const *)arg1)->GetRange();
3667
3668 wxPyEndAllowThreads(__tstate);
3669 if (PyErr_Occurred()) SWIG_fail;
3670 }
3671 resultobj = SWIG_PyObj_FromInt((int)result);
3672 return resultobj;
3673 fail:
3674 return NULL;
3675 }
3676
3677
3678 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3679 PyObject *resultobj;
3680 wxGauge *arg1 = (wxGauge *) 0 ;
3681 int arg2 ;
3682 PyObject * obj0 = 0 ;
3683 PyObject * obj1 = 0 ;
3684 char *kwnames[] = {
3685 (char *) "self",(char *) "pos", NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3690 {
3691 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3692 if (PyErr_Occurred()) SWIG_fail;
3693 }
3694 {
3695 PyThreadState* __tstate = wxPyBeginAllowThreads();
3696 (arg1)->SetValue(arg2);
3697
3698 wxPyEndAllowThreads(__tstate);
3699 if (PyErr_Occurred()) SWIG_fail;
3700 }
3701 Py_INCREF(Py_None); resultobj = Py_None;
3702 return resultobj;
3703 fail:
3704 return NULL;
3705 }
3706
3707
3708 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3709 PyObject *resultobj;
3710 wxGauge *arg1 = (wxGauge *) 0 ;
3711 int result;
3712 PyObject * obj0 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (int)((wxGauge const *)arg1)->GetValue();
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 resultobj = SWIG_PyObj_FromInt((int)result);
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxGauge *arg1 = (wxGauge *) 0 ;
3736 bool result;
3737 PyObject * obj0 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self", NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3744 {
3745 PyThreadState* __tstate = wxPyBeginAllowThreads();
3746 result = (bool)((wxGauge const *)arg1)->IsVertical();
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3752 return resultobj;
3753 fail:
3754 return NULL;
3755 }
3756
3757
3758 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj;
3760 wxGauge *arg1 = (wxGauge *) 0 ;
3761 int arg2 ;
3762 PyObject * obj0 = 0 ;
3763 PyObject * obj1 = 0 ;
3764 char *kwnames[] = {
3765 (char *) "self",(char *) "w", NULL
3766 };
3767
3768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3770 {
3771 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 {
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 (arg1)->SetShadowWidth(arg2);
3777
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 Py_INCREF(Py_None); resultobj = Py_None;
3782 return resultobj;
3783 fail:
3784 return NULL;
3785 }
3786
3787
3788 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject *resultobj;
3790 wxGauge *arg1 = (wxGauge *) 0 ;
3791 int result;
3792 PyObject * obj0 = 0 ;
3793 char *kwnames[] = {
3794 (char *) "self", NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3802
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 resultobj = SWIG_PyObj_FromInt((int)result);
3807 return resultobj;
3808 fail:
3809 return NULL;
3810 }
3811
3812
3813 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3814 PyObject *resultobj;
3815 wxGauge *arg1 = (wxGauge *) 0 ;
3816 int arg2 ;
3817 PyObject * obj0 = 0 ;
3818 PyObject * obj1 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "self",(char *) "w", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3825 {
3826 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 (arg1)->SetBezelFace(arg2);
3832
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 Py_INCREF(Py_None); resultobj = Py_None;
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3844 PyObject *resultobj;
3845 wxGauge *arg1 = (wxGauge *) 0 ;
3846 int result;
3847 PyObject * obj0 = 0 ;
3848 char *kwnames[] = {
3849 (char *) "self", NULL
3850 };
3851
3852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3854 {
3855 PyThreadState* __tstate = wxPyBeginAllowThreads();
3856 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3857
3858 wxPyEndAllowThreads(__tstate);
3859 if (PyErr_Occurred()) SWIG_fail;
3860 }
3861 resultobj = SWIG_PyObj_FromInt((int)result);
3862 return resultobj;
3863 fail:
3864 return NULL;
3865 }
3866
3867
3868 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3869 PyObject *obj;
3870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3871 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3872 Py_INCREF(obj);
3873 return Py_BuildValue((char *)"");
3874 }
3875 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
3876 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3877 return 1;
3878 }
3879
3880
3881 static PyObject *_wrap_StaticBitmapNameStr_get() {
3882 PyObject *pyobj;
3883
3884 {
3885 #if wxUSE_UNICODE
3886 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3887 #else
3888 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3889 #endif
3890 }
3891 return pyobj;
3892 }
3893
3894
3895 static int _wrap_StaticBoxNameStr_set(PyObject *) {
3896 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3897 return 1;
3898 }
3899
3900
3901 static PyObject *_wrap_StaticBoxNameStr_get() {
3902 PyObject *pyobj;
3903
3904 {
3905 #if wxUSE_UNICODE
3906 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3907 #else
3908 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3909 #endif
3910 }
3911 return pyobj;
3912 }
3913
3914
3915 static int _wrap_StaticTextNameStr_set(PyObject *) {
3916 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3917 return 1;
3918 }
3919
3920
3921 static PyObject *_wrap_StaticTextNameStr_get() {
3922 PyObject *pyobj;
3923
3924 {
3925 #if wxUSE_UNICODE
3926 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3927 #else
3928 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3929 #endif
3930 }
3931 return pyobj;
3932 }
3933
3934
3935 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3936 PyObject *resultobj;
3937 wxWindow *arg1 = (wxWindow *) 0 ;
3938 int arg2 ;
3939 wxString *arg3 = 0 ;
3940 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3941 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3942 wxSize const &arg5_defvalue = wxDefaultSize ;
3943 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3944 long arg6 = (long) 0 ;
3945 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3946 wxString *arg7 = (wxString *) &arg7_defvalue ;
3947 wxStaticBox *result;
3948 bool temp3 = False ;
3949 wxPoint temp4 ;
3950 wxSize temp5 ;
3951 bool temp7 = False ;
3952 PyObject * obj0 = 0 ;
3953 PyObject * obj1 = 0 ;
3954 PyObject * obj2 = 0 ;
3955 PyObject * obj3 = 0 ;
3956 PyObject * obj4 = 0 ;
3957 PyObject * obj5 = 0 ;
3958 PyObject * obj6 = 0 ;
3959 char *kwnames[] = {
3960 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3961 };
3962
3963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3965 {
3966 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 {
3970 arg3 = wxString_in_helper(obj2);
3971 if (arg3 == NULL) SWIG_fail;
3972 temp3 = True;
3973 }
3974 if (obj3) {
3975 {
3976 arg4 = &temp4;
3977 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3978 }
3979 }
3980 if (obj4) {
3981 {
3982 arg5 = &temp5;
3983 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3984 }
3985 }
3986 if (obj5) {
3987 {
3988 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 }
3992 if (obj6) {
3993 {
3994 arg7 = wxString_in_helper(obj6);
3995 if (arg7 == NULL) SWIG_fail;
3996 temp7 = True;
3997 }
3998 }
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 {
4007 resultobj = wxPyMake_wxObject(result);
4008 }
4009 {
4010 if (temp3)
4011 delete arg3;
4012 }
4013 {
4014 if (temp7)
4015 delete arg7;
4016 }
4017 return resultobj;
4018 fail:
4019 {
4020 if (temp3)
4021 delete arg3;
4022 }
4023 {
4024 if (temp7)
4025 delete arg7;
4026 }
4027 return NULL;
4028 }
4029
4030
4031 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxStaticBox *result;
4034 char *kwnames[] = {
4035 NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4039 {
4040 PyThreadState* __tstate = wxPyBeginAllowThreads();
4041 result = (wxStaticBox *)new wxStaticBox();
4042
4043 wxPyEndAllowThreads(__tstate);
4044 if (PyErr_Occurred()) SWIG_fail;
4045 }
4046 {
4047 resultobj = wxPyMake_wxObject(result);
4048 }
4049 return resultobj;
4050 fail:
4051 return NULL;
4052 }
4053
4054
4055 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject *resultobj;
4057 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4058 wxWindow *arg2 = (wxWindow *) 0 ;
4059 int arg3 ;
4060 wxString *arg4 = 0 ;
4061 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4062 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4063 wxSize const &arg6_defvalue = wxDefaultSize ;
4064 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4065 long arg7 = (long) 0 ;
4066 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4067 wxString *arg8 = (wxString *) &arg8_defvalue ;
4068 bool result;
4069 bool temp4 = False ;
4070 wxPoint temp5 ;
4071 wxSize temp6 ;
4072 bool temp8 = False ;
4073 PyObject * obj0 = 0 ;
4074 PyObject * obj1 = 0 ;
4075 PyObject * obj2 = 0 ;
4076 PyObject * obj3 = 0 ;
4077 PyObject * obj4 = 0 ;
4078 PyObject * obj5 = 0 ;
4079 PyObject * obj6 = 0 ;
4080 PyObject * obj7 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4088 {
4089 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 {
4093 arg4 = wxString_in_helper(obj3);
4094 if (arg4 == NULL) SWIG_fail;
4095 temp4 = True;
4096 }
4097 if (obj4) {
4098 {
4099 arg5 = &temp5;
4100 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4101 }
4102 }
4103 if (obj5) {
4104 {
4105 arg6 = &temp6;
4106 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4107 }
4108 }
4109 if (obj6) {
4110 {
4111 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4112 if (PyErr_Occurred()) SWIG_fail;
4113 }
4114 }
4115 if (obj7) {
4116 {
4117 arg8 = wxString_in_helper(obj7);
4118 if (arg8 == NULL) SWIG_fail;
4119 temp8 = True;
4120 }
4121 }
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4130 {
4131 if (temp4)
4132 delete arg4;
4133 }
4134 {
4135 if (temp8)
4136 delete arg8;
4137 }
4138 return resultobj;
4139 fail:
4140 {
4141 if (temp4)
4142 delete arg4;
4143 }
4144 {
4145 if (temp8)
4146 delete arg8;
4147 }
4148 return NULL;
4149 }
4150
4151
4152 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4153 PyObject *obj;
4154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4155 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4156 Py_INCREF(obj);
4157 return Py_BuildValue((char *)"");
4158 }
4159 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj;
4161 wxWindow *arg1 = (wxWindow *) 0 ;
4162 int arg2 ;
4163 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4164 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4165 wxSize const &arg4_defvalue = wxDefaultSize ;
4166 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4167 long arg5 = (long) wxLI_HORIZONTAL ;
4168 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4169 wxString *arg6 = (wxString *) &arg6_defvalue ;
4170 wxStaticLine *result;
4171 wxPoint temp3 ;
4172 wxSize temp4 ;
4173 bool temp6 = False ;
4174 PyObject * obj0 = 0 ;
4175 PyObject * obj1 = 0 ;
4176 PyObject * obj2 = 0 ;
4177 PyObject * obj3 = 0 ;
4178 PyObject * obj4 = 0 ;
4179 PyObject * obj5 = 0 ;
4180 char *kwnames[] = {
4181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 };
4183
4184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4186 {
4187 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4190 if (obj2) {
4191 {
4192 arg3 = &temp3;
4193 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4194 }
4195 }
4196 if (obj3) {
4197 {
4198 arg4 = &temp4;
4199 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4200 }
4201 }
4202 if (obj4) {
4203 {
4204 arg5 = (long) SWIG_PyObj_AsLong(obj4);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 }
4208 if (obj5) {
4209 {
4210 arg6 = wxString_in_helper(obj5);
4211 if (arg6 == NULL) SWIG_fail;
4212 temp6 = True;
4213 }
4214 }
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4218
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4223 {
4224 if (temp6)
4225 delete arg6;
4226 }
4227 return resultobj;
4228 fail:
4229 {
4230 if (temp6)
4231 delete arg6;
4232 }
4233 return NULL;
4234 }
4235
4236
4237 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj;
4239 wxStaticLine *result;
4240 char *kwnames[] = {
4241 NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxStaticLine *)new wxStaticLine();
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4253 return resultobj;
4254 fail:
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4262 wxWindow *arg2 = (wxWindow *) 0 ;
4263 int arg3 ;
4264 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4265 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4266 wxSize const &arg5_defvalue = wxDefaultSize ;
4267 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4268 long arg6 = (long) wxLI_HORIZONTAL ;
4269 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4270 wxString *arg7 = (wxString *) &arg7_defvalue ;
4271 bool result;
4272 wxPoint temp4 ;
4273 wxSize temp5 ;
4274 bool temp7 = False ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj1 = 0 ;
4277 PyObject * obj2 = 0 ;
4278 PyObject * obj3 = 0 ;
4279 PyObject * obj4 = 0 ;
4280 PyObject * obj5 = 0 ;
4281 PyObject * obj6 = 0 ;
4282 char *kwnames[] = {
4283 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4284 };
4285
4286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4289 {
4290 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 if (obj3) {
4294 {
4295 arg4 = &temp4;
4296 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4297 }
4298 }
4299 if (obj4) {
4300 {
4301 arg5 = &temp5;
4302 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4303 }
4304 }
4305 if (obj5) {
4306 {
4307 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 }
4311 if (obj6) {
4312 {
4313 arg7 = wxString_in_helper(obj6);
4314 if (arg7 == NULL) SWIG_fail;
4315 temp7 = True;
4316 }
4317 }
4318 {
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4321
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4326 {
4327 if (temp7)
4328 delete arg7;
4329 }
4330 return resultobj;
4331 fail:
4332 {
4333 if (temp7)
4334 delete arg7;
4335 }
4336 return NULL;
4337 }
4338
4339
4340 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4341 PyObject *resultobj;
4342 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4343 bool result;
4344 PyObject * obj0 = 0 ;
4345 char *kwnames[] = {
4346 (char *) "self", NULL
4347 };
4348
4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4359 return resultobj;
4360 fail:
4361 return NULL;
4362 }
4363
4364
4365 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4366 PyObject *resultobj;
4367 int result;
4368 char *kwnames[] = {
4369 NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4373 {
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (int)wxStaticLine::GetDefaultSize();
4376
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 resultobj = SWIG_PyObj_FromInt((int)result);
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4388 PyObject *obj;
4389 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4390 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4391 Py_INCREF(obj);
4392 return Py_BuildValue((char *)"");
4393 }
4394 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxWindow *arg1 = (wxWindow *) 0 ;
4397 int arg2 ;
4398 wxString *arg3 = 0 ;
4399 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4400 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4401 wxSize const &arg5_defvalue = wxDefaultSize ;
4402 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4403 long arg6 = (long) 0 ;
4404 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4405 wxString *arg7 = (wxString *) &arg7_defvalue ;
4406 wxStaticText *result;
4407 bool temp3 = False ;
4408 wxPoint temp4 ;
4409 wxSize temp5 ;
4410 bool temp7 = False ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 PyObject * obj2 = 0 ;
4414 PyObject * obj3 = 0 ;
4415 PyObject * obj4 = 0 ;
4416 PyObject * obj5 = 0 ;
4417 PyObject * obj6 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4424 {
4425 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4426 if (PyErr_Occurred()) SWIG_fail;
4427 }
4428 {
4429 arg3 = wxString_in_helper(obj2);
4430 if (arg3 == NULL) SWIG_fail;
4431 temp3 = True;
4432 }
4433 if (obj3) {
4434 {
4435 arg4 = &temp4;
4436 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4437 }
4438 }
4439 if (obj4) {
4440 {
4441 arg5 = &temp5;
4442 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4443 }
4444 }
4445 if (obj5) {
4446 {
4447 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 }
4451 if (obj6) {
4452 {
4453 arg7 = wxString_in_helper(obj6);
4454 if (arg7 == NULL) SWIG_fail;
4455 temp7 = True;
4456 }
4457 }
4458 {
4459 PyThreadState* __tstate = wxPyBeginAllowThreads();
4460 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4461
4462 wxPyEndAllowThreads(__tstate);
4463 if (PyErr_Occurred()) SWIG_fail;
4464 }
4465 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4466 {
4467 if (temp3)
4468 delete arg3;
4469 }
4470 {
4471 if (temp7)
4472 delete arg7;
4473 }
4474 return resultobj;
4475 fail:
4476 {
4477 if (temp3)
4478 delete arg3;
4479 }
4480 {
4481 if (temp7)
4482 delete arg7;
4483 }
4484 return NULL;
4485 }
4486
4487
4488 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxStaticText *result;
4491 char *kwnames[] = {
4492 NULL
4493 };
4494
4495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4496 {
4497 PyThreadState* __tstate = wxPyBeginAllowThreads();
4498 result = (wxStaticText *)new wxStaticText();
4499
4500 wxPyEndAllowThreads(__tstate);
4501 if (PyErr_Occurred()) SWIG_fail;
4502 }
4503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4504 return resultobj;
4505 fail:
4506 return NULL;
4507 }
4508
4509
4510 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4511 PyObject *resultobj;
4512 wxStaticText *arg1 = (wxStaticText *) 0 ;
4513 wxWindow *arg2 = (wxWindow *) 0 ;
4514 int arg3 ;
4515 wxString *arg4 = 0 ;
4516 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4517 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4518 wxSize const &arg6_defvalue = wxDefaultSize ;
4519 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4520 long arg7 = (long) 0 ;
4521 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4522 wxString *arg8 = (wxString *) &arg8_defvalue ;
4523 bool result;
4524 bool temp4 = False ;
4525 wxPoint temp5 ;
4526 wxSize temp6 ;
4527 bool temp8 = False ;
4528 PyObject * obj0 = 0 ;
4529 PyObject * obj1 = 0 ;
4530 PyObject * obj2 = 0 ;
4531 PyObject * obj3 = 0 ;
4532 PyObject * obj4 = 0 ;
4533 PyObject * obj5 = 0 ;
4534 PyObject * obj6 = 0 ;
4535 PyObject * obj7 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543 {
4544 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 {
4548 arg4 = wxString_in_helper(obj3);
4549 if (arg4 == NULL) SWIG_fail;
4550 temp4 = True;
4551 }
4552 if (obj4) {
4553 {
4554 arg5 = &temp5;
4555 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4556 }
4557 }
4558 if (obj5) {
4559 {
4560 arg6 = &temp6;
4561 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4562 }
4563 }
4564 if (obj6) {
4565 {
4566 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 }
4570 if (obj7) {
4571 {
4572 arg8 = wxString_in_helper(obj7);
4573 if (arg8 == NULL) SWIG_fail;
4574 temp8 = True;
4575 }
4576 }
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4585 {
4586 if (temp4)
4587 delete arg4;
4588 }
4589 {
4590 if (temp8)
4591 delete arg8;
4592 }
4593 return resultobj;
4594 fail:
4595 {
4596 if (temp4)
4597 delete arg4;
4598 }
4599 {
4600 if (temp8)
4601 delete arg8;
4602 }
4603 return NULL;
4604 }
4605
4606
4607 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4608 PyObject *obj;
4609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4610 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4611 Py_INCREF(obj);
4612 return Py_BuildValue((char *)"");
4613 }
4614 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4615 PyObject *resultobj;
4616 wxWindow *arg1 = (wxWindow *) 0 ;
4617 int arg2 ;
4618 wxBitmap *arg3 = 0 ;
4619 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4620 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4621 wxSize const &arg5_defvalue = wxDefaultSize ;
4622 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4623 long arg6 = (long) 0 ;
4624 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4625 wxString *arg7 = (wxString *) &arg7_defvalue ;
4626 wxStaticBitmap *result;
4627 wxPoint temp4 ;
4628 wxSize temp5 ;
4629 bool temp7 = False ;
4630 PyObject * obj0 = 0 ;
4631 PyObject * obj1 = 0 ;
4632 PyObject * obj2 = 0 ;
4633 PyObject * obj3 = 0 ;
4634 PyObject * obj4 = 0 ;
4635 PyObject * obj5 = 0 ;
4636 PyObject * obj6 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4643 {
4644 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4648 if (arg3 == NULL) {
4649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4650 }
4651 if (obj3) {
4652 {
4653 arg4 = &temp4;
4654 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4655 }
4656 }
4657 if (obj4) {
4658 {
4659 arg5 = &temp5;
4660 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4661 }
4662 }
4663 if (obj5) {
4664 {
4665 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 }
4669 if (obj6) {
4670 {
4671 arg7 = wxString_in_helper(obj6);
4672 if (arg7 == NULL) SWIG_fail;
4673 temp7 = True;
4674 }
4675 }
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4684 {
4685 if (temp7)
4686 delete arg7;
4687 }
4688 return resultobj;
4689 fail:
4690 {
4691 if (temp7)
4692 delete arg7;
4693 }
4694 return NULL;
4695 }
4696
4697
4698 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4699 PyObject *resultobj;
4700 wxStaticBitmap *result;
4701 char *kwnames[] = {
4702 NULL
4703 };
4704
4705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4706 {
4707 PyThreadState* __tstate = wxPyBeginAllowThreads();
4708 result = (wxStaticBitmap *)new wxStaticBitmap();
4709
4710 wxPyEndAllowThreads(__tstate);
4711 if (PyErr_Occurred()) SWIG_fail;
4712 }
4713 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4714 return resultobj;
4715 fail:
4716 return NULL;
4717 }
4718
4719
4720 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4721 PyObject *resultobj;
4722 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4723 wxWindow *arg2 = (wxWindow *) 0 ;
4724 int arg3 ;
4725 wxBitmap *arg4 = 0 ;
4726 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4727 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4728 wxSize const &arg6_defvalue = wxDefaultSize ;
4729 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4730 long arg7 = (long) 0 ;
4731 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4732 wxString *arg8 = (wxString *) &arg8_defvalue ;
4733 bool result;
4734 wxPoint temp5 ;
4735 wxSize temp6 ;
4736 bool temp8 = False ;
4737 PyObject * obj0 = 0 ;
4738 PyObject * obj1 = 0 ;
4739 PyObject * obj2 = 0 ;
4740 PyObject * obj3 = 0 ;
4741 PyObject * obj4 = 0 ;
4742 PyObject * obj5 = 0 ;
4743 PyObject * obj6 = 0 ;
4744 PyObject * obj7 = 0 ;
4745 char *kwnames[] = {
4746 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4747 };
4748
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4752 {
4753 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4757 if (arg4 == NULL) {
4758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4759 }
4760 if (obj4) {
4761 {
4762 arg5 = &temp5;
4763 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4764 }
4765 }
4766 if (obj5) {
4767 {
4768 arg6 = &temp6;
4769 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4770 }
4771 }
4772 if (obj6) {
4773 {
4774 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 }
4778 if (obj7) {
4779 {
4780 arg8 = wxString_in_helper(obj7);
4781 if (arg8 == NULL) SWIG_fail;
4782 temp8 = True;
4783 }
4784 }
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4793 {
4794 if (temp8)
4795 delete arg8;
4796 }
4797 return resultobj;
4798 fail:
4799 {
4800 if (temp8)
4801 delete arg8;
4802 }
4803 return NULL;
4804 }
4805
4806
4807 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4808 PyObject *resultobj;
4809 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4810 wxBitmap result;
4811 PyObject * obj0 = 0 ;
4812 char *kwnames[] = {
4813 (char *) "self", NULL
4814 };
4815
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4818 {
4819 PyThreadState* __tstate = wxPyBeginAllowThreads();
4820 result = (arg1)->GetBitmap();
4821
4822 wxPyEndAllowThreads(__tstate);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 {
4826 wxBitmap * resultptr;
4827 resultptr = new wxBitmap((wxBitmap &) result);
4828 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4829 }
4830 return resultobj;
4831 fail:
4832 return NULL;
4833 }
4834
4835
4836 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4837 PyObject *resultobj;
4838 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4839 wxBitmap *arg2 = 0 ;
4840 PyObject * obj0 = 0 ;
4841 PyObject * obj1 = 0 ;
4842 char *kwnames[] = {
4843 (char *) "self",(char *) "bitmap", NULL
4844 };
4845
4846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4849 if (arg2 == NULL) {
4850 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4851 }
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 Py_INCREF(Py_None); resultobj = Py_None;
4860 return resultobj;
4861 fail:
4862 return NULL;
4863 }
4864
4865
4866 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4867 PyObject *resultobj;
4868 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4869 wxIcon *arg2 = 0 ;
4870 PyObject * obj0 = 0 ;
4871 PyObject * obj1 = 0 ;
4872 char *kwnames[] = {
4873 (char *) "self",(char *) "icon", NULL
4874 };
4875
4876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4879 if (arg2 == NULL) {
4880 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4881 }
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 (arg1)->SetIcon((wxIcon const &)*arg2);
4885
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 Py_INCREF(Py_None); resultobj = Py_None;
4890 return resultobj;
4891 fail:
4892 return NULL;
4893 }
4894
4895
4896 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4897 PyObject *obj;
4898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4899 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4900 Py_INCREF(obj);
4901 return Py_BuildValue((char *)"");
4902 }
4903 static int _wrap_ListBoxNameStr_set(PyObject *) {
4904 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4905 return 1;
4906 }
4907
4908
4909 static PyObject *_wrap_ListBoxNameStr_get() {
4910 PyObject *pyobj;
4911
4912 {
4913 #if wxUSE_UNICODE
4914 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4915 #else
4916 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4917 #endif
4918 }
4919 return pyobj;
4920 }
4921
4922
4923 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4924 PyObject *resultobj;
4925 wxWindow *arg1 = (wxWindow *) 0 ;
4926 int arg2 ;
4927 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4928 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4929 wxSize const &arg4_defvalue = wxDefaultSize ;
4930 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4931 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4932 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4933 long arg6 = (long) 0 ;
4934 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4935 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4936 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
4937 wxString *arg8 = (wxString *) &arg8_defvalue ;
4938 wxListBox *result;
4939 wxPoint temp3 ;
4940 wxSize temp4 ;
4941 bool temp5 = False ;
4942 bool temp8 = False ;
4943 PyObject * obj0 = 0 ;
4944 PyObject * obj1 = 0 ;
4945 PyObject * obj2 = 0 ;
4946 PyObject * obj3 = 0 ;
4947 PyObject * obj4 = 0 ;
4948 PyObject * obj5 = 0 ;
4949 PyObject * obj6 = 0 ;
4950 PyObject * obj7 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4957 {
4958 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 if (obj2) {
4962 {
4963 arg3 = &temp3;
4964 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4965 }
4966 }
4967 if (obj3) {
4968 {
4969 arg4 = &temp4;
4970 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4971 }
4972 }
4973 if (obj4) {
4974 {
4975 if (! PySequence_Check(obj4)) {
4976 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4977 SWIG_fail;
4978 }
4979 arg5 = new wxArrayString;
4980 temp5 = True;
4981 int i, len=PySequence_Length(obj4);
4982 for (i=0; i<len; i++) {
4983 PyObject* item = PySequence_GetItem(obj4, i);
4984 #if wxUSE_UNICODE
4985 PyObject* str = PyObject_Unicode(item);
4986 #else
4987 PyObject* str = PyObject_Str(item);
4988 #endif
4989 arg5->Add(Py2wxString(str));
4990 Py_DECREF(item);
4991 Py_DECREF(str);
4992 }
4993 }
4994 }
4995 if (obj5) {
4996 {
4997 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4998 if (PyErr_Occurred()) SWIG_fail;
4999 }
5000 }
5001 if (obj6) {
5002 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5003 if (arg7 == NULL) {
5004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5005 }
5006 }
5007 if (obj7) {
5008 {
5009 arg8 = wxString_in_helper(obj7);
5010 if (arg8 == NULL) SWIG_fail;
5011 temp8 = True;
5012 }
5013 }
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5022 {
5023 if (temp5) delete arg5;
5024 }
5025 {
5026 if (temp8)
5027 delete arg8;
5028 }
5029 return resultobj;
5030 fail:
5031 {
5032 if (temp5) delete arg5;
5033 }
5034 {
5035 if (temp8)
5036 delete arg8;
5037 }
5038 return NULL;
5039 }
5040
5041
5042 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj;
5044 wxListBox *result;
5045 char *kwnames[] = {
5046 NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 result = (wxListBox *)new wxListBox();
5053
5054 wxPyEndAllowThreads(__tstate);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5058 return resultobj;
5059 fail:
5060 return NULL;
5061 }
5062
5063
5064 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5065 PyObject *resultobj;
5066 wxListBox *arg1 = (wxListBox *) 0 ;
5067 wxWindow *arg2 = (wxWindow *) 0 ;
5068 int arg3 ;
5069 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5070 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5071 wxSize const &arg5_defvalue = wxDefaultSize ;
5072 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5073 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5074 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5075 long arg7 = (long) 0 ;
5076 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5077 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5078 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5079 wxString *arg9 = (wxString *) &arg9_defvalue ;
5080 bool result;
5081 wxPoint temp4 ;
5082 wxSize temp5 ;
5083 bool temp6 = False ;
5084 bool temp9 = False ;
5085 PyObject * obj0 = 0 ;
5086 PyObject * obj1 = 0 ;
5087 PyObject * obj2 = 0 ;
5088 PyObject * obj3 = 0 ;
5089 PyObject * obj4 = 0 ;
5090 PyObject * obj5 = 0 ;
5091 PyObject * obj6 = 0 ;
5092 PyObject * obj7 = 0 ;
5093 PyObject * obj8 = 0 ;
5094 char *kwnames[] = {
5095 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5096 };
5097
5098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5101 {
5102 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 if (obj3) {
5106 {
5107 arg4 = &temp4;
5108 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5109 }
5110 }
5111 if (obj4) {
5112 {
5113 arg5 = &temp5;
5114 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5115 }
5116 }
5117 if (obj5) {
5118 {
5119 if (! PySequence_Check(obj5)) {
5120 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5121 SWIG_fail;
5122 }
5123 arg6 = new wxArrayString;
5124 temp6 = True;
5125 int i, len=PySequence_Length(obj5);
5126 for (i=0; i<len; i++) {
5127 PyObject* item = PySequence_GetItem(obj5, i);
5128 #if wxUSE_UNICODE
5129 PyObject* str = PyObject_Unicode(item);
5130 #else
5131 PyObject* str = PyObject_Str(item);
5132 #endif
5133 arg6->Add(Py2wxString(str));
5134 Py_DECREF(item);
5135 Py_DECREF(str);
5136 }
5137 }
5138 }
5139 if (obj6) {
5140 {
5141 arg7 = (long) SWIG_PyObj_AsLong(obj6);
5142 if (PyErr_Occurred()) SWIG_fail;
5143 }
5144 }
5145 if (obj7) {
5146 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5147 if (arg8 == NULL) {
5148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5149 }
5150 }
5151 if (obj8) {
5152 {
5153 arg9 = wxString_in_helper(obj8);
5154 if (arg9 == NULL) SWIG_fail;
5155 temp9 = True;
5156 }
5157 }
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5166 {
5167 if (temp6) delete arg6;
5168 }
5169 {
5170 if (temp9)
5171 delete arg9;
5172 }
5173 return resultobj;
5174 fail:
5175 {
5176 if (temp6) delete arg6;
5177 }
5178 {
5179 if (temp9)
5180 delete arg9;
5181 }
5182 return NULL;
5183 }
5184
5185
5186 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5187 PyObject *resultobj;
5188 wxListBox *arg1 = (wxListBox *) 0 ;
5189 wxString *arg2 = 0 ;
5190 int arg3 ;
5191 PyObject *arg4 = (PyObject *) NULL ;
5192 bool temp2 = False ;
5193 PyObject * obj0 = 0 ;
5194 PyObject * obj1 = 0 ;
5195 PyObject * obj2 = 0 ;
5196 PyObject * obj3 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5203 {
5204 arg2 = wxString_in_helper(obj1);
5205 if (arg2 == NULL) SWIG_fail;
5206 temp2 = True;
5207 }
5208 {
5209 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5210 if (PyErr_Occurred()) SWIG_fail;
5211 }
5212 if (obj3) {
5213 arg4 = obj3;
5214 }
5215 {
5216 PyThreadState* __tstate = wxPyBeginAllowThreads();
5217 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5218
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 Py_INCREF(Py_None); resultobj = Py_None;
5223 {
5224 if (temp2)
5225 delete arg2;
5226 }
5227 return resultobj;
5228 fail:
5229 {
5230 if (temp2)
5231 delete arg2;
5232 }
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxListBox *arg1 = (wxListBox *) 0 ;
5240 wxArrayString *arg2 = 0 ;
5241 int arg3 ;
5242 bool temp2 = False ;
5243 PyObject * obj0 = 0 ;
5244 PyObject * obj1 = 0 ;
5245 PyObject * obj2 = 0 ;
5246 char *kwnames[] = {
5247 (char *) "self",(char *) "items",(char *) "pos", NULL
5248 };
5249
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5252 {
5253 if (! PySequence_Check(obj1)) {
5254 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5255 SWIG_fail;
5256 }
5257 arg2 = new wxArrayString;
5258 temp2 = True;
5259 int i, len=PySequence_Length(obj1);
5260 for (i=0; i<len; i++) {
5261 PyObject* item = PySequence_GetItem(obj1, i);
5262 #if wxUSE_UNICODE
5263 PyObject* str = PyObject_Unicode(item);
5264 #else
5265 PyObject* str = PyObject_Str(item);
5266 #endif
5267 arg2->Add(Py2wxString(str));
5268 Py_DECREF(item);
5269 Py_DECREF(str);
5270 }
5271 }
5272 {
5273 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5279
5280 wxPyEndAllowThreads(__tstate);
5281 if (PyErr_Occurred()) SWIG_fail;
5282 }
5283 Py_INCREF(Py_None); resultobj = Py_None;
5284 {
5285 if (temp2) delete arg2;
5286 }
5287 return resultobj;
5288 fail:
5289 {
5290 if (temp2) delete arg2;
5291 }
5292 return NULL;
5293 }
5294
5295
5296 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj;
5298 wxListBox *arg1 = (wxListBox *) 0 ;
5299 wxArrayString *arg2 = 0 ;
5300 bool temp2 = False ;
5301 PyObject * obj0 = 0 ;
5302 PyObject * obj1 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "self",(char *) "items", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5309 {
5310 if (! PySequence_Check(obj1)) {
5311 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5312 SWIG_fail;
5313 }
5314 arg2 = new wxArrayString;
5315 temp2 = True;
5316 int i, len=PySequence_Length(obj1);
5317 for (i=0; i<len; i++) {
5318 PyObject* item = PySequence_GetItem(obj1, i);
5319 #if wxUSE_UNICODE
5320 PyObject* str = PyObject_Unicode(item);
5321 #else
5322 PyObject* str = PyObject_Str(item);
5323 #endif
5324 arg2->Add(Py2wxString(str));
5325 Py_DECREF(item);
5326 Py_DECREF(str);
5327 }
5328 }
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 (arg1)->Set((wxArrayString const &)*arg2);
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 Py_INCREF(Py_None); resultobj = Py_None;
5337 {
5338 if (temp2) delete arg2;
5339 }
5340 return resultobj;
5341 fail:
5342 {
5343 if (temp2) delete arg2;
5344 }
5345 return NULL;
5346 }
5347
5348
5349 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj;
5351 wxListBox *arg1 = (wxListBox *) 0 ;
5352 int arg2 ;
5353 bool result;
5354 PyObject * obj0 = 0 ;
5355 PyObject * obj1 = 0 ;
5356 char *kwnames[] = {
5357 (char *) "self",(char *) "n", NULL
5358 };
5359
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5362 {
5363 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5374 return resultobj;
5375 fail:
5376 return NULL;
5377 }
5378
5379
5380 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5381 PyObject *resultobj;
5382 wxListBox *arg1 = (wxListBox *) 0 ;
5383 int arg2 ;
5384 bool arg3 = (bool) True ;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 PyObject * obj2 = 0 ;
5388 char *kwnames[] = {
5389 (char *) "self",(char *) "n",(char *) "select", NULL
5390 };
5391
5392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5394 {
5395 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 if (obj2) {
5399 {
5400 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 }
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 (arg1)->SetSelection(arg2,arg3);
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
5411 Py_INCREF(Py_None); resultobj = Py_None;
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxListBox *arg1 = (wxListBox *) 0 ;
5421 int arg2 ;
5422 PyObject * obj0 = 0 ;
5423 PyObject * obj1 = 0 ;
5424 char *kwnames[] = {
5425 (char *) "self",(char *) "n", NULL
5426 };
5427
5428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5430 {
5431 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5432 if (PyErr_Occurred()) SWIG_fail;
5433 }
5434 {
5435 PyThreadState* __tstate = wxPyBeginAllowThreads();
5436 (arg1)->Select(arg2);
5437
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 Py_INCREF(Py_None); resultobj = Py_None;
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxListBox *arg1 = (wxListBox *) 0 ;
5451 int arg2 ;
5452 PyObject * obj0 = 0 ;
5453 PyObject * obj1 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self",(char *) "n", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5460 {
5461 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 {
5465 PyThreadState* __tstate = wxPyBeginAllowThreads();
5466 (arg1)->Deselect(arg2);
5467
5468 wxPyEndAllowThreads(__tstate);
5469 if (PyErr_Occurred()) SWIG_fail;
5470 }
5471 Py_INCREF(Py_None); resultobj = Py_None;
5472 return resultobj;
5473 fail:
5474 return NULL;
5475 }
5476
5477
5478 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5479 PyObject *resultobj;
5480 wxListBox *arg1 = (wxListBox *) 0 ;
5481 int arg2 = (int) -1 ;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 char *kwnames[] = {
5485 (char *) "self",(char *) "itemToLeaveSelected", NULL
5486 };
5487
5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5490 if (obj1) {
5491 {
5492 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5493 if (PyErr_Occurred()) SWIG_fail;
5494 }
5495 }
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 (arg1)->DeselectAll(arg2);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 Py_INCREF(Py_None); resultobj = Py_None;
5504 return resultobj;
5505 fail:
5506 return NULL;
5507 }
5508
5509
5510 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxListBox *arg1 = (wxListBox *) 0 ;
5513 wxString *arg2 = 0 ;
5514 bool arg3 = (bool) True ;
5515 bool result;
5516 bool temp2 = False ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 PyObject * obj2 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "self",(char *) "s",(char *) "select", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5526 {
5527 arg2 = wxString_in_helper(obj1);
5528 if (arg2 == NULL) SWIG_fail;
5529 temp2 = True;
5530 }
5531 if (obj2) {
5532 {
5533 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
5536 }
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5540
5541 wxPyEndAllowThreads(__tstate);
5542 if (PyErr_Occurred()) SWIG_fail;
5543 }
5544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5545 {
5546 if (temp2)
5547 delete arg2;
5548 }
5549 return resultobj;
5550 fail:
5551 {
5552 if (temp2)
5553 delete arg2;
5554 }
5555 return NULL;
5556 }
5557
5558
5559 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5560 PyObject *resultobj;
5561 wxListBox *arg1 = (wxListBox *) 0 ;
5562 PyObject *result;
5563 PyObject * obj0 = 0 ;
5564 char *kwnames[] = {
5565 (char *) "self", NULL
5566 };
5567
5568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 result = (PyObject *)wxListBox_GetSelections(arg1);
5573
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 resultobj = result;
5578 return resultobj;
5579 fail:
5580 return NULL;
5581 }
5582
5583
5584 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj;
5586 wxListBox *arg1 = (wxListBox *) 0 ;
5587 int arg2 ;
5588 PyObject * obj0 = 0 ;
5589 PyObject * obj1 = 0 ;
5590 char *kwnames[] = {
5591 (char *) "self",(char *) "n", NULL
5592 };
5593
5594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5596 {
5597 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 (arg1)->SetFirstItem(arg2);
5603
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 Py_INCREF(Py_None); resultobj = Py_None;
5608 return resultobj;
5609 fail:
5610 return NULL;
5611 }
5612
5613
5614 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj;
5616 wxListBox *arg1 = (wxListBox *) 0 ;
5617 wxString *arg2 = 0 ;
5618 bool temp2 = False ;
5619 PyObject * obj0 = 0 ;
5620 PyObject * obj1 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "self",(char *) "s", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5627 {
5628 arg2 = wxString_in_helper(obj1);
5629 if (arg2 == NULL) SWIG_fail;
5630 temp2 = True;
5631 }
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 (arg1)->SetFirstItem((wxString const &)*arg2);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 Py_INCREF(Py_None); resultobj = Py_None;
5640 {
5641 if (temp2)
5642 delete arg2;
5643 }
5644 return resultobj;
5645 fail:
5646 {
5647 if (temp2)
5648 delete arg2;
5649 }
5650 return NULL;
5651 }
5652
5653
5654 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5655 PyObject *resultobj;
5656 wxListBox *arg1 = (wxListBox *) 0 ;
5657 int arg2 ;
5658 PyObject * obj0 = 0 ;
5659 PyObject * obj1 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "n", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5666 {
5667 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->EnsureVisible(arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 Py_INCREF(Py_None); resultobj = Py_None;
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxListBox *arg1 = (wxListBox *) 0 ;
5687 wxString *arg2 = 0 ;
5688 bool temp2 = False ;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self",(char *) "s", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5697 {
5698 arg2 = wxString_in_helper(obj1);
5699 if (arg2 == NULL) SWIG_fail;
5700 temp2 = True;
5701 }
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5705
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 Py_INCREF(Py_None); resultobj = Py_None;
5710 {
5711 if (temp2)
5712 delete arg2;
5713 }
5714 return resultobj;
5715 fail:
5716 {
5717 if (temp2)
5718 delete arg2;
5719 }
5720 return NULL;
5721 }
5722
5723
5724 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5725 PyObject *resultobj;
5726 wxListBox *arg1 = (wxListBox *) 0 ;
5727 bool result;
5728 PyObject * obj0 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (bool)((wxListBox const *)arg1)->IsSorted();
5738
5739 wxPyEndAllowThreads(__tstate);
5740 if (PyErr_Occurred()) SWIG_fail;
5741 }
5742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5743 return resultobj;
5744 fail:
5745 return NULL;
5746 }
5747
5748
5749 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5750 PyObject *obj;
5751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5752 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5753 Py_INCREF(obj);
5754 return Py_BuildValue((char *)"");
5755 }
5756 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5757 PyObject *resultobj;
5758 wxWindow *arg1 = (wxWindow *) 0 ;
5759 int arg2 ;
5760 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5761 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5762 wxSize const &arg4_defvalue = wxDefaultSize ;
5763 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5764 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5765 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5766 long arg6 = (long) 0 ;
5767 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5768 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5769 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5770 wxString *arg8 = (wxString *) &arg8_defvalue ;
5771 wxCheckListBox *result;
5772 wxPoint temp3 ;
5773 wxSize temp4 ;
5774 bool temp5 = False ;
5775 bool temp8 = False ;
5776 PyObject * obj0 = 0 ;
5777 PyObject * obj1 = 0 ;
5778 PyObject * obj2 = 0 ;
5779 PyObject * obj3 = 0 ;
5780 PyObject * obj4 = 0 ;
5781 PyObject * obj5 = 0 ;
5782 PyObject * obj6 = 0 ;
5783 PyObject * obj7 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5790 {
5791 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 if (obj2) {
5795 {
5796 arg3 = &temp3;
5797 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5798 }
5799 }
5800 if (obj3) {
5801 {
5802 arg4 = &temp4;
5803 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5804 }
5805 }
5806 if (obj4) {
5807 {
5808 if (! PySequence_Check(obj4)) {
5809 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5810 SWIG_fail;
5811 }
5812 arg5 = new wxArrayString;
5813 temp5 = True;
5814 int i, len=PySequence_Length(obj4);
5815 for (i=0; i<len; i++) {
5816 PyObject* item = PySequence_GetItem(obj4, i);
5817 #if wxUSE_UNICODE
5818 PyObject* str = PyObject_Unicode(item);
5819 #else
5820 PyObject* str = PyObject_Str(item);
5821 #endif
5822 arg5->Add(Py2wxString(str));
5823 Py_DECREF(item);
5824 Py_DECREF(str);
5825 }
5826 }
5827 }
5828 if (obj5) {
5829 {
5830 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 }
5834 if (obj6) {
5835 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5836 if (arg7 == NULL) {
5837 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5838 }
5839 }
5840 if (obj7) {
5841 {
5842 arg8 = wxString_in_helper(obj7);
5843 if (arg8 == NULL) SWIG_fail;
5844 temp8 = True;
5845 }
5846 }
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5850
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5855 {
5856 if (temp5) delete arg5;
5857 }
5858 {
5859 if (temp8)
5860 delete arg8;
5861 }
5862 return resultobj;
5863 fail:
5864 {
5865 if (temp5) delete arg5;
5866 }
5867 {
5868 if (temp8)
5869 delete arg8;
5870 }
5871 return NULL;
5872 }
5873
5874
5875 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5876 PyObject *resultobj;
5877 wxCheckListBox *result;
5878 char *kwnames[] = {
5879 NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5883 {
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 result = (wxCheckListBox *)new wxCheckListBox();
5886
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5891 return resultobj;
5892 fail:
5893 return NULL;
5894 }
5895
5896
5897 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5898 PyObject *resultobj;
5899 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5900 wxWindow *arg2 = (wxWindow *) 0 ;
5901 int arg3 ;
5902 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5903 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5904 wxSize const &arg5_defvalue = wxDefaultSize ;
5905 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5906 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5907 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5908 long arg7 = (long) 0 ;
5909 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5910 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5911 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5912 wxString *arg9 = (wxString *) &arg9_defvalue ;
5913 bool result;
5914 wxPoint temp4 ;
5915 wxSize temp5 ;
5916 bool temp6 = False ;
5917 bool temp9 = False ;
5918 PyObject * obj0 = 0 ;
5919 PyObject * obj1 = 0 ;
5920 PyObject * obj2 = 0 ;
5921 PyObject * obj3 = 0 ;
5922 PyObject * obj4 = 0 ;
5923 PyObject * obj5 = 0 ;
5924 PyObject * obj6 = 0 ;
5925 PyObject * obj7 = 0 ;
5926 PyObject * obj8 = 0 ;
5927 char *kwnames[] = {
5928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5929 };
5930
5931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5934 {
5935 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 if (obj3) {
5939 {
5940 arg4 = &temp4;
5941 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5942 }
5943 }
5944 if (obj4) {
5945 {
5946 arg5 = &temp5;
5947 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5948 }
5949 }
5950 if (obj5) {
5951 {
5952 if (! PySequence_Check(obj5)) {
5953 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5954 SWIG_fail;
5955 }
5956 arg6 = new wxArrayString;
5957 temp6 = True;
5958 int i, len=PySequence_Length(obj5);
5959 for (i=0; i<len; i++) {
5960 PyObject* item = PySequence_GetItem(obj5, i);
5961 #if wxUSE_UNICODE
5962 PyObject* str = PyObject_Unicode(item);
5963 #else
5964 PyObject* str = PyObject_Str(item);
5965 #endif
5966 arg6->Add(Py2wxString(str));
5967 Py_DECREF(item);
5968 Py_DECREF(str);
5969 }
5970 }
5971 }
5972 if (obj6) {
5973 {
5974 arg7 = (long) SWIG_PyObj_AsLong(obj6);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 }
5978 if (obj7) {
5979 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5980 if (arg8 == NULL) {
5981 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5982 }
5983 }
5984 if (obj8) {
5985 {
5986 arg9 = wxString_in_helper(obj8);
5987 if (arg9 == NULL) SWIG_fail;
5988 temp9 = True;
5989 }
5990 }
5991 {
5992 PyThreadState* __tstate = wxPyBeginAllowThreads();
5993 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5994
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5999 {
6000 if (temp6) delete arg6;
6001 }
6002 {
6003 if (temp9)
6004 delete arg9;
6005 }
6006 return resultobj;
6007 fail:
6008 {
6009 if (temp6) delete arg6;
6010 }
6011 {
6012 if (temp9)
6013 delete arg9;
6014 }
6015 return NULL;
6016 }
6017
6018
6019 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6020 PyObject *resultobj;
6021 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6022 int arg2 ;
6023 bool result;
6024 PyObject * obj0 = 0 ;
6025 PyObject * obj1 = 0 ;
6026 char *kwnames[] = {
6027 (char *) "self",(char *) "index", NULL
6028 };
6029
6030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6032 {
6033 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 result = (bool)(arg1)->IsChecked(arg2);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6044 return resultobj;
6045 fail:
6046 return NULL;
6047 }
6048
6049
6050 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj;
6052 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6053 int arg2 ;
6054 int arg3 = (int) True ;
6055 PyObject * obj0 = 0 ;
6056 PyObject * obj1 = 0 ;
6057 PyObject * obj2 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self",(char *) "index",(char *) "check", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6064 {
6065 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 if (obj2) {
6069 {
6070 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6071 if (PyErr_Occurred()) SWIG_fail;
6072 }
6073 }
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 (arg1)->Check(arg2,arg3);
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 Py_INCREF(Py_None); resultobj = Py_None;
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj;
6090 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6091 wxPoint *arg2 = 0 ;
6092 int result;
6093 wxPoint temp2 ;
6094 PyObject * obj0 = 0 ;
6095 PyObject * obj1 = 0 ;
6096 char *kwnames[] = {
6097 (char *) "self",(char *) "pt", NULL
6098 };
6099
6100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6102 {
6103 arg2 = &temp2;
6104 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6105 }
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6109
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 resultobj = SWIG_PyObj_FromInt((int)result);
6114 return resultobj;
6115 fail:
6116 return NULL;
6117 }
6118
6119
6120 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6121 PyObject *resultobj;
6122 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6123 int arg2 ;
6124 int arg3 ;
6125 int result;
6126 PyObject * obj0 = 0 ;
6127 PyObject * obj1 = 0 ;
6128 PyObject * obj2 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self",(char *) "x",(char *) "y", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6135 {
6136 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 {
6140 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 resultobj = SWIG_PyObj_FromInt((int)result);
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6158 PyObject *obj;
6159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6160 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6161 Py_INCREF(obj);
6162 return Py_BuildValue((char *)"");
6163 }
6164 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6165 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6166 return 1;
6167 }
6168
6169
6170 static PyObject *_wrap_TextCtrlNameStr_get() {
6171 PyObject *pyobj;
6172
6173 {
6174 #if wxUSE_UNICODE
6175 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6176 #else
6177 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6178 #endif
6179 }
6180 return pyobj;
6181 }
6182
6183
6184 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6185 PyObject *resultobj;
6186 wxTextAttr *result;
6187
6188 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6189 {
6190 PyThreadState* __tstate = wxPyBeginAllowThreads();
6191 result = (wxTextAttr *)new wxTextAttr();
6192
6193 wxPyEndAllowThreads(__tstate);
6194 if (PyErr_Occurred()) SWIG_fail;
6195 }
6196 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6197 return resultobj;
6198 fail:
6199 return NULL;
6200 }
6201
6202
6203 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6204 PyObject *resultobj;
6205 wxColour *arg1 = 0 ;
6206 wxColour const &arg2_defvalue = wxNullColour ;
6207 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6208 wxFont const &arg3_defvalue = wxNullFont ;
6209 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6210 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6211 wxTextAttr *result;
6212 wxColour temp1 ;
6213 wxColour temp2 ;
6214 PyObject * obj0 = 0 ;
6215 PyObject * obj1 = 0 ;
6216 PyObject * obj2 = 0 ;
6217 PyObject * obj3 = 0 ;
6218
6219 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6220 {
6221 arg1 = &temp1;
6222 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6223 }
6224 if (obj1) {
6225 {
6226 arg2 = &temp2;
6227 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6228 }
6229 }
6230 if (obj2) {
6231 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6232 if (arg3 == NULL) {
6233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6234 }
6235 }
6236 if (obj3) {
6237 {
6238 arg4 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj3);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 }
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6257 int argc;
6258 PyObject *argv[5];
6259 int ii;
6260
6261 argc = PyObject_Length(args);
6262 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6263 argv[ii] = PyTuple_GetItem(args,ii);
6264 }
6265 if (argc == 0) {
6266 return _wrap_new_TextAttr__SWIG_0(self,args);
6267 }
6268 if ((argc >= 1) && (argc <= 4)) {
6269 int _v;
6270 {
6271 _v = wxColour_typecheck(argv[0]);
6272 }
6273 if (_v) {
6274 if (argc <= 1) {
6275 return _wrap_new_TextAttr__SWIG_1(self,args);
6276 }
6277 {
6278 _v = wxColour_typecheck(argv[1]);
6279 }
6280 if (_v) {
6281 if (argc <= 2) {
6282 return _wrap_new_TextAttr__SWIG_1(self,args);
6283 }
6284 {
6285 void *ptr;
6286 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6287 _v = 0;
6288 PyErr_Clear();
6289 } else {
6290 _v = 1;
6291 }
6292 }
6293 if (_v) {
6294 if (argc <= 3) {
6295 return _wrap_new_TextAttr__SWIG_1(self,args);
6296 }
6297 {
6298 SWIG_PyObj_AsInt(argv[3]);
6299 if (PyErr_Occurred()) {
6300 _v = 0;
6301 PyErr_Clear();
6302 } else {
6303 _v = 1;
6304 }
6305 }
6306 if (_v) {
6307 return _wrap_new_TextAttr__SWIG_1(self,args);
6308 }
6309 }
6310 }
6311 }
6312 }
6313
6314 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6322 PyObject * obj0 = 0 ;
6323 char *kwnames[] = {
6324 (char *) "self", NULL
6325 };
6326
6327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 delete arg1;
6332
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 Py_INCREF(Py_None); resultobj = Py_None;
6337 return resultobj;
6338 fail:
6339 return NULL;
6340 }
6341
6342
6343 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6344 PyObject *resultobj;
6345 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6346 PyObject * obj0 = 0 ;
6347 char *kwnames[] = {
6348 (char *) "self", NULL
6349 };
6350
6351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 (arg1)->Init();
6356
6357 wxPyEndAllowThreads(__tstate);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 Py_INCREF(Py_None); resultobj = Py_None;
6361 return resultobj;
6362 fail:
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6370 wxColour *arg2 = 0 ;
6371 wxColour temp2 ;
6372 PyObject * obj0 = 0 ;
6373 PyObject * obj1 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self",(char *) "colText", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6380 {
6381 arg2 = &temp2;
6382 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6383 }
6384 {
6385 PyThreadState* __tstate = wxPyBeginAllowThreads();
6386 (arg1)->SetTextColour((wxColour const &)*arg2);
6387
6388 wxPyEndAllowThreads(__tstate);
6389 if (PyErr_Occurred()) SWIG_fail;
6390 }
6391 Py_INCREF(Py_None); resultobj = Py_None;
6392 return resultobj;
6393 fail:
6394 return NULL;
6395 }
6396
6397
6398 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6401 wxColour *arg2 = 0 ;
6402 wxColour temp2 ;
6403 PyObject * obj0 = 0 ;
6404 PyObject * obj1 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self",(char *) "colBack", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6411 {
6412 arg2 = &temp2;
6413 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6414 }
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 Py_INCREF(Py_None); resultobj = Py_None;
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6432 wxFont *arg2 = 0 ;
6433 long arg3 = (long) wxTEXT_ATTR_FONT ;
6434 PyObject * obj0 = 0 ;
6435 PyObject * obj1 = 0 ;
6436 PyObject * obj2 = 0 ;
6437 char *kwnames[] = {
6438 (char *) "self",(char *) "font",(char *) "flags", NULL
6439 };
6440
6441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6444 if (arg2 == NULL) {
6445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6446 }
6447 if (obj2) {
6448 {
6449 arg3 = (long) SWIG_PyObj_AsLong(obj2);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 }
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
6460 Py_INCREF(Py_None); resultobj = Py_None;
6461 return resultobj;
6462 fail:
6463 return NULL;
6464 }
6465
6466
6467 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6468 PyObject *resultobj;
6469 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6470 int arg2 ;
6471 PyObject * obj0 = 0 ;
6472 PyObject * obj1 = 0 ;
6473 char *kwnames[] = {
6474 (char *) "self",(char *) "alignment", NULL
6475 };
6476
6477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6479 {
6480 arg2 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj1);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 {
6484 PyThreadState* __tstate = wxPyBeginAllowThreads();
6485 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6486
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 Py_INCREF(Py_None); resultobj = Py_None;
6491 return resultobj;
6492 fail:
6493 return NULL;
6494 }
6495
6496
6497 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6498 PyObject *resultobj;
6499 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6500 wxArrayInt *arg2 = 0 ;
6501 bool temp2 = False ;
6502 PyObject * obj0 = 0 ;
6503 PyObject * obj1 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "self",(char *) "tabs", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6510 {
6511 if (! PySequence_Check(obj1)) {
6512 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6513 SWIG_fail;
6514 }
6515 arg2 = new wxArrayInt;
6516 temp2 = True;
6517 int i, len=PySequence_Length(obj1);
6518 for (i=0; i<len; i++) {
6519 PyObject* item = PySequence_GetItem(obj1, i);
6520 PyObject* number = PyNumber_Int(item);
6521 arg2->Add(PyInt_AS_LONG(number));
6522 Py_DECREF(item);
6523 Py_DECREF(number);
6524 }
6525 }
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 Py_INCREF(Py_None); resultobj = Py_None;
6534 {
6535 if (temp2) delete arg2;
6536 }
6537 return resultobj;
6538 fail:
6539 {
6540 if (temp2) delete arg2;
6541 }
6542 return NULL;
6543 }
6544
6545
6546 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj;
6548 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6549 int arg2 ;
6550 PyObject * obj0 = 0 ;
6551 PyObject * obj1 = 0 ;
6552 char *kwnames[] = {
6553 (char *) "self",(char *) "indent", NULL
6554 };
6555
6556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6558 {
6559 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 {
6563 PyThreadState* __tstate = wxPyBeginAllowThreads();
6564 (arg1)->SetLeftIndent(arg2);
6565
6566 wxPyEndAllowThreads(__tstate);
6567 if (PyErr_Occurred()) SWIG_fail;
6568 }
6569 Py_INCREF(Py_None); resultobj = Py_None;
6570 return resultobj;
6571 fail:
6572 return NULL;
6573 }
6574
6575
6576 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj;
6578 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6579 int arg2 ;
6580 PyObject * obj0 = 0 ;
6581 PyObject * obj1 = 0 ;
6582 char *kwnames[] = {
6583 (char *) "self",(char *) "indent", NULL
6584 };
6585
6586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6588 {
6589 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 (arg1)->SetRightIndent(arg2);
6595
6596 wxPyEndAllowThreads(__tstate);
6597 if (PyErr_Occurred()) SWIG_fail;
6598 }
6599 Py_INCREF(Py_None); resultobj = Py_None;
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6607 PyObject *resultobj;
6608 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6609 long arg2 ;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6612 char *kwnames[] = {
6613 (char *) "self",(char *) "flags", NULL
6614 };
6615
6616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6618 {
6619 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 (arg1)->SetFlags(arg2);
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 Py_INCREF(Py_None); resultobj = Py_None;
6630 return resultobj;
6631 fail:
6632 return NULL;
6633 }
6634
6635
6636 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6637 PyObject *resultobj;
6638 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6639 bool result;
6640 PyObject * obj0 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6662 PyObject *resultobj;
6663 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6664 bool result;
6665 PyObject * obj0 = 0 ;
6666 char *kwnames[] = {
6667 (char *) "self", NULL
6668 };
6669
6670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6680 return resultobj;
6681 fail:
6682 return NULL;
6683 }
6684
6685
6686 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6687 PyObject *resultobj;
6688 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6689 bool result;
6690 PyObject * obj0 = 0 ;
6691 char *kwnames[] = {
6692 (char *) "self", NULL
6693 };
6694
6695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6714 bool result;
6715 PyObject * obj0 = 0 ;
6716 char *kwnames[] = {
6717 (char *) "self", NULL
6718 };
6719
6720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6725
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6730 return resultobj;
6731 fail:
6732 return NULL;
6733 }
6734
6735
6736 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6737 PyObject *resultobj;
6738 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6739 bool result;
6740 PyObject * obj0 = 0 ;
6741 char *kwnames[] = {
6742 (char *) "self", NULL
6743 };
6744
6745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6755 return resultobj;
6756 fail:
6757 return NULL;
6758 }
6759
6760
6761 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6762 PyObject *resultobj;
6763 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6764 bool result;
6765 PyObject * obj0 = 0 ;
6766 char *kwnames[] = {
6767 (char *) "self", NULL
6768 };
6769
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6775
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6780 return resultobj;
6781 fail:
6782 return NULL;
6783 }
6784
6785
6786 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6787 PyObject *resultobj;
6788 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6789 bool result;
6790 PyObject * obj0 = 0 ;
6791 char *kwnames[] = {
6792 (char *) "self", NULL
6793 };
6794
6795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6805 return resultobj;
6806 fail:
6807 return NULL;
6808 }
6809
6810
6811 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6812 PyObject *resultobj;
6813 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6814 long arg2 ;
6815 bool result;
6816 PyObject * obj0 = 0 ;
6817 PyObject * obj1 = 0 ;
6818 char *kwnames[] = {
6819 (char *) "self",(char *) "flag", NULL
6820 };
6821
6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
6823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6824 {
6825 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6826 if (PyErr_Occurred()) SWIG_fail;
6827 }
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6831
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6836 return resultobj;
6837 fail:
6838 return NULL;
6839 }
6840
6841
6842 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj;
6844 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6845 wxColour *result;
6846 PyObject * obj0 = 0 ;
6847 char *kwnames[] = {
6848 (char *) "self", NULL
6849 };
6850
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 {
6856 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6857 result = (wxColour *) &_result_ref;
6858 }
6859
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6864 return resultobj;
6865 fail:
6866 return NULL;
6867 }
6868
6869
6870 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6871 PyObject *resultobj;
6872 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6873 wxColour *result;
6874 PyObject * obj0 = 0 ;
6875 char *kwnames[] = {
6876 (char *) "self", NULL
6877 };
6878
6879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6881 {
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 {
6884 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6885 result = (wxColour *) &_result_ref;
6886 }
6887
6888 wxPyEndAllowThreads(__tstate);
6889 if (PyErr_Occurred()) SWIG_fail;
6890 }
6891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj;
6900 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6901 wxFont *result;
6902 PyObject * obj0 = 0 ;
6903 char *kwnames[] = {
6904 (char *) "self", NULL
6905 };
6906
6907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 {
6912 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6913 result = (wxFont *) &_result_ref;
6914 }
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6920 return resultobj;
6921 fail:
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6929 int result;
6930 PyObject * obj0 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 resultobj = SWIG_PyObj_FromInt((int)result);
6945 return resultobj;
6946 fail:
6947 return NULL;
6948 }
6949
6950
6951 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6952 PyObject *resultobj;
6953 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6954 wxArrayInt *result;
6955 PyObject * obj0 = 0 ;
6956 char *kwnames[] = {
6957 (char *) "self", NULL
6958 };
6959
6960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 {
6965 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6966 result = (wxArrayInt *) &_result_ref;
6967 }
6968
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 {
6973 resultobj = PyList_New(0);
6974 size_t idx;
6975 for (idx = 0; idx < result->GetCount(); idx += 1) {
6976 PyObject* val = PyInt_FromLong( result->Item(idx) );
6977 PyList_Append(resultobj, val);
6978 Py_DECREF(val);
6979 }
6980 }
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6990 long result;
6991 PyObject * obj0 = 0 ;
6992 char *kwnames[] = {
6993 (char *) "self", NULL
6994 };
6995
6996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = SWIG_PyObj_FromLong((long)result);
7006 return resultobj;
7007 fail:
7008 return NULL;
7009 }
7010
7011
7012 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj;
7014 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7015 long result;
7016 PyObject * obj0 = 0 ;
7017 char *kwnames[] = {
7018 (char *) "self", NULL
7019 };
7020
7021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7026
7027 wxPyEndAllowThreads(__tstate);
7028 if (PyErr_Occurred()) SWIG_fail;
7029 }
7030 resultobj = SWIG_PyObj_FromLong((long)result);
7031 return resultobj;
7032 fail:
7033 return NULL;
7034 }
7035
7036
7037 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7040 long result;
7041 PyObject * obj0 = 0 ;
7042 char *kwnames[] = {
7043 (char *) "self", NULL
7044 };
7045
7046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7051
7052 wxPyEndAllowThreads(__tstate);
7053 if (PyErr_Occurred()) SWIG_fail;
7054 }
7055 resultobj = SWIG_PyObj_FromLong((long)result);
7056 return resultobj;
7057 fail:
7058 return NULL;
7059 }
7060
7061
7062 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj;
7064 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7065 bool result;
7066 PyObject * obj0 = 0 ;
7067 char *kwnames[] = {
7068 (char *) "self", NULL
7069 };
7070
7071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7073 {
7074 PyThreadState* __tstate = wxPyBeginAllowThreads();
7075 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7076
7077 wxPyEndAllowThreads(__tstate);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7081 return resultobj;
7082 fail:
7083 return NULL;
7084 }
7085
7086
7087 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj;
7089 wxTextAttr *arg1 = 0 ;
7090 wxTextAttr *arg2 = 0 ;
7091 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7092 wxTextAttr result;
7093 PyObject * obj0 = 0 ;
7094 PyObject * obj1 = 0 ;
7095 PyObject * obj2 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7102 if (arg1 == NULL) {
7103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7104 }
7105 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7106 if (arg2 == NULL) {
7107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7108 }
7109 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7113
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 {
7118 wxTextAttr * resultptr;
7119 resultptr = new wxTextAttr((wxTextAttr &) result);
7120 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
7121 }
7122 return resultobj;
7123 fail:
7124 return NULL;
7125 }
7126
7127
7128 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7129 PyObject *obj;
7130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7131 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7132 Py_INCREF(obj);
7133 return Py_BuildValue((char *)"");
7134 }
7135 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj;
7137 wxWindow *arg1 = (wxWindow *) 0 ;
7138 int arg2 ;
7139 wxString const &arg3_defvalue = wxPyEmptyString ;
7140 wxString *arg3 = (wxString *) &arg3_defvalue ;
7141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7143 wxSize const &arg5_defvalue = wxDefaultSize ;
7144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7145 long arg6 = (long) 0 ;
7146 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7147 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7148 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7149 wxString *arg8 = (wxString *) &arg8_defvalue ;
7150 wxTextCtrl *result;
7151 bool temp3 = False ;
7152 wxPoint temp4 ;
7153 wxSize temp5 ;
7154 bool temp8 = False ;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 PyObject * obj2 = 0 ;
7158 PyObject * obj3 = 0 ;
7159 PyObject * obj4 = 0 ;
7160 PyObject * obj5 = 0 ;
7161 PyObject * obj6 = 0 ;
7162 PyObject * obj7 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7169 {
7170 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 if (obj2) {
7174 {
7175 arg3 = wxString_in_helper(obj2);
7176 if (arg3 == NULL) SWIG_fail;
7177 temp3 = True;
7178 }
7179 }
7180 if (obj3) {
7181 {
7182 arg4 = &temp4;
7183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7184 }
7185 }
7186 if (obj4) {
7187 {
7188 arg5 = &temp5;
7189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7190 }
7191 }
7192 if (obj5) {
7193 {
7194 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 }
7198 if (obj6) {
7199 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7200 if (arg7 == NULL) {
7201 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7202 }
7203 }
7204 if (obj7) {
7205 {
7206 arg8 = wxString_in_helper(obj7);
7207 if (arg8 == NULL) SWIG_fail;
7208 temp8 = True;
7209 }
7210 }
7211 {
7212 PyThreadState* __tstate = wxPyBeginAllowThreads();
7213 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7214
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 {
7219 resultobj = wxPyMake_wxObject(result);
7220 }
7221 {
7222 if (temp3)
7223 delete arg3;
7224 }
7225 {
7226 if (temp8)
7227 delete arg8;
7228 }
7229 return resultobj;
7230 fail:
7231 {
7232 if (temp3)
7233 delete arg3;
7234 }
7235 {
7236 if (temp8)
7237 delete arg8;
7238 }
7239 return NULL;
7240 }
7241
7242
7243 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7244 PyObject *resultobj;
7245 wxTextCtrl *result;
7246 char *kwnames[] = {
7247 NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7251 {
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 result = (wxTextCtrl *)new wxTextCtrl();
7254
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 {
7259 resultobj = wxPyMake_wxObject(result);
7260 }
7261 return resultobj;
7262 fail:
7263 return NULL;
7264 }
7265
7266
7267 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7270 wxWindow *arg2 = (wxWindow *) 0 ;
7271 int arg3 ;
7272 wxString const &arg4_defvalue = wxPyEmptyString ;
7273 wxString *arg4 = (wxString *) &arg4_defvalue ;
7274 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7275 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7276 wxSize const &arg6_defvalue = wxDefaultSize ;
7277 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7278 long arg7 = (long) 0 ;
7279 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7280 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7281 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7282 wxString *arg9 = (wxString *) &arg9_defvalue ;
7283 bool result;
7284 bool temp4 = False ;
7285 wxPoint temp5 ;
7286 wxSize temp6 ;
7287 bool temp9 = False ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 PyObject * obj3 = 0 ;
7292 PyObject * obj4 = 0 ;
7293 PyObject * obj5 = 0 ;
7294 PyObject * obj6 = 0 ;
7295 PyObject * obj7 = 0 ;
7296 PyObject * obj8 = 0 ;
7297 char *kwnames[] = {
7298 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7299 };
7300
7301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7304 {
7305 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 if (obj3) {
7309 {
7310 arg4 = wxString_in_helper(obj3);
7311 if (arg4 == NULL) SWIG_fail;
7312 temp4 = True;
7313 }
7314 }
7315 if (obj4) {
7316 {
7317 arg5 = &temp5;
7318 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7319 }
7320 }
7321 if (obj5) {
7322 {
7323 arg6 = &temp6;
7324 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7325 }
7326 }
7327 if (obj6) {
7328 {
7329 arg7 = (long) SWIG_PyObj_AsLong(obj6);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 }
7333 if (obj7) {
7334 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7335 if (arg8 == NULL) {
7336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7337 }
7338 }
7339 if (obj8) {
7340 {
7341 arg9 = wxString_in_helper(obj8);
7342 if (arg9 == NULL) SWIG_fail;
7343 temp9 = True;
7344 }
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7354 {
7355 if (temp4)
7356 delete arg4;
7357 }
7358 {
7359 if (temp9)
7360 delete arg9;
7361 }
7362 return resultobj;
7363 fail:
7364 {
7365 if (temp4)
7366 delete arg4;
7367 }
7368 {
7369 if (temp9)
7370 delete arg9;
7371 }
7372 return NULL;
7373 }
7374
7375
7376 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7379 wxString result;
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 result = ((wxTextCtrl const *)arg1)->GetValue();
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 {
7395 #if wxUSE_UNICODE
7396 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7397 #else
7398 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7399 #endif
7400 }
7401 return resultobj;
7402 fail:
7403 return NULL;
7404 }
7405
7406
7407 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7410 wxString *arg2 = 0 ;
7411 bool temp2 = False ;
7412 PyObject * obj0 = 0 ;
7413 PyObject * obj1 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "self",(char *) "value", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7420 {
7421 arg2 = wxString_in_helper(obj1);
7422 if (arg2 == NULL) SWIG_fail;
7423 temp2 = True;
7424 }
7425 {
7426 PyThreadState* __tstate = wxPyBeginAllowThreads();
7427 (arg1)->SetValue((wxString const &)*arg2);
7428
7429 wxPyEndAllowThreads(__tstate);
7430 if (PyErr_Occurred()) SWIG_fail;
7431 }
7432 Py_INCREF(Py_None); resultobj = Py_None;
7433 {
7434 if (temp2)
7435 delete arg2;
7436 }
7437 return resultobj;
7438 fail:
7439 {
7440 if (temp2)
7441 delete arg2;
7442 }
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7450 long arg2 ;
7451 long arg3 ;
7452 wxString result;
7453 PyObject * obj0 = 0 ;
7454 PyObject * obj1 = 0 ;
7455 PyObject * obj2 = 0 ;
7456 char *kwnames[] = {
7457 (char *) "self",(char *) "from",(char *) "to", NULL
7458 };
7459
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7462 {
7463 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 {
7467 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 {
7478 #if wxUSE_UNICODE
7479 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7480 #else
7481 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7482 #endif
7483 }
7484 return resultobj;
7485 fail:
7486 return NULL;
7487 }
7488
7489
7490 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj;
7492 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7493 long arg2 ;
7494 int result;
7495 PyObject * obj0 = 0 ;
7496 PyObject * obj1 = 0 ;
7497 char *kwnames[] = {
7498 (char *) "self",(char *) "lineNo", NULL
7499 };
7500
7501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7503 {
7504 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 resultobj = SWIG_PyObj_FromInt((int)result);
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7524 long arg2 ;
7525 wxString result;
7526 PyObject * obj0 = 0 ;
7527 PyObject * obj1 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self",(char *) "lineNo", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7534 {
7535 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 }
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546 #if wxUSE_UNICODE
7547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7548 #else
7549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7550 #endif
7551 }
7552 return resultobj;
7553 fail:
7554 return NULL;
7555 }
7556
7557
7558 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj;
7560 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7561 int result;
7562 PyObject * obj0 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7569 {
7570 PyThreadState* __tstate = wxPyBeginAllowThreads();
7571 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7572
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 resultobj = SWIG_PyObj_FromInt((int)result);
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj;
7585 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7586 bool result;
7587 PyObject * obj0 = 0 ;
7588 char *kwnames[] = {
7589 (char *) "self", NULL
7590 };
7591
7592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7602 return resultobj;
7603 fail:
7604 return NULL;
7605 }
7606
7607
7608 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7611 bool result;
7612 PyObject * obj0 = 0 ;
7613 char *kwnames[] = {
7614 (char *) "self", NULL
7615 };
7616
7617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7619 {
7620 PyThreadState* __tstate = wxPyBeginAllowThreads();
7621 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7622
7623 wxPyEndAllowThreads(__tstate);
7624 if (PyErr_Occurred()) SWIG_fail;
7625 }
7626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7627 return resultobj;
7628 fail:
7629 return NULL;
7630 }
7631
7632
7633 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7634 PyObject *resultobj;
7635 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7636 bool result;
7637 PyObject * obj0 = 0 ;
7638 char *kwnames[] = {
7639 (char *) "self", NULL
7640 };
7641
7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7644 {
7645 PyThreadState* __tstate = wxPyBeginAllowThreads();
7646 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7647
7648 wxPyEndAllowThreads(__tstate);
7649 if (PyErr_Occurred()) SWIG_fail;
7650 }
7651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7652 return resultobj;
7653 fail:
7654 return NULL;
7655 }
7656
7657
7658 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7659 PyObject *resultobj;
7660 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7661 bool result;
7662 PyObject * obj0 = 0 ;
7663 char *kwnames[] = {
7664 (char *) "self", NULL
7665 };
7666
7667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7669 {
7670 PyThreadState* __tstate = wxPyBeginAllowThreads();
7671 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7672
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7677 return resultobj;
7678 fail:
7679 return NULL;
7680 }
7681
7682
7683 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7684 PyObject *resultobj;
7685 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7686 long *arg2 = (long *) 0 ;
7687 long *arg3 = (long *) 0 ;
7688 long temp2 ;
7689 long temp3 ;
7690 PyObject * obj0 = 0 ;
7691 char *kwnames[] = {
7692 (char *) "self", NULL
7693 };
7694
7695 arg2 = &temp2;
7696 arg3 = &temp3;
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 {
7708 PyObject *o = PyInt_FromLong((long) (*arg2));
7709 resultobj = t_output_helper(resultobj,o);
7710 }
7711 {
7712 PyObject *o = PyInt_FromLong((long) (*arg3));
7713 resultobj = t_output_helper(resultobj,o);
7714 }
7715 return resultobj;
7716 fail:
7717 return NULL;
7718 }
7719
7720
7721 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7722 PyObject *resultobj;
7723 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7724 wxString result;
7725 PyObject * obj0 = 0 ;
7726 char *kwnames[] = {
7727 (char *) "self", NULL
7728 };
7729
7730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7735
7736 wxPyEndAllowThreads(__tstate);
7737 if (PyErr_Occurred()) SWIG_fail;
7738 }
7739 {
7740 #if wxUSE_UNICODE
7741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7742 #else
7743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7744 #endif
7745 }
7746 return resultobj;
7747 fail:
7748 return NULL;
7749 }
7750
7751
7752 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj;
7754 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7755 PyObject * obj0 = 0 ;
7756 char *kwnames[] = {
7757 (char *) "self", NULL
7758 };
7759
7760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7762 {
7763 PyThreadState* __tstate = wxPyBeginAllowThreads();
7764 (arg1)->Clear();
7765
7766 wxPyEndAllowThreads(__tstate);
7767 if (PyErr_Occurred()) SWIG_fail;
7768 }
7769 Py_INCREF(Py_None); resultobj = Py_None;
7770 return resultobj;
7771 fail:
7772 return NULL;
7773 }
7774
7775
7776 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7779 long arg2 ;
7780 long arg3 ;
7781 wxString *arg4 = 0 ;
7782 bool temp4 = False ;
7783 PyObject * obj0 = 0 ;
7784 PyObject * obj1 = 0 ;
7785 PyObject * obj2 = 0 ;
7786 PyObject * obj3 = 0 ;
7787 char *kwnames[] = {
7788 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7789 };
7790
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7793 {
7794 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 {
7798 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 {
7802 arg4 = wxString_in_helper(obj3);
7803 if (arg4 == NULL) SWIG_fail;
7804 temp4 = True;
7805 }
7806 {
7807 PyThreadState* __tstate = wxPyBeginAllowThreads();
7808 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7809
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 Py_INCREF(Py_None); resultobj = Py_None;
7814 {
7815 if (temp4)
7816 delete arg4;
7817 }
7818 return resultobj;
7819 fail:
7820 {
7821 if (temp4)
7822 delete arg4;
7823 }
7824 return NULL;
7825 }
7826
7827
7828 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7829 PyObject *resultobj;
7830 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7831 long arg2 ;
7832 long arg3 ;
7833 PyObject * obj0 = 0 ;
7834 PyObject * obj1 = 0 ;
7835 PyObject * obj2 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self",(char *) "from",(char *) "to", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7842 {
7843 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 {
7847 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 (arg1)->Remove(arg2,arg3);
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 Py_INCREF(Py_None); resultobj = Py_None;
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7867 wxString *arg2 = 0 ;
7868 bool result;
7869 bool temp2 = False ;
7870 PyObject * obj0 = 0 ;
7871 PyObject * obj1 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "file", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 {
7879 arg2 = wxString_in_helper(obj1);
7880 if (arg2 == NULL) SWIG_fail;
7881 temp2 = True;
7882 }
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7891 {
7892 if (temp2)
7893 delete arg2;
7894 }
7895 return resultobj;
7896 fail:
7897 {
7898 if (temp2)
7899 delete arg2;
7900 }
7901 return NULL;
7902 }
7903
7904
7905 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7906 PyObject *resultobj;
7907 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7908 wxString const &arg2_defvalue = wxPyEmptyString ;
7909 wxString *arg2 = (wxString *) &arg2_defvalue ;
7910 bool result;
7911 bool temp2 = False ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "file", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7920 if (obj1) {
7921 {
7922 arg2 = wxString_in_helper(obj1);
7923 if (arg2 == NULL) SWIG_fail;
7924 temp2 = True;
7925 }
7926 }
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7935 {
7936 if (temp2)
7937 delete arg2;
7938 }
7939 return resultobj;
7940 fail:
7941 {
7942 if (temp2)
7943 delete arg2;
7944 }
7945 return NULL;
7946 }
7947
7948
7949 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7952 PyObject * obj0 = 0 ;
7953 char *kwnames[] = {
7954 (char *) "self", NULL
7955 };
7956
7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7959 {
7960 PyThreadState* __tstate = wxPyBeginAllowThreads();
7961 (arg1)->MarkDirty();
7962
7963 wxPyEndAllowThreads(__tstate);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 }
7966 Py_INCREF(Py_None); resultobj = Py_None;
7967 return resultobj;
7968 fail:
7969 return NULL;
7970 }
7971
7972
7973 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7974 PyObject *resultobj;
7975 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7976 PyObject * obj0 = 0 ;
7977 char *kwnames[] = {
7978 (char *) "self", NULL
7979 };
7980
7981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983 {
7984 PyThreadState* __tstate = wxPyBeginAllowThreads();
7985 (arg1)->DiscardEdits();
7986
7987 wxPyEndAllowThreads(__tstate);
7988 if (PyErr_Occurred()) SWIG_fail;
7989 }
7990 Py_INCREF(Py_None); resultobj = Py_None;
7991 return resultobj;
7992 fail:
7993 return NULL;
7994 }
7995
7996
7997 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7998 PyObject *resultobj;
7999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8000 unsigned long arg2 ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char *kwnames[] = {
8004 (char *) "self",(char *) "len", NULL
8005 };
8006
8007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8009 {
8010 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
8015 (arg1)->SetMaxLength(arg2);
8016
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
8020 Py_INCREF(Py_None); resultobj = Py_None;
8021 return resultobj;
8022 fail:
8023 return NULL;
8024 }
8025
8026
8027 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8028 PyObject *resultobj;
8029 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8030 wxString *arg2 = 0 ;
8031 bool temp2 = False ;
8032 PyObject * obj0 = 0 ;
8033 PyObject * obj1 = 0 ;
8034 char *kwnames[] = {
8035 (char *) "self",(char *) "text", NULL
8036 };
8037
8038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8040 {
8041 arg2 = wxString_in_helper(obj1);
8042 if (arg2 == NULL) SWIG_fail;
8043 temp2 = True;
8044 }
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 (arg1)->WriteText((wxString const &)*arg2);
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
8052 Py_INCREF(Py_None); resultobj = Py_None;
8053 {
8054 if (temp2)
8055 delete arg2;
8056 }
8057 return resultobj;
8058 fail:
8059 {
8060 if (temp2)
8061 delete arg2;
8062 }
8063 return NULL;
8064 }
8065
8066
8067 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8068 PyObject *resultobj;
8069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8070 wxString *arg2 = 0 ;
8071 bool temp2 = False ;
8072 PyObject * obj0 = 0 ;
8073 PyObject * obj1 = 0 ;
8074 char *kwnames[] = {
8075 (char *) "self",(char *) "text", NULL
8076 };
8077
8078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8080 {
8081 arg2 = wxString_in_helper(obj1);
8082 if (arg2 == NULL) SWIG_fail;
8083 temp2 = True;
8084 }
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 (arg1)->AppendText((wxString const &)*arg2);
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 Py_INCREF(Py_None); resultobj = Py_None;
8093 {
8094 if (temp2)
8095 delete arg2;
8096 }
8097 return resultobj;
8098 fail:
8099 {
8100 if (temp2)
8101 delete arg2;
8102 }
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8110 wxKeyEvent *arg2 = 0 ;
8111 bool result;
8112 PyObject * obj0 = 0 ;
8113 PyObject * obj1 = 0 ;
8114 char *kwnames[] = {
8115 (char *) "self",(char *) "event", NULL
8116 };
8117
8118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8121 if (arg2 == NULL) {
8122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8123 }
8124 {
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8127
8128 wxPyEndAllowThreads(__tstate);
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
8131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8132 return resultobj;
8133 fail:
8134 return NULL;
8135 }
8136
8137
8138 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8139 PyObject *resultobj;
8140 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8141 long arg2 ;
8142 long arg3 ;
8143 wxTextAttr *arg4 = 0 ;
8144 bool result;
8145 PyObject * obj0 = 0 ;
8146 PyObject * obj1 = 0 ;
8147 PyObject * obj2 = 0 ;
8148 PyObject * obj3 = 0 ;
8149 char *kwnames[] = {
8150 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8151 };
8152
8153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8155 {
8156 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 {
8160 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8164 if (arg4 == NULL) {
8165 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8166 }
8167 {
8168 PyThreadState* __tstate = wxPyBeginAllowThreads();
8169 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8170
8171 wxPyEndAllowThreads(__tstate);
8172 if (PyErr_Occurred()) SWIG_fail;
8173 }
8174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8175 return resultobj;
8176 fail:
8177 return NULL;
8178 }
8179
8180
8181 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8182 PyObject *resultobj;
8183 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8184 long arg2 ;
8185 wxTextAttr *arg3 = 0 ;
8186 bool result;
8187 PyObject * obj0 = 0 ;
8188 PyObject * obj1 = 0 ;
8189 PyObject * obj2 = 0 ;
8190 char *kwnames[] = {
8191 (char *) "self",(char *) "position",(char *) "style", NULL
8192 };
8193
8194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8196 {
8197 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8201 if (arg3 == NULL) {
8202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8203 }
8204 {
8205 PyThreadState* __tstate = wxPyBeginAllowThreads();
8206 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8207
8208 wxPyEndAllowThreads(__tstate);
8209 if (PyErr_Occurred()) SWIG_fail;
8210 }
8211 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8212 return resultobj;
8213 fail:
8214 return NULL;
8215 }
8216
8217
8218 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj;
8220 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8221 wxTextAttr *arg2 = 0 ;
8222 bool result;
8223 PyObject * obj0 = 0 ;
8224 PyObject * obj1 = 0 ;
8225 char *kwnames[] = {
8226 (char *) "self",(char *) "style", NULL
8227 };
8228
8229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8232 if (arg2 == NULL) {
8233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8234 }
8235 {
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) SWIG_fail;
8241 }
8242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8243 return resultobj;
8244 fail:
8245 return NULL;
8246 }
8247
8248
8249 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8250 PyObject *resultobj;
8251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8252 wxTextAttr *result;
8253 PyObject * obj0 = 0 ;
8254 char *kwnames[] = {
8255 (char *) "self", NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 {
8263 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8264 result = (wxTextAttr *) &_result_ref;
8265 }
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
8271 return resultobj;
8272 fail:
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8280 long arg2 ;
8281 long arg3 ;
8282 long result;
8283 PyObject * obj0 = 0 ;
8284 PyObject * obj1 = 0 ;
8285 PyObject * obj2 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self",(char *) "x",(char *) "y", NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8292 {
8293 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 {
8297 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 resultobj = SWIG_PyObj_FromLong((long)result);
8308 return resultobj;
8309 fail:
8310 return NULL;
8311 }
8312
8313
8314 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8315 PyObject *resultobj;
8316 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8317 long arg2 ;
8318 long *arg3 = (long *) 0 ;
8319 long *arg4 = (long *) 0 ;
8320 long temp3 ;
8321 long temp4 ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "self",(char *) "pos", NULL
8326 };
8327
8328 arg3 = &temp3;
8329 arg4 = &temp4;
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8332 {
8333 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 {
8345 PyObject *o = PyInt_FromLong((long) (*arg3));
8346 resultobj = t_output_helper(resultobj,o);
8347 }
8348 {
8349 PyObject *o = PyInt_FromLong((long) (*arg4));
8350 resultobj = t_output_helper(resultobj,o);
8351 }
8352 return resultobj;
8353 fail:
8354 return NULL;
8355 }
8356
8357
8358 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8361 long arg2 ;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 char *kwnames[] = {
8365 (char *) "self",(char *) "pos", NULL
8366 };
8367
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8370 {
8371 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8372 if (PyErr_Occurred()) SWIG_fail;
8373 }
8374 {
8375 PyThreadState* __tstate = wxPyBeginAllowThreads();
8376 (arg1)->ShowPosition(arg2);
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 Py_INCREF(Py_None); resultobj = Py_None;
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8391 wxPoint *arg2 = 0 ;
8392 long *arg3 = (long *) 0 ;
8393 long *arg4 = (long *) 0 ;
8394 int result;
8395 wxPoint temp2 ;
8396 long temp3 ;
8397 long temp4 ;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400 char *kwnames[] = {
8401 (char *) "self",(char *) "pt", NULL
8402 };
8403
8404 arg3 = &temp3;
8405 arg4 = &temp4;
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8408 {
8409 arg2 = &temp2;
8410 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8411 }
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = SWIG_PyObj_FromInt((int)result);
8420 {
8421 PyObject *o = PyInt_FromLong((long) (*arg3));
8422 resultobj = t_output_helper(resultobj,o);
8423 }
8424 {
8425 PyObject *o = PyInt_FromLong((long) (*arg4));
8426 resultobj = t_output_helper(resultobj,o);
8427 }
8428 return resultobj;
8429 fail:
8430 return NULL;
8431 }
8432
8433
8434 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj;
8436 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8437 PyObject * obj0 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "self", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 (arg1)->Copy();
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 Py_INCREF(Py_None); resultobj = Py_None;
8452 return resultobj;
8453 fail:
8454 return NULL;
8455 }
8456
8457
8458 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8461 PyObject * obj0 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "self", NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 (arg1)->Cut();
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 Py_INCREF(Py_None); resultobj = Py_None;
8476 return resultobj;
8477 fail:
8478 return NULL;
8479 }
8480
8481
8482 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8485 PyObject * obj0 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 (arg1)->Paste();
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
8499 Py_INCREF(Py_None); resultobj = Py_None;
8500 return resultobj;
8501 fail:
8502 return NULL;
8503 }
8504
8505
8506 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj;
8508 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8509 bool result;
8510 PyObject * obj0 = 0 ;
8511 char *kwnames[] = {
8512 (char *) "self", NULL
8513 };
8514
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj;
8533 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8534 bool result;
8535 PyObject * obj0 = 0 ;
8536 char *kwnames[] = {
8537 (char *) "self", NULL
8538 };
8539
8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8550 return resultobj;
8551 fail:
8552 return NULL;
8553 }
8554
8555
8556 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj;
8558 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8559 bool result;
8560 PyObject * obj0 = 0 ;
8561 char *kwnames[] = {
8562 (char *) "self", NULL
8563 };
8564
8565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8570
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
8574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8575 return resultobj;
8576 fail:
8577 return NULL;
8578 }
8579
8580
8581 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj;
8583 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8584 PyObject * obj0 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 (arg1)->Undo();
8594
8595 wxPyEndAllowThreads(__tstate);
8596 if (PyErr_Occurred()) SWIG_fail;
8597 }
8598 Py_INCREF(Py_None); resultobj = Py_None;
8599 return resultobj;
8600 fail:
8601 return NULL;
8602 }
8603
8604
8605 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8606 PyObject *resultobj;
8607 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 (arg1)->Redo();
8618
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 Py_INCREF(Py_None); resultobj = Py_None;
8623 return resultobj;
8624 fail:
8625 return NULL;
8626 }
8627
8628
8629 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8630 PyObject *resultobj;
8631 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8632 bool result;
8633 PyObject * obj0 = 0 ;
8634 char *kwnames[] = {
8635 (char *) "self", NULL
8636 };
8637
8638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8640 {
8641 PyThreadState* __tstate = wxPyBeginAllowThreads();
8642 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8643
8644 wxPyEndAllowThreads(__tstate);
8645 if (PyErr_Occurred()) SWIG_fail;
8646 }
8647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8648 return resultobj;
8649 fail:
8650 return NULL;
8651 }
8652
8653
8654 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj;
8656 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8657 bool result;
8658 PyObject * obj0 = 0 ;
8659 char *kwnames[] = {
8660 (char *) "self", NULL
8661 };
8662
8663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8668
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8673 return resultobj;
8674 fail:
8675 return NULL;
8676 }
8677
8678
8679 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8680 PyObject *resultobj;
8681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8682 long arg2 ;
8683 PyObject * obj0 = 0 ;
8684 PyObject * obj1 = 0 ;
8685 char *kwnames[] = {
8686 (char *) "self",(char *) "pos", NULL
8687 };
8688
8689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8691 {
8692 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 (arg1)->SetInsertionPoint(arg2);
8698
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 Py_INCREF(Py_None); resultobj = Py_None;
8703 return resultobj;
8704 fail:
8705 return NULL;
8706 }
8707
8708
8709 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj;
8711 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8712 PyObject * obj0 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "self", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8719 {
8720 PyThreadState* __tstate = wxPyBeginAllowThreads();
8721 (arg1)->SetInsertionPointEnd();
8722
8723 wxPyEndAllowThreads(__tstate);
8724 if (PyErr_Occurred()) SWIG_fail;
8725 }
8726 Py_INCREF(Py_None); resultobj = Py_None;
8727 return resultobj;
8728 fail:
8729 return NULL;
8730 }
8731
8732
8733 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8736 long result;
8737 PyObject * obj0 = 0 ;
8738 char *kwnames[] = {
8739 (char *) "self", NULL
8740 };
8741
8742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8744 {
8745 PyThreadState* __tstate = wxPyBeginAllowThreads();
8746 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8747
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 resultobj = SWIG_PyObj_FromLong((long)result);
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj;
8760 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8761 long result;
8762 PyObject * obj0 = 0 ;
8763 char *kwnames[] = {
8764 (char *) "self", NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8772
8773 wxPyEndAllowThreads(__tstate);
8774 if (PyErr_Occurred()) SWIG_fail;
8775 }
8776 resultobj = SWIG_PyObj_FromLong((long)result);
8777 return resultobj;
8778 fail:
8779 return NULL;
8780 }
8781
8782
8783 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8784 PyObject *resultobj;
8785 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8786 long arg2 ;
8787 long arg3 ;
8788 PyObject * obj0 = 0 ;
8789 PyObject * obj1 = 0 ;
8790 PyObject * obj2 = 0 ;
8791 char *kwnames[] = {
8792 (char *) "self",(char *) "from",(char *) "to", NULL
8793 };
8794
8795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8797 {
8798 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 }
8801 {
8802 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 (arg1)->SetSelection(arg2,arg3);
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 Py_INCREF(Py_None); resultobj = Py_None;
8813 return resultobj;
8814 fail:
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8822 PyObject * obj0 = 0 ;
8823 char *kwnames[] = {
8824 (char *) "self", NULL
8825 };
8826
8827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 (arg1)->SelectAll();
8832
8833 wxPyEndAllowThreads(__tstate);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 }
8836 Py_INCREF(Py_None); resultobj = Py_None;
8837 return resultobj;
8838 fail:
8839 return NULL;
8840 }
8841
8842
8843 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8844 PyObject *resultobj;
8845 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8846 bool arg2 ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj1 = 0 ;
8849 char *kwnames[] = {
8850 (char *) "self",(char *) "editable", NULL
8851 };
8852
8853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8855 {
8856 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 (arg1)->SetEditable(arg2);
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 Py_INCREF(Py_None); resultobj = Py_None;
8867 return resultobj;
8868 fail:
8869 return NULL;
8870 }
8871
8872
8873 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8876 wxString *arg2 = 0 ;
8877 bool temp2 = False ;
8878 PyObject * obj0 = 0 ;
8879 PyObject * obj1 = 0 ;
8880 char *kwnames[] = {
8881 (char *) "self",(char *) "text", NULL
8882 };
8883
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8886 {
8887 arg2 = wxString_in_helper(obj1);
8888 if (arg2 == NULL) SWIG_fail;
8889 temp2 = True;
8890 }
8891 {
8892 PyThreadState* __tstate = wxPyBeginAllowThreads();
8893 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8894
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 Py_INCREF(Py_None); resultobj = Py_None;
8899 {
8900 if (temp2)
8901 delete arg2;
8902 }
8903 return resultobj;
8904 fail:
8905 {
8906 if (temp2)
8907 delete arg2;
8908 }
8909 return NULL;
8910 }
8911
8912
8913 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8914 PyObject *resultobj;
8915 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8916 long arg2 ;
8917 long arg3 ;
8918 wxString result;
8919 PyObject * obj0 = 0 ;
8920 PyObject * obj1 = 0 ;
8921 PyObject * obj2 = 0 ;
8922 char *kwnames[] = {
8923 (char *) "self",(char *) "from",(char *) "to", NULL
8924 };
8925
8926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
8927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8928 {
8929 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 {
8933 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 {
8937 PyThreadState* __tstate = wxPyBeginAllowThreads();
8938 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8939
8940 wxPyEndAllowThreads(__tstate);
8941 if (PyErr_Occurred()) SWIG_fail;
8942 }
8943 {
8944 #if wxUSE_UNICODE
8945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8946 #else
8947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8948 #endif
8949 }
8950 return resultobj;
8951 fail:
8952 return NULL;
8953 }
8954
8955
8956 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8957 PyObject *obj;
8958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8959 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8960 Py_INCREF(obj);
8961 return Py_BuildValue((char *)"");
8962 }
8963 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 int arg1 ;
8966 wxMouseEvent *arg2 = 0 ;
8967 long arg3 ;
8968 long arg4 ;
8969 wxTextUrlEvent *result;
8970 PyObject * obj0 = 0 ;
8971 PyObject * obj1 = 0 ;
8972 PyObject * obj2 = 0 ;
8973 PyObject * obj3 = 0 ;
8974 char *kwnames[] = {
8975 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8976 };
8977
8978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8979 {
8980 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
8983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8984 if (arg2 == NULL) {
8985 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8986 }
8987 {
8988 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8989 if (PyErr_Occurred()) SWIG_fail;
8990 }
8991 {
8992 arg4 = (long) SWIG_PyObj_AsLong(obj3);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
9003 return resultobj;
9004 fail:
9005 return NULL;
9006 }
9007
9008
9009 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9012 wxMouseEvent *result;
9013 PyObject * obj0 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 {
9023 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9024 result = (wxMouseEvent *) &_result_ref;
9025 }
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
9031 return resultobj;
9032 fail:
9033 return NULL;
9034 }
9035
9036
9037 static PyObject *_wrap_TextUrlEvent_GetURLStart(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_GetURLStart",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)->GetURLStart();
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 *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj;
9064 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9065 long result;
9066 PyObject * obj0 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9073 {
9074 PyThreadState* __tstate = wxPyBeginAllowThreads();
9075 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9076
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 resultobj = SWIG_PyObj_FromLong((long)result);
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9088 PyObject *obj;
9089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9090 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9091 Py_INCREF(obj);
9092 return Py_BuildValue((char *)"");
9093 }
9094 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9095 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9096 return 1;
9097 }
9098
9099
9100 static PyObject *_wrap_ScrollBarNameStr_get() {
9101 PyObject *pyobj;
9102
9103 {
9104 #if wxUSE_UNICODE
9105 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9106 #else
9107 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9108 #endif
9109 }
9110 return pyobj;
9111 }
9112
9113
9114 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9115 PyObject *resultobj;
9116 wxWindow *arg1 = (wxWindow *) 0 ;
9117 int arg2 = (int) -1 ;
9118 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9119 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9120 wxSize const &arg4_defvalue = wxDefaultSize ;
9121 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9122 long arg5 = (long) wxSB_HORIZONTAL ;
9123 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9124 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9125 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9126 wxString *arg7 = (wxString *) &arg7_defvalue ;
9127 wxScrollBar *result;
9128 wxPoint temp3 ;
9129 wxSize temp4 ;
9130 bool temp7 = False ;
9131 PyObject * obj0 = 0 ;
9132 PyObject * obj1 = 0 ;
9133 PyObject * obj2 = 0 ;
9134 PyObject * obj3 = 0 ;
9135 PyObject * obj4 = 0 ;
9136 PyObject * obj5 = 0 ;
9137 PyObject * obj6 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9144 if (obj1) {
9145 {
9146 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 }
9150 if (obj2) {
9151 {
9152 arg3 = &temp3;
9153 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9154 }
9155 }
9156 if (obj3) {
9157 {
9158 arg4 = &temp4;
9159 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9160 }
9161 }
9162 if (obj4) {
9163 {
9164 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 }
9168 if (obj5) {
9169 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9170 if (arg6 == NULL) {
9171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9172 }
9173 }
9174 if (obj6) {
9175 {
9176 arg7 = wxString_in_helper(obj6);
9177 if (arg7 == NULL) SWIG_fail;
9178 temp7 = True;
9179 }
9180 }
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9189 {
9190 if (temp7)
9191 delete arg7;
9192 }
9193 return resultobj;
9194 fail:
9195 {
9196 if (temp7)
9197 delete arg7;
9198 }
9199 return NULL;
9200 }
9201
9202
9203 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9204 PyObject *resultobj;
9205 wxScrollBar *result;
9206 char *kwnames[] = {
9207 NULL
9208 };
9209
9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = (wxScrollBar *)new wxScrollBar();
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9219 return resultobj;
9220 fail:
9221 return NULL;
9222 }
9223
9224
9225 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj;
9227 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9228 wxWindow *arg2 = (wxWindow *) 0 ;
9229 int arg3 = (int) -1 ;
9230 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9231 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9232 wxSize const &arg5_defvalue = wxDefaultSize ;
9233 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9234 long arg6 = (long) wxSB_HORIZONTAL ;
9235 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9236 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9237 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9238 wxString *arg8 = (wxString *) &arg8_defvalue ;
9239 bool result;
9240 wxPoint temp4 ;
9241 wxSize temp5 ;
9242 bool temp8 = False ;
9243 PyObject * obj0 = 0 ;
9244 PyObject * obj1 = 0 ;
9245 PyObject * obj2 = 0 ;
9246 PyObject * obj3 = 0 ;
9247 PyObject * obj4 = 0 ;
9248 PyObject * obj5 = 0 ;
9249 PyObject * obj6 = 0 ;
9250 PyObject * obj7 = 0 ;
9251 char *kwnames[] = {
9252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9253 };
9254
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9257 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9258 if (obj2) {
9259 {
9260 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 }
9264 if (obj3) {
9265 {
9266 arg4 = &temp4;
9267 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9268 }
9269 }
9270 if (obj4) {
9271 {
9272 arg5 = &temp5;
9273 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9274 }
9275 }
9276 if (obj5) {
9277 {
9278 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 }
9282 if (obj6) {
9283 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9284 if (arg7 == NULL) {
9285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9286 }
9287 }
9288 if (obj7) {
9289 {
9290 arg8 = wxString_in_helper(obj7);
9291 if (arg8 == NULL) SWIG_fail;
9292 temp8 = True;
9293 }
9294 }
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9303 {
9304 if (temp8)
9305 delete arg8;
9306 }
9307 return resultobj;
9308 fail:
9309 {
9310 if (temp8)
9311 delete arg8;
9312 }
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_ScrollBar_GetThumbPosition(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_GetThumbPosition",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)->GetThumbPosition();
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_GetThumbSize(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_GetThumbSize",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)->GetThumbSize();
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_GetPageSize(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_GetPageSize",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)->GetPageSize();
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_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9395 int result;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",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 = (int)((wxScrollBar const *)arg1)->GetRange();
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 resultobj = SWIG_PyObj_FromInt((int)result);
9411 return resultobj;
9412 fail:
9413 return NULL;
9414 }
9415
9416
9417 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj;
9419 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9420 bool result;
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9436 return resultobj;
9437 fail:
9438 return NULL;
9439 }
9440
9441
9442 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj;
9444 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9445 int arg2 ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self",(char *) "viewStart", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9454 {
9455 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 (arg1)->SetThumbPosition(arg2);
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 Py_INCREF(Py_None); resultobj = Py_None;
9466 return resultobj;
9467 fail:
9468 return NULL;
9469 }
9470
9471
9472 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9475 int arg2 ;
9476 int arg3 ;
9477 int arg4 ;
9478 int arg5 ;
9479 bool arg6 = (bool) True ;
9480 PyObject * obj0 = 0 ;
9481 PyObject * obj1 = 0 ;
9482 PyObject * obj2 = 0 ;
9483 PyObject * obj3 = 0 ;
9484 PyObject * obj4 = 0 ;
9485 PyObject * obj5 = 0 ;
9486 char *kwnames[] = {
9487 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9488 };
9489
9490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9492 {
9493 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
9496 {
9497 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 {
9501 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 {
9505 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 if (obj5) {
9509 {
9510 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 }
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9517
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 Py_INCREF(Py_None); resultobj = Py_None;
9522 return resultobj;
9523 fail:
9524 return NULL;
9525 }
9526
9527
9528 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9529 PyObject *obj;
9530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9531 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9532 Py_INCREF(obj);
9533 return Py_BuildValue((char *)"");
9534 }
9535 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9536 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9537 return 1;
9538 }
9539
9540
9541 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9542 PyObject *pyobj;
9543
9544 {
9545 #if wxUSE_UNICODE
9546 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9547 #else
9548 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9549 #endif
9550 }
9551 return pyobj;
9552 }
9553
9554
9555 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9556 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9557 return 1;
9558 }
9559
9560
9561 static PyObject *_wrap_SpinCtrlNameStr_get() {
9562 PyObject *pyobj;
9563
9564 {
9565 #if wxUSE_UNICODE
9566 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9567 #else
9568 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9569 #endif
9570 }
9571 return pyobj;
9572 }
9573
9574
9575 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj;
9577 wxWindow *arg1 = (wxWindow *) 0 ;
9578 int arg2 = (int) -1 ;
9579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9581 wxSize const &arg4_defvalue = wxDefaultSize ;
9582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9583 long arg5 = (long) wxSP_HORIZONTAL ;
9584 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9585 wxString *arg6 = (wxString *) &arg6_defvalue ;
9586 wxSpinButton *result;
9587 wxPoint temp3 ;
9588 wxSize temp4 ;
9589 bool temp6 = False ;
9590 PyObject * obj0 = 0 ;
9591 PyObject * obj1 = 0 ;
9592 PyObject * obj2 = 0 ;
9593 PyObject * obj3 = 0 ;
9594 PyObject * obj4 = 0 ;
9595 PyObject * obj5 = 0 ;
9596 char *kwnames[] = {
9597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9598 };
9599
9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9602 if (obj1) {
9603 {
9604 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 }
9607 }
9608 if (obj2) {
9609 {
9610 arg3 = &temp3;
9611 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9612 }
9613 }
9614 if (obj3) {
9615 {
9616 arg4 = &temp4;
9617 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9618 }
9619 }
9620 if (obj4) {
9621 {
9622 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9623 if (PyErr_Occurred()) SWIG_fail;
9624 }
9625 }
9626 if (obj5) {
9627 {
9628 arg6 = wxString_in_helper(obj5);
9629 if (arg6 == NULL) SWIG_fail;
9630 temp6 = True;
9631 }
9632 }
9633 {
9634 PyThreadState* __tstate = wxPyBeginAllowThreads();
9635 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9636
9637 wxPyEndAllowThreads(__tstate);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9641 {
9642 if (temp6)
9643 delete arg6;
9644 }
9645 return resultobj;
9646 fail:
9647 {
9648 if (temp6)
9649 delete arg6;
9650 }
9651 return NULL;
9652 }
9653
9654
9655 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj;
9657 wxSpinButton *result;
9658 char *kwnames[] = {
9659 NULL
9660 };
9661
9662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9663 {
9664 PyThreadState* __tstate = wxPyBeginAllowThreads();
9665 result = (wxSpinButton *)new wxSpinButton();
9666
9667 wxPyEndAllowThreads(__tstate);
9668 if (PyErr_Occurred()) SWIG_fail;
9669 }
9670 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9671 return resultobj;
9672 fail:
9673 return NULL;
9674 }
9675
9676
9677 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9678 PyObject *resultobj;
9679 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9680 wxWindow *arg2 = (wxWindow *) 0 ;
9681 int arg3 = (int) -1 ;
9682 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9683 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9684 wxSize const &arg5_defvalue = wxDefaultSize ;
9685 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9686 long arg6 = (long) wxSP_HORIZONTAL ;
9687 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9688 wxString *arg7 = (wxString *) &arg7_defvalue ;
9689 bool result;
9690 wxPoint temp4 ;
9691 wxSize temp5 ;
9692 bool temp7 = False ;
9693 PyObject * obj0 = 0 ;
9694 PyObject * obj1 = 0 ;
9695 PyObject * obj2 = 0 ;
9696 PyObject * obj3 = 0 ;
9697 PyObject * obj4 = 0 ;
9698 PyObject * obj5 = 0 ;
9699 PyObject * obj6 = 0 ;
9700 char *kwnames[] = {
9701 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9702 };
9703
9704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9707 if (obj2) {
9708 {
9709 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 }
9713 if (obj3) {
9714 {
9715 arg4 = &temp4;
9716 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9717 }
9718 }
9719 if (obj4) {
9720 {
9721 arg5 = &temp5;
9722 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9723 }
9724 }
9725 if (obj5) {
9726 {
9727 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9728 if (PyErr_Occurred()) SWIG_fail;
9729 }
9730 }
9731 if (obj6) {
9732 {
9733 arg7 = wxString_in_helper(obj6);
9734 if (arg7 == NULL) SWIG_fail;
9735 temp7 = True;
9736 }
9737 }
9738 {
9739 PyThreadState* __tstate = wxPyBeginAllowThreads();
9740 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9741
9742 wxPyEndAllowThreads(__tstate);
9743 if (PyErr_Occurred()) SWIG_fail;
9744 }
9745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9746 {
9747 if (temp7)
9748 delete arg7;
9749 }
9750 return resultobj;
9751 fail:
9752 {
9753 if (temp7)
9754 delete arg7;
9755 }
9756 return NULL;
9757 }
9758
9759
9760 static PyObject *_wrap_SpinButton_GetValue(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_GetValue",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)->GetValue();
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_GetMin(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_GetMin",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)->GetMin();
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_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj;
9812 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9813 int result;
9814 PyObject * obj0 = 0 ;
9815 char *kwnames[] = {
9816 (char *) "self", NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (int)((wxSpinButton const *)arg1)->GetMax();
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 resultobj = SWIG_PyObj_FromInt((int)result);
9829 return resultobj;
9830 fail:
9831 return NULL;
9832 }
9833
9834
9835 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject *resultobj;
9837 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9838 int arg2 ;
9839 PyObject * obj0 = 0 ;
9840 PyObject * obj1 = 0 ;
9841 char *kwnames[] = {
9842 (char *) "self",(char *) "val", NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9847 {
9848 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9849 if (PyErr_Occurred()) SWIG_fail;
9850 }
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 (arg1)->SetValue(arg2);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 Py_INCREF(Py_None); resultobj = Py_None;
9859 return resultobj;
9860 fail:
9861 return NULL;
9862 }
9863
9864
9865 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj;
9867 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9868 int arg2 ;
9869 PyObject * obj0 = 0 ;
9870 PyObject * obj1 = 0 ;
9871 char *kwnames[] = {
9872 (char *) "self",(char *) "minVal", NULL
9873 };
9874
9875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
9876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9877 {
9878 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 (arg1)->SetMin(arg2);
9884
9885 wxPyEndAllowThreads(__tstate);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 Py_INCREF(Py_None); resultobj = Py_None;
9889 return resultobj;
9890 fail:
9891 return NULL;
9892 }
9893
9894
9895 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj;
9897 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9898 int arg2 ;
9899 PyObject * obj0 = 0 ;
9900 PyObject * obj1 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self",(char *) "maxVal", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
9906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9907 {
9908 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 (arg1)->SetMax(arg2);
9914
9915 wxPyEndAllowThreads(__tstate);
9916 if (PyErr_Occurred()) SWIG_fail;
9917 }
9918 Py_INCREF(Py_None); resultobj = Py_None;
9919 return resultobj;
9920 fail:
9921 return NULL;
9922 }
9923
9924
9925 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9926 PyObject *resultobj;
9927 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9928 int arg2 ;
9929 int arg3 ;
9930 PyObject * obj0 = 0 ;
9931 PyObject * obj1 = 0 ;
9932 PyObject * obj2 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 {
9944 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 (arg1)->SetRange(arg2,arg3);
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 Py_INCREF(Py_None); resultobj = Py_None;
9955 return resultobj;
9956 fail:
9957 return NULL;
9958 }
9959
9960
9961 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9962 PyObject *resultobj;
9963 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9964 bool result;
9965 PyObject * obj0 = 0 ;
9966 char *kwnames[] = {
9967 (char *) "self", NULL
9968 };
9969
9970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9972 {
9973 PyThreadState* __tstate = wxPyBeginAllowThreads();
9974 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9975
9976 wxPyEndAllowThreads(__tstate);
9977 if (PyErr_Occurred()) SWIG_fail;
9978 }
9979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9980 return resultobj;
9981 fail:
9982 return NULL;
9983 }
9984
9985
9986 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9987 PyObject *obj;
9988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9989 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9990 Py_INCREF(obj);
9991 return Py_BuildValue((char *)"");
9992 }
9993 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxWindow *arg1 = (wxWindow *) 0 ;
9996 int arg2 = (int) -1 ;
9997 wxString const &arg3_defvalue = wxPyEmptyString ;
9998 wxString *arg3 = (wxString *) &arg3_defvalue ;
9999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10001 wxSize const &arg5_defvalue = wxDefaultSize ;
10002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10003 long arg6 = (long) wxSP_ARROW_KEYS ;
10004 int arg7 = (int) 0 ;
10005 int arg8 = (int) 100 ;
10006 int arg9 = (int) 0 ;
10007 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10008 wxString *arg10 = (wxString *) &arg10_defvalue ;
10009 wxSpinCtrl *result;
10010 bool temp3 = False ;
10011 wxPoint temp4 ;
10012 wxSize temp5 ;
10013 bool temp10 = False ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 PyObject * obj2 = 0 ;
10017 PyObject * obj3 = 0 ;
10018 PyObject * obj4 = 0 ;
10019 PyObject * obj5 = 0 ;
10020 PyObject * obj6 = 0 ;
10021 PyObject * obj7 = 0 ;
10022 PyObject * obj8 = 0 ;
10023 PyObject * obj9 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10030 if (obj1) {
10031 {
10032 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 }
10036 if (obj2) {
10037 {
10038 arg3 = wxString_in_helper(obj2);
10039 if (arg3 == NULL) SWIG_fail;
10040 temp3 = True;
10041 }
10042 }
10043 if (obj3) {
10044 {
10045 arg4 = &temp4;
10046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10047 }
10048 }
10049 if (obj4) {
10050 {
10051 arg5 = &temp5;
10052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10053 }
10054 }
10055 if (obj5) {
10056 {
10057 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10058 if (PyErr_Occurred()) SWIG_fail;
10059 }
10060 }
10061 if (obj6) {
10062 {
10063 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
10066 }
10067 if (obj7) {
10068 {
10069 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 }
10073 if (obj8) {
10074 {
10075 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 }
10079 if (obj9) {
10080 {
10081 arg10 = wxString_in_helper(obj9);
10082 if (arg10 == NULL) SWIG_fail;
10083 temp10 = True;
10084 }
10085 }
10086 {
10087 PyThreadState* __tstate = wxPyBeginAllowThreads();
10088 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10089
10090 wxPyEndAllowThreads(__tstate);
10091 if (PyErr_Occurred()) SWIG_fail;
10092 }
10093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10094 {
10095 if (temp3)
10096 delete arg3;
10097 }
10098 {
10099 if (temp10)
10100 delete arg10;
10101 }
10102 return resultobj;
10103 fail:
10104 {
10105 if (temp3)
10106 delete arg3;
10107 }
10108 {
10109 if (temp10)
10110 delete arg10;
10111 }
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxSpinCtrl *result;
10119 char *kwnames[] = {
10120 NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (wxSpinCtrl *)new wxSpinCtrl();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10141 wxWindow *arg2 = (wxWindow *) 0 ;
10142 int arg3 = (int) -1 ;
10143 wxString const &arg4_defvalue = wxPyEmptyString ;
10144 wxString *arg4 = (wxString *) &arg4_defvalue ;
10145 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10146 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10147 wxSize const &arg6_defvalue = wxDefaultSize ;
10148 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10149 long arg7 = (long) wxSP_ARROW_KEYS ;
10150 int arg8 = (int) 0 ;
10151 int arg9 = (int) 100 ;
10152 int arg10 = (int) 0 ;
10153 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10154 wxString *arg11 = (wxString *) &arg11_defvalue ;
10155 bool result;
10156 bool temp4 = False ;
10157 wxPoint temp5 ;
10158 wxSize temp6 ;
10159 bool temp11 = False ;
10160 PyObject * obj0 = 0 ;
10161 PyObject * obj1 = 0 ;
10162 PyObject * obj2 = 0 ;
10163 PyObject * obj3 = 0 ;
10164 PyObject * obj4 = 0 ;
10165 PyObject * obj5 = 0 ;
10166 PyObject * obj6 = 0 ;
10167 PyObject * obj7 = 0 ;
10168 PyObject * obj8 = 0 ;
10169 PyObject * obj9 = 0 ;
10170 PyObject * obj10 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10178 if (obj2) {
10179 {
10180 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 }
10184 if (obj3) {
10185 {
10186 arg4 = wxString_in_helper(obj3);
10187 if (arg4 == NULL) SWIG_fail;
10188 temp4 = True;
10189 }
10190 }
10191 if (obj4) {
10192 {
10193 arg5 = &temp5;
10194 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10195 }
10196 }
10197 if (obj5) {
10198 {
10199 arg6 = &temp6;
10200 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10201 }
10202 }
10203 if (obj6) {
10204 {
10205 arg7 = (long) SWIG_PyObj_AsLong(obj6);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 }
10209 if (obj7) {
10210 {
10211 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 }
10215 if (obj8) {
10216 {
10217 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 }
10221 if (obj9) {
10222 {
10223 arg10 = (int) SWIG_PyObj_AsInt(obj9);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 }
10227 if (obj10) {
10228 {
10229 arg11 = wxString_in_helper(obj10);
10230 if (arg11 == NULL) SWIG_fail;
10231 temp11 = True;
10232 }
10233 }
10234 {
10235 PyThreadState* __tstate = wxPyBeginAllowThreads();
10236 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10237
10238 wxPyEndAllowThreads(__tstate);
10239 if (PyErr_Occurred()) SWIG_fail;
10240 }
10241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10242 {
10243 if (temp4)
10244 delete arg4;
10245 }
10246 {
10247 if (temp11)
10248 delete arg11;
10249 }
10250 return resultobj;
10251 fail:
10252 {
10253 if (temp4)
10254 delete arg4;
10255 }
10256 {
10257 if (temp11)
10258 delete arg11;
10259 }
10260 return NULL;
10261 }
10262
10263
10264 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10265 PyObject *resultobj;
10266 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10267 int result;
10268 PyObject * obj0 = 0 ;
10269 char *kwnames[] = {
10270 (char *) "self", NULL
10271 };
10272
10273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10275 {
10276 PyThreadState* __tstate = wxPyBeginAllowThreads();
10277 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10278
10279 wxPyEndAllowThreads(__tstate);
10280 if (PyErr_Occurred()) SWIG_fail;
10281 }
10282 resultobj = SWIG_PyObj_FromInt((int)result);
10283 return resultobj;
10284 fail:
10285 return NULL;
10286 }
10287
10288
10289 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10290 PyObject *resultobj;
10291 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10292 int arg2 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self",(char *) "value", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10301 {
10302 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 (arg1)->SetValue(arg2);
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 Py_INCREF(Py_None); resultobj = Py_None;
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10322 wxString *arg2 = 0 ;
10323 bool temp2 = False ;
10324 PyObject * obj0 = 0 ;
10325 PyObject * obj1 = 0 ;
10326 char *kwnames[] = {
10327 (char *) "self",(char *) "text", NULL
10328 };
10329
10330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10332 {
10333 arg2 = wxString_in_helper(obj1);
10334 if (arg2 == NULL) SWIG_fail;
10335 temp2 = True;
10336 }
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 (arg1)->SetValue((wxString const &)*arg2);
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 Py_INCREF(Py_None); resultobj = Py_None;
10345 {
10346 if (temp2)
10347 delete arg2;
10348 }
10349 return resultobj;
10350 fail:
10351 {
10352 if (temp2)
10353 delete arg2;
10354 }
10355 return NULL;
10356 }
10357
10358
10359 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10360 PyObject *resultobj;
10361 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10362 int arg2 ;
10363 int arg3 ;
10364 PyObject * obj0 = 0 ;
10365 PyObject * obj1 = 0 ;
10366 PyObject * obj2 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10373 {
10374 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 {
10378 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->SetRange(arg2,arg3);
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 Py_INCREF(Py_None); resultobj = Py_None;
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 static PyObject *_wrap_SpinCtrl_GetMin(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_GetMin",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)->GetMin();
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_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10423 int result;
10424 PyObject * obj0 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 resultobj = SWIG_PyObj_FromInt((int)result);
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10448 long arg2 ;
10449 long arg3 ;
10450 PyObject * obj0 = 0 ;
10451 PyObject * obj1 = 0 ;
10452 PyObject * obj2 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self",(char *) "from",(char *) "to", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10459 {
10460 arg2 = (long) SWIG_PyObj_AsLong(obj1);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 {
10464 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10465 if (PyErr_Occurred()) SWIG_fail;
10466 }
10467 {
10468 PyThreadState* __tstate = wxPyBeginAllowThreads();
10469 (arg1)->SetSelection(arg2,arg3);
10470
10471 wxPyEndAllowThreads(__tstate);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 }
10474 Py_INCREF(Py_None); resultobj = Py_None;
10475 return resultobj;
10476 fail:
10477 return NULL;
10478 }
10479
10480
10481 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10482 PyObject *obj;
10483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10484 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10485 Py_INCREF(obj);
10486 return Py_BuildValue((char *)"");
10487 }
10488 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10491 int arg2 = (int) 0 ;
10492 wxSpinEvent *result;
10493 PyObject * obj0 = 0 ;
10494 PyObject * obj1 = 0 ;
10495 char *kwnames[] = {
10496 (char *) "commandType",(char *) "winid", NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10500 if (obj0) {
10501 {
10502 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 }
10506 if (obj1) {
10507 {
10508 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10509 if (PyErr_Occurred()) SWIG_fail;
10510 }
10511 }
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj;
10528 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10529 int result;
10530 PyObject * obj0 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "self", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 resultobj = SWIG_PyObj_FromInt((int)result);
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj;
10553 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10554 int arg2 ;
10555 PyObject * obj0 = 0 ;
10556 PyObject * obj1 = 0 ;
10557 char *kwnames[] = {
10558 (char *) "self",(char *) "pos", NULL
10559 };
10560
10561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10563 {
10564 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 (arg1)->SetPosition(arg2);
10570
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 Py_INCREF(Py_None); resultobj = Py_None;
10575 return resultobj;
10576 fail:
10577 return NULL;
10578 }
10579
10580
10581 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10582 PyObject *obj;
10583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10584 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10585 Py_INCREF(obj);
10586 return Py_BuildValue((char *)"");
10587 }
10588 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10589 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10590 return 1;
10591 }
10592
10593
10594 static PyObject *_wrap_RadioBoxNameStr_get() {
10595 PyObject *pyobj;
10596
10597 {
10598 #if wxUSE_UNICODE
10599 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10600 #else
10601 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10602 #endif
10603 }
10604 return pyobj;
10605 }
10606
10607
10608 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10609 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10610 return 1;
10611 }
10612
10613
10614 static PyObject *_wrap_RadioButtonNameStr_get() {
10615 PyObject *pyobj;
10616
10617 {
10618 #if wxUSE_UNICODE
10619 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10620 #else
10621 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10622 #endif
10623 }
10624 return pyobj;
10625 }
10626
10627
10628 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10629 PyObject *resultobj;
10630 wxWindow *arg1 = (wxWindow *) 0 ;
10631 int arg2 ;
10632 wxString *arg3 = 0 ;
10633 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10634 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10635 wxSize const &arg5_defvalue = wxDefaultSize ;
10636 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10637 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10638 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10639 int arg7 = (int) 0 ;
10640 long arg8 = (long) wxRA_HORIZONTAL ;
10641 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10642 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10643 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10644 wxString *arg10 = (wxString *) &arg10_defvalue ;
10645 wxRadioBox *result;
10646 bool temp3 = False ;
10647 wxPoint temp4 ;
10648 wxSize temp5 ;
10649 bool temp6 = False ;
10650 bool temp10 = False ;
10651 PyObject * obj0 = 0 ;
10652 PyObject * obj1 = 0 ;
10653 PyObject * obj2 = 0 ;
10654 PyObject * obj3 = 0 ;
10655 PyObject * obj4 = 0 ;
10656 PyObject * obj5 = 0 ;
10657 PyObject * obj6 = 0 ;
10658 PyObject * obj7 = 0 ;
10659 PyObject * obj8 = 0 ;
10660 PyObject * obj9 = 0 ;
10661 char *kwnames[] = {
10662 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10663 };
10664
10665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10667 {
10668 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 {
10672 arg3 = wxString_in_helper(obj2);
10673 if (arg3 == NULL) SWIG_fail;
10674 temp3 = True;
10675 }
10676 if (obj3) {
10677 {
10678 arg4 = &temp4;
10679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10680 }
10681 }
10682 if (obj4) {
10683 {
10684 arg5 = &temp5;
10685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10686 }
10687 }
10688 if (obj5) {
10689 {
10690 if (! PySequence_Check(obj5)) {
10691 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10692 SWIG_fail;
10693 }
10694 arg6 = new wxArrayString;
10695 temp6 = True;
10696 int i, len=PySequence_Length(obj5);
10697 for (i=0; i<len; i++) {
10698 PyObject* item = PySequence_GetItem(obj5, i);
10699 #if wxUSE_UNICODE
10700 PyObject* str = PyObject_Unicode(item);
10701 #else
10702 PyObject* str = PyObject_Str(item);
10703 #endif
10704 arg6->Add(Py2wxString(str));
10705 Py_DECREF(item);
10706 Py_DECREF(str);
10707 }
10708 }
10709 }
10710 if (obj6) {
10711 {
10712 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 }
10716 if (obj7) {
10717 {
10718 arg8 = (long) SWIG_PyObj_AsLong(obj7);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 }
10722 if (obj8) {
10723 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10724 if (arg9 == NULL) {
10725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10726 }
10727 }
10728 if (obj9) {
10729 {
10730 arg10 = wxString_in_helper(obj9);
10731 if (arg10 == NULL) SWIG_fail;
10732 temp10 = True;
10733 }
10734 }
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10743 {
10744 if (temp3)
10745 delete arg3;
10746 }
10747 {
10748 if (temp6) delete arg6;
10749 }
10750 {
10751 if (temp10)
10752 delete arg10;
10753 }
10754 return resultobj;
10755 fail:
10756 {
10757 if (temp3)
10758 delete arg3;
10759 }
10760 {
10761 if (temp6) delete arg6;
10762 }
10763 {
10764 if (temp10)
10765 delete arg10;
10766 }
10767 return NULL;
10768 }
10769
10770
10771 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj;
10773 wxRadioBox *result;
10774 char *kwnames[] = {
10775 NULL
10776 };
10777
10778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = (wxRadioBox *)new wxRadioBox();
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10787 return resultobj;
10788 fail:
10789 return NULL;
10790 }
10791
10792
10793 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10794 PyObject *resultobj;
10795 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10796 wxWindow *arg2 = (wxWindow *) 0 ;
10797 int arg3 ;
10798 wxString *arg4 = 0 ;
10799 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10800 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10801 wxSize const &arg6_defvalue = wxDefaultSize ;
10802 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10803 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
10804 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
10805 int arg8 = (int) 0 ;
10806 long arg9 = (long) wxRA_HORIZONTAL ;
10807 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10808 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10809 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
10810 wxString *arg11 = (wxString *) &arg11_defvalue ;
10811 bool result;
10812 bool temp4 = False ;
10813 wxPoint temp5 ;
10814 wxSize temp6 ;
10815 bool temp7 = False ;
10816 bool temp11 = False ;
10817 PyObject * obj0 = 0 ;
10818 PyObject * obj1 = 0 ;
10819 PyObject * obj2 = 0 ;
10820 PyObject * obj3 = 0 ;
10821 PyObject * obj4 = 0 ;
10822 PyObject * obj5 = 0 ;
10823 PyObject * obj6 = 0 ;
10824 PyObject * obj7 = 0 ;
10825 PyObject * obj8 = 0 ;
10826 PyObject * obj9 = 0 ;
10827 PyObject * obj10 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10830 };
10831
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10835 {
10836 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 {
10840 arg4 = wxString_in_helper(obj3);
10841 if (arg4 == NULL) SWIG_fail;
10842 temp4 = True;
10843 }
10844 if (obj4) {
10845 {
10846 arg5 = &temp5;
10847 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10848 }
10849 }
10850 if (obj5) {
10851 {
10852 arg6 = &temp6;
10853 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10854 }
10855 }
10856 if (obj6) {
10857 {
10858 if (! PySequence_Check(obj6)) {
10859 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10860 SWIG_fail;
10861 }
10862 arg7 = new wxArrayString;
10863 temp7 = True;
10864 int i, len=PySequence_Length(obj6);
10865 for (i=0; i<len; i++) {
10866 PyObject* item = PySequence_GetItem(obj6, i);
10867 #if wxUSE_UNICODE
10868 PyObject* str = PyObject_Unicode(item);
10869 #else
10870 PyObject* str = PyObject_Str(item);
10871 #endif
10872 arg7->Add(Py2wxString(str));
10873 Py_DECREF(item);
10874 Py_DECREF(str);
10875 }
10876 }
10877 }
10878 if (obj7) {
10879 {
10880 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 }
10884 if (obj8) {
10885 {
10886 arg9 = (long) SWIG_PyObj_AsLong(obj8);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 }
10890 if (obj9) {
10891 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10892 if (arg10 == NULL) {
10893 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10894 }
10895 }
10896 if (obj10) {
10897 {
10898 arg11 = wxString_in_helper(obj10);
10899 if (arg11 == NULL) SWIG_fail;
10900 temp11 = True;
10901 }
10902 }
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10911 {
10912 if (temp4)
10913 delete arg4;
10914 }
10915 {
10916 if (temp7) delete arg7;
10917 }
10918 {
10919 if (temp11)
10920 delete arg11;
10921 }
10922 return resultobj;
10923 fail:
10924 {
10925 if (temp4)
10926 delete arg4;
10927 }
10928 {
10929 if (temp7) delete arg7;
10930 }
10931 {
10932 if (temp11)
10933 delete arg11;
10934 }
10935 return NULL;
10936 }
10937
10938
10939 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10942 int arg2 ;
10943 PyObject * obj0 = 0 ;
10944 PyObject * obj1 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self",(char *) "n", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10951 {
10952 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 (arg1)->SetSelection(arg2);
10958
10959 wxPyEndAllowThreads(__tstate);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 }
10962 Py_INCREF(Py_None); resultobj = Py_None;
10963 return resultobj;
10964 fail:
10965 return NULL;
10966 }
10967
10968
10969 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10970 PyObject *resultobj;
10971 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10972 int result;
10973 PyObject * obj0 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self", NULL
10976 };
10977
10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
10979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10980 {
10981 PyThreadState* __tstate = wxPyBeginAllowThreads();
10982 result = (int)((wxRadioBox const *)arg1)->GetSelection();
10983
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 resultobj = SWIG_PyObj_FromInt((int)result);
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10997 wxString result;
10998 PyObject * obj0 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "self", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11008
11009 wxPyEndAllowThreads(__tstate);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 {
11013 #if wxUSE_UNICODE
11014 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11015 #else
11016 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11017 #endif
11018 }
11019 return resultobj;
11020 fail:
11021 return NULL;
11022 }
11023
11024
11025 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11028 wxString *arg2 = 0 ;
11029 bool result;
11030 bool temp2 = False ;
11031 PyObject * obj0 = 0 ;
11032 PyObject * obj1 = 0 ;
11033 char *kwnames[] = {
11034 (char *) "self",(char *) "s", NULL
11035 };
11036
11037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11039 {
11040 arg2 = wxString_in_helper(obj1);
11041 if (arg2 == NULL) SWIG_fail;
11042 temp2 = True;
11043 }
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11052 {
11053 if (temp2)
11054 delete arg2;
11055 }
11056 return resultobj;
11057 fail:
11058 {
11059 if (temp2)
11060 delete arg2;
11061 }
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11069 int result;
11070 PyObject * obj0 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 result = (int)((wxRadioBox const *)arg1)->GetCount();
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 resultobj = SWIG_PyObj_FromInt((int)result);
11085 return resultobj;
11086 fail:
11087 return NULL;
11088 }
11089
11090
11091 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11092 PyObject *resultobj;
11093 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11094 wxString *arg2 = 0 ;
11095 int result;
11096 bool temp2 = False ;
11097 PyObject * obj0 = 0 ;
11098 PyObject * obj1 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self",(char *) "s", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 arg2 = wxString_in_helper(obj1);
11107 if (arg2 == NULL) SWIG_fail;
11108 temp2 = True;
11109 }
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 resultobj = SWIG_PyObj_FromInt((int)result);
11118 {
11119 if (temp2)
11120 delete arg2;
11121 }
11122 return resultobj;
11123 fail:
11124 {
11125 if (temp2)
11126 delete arg2;
11127 }
11128 return NULL;
11129 }
11130
11131
11132 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11133 PyObject *resultobj;
11134 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11135 int arg2 ;
11136 wxString result;
11137 PyObject * obj0 = 0 ;
11138 PyObject * obj1 = 0 ;
11139 char *kwnames[] = {
11140 (char *) "self",(char *) "n", NULL
11141 };
11142
11143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11145 {
11146 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11152
11153 wxPyEndAllowThreads(__tstate);
11154 if (PyErr_Occurred()) SWIG_fail;
11155 }
11156 {
11157 #if wxUSE_UNICODE
11158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11159 #else
11160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11161 #endif
11162 }
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11172 int arg2 ;
11173 wxString *arg3 = 0 ;
11174 bool temp3 = False ;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177 PyObject * obj2 = 0 ;
11178 char *kwnames[] = {
11179 (char *) "self",(char *) "n",(char *) "label", NULL
11180 };
11181
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11184 {
11185 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 {
11189 arg3 = wxString_in_helper(obj2);
11190 if (arg3 == NULL) SWIG_fail;
11191 temp3 = True;
11192 }
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
11195 (arg1)->SetString(arg2,(wxString const &)*arg3);
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 Py_INCREF(Py_None); resultobj = Py_None;
11201 {
11202 if (temp3)
11203 delete arg3;
11204 }
11205 return resultobj;
11206 fail:
11207 {
11208 if (temp3)
11209 delete arg3;
11210 }
11211 return NULL;
11212 }
11213
11214
11215 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11216 PyObject *resultobj;
11217 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11218 int arg2 ;
11219 bool arg3 = (bool) True ;
11220 PyObject * obj0 = 0 ;
11221 PyObject * obj1 = 0 ;
11222 PyObject * obj2 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self",(char *) "n",(char *) "enable", NULL
11225 };
11226
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11229 {
11230 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 if (obj2) {
11234 {
11235 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 }
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 (arg1)->Enable(arg2,arg3);
11242
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 Py_INCREF(Py_None); resultobj = Py_None;
11247 return resultobj;
11248 fail:
11249 return NULL;
11250 }
11251
11252
11253 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11254 PyObject *resultobj;
11255 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11256 int arg2 ;
11257 bool arg3 = (bool) True ;
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 PyObject * obj2 = 0 ;
11261 char *kwnames[] = {
11262 (char *) "self",(char *) "n",(char *) "show", NULL
11263 };
11264
11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11267 {
11268 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 if (obj2) {
11272 {
11273 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 }
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 (arg1)->Show(arg2,arg3);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 Py_INCREF(Py_None); resultobj = Py_None;
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj;
11293 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11294 int result;
11295 PyObject * obj0 = 0 ;
11296 char *kwnames[] = {
11297 (char *) "self", NULL
11298 };
11299
11300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 resultobj = SWIG_PyObj_FromInt((int)result);
11310 return resultobj;
11311 fail:
11312 return NULL;
11313 }
11314
11315
11316 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11317 PyObject *resultobj;
11318 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11319 int result;
11320 PyObject * obj0 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "self", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11327 {
11328 PyThreadState* __tstate = wxPyBeginAllowThreads();
11329 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11330
11331 wxPyEndAllowThreads(__tstate);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 }
11334 resultobj = SWIG_PyObj_FromInt((int)result);
11335 return resultobj;
11336 fail:
11337 return NULL;
11338 }
11339
11340
11341 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11342 PyObject *resultobj;
11343 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11344 int arg2 ;
11345 int arg3 ;
11346 long arg4 ;
11347 int result;
11348 PyObject * obj0 = 0 ;
11349 PyObject * obj1 = 0 ;
11350 PyObject * obj2 = 0 ;
11351 PyObject * obj3 = 0 ;
11352 char *kwnames[] = {
11353 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11354 };
11355
11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11358 {
11359 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11360 if (PyErr_Occurred()) SWIG_fail;
11361 }
11362 {
11363 arg3 = (wxDirection) SWIG_PyObj_AsInt(obj2);
11364 if (PyErr_Occurred()) SWIG_fail;
11365 }
11366 {
11367 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11373
11374 wxPyEndAllowThreads(__tstate);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 resultobj = SWIG_PyObj_FromInt((int)result);
11378 return resultobj;
11379 fail:
11380 return NULL;
11381 }
11382
11383
11384 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11385 PyObject *obj;
11386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11387 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11388 Py_INCREF(obj);
11389 return Py_BuildValue((char *)"");
11390 }
11391 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj;
11393 wxWindow *arg1 = (wxWindow *) 0 ;
11394 int arg2 ;
11395 wxString *arg3 = 0 ;
11396 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11397 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11398 wxSize const &arg5_defvalue = wxDefaultSize ;
11399 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11400 long arg6 = (long) 0 ;
11401 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11402 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11403 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11404 wxString *arg8 = (wxString *) &arg8_defvalue ;
11405 wxRadioButton *result;
11406 bool temp3 = False ;
11407 wxPoint temp4 ;
11408 wxSize temp5 ;
11409 bool temp8 = False ;
11410 PyObject * obj0 = 0 ;
11411 PyObject * obj1 = 0 ;
11412 PyObject * obj2 = 0 ;
11413 PyObject * obj3 = 0 ;
11414 PyObject * obj4 = 0 ;
11415 PyObject * obj5 = 0 ;
11416 PyObject * obj6 = 0 ;
11417 PyObject * obj7 = 0 ;
11418 char *kwnames[] = {
11419 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11424 {
11425 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
11428 {
11429 arg3 = wxString_in_helper(obj2);
11430 if (arg3 == NULL) SWIG_fail;
11431 temp3 = True;
11432 }
11433 if (obj3) {
11434 {
11435 arg4 = &temp4;
11436 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11437 }
11438 }
11439 if (obj4) {
11440 {
11441 arg5 = &temp5;
11442 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11443 }
11444 }
11445 if (obj5) {
11446 {
11447 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 }
11451 if (obj6) {
11452 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11453 if (arg7 == NULL) {
11454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11455 }
11456 }
11457 if (obj7) {
11458 {
11459 arg8 = wxString_in_helper(obj7);
11460 if (arg8 == NULL) SWIG_fail;
11461 temp8 = True;
11462 }
11463 }
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11472 {
11473 if (temp3)
11474 delete arg3;
11475 }
11476 {
11477 if (temp8)
11478 delete arg8;
11479 }
11480 return resultobj;
11481 fail:
11482 {
11483 if (temp3)
11484 delete arg3;
11485 }
11486 {
11487 if (temp8)
11488 delete arg8;
11489 }
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxRadioButton *result;
11497 char *kwnames[] = {
11498 NULL
11499 };
11500
11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 result = (wxRadioButton *)new wxRadioButton();
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11519 wxWindow *arg2 = (wxWindow *) 0 ;
11520 int arg3 ;
11521 wxString *arg4 = 0 ;
11522 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11523 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11524 wxSize const &arg6_defvalue = wxDefaultSize ;
11525 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11526 long arg7 = (long) 0 ;
11527 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11528 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11529 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11530 wxString *arg9 = (wxString *) &arg9_defvalue ;
11531 bool result;
11532 bool temp4 = False ;
11533 wxPoint temp5 ;
11534 wxSize temp6 ;
11535 bool temp9 = False ;
11536 PyObject * obj0 = 0 ;
11537 PyObject * obj1 = 0 ;
11538 PyObject * obj2 = 0 ;
11539 PyObject * obj3 = 0 ;
11540 PyObject * obj4 = 0 ;
11541 PyObject * obj5 = 0 ;
11542 PyObject * obj6 = 0 ;
11543 PyObject * obj7 = 0 ;
11544 PyObject * obj8 = 0 ;
11545 char *kwnames[] = {
11546 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11547 };
11548
11549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11552 {
11553 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 {
11557 arg4 = wxString_in_helper(obj3);
11558 if (arg4 == NULL) SWIG_fail;
11559 temp4 = True;
11560 }
11561 if (obj4) {
11562 {
11563 arg5 = &temp5;
11564 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11565 }
11566 }
11567 if (obj5) {
11568 {
11569 arg6 = &temp6;
11570 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11571 }
11572 }
11573 if (obj6) {
11574 {
11575 arg7 = (long) SWIG_PyObj_AsLong(obj6);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 }
11579 if (obj7) {
11580 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11581 if (arg8 == NULL) {
11582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11583 }
11584 }
11585 if (obj8) {
11586 {
11587 arg9 = wxString_in_helper(obj8);
11588 if (arg9 == NULL) SWIG_fail;
11589 temp9 = True;
11590 }
11591 }
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11600 {
11601 if (temp4)
11602 delete arg4;
11603 }
11604 {
11605 if (temp9)
11606 delete arg9;
11607 }
11608 return resultobj;
11609 fail:
11610 {
11611 if (temp4)
11612 delete arg4;
11613 }
11614 {
11615 if (temp9)
11616 delete arg9;
11617 }
11618 return NULL;
11619 }
11620
11621
11622 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj;
11624 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11625 bool result;
11626 PyObject * obj0 = 0 ;
11627 char *kwnames[] = {
11628 (char *) "self", NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11633 {
11634 PyThreadState* __tstate = wxPyBeginAllowThreads();
11635 result = (bool)(arg1)->GetValue();
11636
11637 wxPyEndAllowThreads(__tstate);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 }
11640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11641 return resultobj;
11642 fail:
11643 return NULL;
11644 }
11645
11646
11647 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11648 PyObject *resultobj;
11649 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11650 bool arg2 ;
11651 PyObject * obj0 = 0 ;
11652 PyObject * obj1 = 0 ;
11653 char *kwnames[] = {
11654 (char *) "self",(char *) "value", NULL
11655 };
11656
11657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11659 {
11660 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 (arg1)->SetValue(arg2);
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 Py_INCREF(Py_None); resultobj = Py_None;
11671 return resultobj;
11672 fail:
11673 return NULL;
11674 }
11675
11676
11677 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11678 PyObject *obj;
11679 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11680 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11681 Py_INCREF(obj);
11682 return Py_BuildValue((char *)"");
11683 }
11684 static int _wrap_SliderNameStr_set(PyObject *) {
11685 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11686 return 1;
11687 }
11688
11689
11690 static PyObject *_wrap_SliderNameStr_get() {
11691 PyObject *pyobj;
11692
11693 {
11694 #if wxUSE_UNICODE
11695 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11696 #else
11697 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11698 #endif
11699 }
11700 return pyobj;
11701 }
11702
11703
11704 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject *resultobj;
11706 wxWindow *arg1 = (wxWindow *) 0 ;
11707 int arg2 ;
11708 int arg3 ;
11709 int arg4 ;
11710 int arg5 ;
11711 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11712 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11713 wxSize const &arg7_defvalue = wxDefaultSize ;
11714 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11715 long arg8 = (long) wxSL_HORIZONTAL ;
11716 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11717 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11718 wxString const &arg10_defvalue = wxPySliderNameStr ;
11719 wxString *arg10 = (wxString *) &arg10_defvalue ;
11720 wxSlider *result;
11721 wxPoint temp6 ;
11722 wxSize temp7 ;
11723 bool temp10 = False ;
11724 PyObject * obj0 = 0 ;
11725 PyObject * obj1 = 0 ;
11726 PyObject * obj2 = 0 ;
11727 PyObject * obj3 = 0 ;
11728 PyObject * obj4 = 0 ;
11729 PyObject * obj5 = 0 ;
11730 PyObject * obj6 = 0 ;
11731 PyObject * obj7 = 0 ;
11732 PyObject * obj8 = 0 ;
11733 PyObject * obj9 = 0 ;
11734 char *kwnames[] = {
11735 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11736 };
11737
11738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11740 {
11741 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 {
11745 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 {
11749 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
11752 {
11753 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 if (obj5) {
11757 {
11758 arg6 = &temp6;
11759 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11760 }
11761 }
11762 if (obj6) {
11763 {
11764 arg7 = &temp7;
11765 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11766 }
11767 }
11768 if (obj7) {
11769 {
11770 arg8 = (long) SWIG_PyObj_AsLong(obj7);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 }
11774 if (obj8) {
11775 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11776 if (arg9 == NULL) {
11777 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11778 }
11779 }
11780 if (obj9) {
11781 {
11782 arg10 = wxString_in_helper(obj9);
11783 if (arg10 == NULL) SWIG_fail;
11784 temp10 = True;
11785 }
11786 }
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11795 {
11796 if (temp10)
11797 delete arg10;
11798 }
11799 return resultobj;
11800 fail:
11801 {
11802 if (temp10)
11803 delete arg10;
11804 }
11805 return NULL;
11806 }
11807
11808
11809 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11810 PyObject *resultobj;
11811 wxSlider *result;
11812 char *kwnames[] = {
11813 NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 result = (wxSlider *)new wxSlider();
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11825 return resultobj;
11826 fail:
11827 return NULL;
11828 }
11829
11830
11831 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11832 PyObject *resultobj;
11833 wxSlider *arg1 = (wxSlider *) 0 ;
11834 wxWindow *arg2 = (wxWindow *) 0 ;
11835 int arg3 ;
11836 int arg4 ;
11837 int arg5 ;
11838 int arg6 ;
11839 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11840 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11841 wxSize const &arg8_defvalue = wxDefaultSize ;
11842 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
11843 long arg9 = (long) wxSL_HORIZONTAL ;
11844 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11845 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11846 wxString const &arg11_defvalue = wxPySliderNameStr ;
11847 wxString *arg11 = (wxString *) &arg11_defvalue ;
11848 bool result;
11849 wxPoint temp7 ;
11850 wxSize temp8 ;
11851 bool temp11 = False ;
11852 PyObject * obj0 = 0 ;
11853 PyObject * obj1 = 0 ;
11854 PyObject * obj2 = 0 ;
11855 PyObject * obj3 = 0 ;
11856 PyObject * obj4 = 0 ;
11857 PyObject * obj5 = 0 ;
11858 PyObject * obj6 = 0 ;
11859 PyObject * obj7 = 0 ;
11860 PyObject * obj8 = 0 ;
11861 PyObject * obj9 = 0 ;
11862 PyObject * obj10 = 0 ;
11863 char *kwnames[] = {
11864 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11865 };
11866
11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11870 {
11871 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
11874 {
11875 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 {
11879 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 {
11883 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 if (obj6) {
11887 {
11888 arg7 = &temp7;
11889 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11890 }
11891 }
11892 if (obj7) {
11893 {
11894 arg8 = &temp8;
11895 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
11896 }
11897 }
11898 if (obj8) {
11899 {
11900 arg9 = (long) SWIG_PyObj_AsLong(obj8);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 }
11904 if (obj9) {
11905 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11906 if (arg10 == NULL) {
11907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11908 }
11909 }
11910 if (obj10) {
11911 {
11912 arg11 = wxString_in_helper(obj10);
11913 if (arg11 == NULL) SWIG_fail;
11914 temp11 = True;
11915 }
11916 }
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11925 {
11926 if (temp11)
11927 delete arg11;
11928 }
11929 return resultobj;
11930 fail:
11931 {
11932 if (temp11)
11933 delete arg11;
11934 }
11935 return NULL;
11936 }
11937
11938
11939 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11940 PyObject *resultobj;
11941 wxSlider *arg1 = (wxSlider *) 0 ;
11942 int result;
11943 PyObject * obj0 = 0 ;
11944 char *kwnames[] = {
11945 (char *) "self", NULL
11946 };
11947
11948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
11949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = (int)((wxSlider const *)arg1)->GetValue();
11953
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 resultobj = SWIG_PyObj_FromInt((int)result);
11958 return resultobj;
11959 fail:
11960 return NULL;
11961 }
11962
11963
11964 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11965 PyObject *resultobj;
11966 wxSlider *arg1 = (wxSlider *) 0 ;
11967 int arg2 ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self",(char *) "value", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
11975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11976 {
11977 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 (arg1)->SetValue(arg2);
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 Py_INCREF(Py_None); resultobj = Py_None;
11988 return resultobj;
11989 fail:
11990 return NULL;
11991 }
11992
11993
11994 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj;
11996 wxSlider *arg1 = (wxSlider *) 0 ;
11997 int arg2 ;
11998 int arg3 ;
11999 PyObject * obj0 = 0 ;
12000 PyObject * obj1 = 0 ;
12001 PyObject * obj2 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12008 {
12009 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 {
12013 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 (arg1)->SetRange(arg2,arg3);
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 Py_INCREF(Py_None); resultobj = Py_None;
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxSlider *arg1 = (wxSlider *) 0 ;
12033 int result;
12034 PyObject * obj0 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12041 {
12042 PyThreadState* __tstate = wxPyBeginAllowThreads();
12043 result = (int)((wxSlider const *)arg1)->GetMin();
12044
12045 wxPyEndAllowThreads(__tstate);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 resultobj = SWIG_PyObj_FromInt((int)result);
12049 return resultobj;
12050 fail:
12051 return NULL;
12052 }
12053
12054
12055 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12056 PyObject *resultobj;
12057 wxSlider *arg1 = (wxSlider *) 0 ;
12058 int result;
12059 PyObject * obj0 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self", NULL
12062 };
12063
12064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12066 {
12067 PyThreadState* __tstate = wxPyBeginAllowThreads();
12068 result = (int)((wxSlider const *)arg1)->GetMax();
12069
12070 wxPyEndAllowThreads(__tstate);
12071 if (PyErr_Occurred()) SWIG_fail;
12072 }
12073 resultobj = SWIG_PyObj_FromInt((int)result);
12074 return resultobj;
12075 fail:
12076 return NULL;
12077 }
12078
12079
12080 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12081 PyObject *resultobj;
12082 wxSlider *arg1 = (wxSlider *) 0 ;
12083 int arg2 ;
12084 PyObject * obj0 = 0 ;
12085 PyObject * obj1 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self",(char *) "minValue", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12092 {
12093 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 (arg1)->SetMin(arg2);
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 Py_INCREF(Py_None); resultobj = Py_None;
12104 return resultobj;
12105 fail:
12106 return NULL;
12107 }
12108
12109
12110 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12111 PyObject *resultobj;
12112 wxSlider *arg1 = (wxSlider *) 0 ;
12113 int arg2 ;
12114 PyObject * obj0 = 0 ;
12115 PyObject * obj1 = 0 ;
12116 char *kwnames[] = {
12117 (char *) "self",(char *) "maxValue", NULL
12118 };
12119
12120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12122 {
12123 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 (arg1)->SetMax(arg2);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 Py_INCREF(Py_None); resultobj = Py_None;
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxSlider *arg1 = (wxSlider *) 0 ;
12143 int arg2 ;
12144 PyObject * obj0 = 0 ;
12145 PyObject * obj1 = 0 ;
12146 char *kwnames[] = {
12147 (char *) "self",(char *) "lineSize", NULL
12148 };
12149
12150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12152 {
12153 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 (arg1)->SetLineSize(arg2);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 Py_INCREF(Py_None); resultobj = Py_None;
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxSlider *arg1 = (wxSlider *) 0 ;
12173 int arg2 ;
12174 PyObject * obj0 = 0 ;
12175 PyObject * obj1 = 0 ;
12176 char *kwnames[] = {
12177 (char *) "self",(char *) "pageSize", NULL
12178 };
12179
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12182 {
12183 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 (arg1)->SetPageSize(arg2);
12189
12190 wxPyEndAllowThreads(__tstate);
12191 if (PyErr_Occurred()) SWIG_fail;
12192 }
12193 Py_INCREF(Py_None); resultobj = Py_None;
12194 return resultobj;
12195 fail:
12196 return NULL;
12197 }
12198
12199
12200 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12201 PyObject *resultobj;
12202 wxSlider *arg1 = (wxSlider *) 0 ;
12203 int result;
12204 PyObject * obj0 = 0 ;
12205 char *kwnames[] = {
12206 (char *) "self", NULL
12207 };
12208
12209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12211 {
12212 PyThreadState* __tstate = wxPyBeginAllowThreads();
12213 result = (int)((wxSlider const *)arg1)->GetLineSize();
12214
12215 wxPyEndAllowThreads(__tstate);
12216 if (PyErr_Occurred()) SWIG_fail;
12217 }
12218 resultobj = SWIG_PyObj_FromInt((int)result);
12219 return resultobj;
12220 fail:
12221 return NULL;
12222 }
12223
12224
12225 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12226 PyObject *resultobj;
12227 wxSlider *arg1 = (wxSlider *) 0 ;
12228 int result;
12229 PyObject * obj0 = 0 ;
12230 char *kwnames[] = {
12231 (char *) "self", NULL
12232 };
12233
12234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12236 {
12237 PyThreadState* __tstate = wxPyBeginAllowThreads();
12238 result = (int)((wxSlider const *)arg1)->GetPageSize();
12239
12240 wxPyEndAllowThreads(__tstate);
12241 if (PyErr_Occurred()) SWIG_fail;
12242 }
12243 resultobj = SWIG_PyObj_FromInt((int)result);
12244 return resultobj;
12245 fail:
12246 return NULL;
12247 }
12248
12249
12250 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12251 PyObject *resultobj;
12252 wxSlider *arg1 = (wxSlider *) 0 ;
12253 int arg2 ;
12254 PyObject * obj0 = 0 ;
12255 PyObject * obj1 = 0 ;
12256 char *kwnames[] = {
12257 (char *) "self",(char *) "lenPixels", NULL
12258 };
12259
12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) 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 {
12267 PyThreadState* __tstate = wxPyBeginAllowThreads();
12268 (arg1)->SetThumbLength(arg2);
12269
12270 wxPyEndAllowThreads(__tstate);
12271 if (PyErr_Occurred()) SWIG_fail;
12272 }
12273 Py_INCREF(Py_None); resultobj = Py_None;
12274 return resultobj;
12275 fail:
12276 return NULL;
12277 }
12278
12279
12280 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12281 PyObject *resultobj;
12282 wxSlider *arg1 = (wxSlider *) 0 ;
12283 int result;
12284 PyObject * obj0 = 0 ;
12285 char *kwnames[] = {
12286 (char *) "self", NULL
12287 };
12288
12289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 resultobj = SWIG_PyObj_FromInt((int)result);
12299 return resultobj;
12300 fail:
12301 return NULL;
12302 }
12303
12304
12305 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12306 PyObject *resultobj;
12307 wxSlider *arg1 = (wxSlider *) 0 ;
12308 int arg2 ;
12309 int arg3 = (int) 1 ;
12310 PyObject * obj0 = 0 ;
12311 PyObject * obj1 = 0 ;
12312 PyObject * obj2 = 0 ;
12313 char *kwnames[] = {
12314 (char *) "self",(char *) "n",(char *) "pos", NULL
12315 };
12316
12317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12319 {
12320 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 if (obj2) {
12324 {
12325 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 }
12329 {
12330 PyThreadState* __tstate = wxPyBeginAllowThreads();
12331 (arg1)->SetTickFreq(arg2,arg3);
12332
12333 wxPyEndAllowThreads(__tstate);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 Py_INCREF(Py_None); resultobj = Py_None;
12337 return resultobj;
12338 fail:
12339 return NULL;
12340 }
12341
12342
12343 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12344 PyObject *resultobj;
12345 wxSlider *arg1 = (wxSlider *) 0 ;
12346 int result;
12347 PyObject * obj0 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12357
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 resultobj = SWIG_PyObj_FromInt((int)result);
12362 return resultobj;
12363 fail:
12364 return NULL;
12365 }
12366
12367
12368 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj;
12370 wxSlider *arg1 = (wxSlider *) 0 ;
12371 PyObject * obj0 = 0 ;
12372 char *kwnames[] = {
12373 (char *) "self", NULL
12374 };
12375
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 (arg1)->ClearTicks();
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 Py_INCREF(Py_None); resultobj = Py_None;
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxSlider *arg1 = (wxSlider *) 0 ;
12395 int arg2 ;
12396 PyObject * obj0 = 0 ;
12397 PyObject * obj1 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self",(char *) "tickPos", NULL
12400 };
12401
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12404 {
12405 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 {
12409 PyThreadState* __tstate = wxPyBeginAllowThreads();
12410 (arg1)->SetTick(arg2);
12411
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 Py_INCREF(Py_None); resultobj = Py_None;
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj;
12424 wxSlider *arg1 = (wxSlider *) 0 ;
12425 PyObject * obj0 = 0 ;
12426 char *kwnames[] = {
12427 (char *) "self", NULL
12428 };
12429
12430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12432 {
12433 PyThreadState* __tstate = wxPyBeginAllowThreads();
12434 (arg1)->ClearSel();
12435
12436 wxPyEndAllowThreads(__tstate);
12437 if (PyErr_Occurred()) SWIG_fail;
12438 }
12439 Py_INCREF(Py_None); resultobj = Py_None;
12440 return resultobj;
12441 fail:
12442 return NULL;
12443 }
12444
12445
12446 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj;
12448 wxSlider *arg1 = (wxSlider *) 0 ;
12449 int result;
12450 PyObject * obj0 = 0 ;
12451 char *kwnames[] = {
12452 (char *) "self", NULL
12453 };
12454
12455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12460
12461 wxPyEndAllowThreads(__tstate);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 }
12464 resultobj = SWIG_PyObj_FromInt((int)result);
12465 return resultobj;
12466 fail:
12467 return NULL;
12468 }
12469
12470
12471 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12472 PyObject *resultobj;
12473 wxSlider *arg1 = (wxSlider *) 0 ;
12474 int result;
12475 PyObject * obj0 = 0 ;
12476 char *kwnames[] = {
12477 (char *) "self", NULL
12478 };
12479
12480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12482 {
12483 PyThreadState* __tstate = wxPyBeginAllowThreads();
12484 result = (int)((wxSlider const *)arg1)->GetSelStart();
12485
12486 wxPyEndAllowThreads(__tstate);
12487 if (PyErr_Occurred()) SWIG_fail;
12488 }
12489 resultobj = SWIG_PyObj_FromInt((int)result);
12490 return resultobj;
12491 fail:
12492 return NULL;
12493 }
12494
12495
12496 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12497 PyObject *resultobj;
12498 wxSlider *arg1 = (wxSlider *) 0 ;
12499 int arg2 ;
12500 int arg3 ;
12501 PyObject * obj0 = 0 ;
12502 PyObject * obj1 = 0 ;
12503 PyObject * obj2 = 0 ;
12504 char *kwnames[] = {
12505 (char *) "self",(char *) "min",(char *) "max", NULL
12506 };
12507
12508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12510 {
12511 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12512 if (PyErr_Occurred()) SWIG_fail;
12513 }
12514 {
12515 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12516 if (PyErr_Occurred()) SWIG_fail;
12517 }
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 (arg1)->SetSelection(arg2,arg3);
12521
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
12525 Py_INCREF(Py_None); resultobj = Py_None;
12526 return resultobj;
12527 fail:
12528 return NULL;
12529 }
12530
12531
12532 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12533 PyObject *obj;
12534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12535 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12536 Py_INCREF(obj);
12537 return Py_BuildValue((char *)"");
12538 }
12539 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12540 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12541 return 1;
12542 }
12543
12544
12545 static PyObject *_wrap_ToggleButtonNameStr_get() {
12546 PyObject *pyobj;
12547
12548 {
12549 #if wxUSE_UNICODE
12550 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12551 #else
12552 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12553 #endif
12554 }
12555 return pyobj;
12556 }
12557
12558
12559 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 wxWindow *arg1 = (wxWindow *) 0 ;
12562 int arg2 ;
12563 wxString *arg3 = 0 ;
12564 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12565 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12566 wxSize const &arg5_defvalue = wxDefaultSize ;
12567 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12568 long arg6 = (long) 0 ;
12569 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12570 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12571 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12572 wxString *arg8 = (wxString *) &arg8_defvalue ;
12573 wxToggleButton *result;
12574 bool temp3 = False ;
12575 wxPoint temp4 ;
12576 wxSize temp5 ;
12577 bool temp8 = False ;
12578 PyObject * obj0 = 0 ;
12579 PyObject * obj1 = 0 ;
12580 PyObject * obj2 = 0 ;
12581 PyObject * obj3 = 0 ;
12582 PyObject * obj4 = 0 ;
12583 PyObject * obj5 = 0 ;
12584 PyObject * obj6 = 0 ;
12585 PyObject * obj7 = 0 ;
12586 char *kwnames[] = {
12587 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12588 };
12589
12590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12592 {
12593 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12594 if (PyErr_Occurred()) SWIG_fail;
12595 }
12596 {
12597 arg3 = wxString_in_helper(obj2);
12598 if (arg3 == NULL) SWIG_fail;
12599 temp3 = True;
12600 }
12601 if (obj3) {
12602 {
12603 arg4 = &temp4;
12604 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12605 }
12606 }
12607 if (obj4) {
12608 {
12609 arg5 = &temp5;
12610 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12611 }
12612 }
12613 if (obj5) {
12614 {
12615 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12616 if (PyErr_Occurred()) SWIG_fail;
12617 }
12618 }
12619 if (obj6) {
12620 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12621 if (arg7 == NULL) {
12622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12623 }
12624 }
12625 if (obj7) {
12626 {
12627 arg8 = wxString_in_helper(obj7);
12628 if (arg8 == NULL) SWIG_fail;
12629 temp8 = True;
12630 }
12631 }
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12640 {
12641 if (temp3)
12642 delete arg3;
12643 }
12644 {
12645 if (temp8)
12646 delete arg8;
12647 }
12648 return resultobj;
12649 fail:
12650 {
12651 if (temp3)
12652 delete arg3;
12653 }
12654 {
12655 if (temp8)
12656 delete arg8;
12657 }
12658 return NULL;
12659 }
12660
12661
12662 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12663 PyObject *resultobj;
12664 wxToggleButton *result;
12665 char *kwnames[] = {
12666 NULL
12667 };
12668
12669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 result = (wxToggleButton *)new wxToggleButton();
12673
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12678 return resultobj;
12679 fail:
12680 return NULL;
12681 }
12682
12683
12684 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
12685 PyObject *obj;
12686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12687 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12688 Py_INCREF(obj);
12689 return Py_BuildValue((char *)"");
12690 }
12691 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
12692 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12693 return 1;
12694 }
12695
12696
12697 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12698 PyObject *pyobj;
12699
12700 {
12701 #if wxUSE_UNICODE
12702 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12703 #else
12704 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12705 #endif
12706 }
12707 return pyobj;
12708 }
12709
12710
12711 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12712 PyObject *resultobj;
12713 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12714 size_t result;
12715 PyObject * obj0 = 0 ;
12716 char *kwnames[] = {
12717 (char *) "self", NULL
12718 };
12719
12720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
12721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12739 size_t arg2 ;
12740 wxWindow *result;
12741 PyObject * obj0 = 0 ;
12742 PyObject * obj1 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self",(char *) "n", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
12748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12749 {
12750 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (wxWindow *)(arg1)->GetPage(arg2);
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
12760 {
12761 resultobj = wxPyMake_wxObject(result);
12762 }
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12772 int result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 resultobj = SWIG_PyObj_FromInt((int)result);
12788 return resultobj;
12789 fail:
12790 return NULL;
12791 }
12792
12793
12794 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
12795 PyObject *resultobj;
12796 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12797 size_t arg2 ;
12798 wxString *arg3 = 0 ;
12799 bool result;
12800 bool temp3 = False ;
12801 PyObject * obj0 = 0 ;
12802 PyObject * obj1 = 0 ;
12803 PyObject * obj2 = 0 ;
12804 char *kwnames[] = {
12805 (char *) "self",(char *) "n",(char *) "strText", NULL
12806 };
12807
12808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12810 {
12811 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
12814 {
12815 arg3 = wxString_in_helper(obj2);
12816 if (arg3 == NULL) SWIG_fail;
12817 temp3 = True;
12818 }
12819 {
12820 PyThreadState* __tstate = wxPyBeginAllowThreads();
12821 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
12822
12823 wxPyEndAllowThreads(__tstate);
12824 if (PyErr_Occurred()) SWIG_fail;
12825 }
12826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12827 {
12828 if (temp3)
12829 delete arg3;
12830 }
12831 return resultobj;
12832 fail:
12833 {
12834 if (temp3)
12835 delete arg3;
12836 }
12837 return NULL;
12838 }
12839
12840
12841 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj;
12843 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12844 size_t arg2 ;
12845 wxString result;
12846 PyObject * obj0 = 0 ;
12847 PyObject * obj1 = 0 ;
12848 char *kwnames[] = {
12849 (char *) "self",(char *) "n", NULL
12850 };
12851
12852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
12853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12854 {
12855 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12856 if (PyErr_Occurred()) SWIG_fail;
12857 }
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 {
12866 #if wxUSE_UNICODE
12867 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12868 #else
12869 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12870 #endif
12871 }
12872 return resultobj;
12873 fail:
12874 return NULL;
12875 }
12876
12877
12878 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
12879 PyObject *resultobj;
12880 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12881 wxImageList *arg2 = (wxImageList *) 0 ;
12882 PyObject * obj0 = 0 ;
12883 PyObject * obj1 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "self",(char *) "imageList", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
12889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12891 {
12892 PyThreadState* __tstate = wxPyBeginAllowThreads();
12893 (arg1)->SetImageList(arg2);
12894
12895 wxPyEndAllowThreads(__tstate);
12896 if (PyErr_Occurred()) SWIG_fail;
12897 }
12898 Py_INCREF(Py_None); resultobj = Py_None;
12899 return resultobj;
12900 fail:
12901 return NULL;
12902 }
12903
12904
12905 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
12906 PyObject *resultobj;
12907 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12908 wxImageList *arg2 = (wxImageList *) 0 ;
12909 PyObject * obj0 = 0 ;
12910 PyObject * obj1 = 0 ;
12911 char *kwnames[] = {
12912 (char *) "self",(char *) "imageList", NULL
12913 };
12914
12915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
12916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
12918 {
12919 PyThreadState* __tstate = wxPyBeginAllowThreads();
12920 (arg1)->AssignImageList(arg2);
12921
12922 wxPyEndAllowThreads(__tstate);
12923 if (PyErr_Occurred()) SWIG_fail;
12924 }
12925 Py_INCREF(Py_None); resultobj = Py_None;
12926 return resultobj;
12927 fail:
12928 return NULL;
12929 }
12930
12931
12932 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
12933 PyObject *resultobj;
12934 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12935 wxImageList *result;
12936 PyObject * obj0 = 0 ;
12937 char *kwnames[] = {
12938 (char *) "self", NULL
12939 };
12940
12941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
12942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 {
12951 resultobj = wxPyMake_wxObject(result);
12952 }
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12962 size_t arg2 ;
12963 int result;
12964 PyObject * obj0 = 0 ;
12965 PyObject * obj1 = 0 ;
12966 char *kwnames[] = {
12967 (char *) "self",(char *) "n", NULL
12968 };
12969
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
12971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12972 {
12973 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12974 if (PyErr_Occurred()) SWIG_fail;
12975 }
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
12979
12980 wxPyEndAllowThreads(__tstate);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
12983 resultobj = SWIG_PyObj_FromInt((int)result);
12984 return resultobj;
12985 fail:
12986 return NULL;
12987 }
12988
12989
12990 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
12991 PyObject *resultobj;
12992 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12993 size_t arg2 ;
12994 int arg3 ;
12995 bool result;
12996 PyObject * obj0 = 0 ;
12997 PyObject * obj1 = 0 ;
12998 PyObject * obj2 = 0 ;
12999 char *kwnames[] = {
13000 (char *) "self",(char *) "n",(char *) "imageId", NULL
13001 };
13002
13003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13005 {
13006 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 {
13010 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13016
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13021 return resultobj;
13022 fail:
13023 return NULL;
13024 }
13025
13026
13027 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13028 PyObject *resultobj;
13029 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13030 wxSize *arg2 = 0 ;
13031 wxSize temp2 ;
13032 PyObject * obj0 = 0 ;
13033 PyObject * obj1 = 0 ;
13034 char *kwnames[] = {
13035 (char *) "self",(char *) "size", NULL
13036 };
13037
13038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13040 {
13041 arg2 = &temp2;
13042 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13043 }
13044 {
13045 PyThreadState* __tstate = wxPyBeginAllowThreads();
13046 (arg1)->SetPageSize((wxSize const &)*arg2);
13047
13048 wxPyEndAllowThreads(__tstate);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
13051 Py_INCREF(Py_None); resultobj = Py_None;
13052 return resultobj;
13053 fail:
13054 return NULL;
13055 }
13056
13057
13058 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13059 PyObject *resultobj;
13060 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13061 wxSize *arg2 = 0 ;
13062 wxSize result;
13063 wxSize temp2 ;
13064 PyObject * obj0 = 0 ;
13065 PyObject * obj1 = 0 ;
13066 char *kwnames[] = {
13067 (char *) "self",(char *) "sizePage", NULL
13068 };
13069
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13072 {
13073 arg2 = &temp2;
13074 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13075 }
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 {
13084 wxSize * resultptr;
13085 resultptr = new wxSize((wxSize &) result);
13086 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13087 }
13088 return resultobj;
13089 fail:
13090 return NULL;
13091 }
13092
13093
13094 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj;
13096 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13097 size_t arg2 ;
13098 bool result;
13099 PyObject * obj0 = 0 ;
13100 PyObject * obj1 = 0 ;
13101 char *kwnames[] = {
13102 (char *) "self",(char *) "n", NULL
13103 };
13104
13105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13107 {
13108 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 result = (bool)(arg1)->DeletePage(arg2);
13114
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13119 return resultobj;
13120 fail:
13121 return NULL;
13122 }
13123
13124
13125 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13128 size_t arg2 ;
13129 bool result;
13130 PyObject * obj0 = 0 ;
13131 PyObject * obj1 = 0 ;
13132 char *kwnames[] = {
13133 (char *) "self",(char *) "n", NULL
13134 };
13135
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13138 {
13139 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 result = (bool)(arg1)->RemovePage(arg2);
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13150 return resultobj;
13151 fail:
13152 return NULL;
13153 }
13154
13155
13156 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13159 bool result;
13160 PyObject * obj0 = 0 ;
13161 char *kwnames[] = {
13162 (char *) "self", NULL
13163 };
13164
13165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 result = (bool)(arg1)->DeleteAllPages();
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13175 return resultobj;
13176 fail:
13177 return NULL;
13178 }
13179
13180
13181 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13182 PyObject *resultobj;
13183 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13184 wxWindow *arg2 = (wxWindow *) 0 ;
13185 wxString *arg3 = 0 ;
13186 bool arg4 = (bool) False ;
13187 int arg5 = (int) -1 ;
13188 bool result;
13189 bool temp3 = False ;
13190 PyObject * obj0 = 0 ;
13191 PyObject * obj1 = 0 ;
13192 PyObject * obj2 = 0 ;
13193 PyObject * obj3 = 0 ;
13194 PyObject * obj4 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13202 {
13203 arg3 = wxString_in_helper(obj2);
13204 if (arg3 == NULL) SWIG_fail;
13205 temp3 = True;
13206 }
13207 if (obj3) {
13208 {
13209 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 }
13213 if (obj4) {
13214 {
13215 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 }
13219 {
13220 PyThreadState* __tstate = wxPyBeginAllowThreads();
13221 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13222
13223 wxPyEndAllowThreads(__tstate);
13224 if (PyErr_Occurred()) SWIG_fail;
13225 }
13226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13227 {
13228 if (temp3)
13229 delete arg3;
13230 }
13231 return resultobj;
13232 fail:
13233 {
13234 if (temp3)
13235 delete arg3;
13236 }
13237 return NULL;
13238 }
13239
13240
13241 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13242 PyObject *resultobj;
13243 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13244 size_t arg2 ;
13245 wxWindow *arg3 = (wxWindow *) 0 ;
13246 wxString *arg4 = 0 ;
13247 bool arg5 = (bool) False ;
13248 int arg6 = (int) -1 ;
13249 bool result;
13250 bool temp4 = False ;
13251 PyObject * obj0 = 0 ;
13252 PyObject * obj1 = 0 ;
13253 PyObject * obj2 = 0 ;
13254 PyObject * obj3 = 0 ;
13255 PyObject * obj4 = 0 ;
13256 PyObject * obj5 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13263 {
13264 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13268 {
13269 arg4 = wxString_in_helper(obj3);
13270 if (arg4 == NULL) SWIG_fail;
13271 temp4 = True;
13272 }
13273 if (obj4) {
13274 {
13275 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 }
13278 }
13279 if (obj5) {
13280 {
13281 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 }
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13293 {
13294 if (temp4)
13295 delete arg4;
13296 }
13297 return resultobj;
13298 fail:
13299 {
13300 if (temp4)
13301 delete arg4;
13302 }
13303 return NULL;
13304 }
13305
13306
13307 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13308 PyObject *resultobj;
13309 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13310 size_t arg2 ;
13311 int result;
13312 PyObject * obj0 = 0 ;
13313 PyObject * obj1 = 0 ;
13314 char *kwnames[] = {
13315 (char *) "self",(char *) "n", NULL
13316 };
13317
13318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13320 {
13321 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
13324 {
13325 PyThreadState* __tstate = wxPyBeginAllowThreads();
13326 result = (int)(arg1)->SetSelection(arg2);
13327
13328 wxPyEndAllowThreads(__tstate);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 resultobj = SWIG_PyObj_FromInt((int)result);
13332 return resultobj;
13333 fail:
13334 return NULL;
13335 }
13336
13337
13338 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13339 PyObject *resultobj;
13340 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13341 bool arg2 = (bool) True ;
13342 PyObject * obj0 = 0 ;
13343 PyObject * obj1 = 0 ;
13344 char *kwnames[] = {
13345 (char *) "self",(char *) "forward", NULL
13346 };
13347
13348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13350 if (obj1) {
13351 {
13352 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 }
13356 {
13357 PyThreadState* __tstate = wxPyBeginAllowThreads();
13358 (arg1)->AdvanceSelection(arg2);
13359
13360 wxPyEndAllowThreads(__tstate);
13361 if (PyErr_Occurred()) SWIG_fail;
13362 }
13363 Py_INCREF(Py_None); resultobj = Py_None;
13364 return resultobj;
13365 fail:
13366 return NULL;
13367 }
13368
13369
13370 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13371 PyObject *obj;
13372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13373 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13374 Py_INCREF(obj);
13375 return Py_BuildValue((char *)"");
13376 }
13377 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13378 PyObject *resultobj;
13379 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13380 int arg2 = (int) 0 ;
13381 int arg3 = (int) -1 ;
13382 int arg4 = (int) -1 ;
13383 wxBookCtrlEvent *result;
13384 PyObject * obj0 = 0 ;
13385 PyObject * obj1 = 0 ;
13386 PyObject * obj2 = 0 ;
13387 PyObject * obj3 = 0 ;
13388 char *kwnames[] = {
13389 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13390 };
13391
13392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13393 if (obj0) {
13394 {
13395 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
13398 }
13399 if (obj1) {
13400 {
13401 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 }
13405 if (obj2) {
13406 {
13407 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 }
13410 }
13411 if (obj3) {
13412 {
13413 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 }
13417 {
13418 PyThreadState* __tstate = wxPyBeginAllowThreads();
13419 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13420
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
13425 return resultobj;
13426 fail:
13427 return NULL;
13428 }
13429
13430
13431 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13432 PyObject *resultobj;
13433 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13434 int result;
13435 PyObject * obj0 = 0 ;
13436 char *kwnames[] = {
13437 (char *) "self", NULL
13438 };
13439
13440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 resultobj = SWIG_PyObj_FromInt((int)result);
13450 return resultobj;
13451 fail:
13452 return NULL;
13453 }
13454
13455
13456 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj;
13458 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13459 int arg2 ;
13460 PyObject * obj0 = 0 ;
13461 PyObject * obj1 = 0 ;
13462 char *kwnames[] = {
13463 (char *) "self",(char *) "nSel", NULL
13464 };
13465
13466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13468 {
13469 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 (arg1)->SetSelection(arg2);
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 Py_INCREF(Py_None); resultobj = Py_None;
13480 return resultobj;
13481 fail:
13482 return NULL;
13483 }
13484
13485
13486 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13487 PyObject *resultobj;
13488 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13489 int result;
13490 PyObject * obj0 = 0 ;
13491 char *kwnames[] = {
13492 (char *) "self", NULL
13493 };
13494
13495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = SWIG_PyObj_FromInt((int)result);
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj;
13513 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13514 int arg2 ;
13515 PyObject * obj0 = 0 ;
13516 PyObject * obj1 = 0 ;
13517 char *kwnames[] = {
13518 (char *) "self",(char *) "nOldSel", NULL
13519 };
13520
13521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13523 {
13524 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 (arg1)->SetOldSelection(arg2);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 Py_INCREF(Py_None); resultobj = Py_None;
13535 return resultobj;
13536 fail:
13537 return NULL;
13538 }
13539
13540
13541 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13542 PyObject *obj;
13543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13544 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13545 Py_INCREF(obj);
13546 return Py_BuildValue((char *)"");
13547 }
13548 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13549 PyObject *resultobj;
13550 wxWindow *arg1 = (wxWindow *) 0 ;
13551 int arg2 ;
13552 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13553 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13554 wxSize const &arg4_defvalue = wxDefaultSize ;
13555 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13556 long arg5 = (long) 0 ;
13557 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13558 wxString *arg6 = (wxString *) &arg6_defvalue ;
13559 wxNotebook *result;
13560 wxPoint temp3 ;
13561 wxSize temp4 ;
13562 bool temp6 = False ;
13563 PyObject * obj0 = 0 ;
13564 PyObject * obj1 = 0 ;
13565 PyObject * obj2 = 0 ;
13566 PyObject * obj3 = 0 ;
13567 PyObject * obj4 = 0 ;
13568 PyObject * obj5 = 0 ;
13569 char *kwnames[] = {
13570 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13571 };
13572
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13575 {
13576 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
13579 if (obj2) {
13580 {
13581 arg3 = &temp3;
13582 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13583 }
13584 }
13585 if (obj3) {
13586 {
13587 arg4 = &temp4;
13588 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13589 }
13590 }
13591 if (obj4) {
13592 {
13593 arg5 = (long) SWIG_PyObj_AsLong(obj4);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
13596 }
13597 if (obj5) {
13598 {
13599 arg6 = wxString_in_helper(obj5);
13600 if (arg6 == NULL) SWIG_fail;
13601 temp6 = True;
13602 }
13603 }
13604 {
13605 PyThreadState* __tstate = wxPyBeginAllowThreads();
13606 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13607
13608 wxPyEndAllowThreads(__tstate);
13609 if (PyErr_Occurred()) SWIG_fail;
13610 }
13611 {
13612 resultobj = wxPyMake_wxObject(result);
13613 }
13614 {
13615 if (temp6)
13616 delete arg6;
13617 }
13618 return resultobj;
13619 fail:
13620 {
13621 if (temp6)
13622 delete arg6;
13623 }
13624 return NULL;
13625 }
13626
13627
13628 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13629 PyObject *resultobj;
13630 wxNotebook *result;
13631 char *kwnames[] = {
13632 NULL
13633 };
13634
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13636 {
13637 PyThreadState* __tstate = wxPyBeginAllowThreads();
13638 result = (wxNotebook *)new wxNotebook();
13639
13640 wxPyEndAllowThreads(__tstate);
13641 if (PyErr_Occurred()) SWIG_fail;
13642 }
13643 {
13644 resultobj = wxPyMake_wxObject(result);
13645 }
13646 return resultobj;
13647 fail:
13648 return NULL;
13649 }
13650
13651
13652 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13653 PyObject *resultobj;
13654 wxNotebook *arg1 = (wxNotebook *) 0 ;
13655 wxWindow *arg2 = (wxWindow *) 0 ;
13656 int arg3 ;
13657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13659 wxSize const &arg5_defvalue = wxDefaultSize ;
13660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13661 long arg6 = (long) 0 ;
13662 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13663 wxString *arg7 = (wxString *) &arg7_defvalue ;
13664 bool result;
13665 wxPoint temp4 ;
13666 wxSize temp5 ;
13667 bool temp7 = False ;
13668 PyObject * obj0 = 0 ;
13669 PyObject * obj1 = 0 ;
13670 PyObject * obj2 = 0 ;
13671 PyObject * obj3 = 0 ;
13672 PyObject * obj4 = 0 ;
13673 PyObject * obj5 = 0 ;
13674 PyObject * obj6 = 0 ;
13675 char *kwnames[] = {
13676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13677 };
13678
13679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13682 {
13683 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 if (obj3) {
13687 {
13688 arg4 = &temp4;
13689 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13690 }
13691 }
13692 if (obj4) {
13693 {
13694 arg5 = &temp5;
13695 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13696 }
13697 }
13698 if (obj5) {
13699 {
13700 arg6 = (long) SWIG_PyObj_AsLong(obj5);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
13703 }
13704 if (obj6) {
13705 {
13706 arg7 = wxString_in_helper(obj6);
13707 if (arg7 == NULL) SWIG_fail;
13708 temp7 = True;
13709 }
13710 }
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13719 {
13720 if (temp7)
13721 delete arg7;
13722 }
13723 return resultobj;
13724 fail:
13725 {
13726 if (temp7)
13727 delete arg7;
13728 }
13729 return NULL;
13730 }
13731
13732
13733 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13734 PyObject *resultobj;
13735 wxNotebook *arg1 = (wxNotebook *) 0 ;
13736 int result;
13737 PyObject * obj0 = 0 ;
13738 char *kwnames[] = {
13739 (char *) "self", NULL
13740 };
13741
13742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
13743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 result = (int)((wxNotebook const *)arg1)->GetRowCount();
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 resultobj = SWIG_PyObj_FromInt((int)result);
13752 return resultobj;
13753 fail:
13754 return NULL;
13755 }
13756
13757
13758 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
13759 PyObject *resultobj;
13760 wxNotebook *arg1 = (wxNotebook *) 0 ;
13761 wxSize *arg2 = 0 ;
13762 wxSize temp2 ;
13763 PyObject * obj0 = 0 ;
13764 PyObject * obj1 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self",(char *) "padding", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
13770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13771 {
13772 arg2 = &temp2;
13773 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13774 }
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 (arg1)->SetPadding((wxSize const &)*arg2);
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 Py_INCREF(Py_None); resultobj = Py_None;
13783 return resultobj;
13784 fail:
13785 return NULL;
13786 }
13787
13788
13789 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13790 PyObject *resultobj;
13791 wxNotebook *arg1 = (wxNotebook *) 0 ;
13792 wxSize *arg2 = 0 ;
13793 wxSize temp2 ;
13794 PyObject * obj0 = 0 ;
13795 PyObject * obj1 = 0 ;
13796 char *kwnames[] = {
13797 (char *) "self",(char *) "sz", NULL
13798 };
13799
13800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
13801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13802 {
13803 arg2 = &temp2;
13804 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13805 }
13806 {
13807 PyThreadState* __tstate = wxPyBeginAllowThreads();
13808 (arg1)->SetTabSize((wxSize const &)*arg2);
13809
13810 wxPyEndAllowThreads(__tstate);
13811 if (PyErr_Occurred()) SWIG_fail;
13812 }
13813 Py_INCREF(Py_None); resultobj = Py_None;
13814 return resultobj;
13815 fail:
13816 return NULL;
13817 }
13818
13819
13820 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj;
13822 wxNotebook *arg1 = (wxNotebook *) 0 ;
13823 wxPoint *arg2 = 0 ;
13824 long *arg3 = (long *) 0 ;
13825 int result;
13826 wxPoint temp2 ;
13827 long temp3 ;
13828 PyObject * obj0 = 0 ;
13829 PyObject * obj1 = 0 ;
13830 char *kwnames[] = {
13831 (char *) "self",(char *) "pt", NULL
13832 };
13833
13834 arg3 = &temp3;
13835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
13836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13837 {
13838 arg2 = &temp2;
13839 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13840 }
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
13848 resultobj = SWIG_PyObj_FromInt((int)result);
13849 {
13850 PyObject *o = PyInt_FromLong((long) (*arg3));
13851 resultobj = t_output_helper(resultobj,o);
13852 }
13853 return resultobj;
13854 fail:
13855 return NULL;
13856 }
13857
13858
13859 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13860 PyObject *resultobj;
13861 wxNotebook *arg1 = (wxNotebook *) 0 ;
13862 wxSize *arg2 = 0 ;
13863 wxSize result;
13864 wxSize temp2 ;
13865 PyObject * obj0 = 0 ;
13866 PyObject * obj1 = 0 ;
13867 char *kwnames[] = {
13868 (char *) "self",(char *) "sizePage", NULL
13869 };
13870
13871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13873 {
13874 arg2 = &temp2;
13875 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13876 }
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13880
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 {
13885 wxSize * resultptr;
13886 resultptr = new wxSize((wxSize &) result);
13887 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13888 }
13889 return resultobj;
13890 fail:
13891 return NULL;
13892 }
13893
13894
13895 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
13896 PyObject *obj;
13897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13898 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
13899 Py_INCREF(obj);
13900 return Py_BuildValue((char *)"");
13901 }
13902 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13903 PyObject *resultobj;
13904 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13905 int arg2 = (int) 0 ;
13906 int arg3 = (int) -1 ;
13907 int arg4 = (int) -1 ;
13908 wxNotebookEvent *result;
13909 PyObject * obj0 = 0 ;
13910 PyObject * obj1 = 0 ;
13911 PyObject * obj2 = 0 ;
13912 PyObject * obj3 = 0 ;
13913 char *kwnames[] = {
13914 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13915 };
13916
13917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13918 if (obj0) {
13919 {
13920 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13921 if (PyErr_Occurred()) SWIG_fail;
13922 }
13923 }
13924 if (obj1) {
13925 {
13926 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13927 if (PyErr_Occurred()) SWIG_fail;
13928 }
13929 }
13930 if (obj2) {
13931 {
13932 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 }
13936 if (obj3) {
13937 {
13938 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 }
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
13945
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
13950 return resultobj;
13951 fail:
13952 return NULL;
13953 }
13954
13955
13956 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
13957 PyObject *obj;
13958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13959 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
13960 Py_INCREF(obj);
13961 return Py_BuildValue((char *)"");
13962 }
13963 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
13964 PyObject *resultobj;
13965 wxWindow *arg1 = (wxWindow *) 0 ;
13966 int arg2 ;
13967 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13968 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13969 wxSize const &arg4_defvalue = wxDefaultSize ;
13970 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13971 long arg5 = (long) 0 ;
13972 wxString const &arg6_defvalue = wxPyEmptyString ;
13973 wxString *arg6 = (wxString *) &arg6_defvalue ;
13974 wxListbook *result;
13975 wxPoint temp3 ;
13976 wxSize temp4 ;
13977 bool temp6 = False ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 PyObject * obj2 = 0 ;
13981 PyObject * obj3 = 0 ;
13982 PyObject * obj4 = 0 ;
13983 PyObject * obj5 = 0 ;
13984 char *kwnames[] = {
13985 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13986 };
13987
13988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13990 {
13991 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 if (obj2) {
13995 {
13996 arg3 = &temp3;
13997 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13998 }
13999 }
14000 if (obj3) {
14001 {
14002 arg4 = &temp4;
14003 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14004 }
14005 }
14006 if (obj4) {
14007 {
14008 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 }
14012 if (obj5) {
14013 {
14014 arg6 = wxString_in_helper(obj5);
14015 if (arg6 == NULL) SWIG_fail;
14016 temp6 = True;
14017 }
14018 }
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14022
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14027 {
14028 if (temp6)
14029 delete arg6;
14030 }
14031 return resultobj;
14032 fail:
14033 {
14034 if (temp6)
14035 delete arg6;
14036 }
14037 return NULL;
14038 }
14039
14040
14041 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj;
14043 wxListbook *result;
14044 char *kwnames[] = {
14045 NULL
14046 };
14047
14048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 result = (wxListbook *)new wxListbook();
14052
14053 wxPyEndAllowThreads(__tstate);
14054 if (PyErr_Occurred()) SWIG_fail;
14055 }
14056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14057 return resultobj;
14058 fail:
14059 return NULL;
14060 }
14061
14062
14063 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14064 PyObject *resultobj;
14065 wxListbook *arg1 = (wxListbook *) 0 ;
14066 wxWindow *arg2 = (wxWindow *) 0 ;
14067 int arg3 ;
14068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14070 wxSize const &arg5_defvalue = wxDefaultSize ;
14071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14072 long arg6 = (long) 0 ;
14073 wxString const &arg7_defvalue = wxPyEmptyString ;
14074 wxString *arg7 = (wxString *) &arg7_defvalue ;
14075 bool result;
14076 wxPoint temp4 ;
14077 wxSize temp5 ;
14078 bool temp7 = False ;
14079 PyObject * obj0 = 0 ;
14080 PyObject * obj1 = 0 ;
14081 PyObject * obj2 = 0 ;
14082 PyObject * obj3 = 0 ;
14083 PyObject * obj4 = 0 ;
14084 PyObject * obj5 = 0 ;
14085 PyObject * obj6 = 0 ;
14086 char *kwnames[] = {
14087 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14088 };
14089
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14093 {
14094 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 if (obj3) {
14098 {
14099 arg4 = &temp4;
14100 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14101 }
14102 }
14103 if (obj4) {
14104 {
14105 arg5 = &temp5;
14106 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14107 }
14108 }
14109 if (obj5) {
14110 {
14111 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 }
14115 if (obj6) {
14116 {
14117 arg7 = wxString_in_helper(obj6);
14118 if (arg7 == NULL) SWIG_fail;
14119 temp7 = True;
14120 }
14121 }
14122 {
14123 PyThreadState* __tstate = wxPyBeginAllowThreads();
14124 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14125
14126 wxPyEndAllowThreads(__tstate);
14127 if (PyErr_Occurred()) SWIG_fail;
14128 }
14129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14130 {
14131 if (temp7)
14132 delete arg7;
14133 }
14134 return resultobj;
14135 fail:
14136 {
14137 if (temp7)
14138 delete arg7;
14139 }
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxListbook *arg1 = (wxListbook *) 0 ;
14147 bool result;
14148 PyObject * obj0 = 0 ;
14149 char *kwnames[] = {
14150 (char *) "self", NULL
14151 };
14152
14153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14155 {
14156 PyThreadState* __tstate = wxPyBeginAllowThreads();
14157 result = (bool)((wxListbook const *)arg1)->IsVertical();
14158
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14163 return resultobj;
14164 fail:
14165 return NULL;
14166 }
14167
14168
14169 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14170 PyObject *obj;
14171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14172 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14173 Py_INCREF(obj);
14174 return Py_BuildValue((char *)"");
14175 }
14176 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj;
14178 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14179 int arg2 = (int) 0 ;
14180 int arg3 = (int) -1 ;
14181 int arg4 = (int) -1 ;
14182 wxListbookEvent *result;
14183 PyObject * obj0 = 0 ;
14184 PyObject * obj1 = 0 ;
14185 PyObject * obj2 = 0 ;
14186 PyObject * obj3 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14192 if (obj0) {
14193 {
14194 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14195 if (PyErr_Occurred()) SWIG_fail;
14196 }
14197 }
14198 if (obj1) {
14199 {
14200 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 }
14204 if (obj2) {
14205 {
14206 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14207 if (PyErr_Occurred()) SWIG_fail;
14208 }
14209 }
14210 if (obj3) {
14211 {
14212 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14213 if (PyErr_Occurred()) SWIG_fail;
14214 }
14215 }
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14231 PyObject *obj;
14232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14233 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14234 Py_INCREF(obj);
14235 return Py_BuildValue((char *)"");
14236 }
14237 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14240 wxBookCtrlSizer *result;
14241 PyObject * obj0 = 0 ;
14242 char *kwnames[] = {
14243 (char *) "nb", NULL
14244 };
14245
14246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14251
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
14255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
14256 return resultobj;
14257 fail:
14258 return NULL;
14259 }
14260
14261
14262 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14265 PyObject * obj0 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 (arg1)->RecalcSizes();
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 Py_INCREF(Py_None); resultobj = Py_None;
14280 return resultobj;
14281 fail:
14282 return NULL;
14283 }
14284
14285
14286 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14289 wxSize result;
14290 PyObject * obj0 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (arg1)->CalcMin();
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 {
14305 wxSize * resultptr;
14306 resultptr = new wxSize((wxSize &) result);
14307 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14308 }
14309 return resultobj;
14310 fail:
14311 return NULL;
14312 }
14313
14314
14315 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14318 wxBookCtrl *result;
14319 PyObject * obj0 = 0 ;
14320 char *kwnames[] = {
14321 (char *) "self", NULL
14322 };
14323
14324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = (wxBookCtrl *)(arg1)->GetControl();
14329
14330 wxPyEndAllowThreads(__tstate);
14331 if (PyErr_Occurred()) SWIG_fail;
14332 }
14333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
14334 return resultobj;
14335 fail:
14336 return NULL;
14337 }
14338
14339
14340 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14341 PyObject *obj;
14342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14343 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14344 Py_INCREF(obj);
14345 return Py_BuildValue((char *)"");
14346 }
14347 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14348 PyObject *resultobj;
14349 wxNotebook *arg1 = (wxNotebook *) 0 ;
14350 wxNotebookSizer *result;
14351 PyObject * obj0 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "nb", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj;
14374 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14375 PyObject * obj0 = 0 ;
14376 char *kwnames[] = {
14377 (char *) "self", NULL
14378 };
14379
14380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14382 {
14383 PyThreadState* __tstate = wxPyBeginAllowThreads();
14384 (arg1)->RecalcSizes();
14385
14386 wxPyEndAllowThreads(__tstate);
14387 if (PyErr_Occurred()) SWIG_fail;
14388 }
14389 Py_INCREF(Py_None); resultobj = Py_None;
14390 return resultobj;
14391 fail:
14392 return NULL;
14393 }
14394
14395
14396 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14397 PyObject *resultobj;
14398 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14399 wxSize result;
14400 PyObject * obj0 = 0 ;
14401 char *kwnames[] = {
14402 (char *) "self", NULL
14403 };
14404
14405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (arg1)->CalcMin();
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 {
14415 wxSize * resultptr;
14416 resultptr = new wxSize((wxSize &) result);
14417 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14418 }
14419 return resultobj;
14420 fail:
14421 return NULL;
14422 }
14423
14424
14425 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14428 wxNotebook *result;
14429 PyObject * obj0 = 0 ;
14430 char *kwnames[] = {
14431 (char *) "self", NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = (wxNotebook *)(arg1)->GetNotebook();
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 {
14444 resultobj = wxPyMake_wxObject(result);
14445 }
14446 return resultobj;
14447 fail:
14448 return NULL;
14449 }
14450
14451
14452 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14453 PyObject *obj;
14454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14455 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14456 Py_INCREF(obj);
14457 return Py_BuildValue((char *)"");
14458 }
14459 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14460 PyObject *resultobj;
14461 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14462 int result;
14463 PyObject * obj0 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "self", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14470 {
14471 PyThreadState* __tstate = wxPyBeginAllowThreads();
14472 result = (int)(arg1)->GetId();
14473
14474 wxPyEndAllowThreads(__tstate);
14475 if (PyErr_Occurred()) SWIG_fail;
14476 }
14477 resultobj = SWIG_PyObj_FromInt((int)result);
14478 return resultobj;
14479 fail:
14480 return NULL;
14481 }
14482
14483
14484 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14485 PyObject *resultobj;
14486 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14487 wxControl *result;
14488 PyObject * obj0 = 0 ;
14489 char *kwnames[] = {
14490 (char *) "self", NULL
14491 };
14492
14493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14495 {
14496 PyThreadState* __tstate = wxPyBeginAllowThreads();
14497 result = (wxControl *)(arg1)->GetControl();
14498
14499 wxPyEndAllowThreads(__tstate);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 {
14503 resultobj = wxPyMake_wxObject(result);
14504 }
14505 return resultobj;
14506 fail:
14507 return NULL;
14508 }
14509
14510
14511 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14512 PyObject *resultobj;
14513 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14514 wxToolBarBase *result;
14515 PyObject * obj0 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = (wxToolBarBase *)(arg1)->GetToolBar();
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 {
14530 resultobj = wxPyMake_wxObject(result);
14531 }
14532 return resultobj;
14533 fail:
14534 return NULL;
14535 }
14536
14537
14538 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj;
14540 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14541 int result;
14542 PyObject * obj0 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 result = (int)(arg1)->IsButton();
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 resultobj = SWIG_PyObj_FromInt((int)result);
14557 return resultobj;
14558 fail:
14559 return NULL;
14560 }
14561
14562
14563 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14564 PyObject *resultobj;
14565 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14566 int result;
14567 PyObject * obj0 = 0 ;
14568 char *kwnames[] = {
14569 (char *) "self", NULL
14570 };
14571
14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 result = (int)(arg1)->IsControl();
14577
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 resultobj = SWIG_PyObj_FromInt((int)result);
14582 return resultobj;
14583 fail:
14584 return NULL;
14585 }
14586
14587
14588 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14591 int result;
14592 PyObject * obj0 = 0 ;
14593 char *kwnames[] = {
14594 (char *) "self", NULL
14595 };
14596
14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (int)(arg1)->IsSeparator();
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 resultobj = SWIG_PyObj_FromInt((int)result);
14607 return resultobj;
14608 fail:
14609 return NULL;
14610 }
14611
14612
14613 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14616 int result;
14617 PyObject * obj0 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14624 {
14625 PyThreadState* __tstate = wxPyBeginAllowThreads();
14626 result = (int)(arg1)->GetStyle();
14627
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 resultobj = SWIG_PyObj_FromInt((int)result);
14632 return resultobj;
14633 fail:
14634 return NULL;
14635 }
14636
14637
14638 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
14639 PyObject *resultobj;
14640 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14641 int result;
14642 PyObject * obj0 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14649 {
14650 PyThreadState* __tstate = wxPyBeginAllowThreads();
14651 result = (int)(arg1)->GetKind();
14652
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 resultobj = SWIG_PyObj_FromInt((int)result);
14657 return resultobj;
14658 fail:
14659 return NULL;
14660 }
14661
14662
14663 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14664 PyObject *resultobj;
14665 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14666 bool result;
14667 PyObject * obj0 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
14673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14674 {
14675 PyThreadState* __tstate = wxPyBeginAllowThreads();
14676 result = (bool)(arg1)->IsEnabled();
14677
14678 wxPyEndAllowThreads(__tstate);
14679 if (PyErr_Occurred()) SWIG_fail;
14680 }
14681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14682 return resultobj;
14683 fail:
14684 return NULL;
14685 }
14686
14687
14688 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14689 PyObject *resultobj;
14690 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14691 bool result;
14692 PyObject * obj0 = 0 ;
14693 char *kwnames[] = {
14694 (char *) "self", NULL
14695 };
14696
14697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
14698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (bool)(arg1)->IsToggled();
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14707 return resultobj;
14708 fail:
14709 return NULL;
14710 }
14711
14712
14713 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14716 bool result;
14717 PyObject * obj0 = 0 ;
14718 char *kwnames[] = {
14719 (char *) "self", NULL
14720 };
14721
14722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
14723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (bool)(arg1)->CanBeToggled();
14727
14728 wxPyEndAllowThreads(__tstate);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14732 return resultobj;
14733 fail:
14734 return NULL;
14735 }
14736
14737
14738 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14739 PyObject *resultobj;
14740 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14741 wxBitmap *result;
14742 PyObject * obj0 = 0 ;
14743 char *kwnames[] = {
14744 (char *) "self", NULL
14745 };
14746
14747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
14748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14749 {
14750 PyThreadState* __tstate = wxPyBeginAllowThreads();
14751 {
14752 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
14753 result = (wxBitmap *) &_result_ref;
14754 }
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14760 return resultobj;
14761 fail:
14762 return NULL;
14763 }
14764
14765
14766 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj;
14768 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14769 wxBitmap *result;
14770 PyObject * obj0 = 0 ;
14771 char *kwnames[] = {
14772 (char *) "self", NULL
14773 };
14774
14775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",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 {
14780 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
14781 result = (wxBitmap *) &_result_ref;
14782 }
14783
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj;
14796 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14797 wxBitmap result;
14798 PyObject * obj0 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
14804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (arg1)->GetBitmap();
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
14812 {
14813 wxBitmap * resultptr;
14814 resultptr = new wxBitmap((wxBitmap &) result);
14815 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
14816 }
14817 return resultobj;
14818 fail:
14819 return NULL;
14820 }
14821
14822
14823 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14824 PyObject *resultobj;
14825 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14826 wxString result;
14827 PyObject * obj0 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "self", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
14833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = (arg1)->GetLabel();
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 {
14842 #if wxUSE_UNICODE
14843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14844 #else
14845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14846 #endif
14847 }
14848 return resultobj;
14849 fail:
14850 return NULL;
14851 }
14852
14853
14854 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14855 PyObject *resultobj;
14856 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14857 wxString result;
14858 PyObject * obj0 = 0 ;
14859 char *kwnames[] = {
14860 (char *) "self", NULL
14861 };
14862
14863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
14864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 result = (arg1)->GetShortHelp();
14868
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 {
14873 #if wxUSE_UNICODE
14874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14875 #else
14876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14877 #endif
14878 }
14879 return resultobj;
14880 fail:
14881 return NULL;
14882 }
14883
14884
14885 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14886 PyObject *resultobj;
14887 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14888 wxString result;
14889 PyObject * obj0 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
14895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 result = (arg1)->GetLongHelp();
14899
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 {
14904 #if wxUSE_UNICODE
14905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14906 #else
14907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14908 #endif
14909 }
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj;
14918 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14919 bool arg2 ;
14920 bool result;
14921 PyObject * obj0 = 0 ;
14922 PyObject * obj1 = 0 ;
14923 char *kwnames[] = {
14924 (char *) "self",(char *) "enable", NULL
14925 };
14926
14927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
14928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14929 {
14930 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
14935 result = (bool)(arg1)->Enable(arg2);
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14950 PyObject * obj0 = 0 ;
14951 char *kwnames[] = {
14952 (char *) "self", NULL
14953 };
14954
14955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
14956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 (arg1)->Toggle();
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 Py_INCREF(Py_None); resultobj = Py_None;
14965 return resultobj;
14966 fail:
14967 return NULL;
14968 }
14969
14970
14971 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj;
14973 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14974 bool arg2 ;
14975 bool result;
14976 PyObject * obj0 = 0 ;
14977 PyObject * obj1 = 0 ;
14978 char *kwnames[] = {
14979 (char *) "self",(char *) "toggle", NULL
14980 };
14981
14982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
14983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14984 {
14985 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14986 if (PyErr_Occurred()) SWIG_fail;
14987 }
14988 {
14989 PyThreadState* __tstate = wxPyBeginAllowThreads();
14990 result = (bool)(arg1)->SetToggle(arg2);
14991
14992 wxPyEndAllowThreads(__tstate);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 }
14995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14996 return resultobj;
14997 fail:
14998 return NULL;
14999 }
15000
15001
15002 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15003 PyObject *resultobj;
15004 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15005 wxString *arg2 = 0 ;
15006 bool result;
15007 bool temp2 = False ;
15008 PyObject * obj0 = 0 ;
15009 PyObject * obj1 = 0 ;
15010 char *kwnames[] = {
15011 (char *) "self",(char *) "help", NULL
15012 };
15013
15014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15016 {
15017 arg2 = wxString_in_helper(obj1);
15018 if (arg2 == NULL) SWIG_fail;
15019 temp2 = True;
15020 }
15021 {
15022 PyThreadState* __tstate = wxPyBeginAllowThreads();
15023 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15029 {
15030 if (temp2)
15031 delete arg2;
15032 }
15033 return resultobj;
15034 fail:
15035 {
15036 if (temp2)
15037 delete arg2;
15038 }
15039 return NULL;
15040 }
15041
15042
15043 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj;
15045 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15046 wxString *arg2 = 0 ;
15047 bool result;
15048 bool temp2 = False ;
15049 PyObject * obj0 = 0 ;
15050 PyObject * obj1 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self",(char *) "help", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 {
15058 arg2 = wxString_in_helper(obj1);
15059 if (arg2 == NULL) SWIG_fail;
15060 temp2 = True;
15061 }
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15070 {
15071 if (temp2)
15072 delete arg2;
15073 }
15074 return resultobj;
15075 fail:
15076 {
15077 if (temp2)
15078 delete arg2;
15079 }
15080 return NULL;
15081 }
15082
15083
15084 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15085 PyObject *resultobj;
15086 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15087 wxBitmap *arg2 = 0 ;
15088 PyObject * obj0 = 0 ;
15089 PyObject * obj1 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self",(char *) "bmp", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15097 if (arg2 == NULL) {
15098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15099 }
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 Py_INCREF(Py_None); resultobj = Py_None;
15108 return resultobj;
15109 fail:
15110 return NULL;
15111 }
15112
15113
15114 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15117 wxBitmap *arg2 = 0 ;
15118 PyObject * obj0 = 0 ;
15119 PyObject * obj1 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self",(char *) "bmp", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15127 if (arg2 == NULL) {
15128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15129 }
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 Py_INCREF(Py_None); resultobj = Py_None;
15138 return resultobj;
15139 fail:
15140 return NULL;
15141 }
15142
15143
15144 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15147 wxString *arg2 = 0 ;
15148 bool temp2 = False ;
15149 PyObject * obj0 = 0 ;
15150 PyObject * obj1 = 0 ;
15151 char *kwnames[] = {
15152 (char *) "self",(char *) "label", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15157 {
15158 arg2 = wxString_in_helper(obj1);
15159 if (arg2 == NULL) SWIG_fail;
15160 temp2 = True;
15161 }
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 (arg1)->SetLabel((wxString const &)*arg2);
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 Py_INCREF(Py_None); resultobj = Py_None;
15170 {
15171 if (temp2)
15172 delete arg2;
15173 }
15174 return resultobj;
15175 fail:
15176 {
15177 if (temp2)
15178 delete arg2;
15179 }
15180 return NULL;
15181 }
15182
15183
15184 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15185 PyObject *resultobj;
15186 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15187 PyObject * obj0 = 0 ;
15188 char *kwnames[] = {
15189 (char *) "self", NULL
15190 };
15191
15192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->Detach();
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 Py_INCREF(Py_None); resultobj = Py_None;
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15211 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 char *kwnames[] = {
15215 (char *) "self",(char *) "tbar", NULL
15216 };
15217
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15221 {
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 (arg1)->Attach(arg2);
15224
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
15228 Py_INCREF(Py_None); resultobj = Py_None;
15229 return resultobj;
15230 fail:
15231 return NULL;
15232 }
15233
15234
15235 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj;
15237 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15238 PyObject *result;
15239 PyObject * obj0 = 0 ;
15240 char *kwnames[] = {
15241 (char *) "self", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15246 {
15247 PyThreadState* __tstate = wxPyBeginAllowThreads();
15248 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15249
15250 wxPyEndAllowThreads(__tstate);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 }
15253 resultobj = result;
15254 return resultobj;
15255 fail:
15256 return NULL;
15257 }
15258
15259
15260 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15263 PyObject *arg2 = (PyObject *) 0 ;
15264 PyObject * obj0 = 0 ;
15265 PyObject * obj1 = 0 ;
15266 char *kwnames[] = {
15267 (char *) "self",(char *) "clientData", NULL
15268 };
15269
15270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15272 arg2 = obj1;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 wxToolBarToolBase_SetClientData(arg1,arg2);
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 Py_INCREF(Py_None); resultobj = Py_None;
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15288 PyObject *obj;
15289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15290 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15291 Py_INCREF(obj);
15292 return Py_BuildValue((char *)"");
15293 }
15294 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj;
15296 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15297 int arg2 ;
15298 wxString *arg3 = 0 ;
15299 wxBitmap *arg4 = 0 ;
15300 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15301 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15302 int arg6 = (int) wxITEM_NORMAL ;
15303 wxString const &arg7_defvalue = wxPyEmptyString ;
15304 wxString *arg7 = (wxString *) &arg7_defvalue ;
15305 wxString const &arg8_defvalue = wxPyEmptyString ;
15306 wxString *arg8 = (wxString *) &arg8_defvalue ;
15307 PyObject *arg9 = (PyObject *) NULL ;
15308 wxToolBarToolBase *result;
15309 bool temp3 = False ;
15310 bool temp7 = False ;
15311 bool temp8 = False ;
15312 PyObject * obj0 = 0 ;
15313 PyObject * obj1 = 0 ;
15314 PyObject * obj2 = 0 ;
15315 PyObject * obj3 = 0 ;
15316 PyObject * obj4 = 0 ;
15317 PyObject * obj5 = 0 ;
15318 PyObject * obj6 = 0 ;
15319 PyObject * obj7 = 0 ;
15320 PyObject * obj8 = 0 ;
15321 char *kwnames[] = {
15322 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15323 };
15324
15325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15327 {
15328 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 {
15332 arg3 = wxString_in_helper(obj2);
15333 if (arg3 == NULL) SWIG_fail;
15334 temp3 = True;
15335 }
15336 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15337 if (arg4 == NULL) {
15338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15339 }
15340 if (obj4) {
15341 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15342 if (arg5 == NULL) {
15343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15344 }
15345 }
15346 if (obj5) {
15347 {
15348 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 }
15352 if (obj6) {
15353 {
15354 arg7 = wxString_in_helper(obj6);
15355 if (arg7 == NULL) SWIG_fail;
15356 temp7 = True;
15357 }
15358 }
15359 if (obj7) {
15360 {
15361 arg8 = wxString_in_helper(obj7);
15362 if (arg8 == NULL) SWIG_fail;
15363 temp8 = True;
15364 }
15365 }
15366 if (obj8) {
15367 arg9 = obj8;
15368 }
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 {
15377 resultobj = wxPyMake_wxObject(result);
15378 }
15379 {
15380 if (temp3)
15381 delete arg3;
15382 }
15383 {
15384 if (temp7)
15385 delete arg7;
15386 }
15387 {
15388 if (temp8)
15389 delete arg8;
15390 }
15391 return resultobj;
15392 fail:
15393 {
15394 if (temp3)
15395 delete arg3;
15396 }
15397 {
15398 if (temp7)
15399 delete arg7;
15400 }
15401 {
15402 if (temp8)
15403 delete arg8;
15404 }
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15412 size_t arg2 ;
15413 int arg3 ;
15414 wxString *arg4 = 0 ;
15415 wxBitmap *arg5 = 0 ;
15416 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15417 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15418 int arg7 = (int) wxITEM_NORMAL ;
15419 wxString const &arg8_defvalue = wxPyEmptyString ;
15420 wxString *arg8 = (wxString *) &arg8_defvalue ;
15421 wxString const &arg9_defvalue = wxPyEmptyString ;
15422 wxString *arg9 = (wxString *) &arg9_defvalue ;
15423 PyObject *arg10 = (PyObject *) NULL ;
15424 wxToolBarToolBase *result;
15425 bool temp4 = False ;
15426 bool temp8 = False ;
15427 bool temp9 = False ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 PyObject * obj2 = 0 ;
15431 PyObject * obj3 = 0 ;
15432 PyObject * obj4 = 0 ;
15433 PyObject * obj5 = 0 ;
15434 PyObject * obj6 = 0 ;
15435 PyObject * obj7 = 0 ;
15436 PyObject * obj8 = 0 ;
15437 PyObject * obj9 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15444 {
15445 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 {
15449 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 {
15453 arg4 = wxString_in_helper(obj3);
15454 if (arg4 == NULL) SWIG_fail;
15455 temp4 = True;
15456 }
15457 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15458 if (arg5 == NULL) {
15459 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15460 }
15461 if (obj5) {
15462 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15463 if (arg6 == NULL) {
15464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15465 }
15466 }
15467 if (obj6) {
15468 {
15469 arg7 = (wxItemKind) SWIG_PyObj_AsInt(obj6);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 }
15473 if (obj7) {
15474 {
15475 arg8 = wxString_in_helper(obj7);
15476 if (arg8 == NULL) SWIG_fail;
15477 temp8 = True;
15478 }
15479 }
15480 if (obj8) {
15481 {
15482 arg9 = wxString_in_helper(obj8);
15483 if (arg9 == NULL) SWIG_fail;
15484 temp9 = True;
15485 }
15486 }
15487 if (obj9) {
15488 arg10 = obj9;
15489 }
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 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);
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 {
15498 resultobj = wxPyMake_wxObject(result);
15499 }
15500 {
15501 if (temp4)
15502 delete arg4;
15503 }
15504 {
15505 if (temp8)
15506 delete arg8;
15507 }
15508 {
15509 if (temp9)
15510 delete arg9;
15511 }
15512 return resultobj;
15513 fail:
15514 {
15515 if (temp4)
15516 delete arg4;
15517 }
15518 {
15519 if (temp8)
15520 delete arg8;
15521 }
15522 {
15523 if (temp9)
15524 delete arg9;
15525 }
15526 return NULL;
15527 }
15528
15529
15530 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15531 PyObject *resultobj;
15532 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15533 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15534 wxToolBarToolBase *result;
15535 PyObject * obj0 = 0 ;
15536 PyObject * obj1 = 0 ;
15537 char *kwnames[] = {
15538 (char *) "self",(char *) "tool", NULL
15539 };
15540
15541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15547
15548 wxPyEndAllowThreads(__tstate);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15551 {
15552 resultobj = wxPyMake_wxObject(result);
15553 }
15554 return resultobj;
15555 fail:
15556 return NULL;
15557 }
15558
15559
15560 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15561 PyObject *resultobj;
15562 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15563 size_t arg2 ;
15564 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15565 wxToolBarToolBase *result;
15566 PyObject * obj0 = 0 ;
15567 PyObject * obj1 = 0 ;
15568 PyObject * obj2 = 0 ;
15569 char *kwnames[] = {
15570 (char *) "self",(char *) "pos",(char *) "tool", NULL
15571 };
15572
15573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15575 {
15576 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15577 if (PyErr_Occurred()) SWIG_fail;
15578 }
15579 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15580 {
15581 PyThreadState* __tstate = wxPyBeginAllowThreads();
15582 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15583
15584 wxPyEndAllowThreads(__tstate);
15585 if (PyErr_Occurred()) SWIG_fail;
15586 }
15587 {
15588 resultobj = wxPyMake_wxObject(result);
15589 }
15590 return resultobj;
15591 fail:
15592 return NULL;
15593 }
15594
15595
15596 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15597 PyObject *resultobj;
15598 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15599 wxControl *arg2 = (wxControl *) 0 ;
15600 wxToolBarToolBase *result;
15601 PyObject * obj0 = 0 ;
15602 PyObject * obj1 = 0 ;
15603 char *kwnames[] = {
15604 (char *) "self",(char *) "control", NULL
15605 };
15606
15607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15617 {
15618 resultobj = wxPyMake_wxObject(result);
15619 }
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15629 size_t arg2 ;
15630 wxControl *arg3 = (wxControl *) 0 ;
15631 wxToolBarToolBase *result;
15632 PyObject * obj0 = 0 ;
15633 PyObject * obj1 = 0 ;
15634 PyObject * obj2 = 0 ;
15635 char *kwnames[] = {
15636 (char *) "self",(char *) "pos",(char *) "control", NULL
15637 };
15638
15639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15641 {
15642 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15646 {
15647 PyThreadState* __tstate = wxPyBeginAllowThreads();
15648 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
15649
15650 wxPyEndAllowThreads(__tstate);
15651 if (PyErr_Occurred()) SWIG_fail;
15652 }
15653 {
15654 resultobj = wxPyMake_wxObject(result);
15655 }
15656 return resultobj;
15657 fail:
15658 return NULL;
15659 }
15660
15661
15662 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj;
15664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15665 int arg2 ;
15666 wxControl *result;
15667 PyObject * obj0 = 0 ;
15668 PyObject * obj1 = 0 ;
15669 char *kwnames[] = {
15670 (char *) "self",(char *) "id", NULL
15671 };
15672
15673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15675 {
15676 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15677 if (PyErr_Occurred()) SWIG_fail;
15678 }
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 result = (wxControl *)(arg1)->FindControl(arg2);
15682
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 {
15687 resultobj = wxPyMake_wxObject(result);
15688 }
15689 return resultobj;
15690 fail:
15691 return NULL;
15692 }
15693
15694
15695 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15696 PyObject *resultobj;
15697 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15698 wxToolBarToolBase *result;
15699 PyObject * obj0 = 0 ;
15700 char *kwnames[] = {
15701 (char *) "self", NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15706 {
15707 PyThreadState* __tstate = wxPyBeginAllowThreads();
15708 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
15709
15710 wxPyEndAllowThreads(__tstate);
15711 if (PyErr_Occurred()) SWIG_fail;
15712 }
15713 {
15714 resultobj = wxPyMake_wxObject(result);
15715 }
15716 return resultobj;
15717 fail:
15718 return NULL;
15719 }
15720
15721
15722 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15725 size_t arg2 ;
15726 wxToolBarToolBase *result;
15727 PyObject * obj0 = 0 ;
15728 PyObject * obj1 = 0 ;
15729 char *kwnames[] = {
15730 (char *) "self",(char *) "pos", NULL
15731 };
15732
15733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15735 {
15736 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15737 if (PyErr_Occurred()) SWIG_fail;
15738 }
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 {
15747 resultobj = wxPyMake_wxObject(result);
15748 }
15749 return resultobj;
15750 fail:
15751 return NULL;
15752 }
15753
15754
15755 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15756 PyObject *resultobj;
15757 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15758 int arg2 ;
15759 wxToolBarToolBase *result;
15760 PyObject * obj0 = 0 ;
15761 PyObject * obj1 = 0 ;
15762 char *kwnames[] = {
15763 (char *) "self",(char *) "id", NULL
15764 };
15765
15766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15768 {
15769 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 {
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 {
15780 resultobj = wxPyMake_wxObject(result);
15781 }
15782 return resultobj;
15783 fail:
15784 return NULL;
15785 }
15786
15787
15788 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
15789 PyObject *resultobj;
15790 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15791 size_t arg2 ;
15792 bool result;
15793 PyObject * obj0 = 0 ;
15794 PyObject * obj1 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "pos", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15801 {
15802 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 {
15806 PyThreadState* __tstate = wxPyBeginAllowThreads();
15807 result = (bool)(arg1)->DeleteToolByPos(arg2);
15808
15809 wxPyEndAllowThreads(__tstate);
15810 if (PyErr_Occurred()) SWIG_fail;
15811 }
15812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15813 return resultobj;
15814 fail:
15815 return NULL;
15816 }
15817
15818
15819 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15820 PyObject *resultobj;
15821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15822 int arg2 ;
15823 bool result;
15824 PyObject * obj0 = 0 ;
15825 PyObject * obj1 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self",(char *) "id", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
15831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15832 {
15833 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
15836 {
15837 PyThreadState* __tstate = wxPyBeginAllowThreads();
15838 result = (bool)(arg1)->DeleteTool(arg2);
15839
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15844 return resultobj;
15845 fail:
15846 return NULL;
15847 }
15848
15849
15850 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
15851 PyObject *resultobj;
15852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15853 PyObject * obj0 = 0 ;
15854 char *kwnames[] = {
15855 (char *) "self", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
15859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15860 {
15861 PyThreadState* __tstate = wxPyBeginAllowThreads();
15862 (arg1)->ClearTools();
15863
15864 wxPyEndAllowThreads(__tstate);
15865 if (PyErr_Occurred()) SWIG_fail;
15866 }
15867 Py_INCREF(Py_None); resultobj = Py_None;
15868 return resultobj;
15869 fail:
15870 return NULL;
15871 }
15872
15873
15874 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
15875 PyObject *resultobj;
15876 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15877 bool result;
15878 PyObject * obj0 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
15884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 result = (bool)(arg1)->Realize();
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15893 return resultobj;
15894 fail:
15895 return NULL;
15896 }
15897
15898
15899 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15900 PyObject *resultobj;
15901 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15902 int arg2 ;
15903 bool arg3 ;
15904 PyObject * obj0 = 0 ;
15905 PyObject * obj1 = 0 ;
15906 PyObject * obj2 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self",(char *) "id",(char *) "enable", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15913 {
15914 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 {
15922 PyThreadState* __tstate = wxPyBeginAllowThreads();
15923 (arg1)->EnableTool(arg2,arg3);
15924
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 Py_INCREF(Py_None); resultobj = Py_None;
15929 return resultobj;
15930 fail:
15931 return NULL;
15932 }
15933
15934
15935 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj;
15937 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15938 int arg2 ;
15939 bool arg3 ;
15940 PyObject * obj0 = 0 ;
15941 PyObject * obj1 = 0 ;
15942 PyObject * obj2 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self",(char *) "id",(char *) "toggle", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15949 {
15950 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15951 if (PyErr_Occurred()) SWIG_fail;
15952 }
15953 {
15954 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 (arg1)->ToggleTool(arg2,arg3);
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 Py_INCREF(Py_None); resultobj = Py_None;
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15974 int arg2 ;
15975 bool arg3 ;
15976 PyObject * obj0 = 0 ;
15977 PyObject * obj1 = 0 ;
15978 PyObject * obj2 = 0 ;
15979 char *kwnames[] = {
15980 (char *) "self",(char *) "id",(char *) "toggle", NULL
15981 };
15982
15983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15985 {
15986 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 {
15990 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15991 if (PyErr_Occurred()) SWIG_fail;
15992 }
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 (arg1)->SetToggle(arg2,arg3);
15996
15997 wxPyEndAllowThreads(__tstate);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 }
16000 Py_INCREF(Py_None); resultobj = Py_None;
16001 return resultobj;
16002 fail:
16003 return NULL;
16004 }
16005
16006
16007 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16010 int arg2 ;
16011 PyObject *result;
16012 PyObject * obj0 = 0 ;
16013 PyObject * obj1 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self",(char *) "id", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16020 {
16021 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 resultobj = result;
16032 return resultobj;
16033 fail:
16034 return NULL;
16035 }
16036
16037
16038 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16041 int arg2 ;
16042 PyObject *arg3 = (PyObject *) 0 ;
16043 PyObject * obj0 = 0 ;
16044 PyObject * obj1 = 0 ;
16045 PyObject * obj2 = 0 ;
16046 char *kwnames[] = {
16047 (char *) "self",(char *) "id",(char *) "clientData", NULL
16048 };
16049
16050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16052 {
16053 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 arg3 = obj2;
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 Py_INCREF(Py_None); resultobj = Py_None;
16065 return resultobj;
16066 fail:
16067 return NULL;
16068 }
16069
16070
16071 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16072 PyObject *resultobj;
16073 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16074 int arg2 ;
16075 int result;
16076 PyObject * obj0 = 0 ;
16077 PyObject * obj1 = 0 ;
16078 char *kwnames[] = {
16079 (char *) "self",(char *) "id", NULL
16080 };
16081
16082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16084 {
16085 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 {
16089 PyThreadState* __tstate = wxPyBeginAllowThreads();
16090 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16091
16092 wxPyEndAllowThreads(__tstate);
16093 if (PyErr_Occurred()) SWIG_fail;
16094 }
16095 resultobj = SWIG_PyObj_FromInt((int)result);
16096 return resultobj;
16097 fail:
16098 return NULL;
16099 }
16100
16101
16102 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16105 int arg2 ;
16106 bool result;
16107 PyObject * obj0 = 0 ;
16108 PyObject * obj1 = 0 ;
16109 char *kwnames[] = {
16110 (char *) "self",(char *) "id", NULL
16111 };
16112
16113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16115 {
16116 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16117 if (PyErr_Occurred()) SWIG_fail;
16118 }
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 result = (bool)(arg1)->GetToolState(arg2);
16122
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16127 return resultobj;
16128 fail:
16129 return NULL;
16130 }
16131
16132
16133 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16136 int arg2 ;
16137 bool result;
16138 PyObject * obj0 = 0 ;
16139 PyObject * obj1 = 0 ;
16140 char *kwnames[] = {
16141 (char *) "self",(char *) "id", NULL
16142 };
16143
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16146 {
16147 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 {
16151 PyThreadState* __tstate = wxPyBeginAllowThreads();
16152 result = (bool)(arg1)->GetToolEnabled(arg2);
16153
16154 wxPyEndAllowThreads(__tstate);
16155 if (PyErr_Occurred()) SWIG_fail;
16156 }
16157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16158 return resultobj;
16159 fail:
16160 return NULL;
16161 }
16162
16163
16164 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16165 PyObject *resultobj;
16166 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16167 int arg2 ;
16168 wxString *arg3 = 0 ;
16169 bool temp3 = False ;
16170 PyObject * obj0 = 0 ;
16171 PyObject * obj1 = 0 ;
16172 PyObject * obj2 = 0 ;
16173 char *kwnames[] = {
16174 (char *) "self",(char *) "id",(char *) "helpString", NULL
16175 };
16176
16177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16179 {
16180 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16181 if (PyErr_Occurred()) SWIG_fail;
16182 }
16183 {
16184 arg3 = wxString_in_helper(obj2);
16185 if (arg3 == NULL) SWIG_fail;
16186 temp3 = True;
16187 }
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 Py_INCREF(Py_None); resultobj = Py_None;
16196 {
16197 if (temp3)
16198 delete arg3;
16199 }
16200 return resultobj;
16201 fail:
16202 {
16203 if (temp3)
16204 delete arg3;
16205 }
16206 return NULL;
16207 }
16208
16209
16210 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16213 int arg2 ;
16214 wxString result;
16215 PyObject * obj0 = 0 ;
16216 PyObject * obj1 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "id", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16223 {
16224 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = (arg1)->GetToolShortHelp(arg2);
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 {
16235 #if wxUSE_UNICODE
16236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16237 #else
16238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16239 #endif
16240 }
16241 return resultobj;
16242 fail:
16243 return NULL;
16244 }
16245
16246
16247 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj;
16249 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16250 int arg2 ;
16251 wxString *arg3 = 0 ;
16252 bool temp3 = False ;
16253 PyObject * obj0 = 0 ;
16254 PyObject * obj1 = 0 ;
16255 PyObject * obj2 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self",(char *) "id",(char *) "helpString", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = wxString_in_helper(obj2);
16268 if (arg3 == NULL) SWIG_fail;
16269 temp3 = True;
16270 }
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
16273 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 Py_INCREF(Py_None); resultobj = Py_None;
16279 {
16280 if (temp3)
16281 delete arg3;
16282 }
16283 return resultobj;
16284 fail:
16285 {
16286 if (temp3)
16287 delete arg3;
16288 }
16289 return NULL;
16290 }
16291
16292
16293 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16296 int arg2 ;
16297 wxString result;
16298 PyObject * obj0 = 0 ;
16299 PyObject * obj1 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "self",(char *) "id", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16306 {
16307 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 result = (arg1)->GetToolLongHelp(arg2);
16313
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 {
16318 #if wxUSE_UNICODE
16319 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16320 #else
16321 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16322 #endif
16323 }
16324 return resultobj;
16325 fail:
16326 return NULL;
16327 }
16328
16329
16330 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16331 PyObject *resultobj;
16332 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16333 int arg2 ;
16334 int arg3 ;
16335 PyObject * obj0 = 0 ;
16336 PyObject * obj1 = 0 ;
16337 PyObject * obj2 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self",(char *) "x",(char *) "y", NULL
16340 };
16341
16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16344 {
16345 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16346 if (PyErr_Occurred()) SWIG_fail;
16347 }
16348 {
16349 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16350 if (PyErr_Occurred()) SWIG_fail;
16351 }
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 (arg1)->SetMargins(arg2,arg3);
16355
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 Py_INCREF(Py_None); resultobj = Py_None;
16360 return resultobj;
16361 fail:
16362 return NULL;
16363 }
16364
16365
16366 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16367 PyObject *resultobj;
16368 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16369 wxSize *arg2 = 0 ;
16370 wxSize temp2 ;
16371 PyObject * obj0 = 0 ;
16372 PyObject * obj1 = 0 ;
16373 char *kwnames[] = {
16374 (char *) "self",(char *) "size", NULL
16375 };
16376
16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16379 {
16380 arg2 = &temp2;
16381 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16382 }
16383 {
16384 PyThreadState* __tstate = wxPyBeginAllowThreads();
16385 (arg1)->SetMargins((wxSize const &)*arg2);
16386
16387 wxPyEndAllowThreads(__tstate);
16388 if (PyErr_Occurred()) SWIG_fail;
16389 }
16390 Py_INCREF(Py_None); resultobj = Py_None;
16391 return resultobj;
16392 fail:
16393 return NULL;
16394 }
16395
16396
16397 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16398 PyObject *resultobj;
16399 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16400 int arg2 ;
16401 PyObject * obj0 = 0 ;
16402 PyObject * obj1 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self",(char *) "packing", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16409 {
16410 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 (arg1)->SetToolPacking(arg2);
16416
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 Py_INCREF(Py_None); resultobj = Py_None;
16421 return resultobj;
16422 fail:
16423 return NULL;
16424 }
16425
16426
16427 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16428 PyObject *resultobj;
16429 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16430 int arg2 ;
16431 PyObject * obj0 = 0 ;
16432 PyObject * obj1 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self",(char *) "separation", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16439 {
16440 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 (arg1)->SetToolSeparation(arg2);
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 Py_INCREF(Py_None); resultobj = Py_None;
16451 return resultobj;
16452 fail:
16453 return NULL;
16454 }
16455
16456
16457 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16458 PyObject *resultobj;
16459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16460 wxSize result;
16461 PyObject * obj0 = 0 ;
16462 char *kwnames[] = {
16463 (char *) "self", NULL
16464 };
16465
16466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
16470 result = (arg1)->GetToolMargins();
16471
16472 wxPyEndAllowThreads(__tstate);
16473 if (PyErr_Occurred()) SWIG_fail;
16474 }
16475 {
16476 wxSize * resultptr;
16477 resultptr = new wxSize((wxSize &) result);
16478 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16479 }
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj;
16488 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16489 wxSize result;
16490 PyObject * obj0 = 0 ;
16491 char *kwnames[] = {
16492 (char *) "self", NULL
16493 };
16494
16495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16497 {
16498 PyThreadState* __tstate = wxPyBeginAllowThreads();
16499 result = (arg1)->GetMargins();
16500
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 {
16505 wxSize * resultptr;
16506 resultptr = new wxSize((wxSize &) result);
16507 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16508 }
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16518 int result;
16519 PyObject * obj0 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 result = (int)(arg1)->GetToolPacking();
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = SWIG_PyObj_FromInt((int)result);
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16541 PyObject *resultobj;
16542 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16543 int result;
16544 PyObject * obj0 = 0 ;
16545 char *kwnames[] = {
16546 (char *) "self", NULL
16547 };
16548
16549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 result = (int)(arg1)->GetToolSeparation();
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 resultobj = SWIG_PyObj_FromInt((int)result);
16559 return resultobj;
16560 fail:
16561 return NULL;
16562 }
16563
16564
16565 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16568 int arg2 ;
16569 PyObject * obj0 = 0 ;
16570 PyObject * obj1 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self",(char *) "nRows", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16577 {
16578 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 {
16582 PyThreadState* __tstate = wxPyBeginAllowThreads();
16583 (arg1)->SetRows(arg2);
16584
16585 wxPyEndAllowThreads(__tstate);
16586 if (PyErr_Occurred()) SWIG_fail;
16587 }
16588 Py_INCREF(Py_None); resultobj = Py_None;
16589 return resultobj;
16590 fail:
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16598 int arg2 ;
16599 int arg3 ;
16600 PyObject * obj0 = 0 ;
16601 PyObject * obj1 = 0 ;
16602 PyObject * obj2 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self",(char *) "rows",(char *) "cols", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16609 {
16610 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
16613 {
16614 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 (arg1)->SetMaxRowsCols(arg2,arg3);
16620
16621 wxPyEndAllowThreads(__tstate);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 Py_INCREF(Py_None); resultobj = Py_None;
16625 return resultobj;
16626 fail:
16627 return NULL;
16628 }
16629
16630
16631 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16632 PyObject *resultobj;
16633 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16634 int result;
16635 PyObject * obj0 = 0 ;
16636 char *kwnames[] = {
16637 (char *) "self", NULL
16638 };
16639
16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 result = (int)(arg1)->GetMaxRows();
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 resultobj = SWIG_PyObj_FromInt((int)result);
16650 return resultobj;
16651 fail:
16652 return NULL;
16653 }
16654
16655
16656 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16657 PyObject *resultobj;
16658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16659 int result;
16660 PyObject * obj0 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = (int)(arg1)->GetMaxCols();
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = SWIG_PyObj_FromInt((int)result);
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16684 wxSize *arg2 = 0 ;
16685 wxSize temp2 ;
16686 PyObject * obj0 = 0 ;
16687 PyObject * obj1 = 0 ;
16688 char *kwnames[] = {
16689 (char *) "self",(char *) "size", NULL
16690 };
16691
16692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
16693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16694 {
16695 arg2 = &temp2;
16696 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16697 }
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
16701
16702 wxPyEndAllowThreads(__tstate);
16703 if (PyErr_Occurred()) SWIG_fail;
16704 }
16705 Py_INCREF(Py_None); resultobj = Py_None;
16706 return resultobj;
16707 fail:
16708 return NULL;
16709 }
16710
16711
16712 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16713 PyObject *resultobj;
16714 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16715 wxSize result;
16716 PyObject * obj0 = 0 ;
16717 char *kwnames[] = {
16718 (char *) "self", NULL
16719 };
16720
16721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
16722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 result = (arg1)->GetToolBitmapSize();
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 {
16731 wxSize * resultptr;
16732 resultptr = new wxSize((wxSize &) result);
16733 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16734 }
16735 return resultobj;
16736 fail:
16737 return NULL;
16738 }
16739
16740
16741 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16742 PyObject *resultobj;
16743 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16744 wxSize result;
16745 PyObject * obj0 = 0 ;
16746 char *kwnames[] = {
16747 (char *) "self", NULL
16748 };
16749
16750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
16751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 result = (arg1)->GetToolSize();
16755
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
16759 {
16760 wxSize * resultptr;
16761 resultptr = new wxSize((wxSize &) result);
16762 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16763 }
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16773 int arg2 ;
16774 int arg3 ;
16775 wxToolBarToolBase *result;
16776 PyObject * obj0 = 0 ;
16777 PyObject * obj1 = 0 ;
16778 PyObject * obj2 = 0 ;
16779 char *kwnames[] = {
16780 (char *) "self",(char *) "x",(char *) "y", NULL
16781 };
16782
16783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
16784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16785 {
16786 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16787 if (PyErr_Occurred()) SWIG_fail;
16788 }
16789 {
16790 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 {
16801 resultobj = wxPyMake_wxObject(result);
16802 }
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16812 int arg2 ;
16813 wxToolBarToolBase *result;
16814 PyObject * obj0 = 0 ;
16815 PyObject * obj1 = 0 ;
16816 char *kwnames[] = {
16817 (char *) "self",(char *) "toolid", NULL
16818 };
16819
16820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
16821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16822 {
16823 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16824 if (PyErr_Occurred()) SWIG_fail;
16825 }
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 {
16834 resultobj = wxPyMake_wxObject(result);
16835 }
16836 return resultobj;
16837 fail:
16838 return NULL;
16839 }
16840
16841
16842 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj;
16844 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16845 bool result;
16846 PyObject * obj0 = 0 ;
16847 char *kwnames[] = {
16848 (char *) "self", NULL
16849 };
16850
16851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
16852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16853 {
16854 PyThreadState* __tstate = wxPyBeginAllowThreads();
16855 result = (bool)(arg1)->IsVertical();
16856
16857 wxPyEndAllowThreads(__tstate);
16858 if (PyErr_Occurred()) SWIG_fail;
16859 }
16860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16861 return resultobj;
16862 fail:
16863 return NULL;
16864 }
16865
16866
16867 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
16868 PyObject *obj;
16869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16870 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
16871 Py_INCREF(obj);
16872 return Py_BuildValue((char *)"");
16873 }
16874 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16875 PyObject *resultobj;
16876 wxWindow *arg1 = (wxWindow *) 0 ;
16877 int arg2 ;
16878 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16879 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16880 wxSize const &arg4_defvalue = wxDefaultSize ;
16881 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16882 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
16883 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
16884 wxString *arg6 = (wxString *) &arg6_defvalue ;
16885 wxToolBar *result;
16886 wxPoint temp3 ;
16887 wxSize temp4 ;
16888 bool temp6 = False ;
16889 PyObject * obj0 = 0 ;
16890 PyObject * obj1 = 0 ;
16891 PyObject * obj2 = 0 ;
16892 PyObject * obj3 = 0 ;
16893 PyObject * obj4 = 0 ;
16894 PyObject * obj5 = 0 ;
16895 char *kwnames[] = {
16896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16897 };
16898
16899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16901 {
16902 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 if (obj2) {
16906 {
16907 arg3 = &temp3;
16908 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16909 }
16910 }
16911 if (obj3) {
16912 {
16913 arg4 = &temp4;
16914 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16915 }
16916 }
16917 if (obj4) {
16918 {
16919 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 }
16923 if (obj5) {
16924 {
16925 arg6 = wxString_in_helper(obj5);
16926 if (arg6 == NULL) SWIG_fail;
16927 temp6 = True;
16928 }
16929 }
16930 {
16931 PyThreadState* __tstate = wxPyBeginAllowThreads();
16932 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16933
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 {
16938 resultobj = wxPyMake_wxObject(result);
16939 }
16940 {
16941 if (temp6)
16942 delete arg6;
16943 }
16944 return resultobj;
16945 fail:
16946 {
16947 if (temp6)
16948 delete arg6;
16949 }
16950 return NULL;
16951 }
16952
16953
16954 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16955 PyObject *resultobj;
16956 wxToolBar *result;
16957 char *kwnames[] = {
16958 NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 result = (wxToolBar *)new wxToolBar();
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 {
16970 resultobj = wxPyMake_wxObject(result);
16971 }
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj;
16980 wxToolBar *arg1 = (wxToolBar *) 0 ;
16981 wxWindow *arg2 = (wxWindow *) 0 ;
16982 int arg3 ;
16983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16985 wxSize const &arg5_defvalue = wxDefaultSize ;
16986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16987 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
16988 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
16989 wxString *arg7 = (wxString *) &arg7_defvalue ;
16990 bool result;
16991 wxPoint temp4 ;
16992 wxSize temp5 ;
16993 bool temp7 = False ;
16994 PyObject * obj0 = 0 ;
16995 PyObject * obj1 = 0 ;
16996 PyObject * obj2 = 0 ;
16997 PyObject * obj3 = 0 ;
16998 PyObject * obj4 = 0 ;
16999 PyObject * obj5 = 0 ;
17000 PyObject * obj6 = 0 ;
17001 char *kwnames[] = {
17002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17003 };
17004
17005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17008 {
17009 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
17012 if (obj3) {
17013 {
17014 arg4 = &temp4;
17015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17016 }
17017 }
17018 if (obj4) {
17019 {
17020 arg5 = &temp5;
17021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17022 }
17023 }
17024 if (obj5) {
17025 {
17026 arg6 = (long) SWIG_PyObj_AsLong(obj5);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 }
17030 if (obj6) {
17031 {
17032 arg7 = wxString_in_helper(obj6);
17033 if (arg7 == NULL) SWIG_fail;
17034 temp7 = True;
17035 }
17036 }
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17040
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17045 {
17046 if (temp7)
17047 delete arg7;
17048 }
17049 return resultobj;
17050 fail:
17051 {
17052 if (temp7)
17053 delete arg7;
17054 }
17055 return NULL;
17056 }
17057
17058
17059 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17060 PyObject *resultobj;
17061 wxToolBar *arg1 = (wxToolBar *) 0 ;
17062 int arg2 ;
17063 int arg3 ;
17064 wxToolBarToolBase *result;
17065 PyObject * obj0 = 0 ;
17066 PyObject * obj1 = 0 ;
17067 PyObject * obj2 = 0 ;
17068 char *kwnames[] = {
17069 (char *) "self",(char *) "x",(char *) "y", NULL
17070 };
17071
17072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17074 {
17075 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 {
17079 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 {
17083 PyThreadState* __tstate = wxPyBeginAllowThreads();
17084 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17085
17086 wxPyEndAllowThreads(__tstate);
17087 if (PyErr_Occurred()) SWIG_fail;
17088 }
17089 {
17090 resultobj = wxPyMake_wxObject(result);
17091 }
17092 return resultobj;
17093 fail:
17094 return NULL;
17095 }
17096
17097
17098 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17099 PyObject *obj;
17100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17101 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17102 Py_INCREF(obj);
17103 return Py_BuildValue((char *)"");
17104 }
17105 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17106 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17107 return 1;
17108 }
17109
17110
17111 static PyObject *_wrap_ListCtrlNameStr_get() {
17112 PyObject *pyobj;
17113
17114 {
17115 #if wxUSE_UNICODE
17116 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17117 #else
17118 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17119 #endif
17120 }
17121 return pyobj;
17122 }
17123
17124
17125 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17126 PyObject *resultobj;
17127 wxColour const &arg1_defvalue = wxNullColour ;
17128 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17129 wxColour const &arg2_defvalue = wxNullColour ;
17130 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17131 wxFont const &arg3_defvalue = wxNullFont ;
17132 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17133 wxListItemAttr *result;
17134 wxColour temp1 ;
17135 wxColour temp2 ;
17136 PyObject * obj0 = 0 ;
17137 PyObject * obj1 = 0 ;
17138 PyObject * obj2 = 0 ;
17139 char *kwnames[] = {
17140 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17141 };
17142
17143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17144 if (obj0) {
17145 {
17146 arg1 = &temp1;
17147 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17148 }
17149 }
17150 if (obj1) {
17151 {
17152 arg2 = &temp2;
17153 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17154 }
17155 }
17156 if (obj2) {
17157 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17158 if (arg3 == NULL) {
17159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17160 }
17161 }
17162 {
17163 PyThreadState* __tstate = wxPyBeginAllowThreads();
17164 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
17170 return resultobj;
17171 fail:
17172 return NULL;
17173 }
17174
17175
17176 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17177 PyObject *resultobj;
17178 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17179 wxColour *arg2 = 0 ;
17180 wxColour temp2 ;
17181 PyObject * obj0 = 0 ;
17182 PyObject * obj1 = 0 ;
17183 char *kwnames[] = {
17184 (char *) "self",(char *) "colText", NULL
17185 };
17186
17187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17189 {
17190 arg2 = &temp2;
17191 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17192 }
17193 {
17194 PyThreadState* __tstate = wxPyBeginAllowThreads();
17195 (arg1)->SetTextColour((wxColour const &)*arg2);
17196
17197 wxPyEndAllowThreads(__tstate);
17198 if (PyErr_Occurred()) SWIG_fail;
17199 }
17200 Py_INCREF(Py_None); resultobj = Py_None;
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17210 wxColour *arg2 = 0 ;
17211 wxColour temp2 ;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self",(char *) "colBack", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17220 {
17221 arg2 = &temp2;
17222 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17223 }
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 Py_INCREF(Py_None); resultobj = Py_None;
17232 return resultobj;
17233 fail:
17234 return NULL;
17235 }
17236
17237
17238 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17241 wxFont *arg2 = 0 ;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 char *kwnames[] = {
17245 (char *) "self",(char *) "font", NULL
17246 };
17247
17248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17250 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17251 if (arg2 == NULL) {
17252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17253 }
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 (arg1)->SetFont((wxFont const &)*arg2);
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 Py_INCREF(Py_None); resultobj = Py_None;
17262 return resultobj;
17263 fail:
17264 return NULL;
17265 }
17266
17267
17268 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17269 PyObject *resultobj;
17270 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17271 bool result;
17272 PyObject * obj0 = 0 ;
17273 char *kwnames[] = {
17274 (char *) "self", NULL
17275 };
17276
17277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 result = (bool)(arg1)->HasTextColour();
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17287 return resultobj;
17288 fail:
17289 return NULL;
17290 }
17291
17292
17293 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj;
17295 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17296 bool result;
17297 PyObject * obj0 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17304 {
17305 PyThreadState* __tstate = wxPyBeginAllowThreads();
17306 result = (bool)(arg1)->HasBackgroundColour();
17307
17308 wxPyEndAllowThreads(__tstate);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17312 return resultobj;
17313 fail:
17314 return NULL;
17315 }
17316
17317
17318 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17319 PyObject *resultobj;
17320 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17321 bool result;
17322 PyObject * obj0 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 result = (bool)(arg1)->HasFont();
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17337 return resultobj;
17338 fail:
17339 return NULL;
17340 }
17341
17342
17343 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17344 PyObject *resultobj;
17345 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17346 wxColour result;
17347 PyObject * obj0 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 result = (arg1)->GetTextColour();
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 {
17362 wxColour * resultptr;
17363 resultptr = new wxColour((wxColour &) result);
17364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17365 }
17366 return resultobj;
17367 fail:
17368 return NULL;
17369 }
17370
17371
17372 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17375 wxColour result;
17376 PyObject * obj0 = 0 ;
17377 char *kwnames[] = {
17378 (char *) "self", NULL
17379 };
17380
17381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = (arg1)->GetBackgroundColour();
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 {
17391 wxColour * resultptr;
17392 resultptr = new wxColour((wxColour &) result);
17393 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17394 }
17395 return resultobj;
17396 fail:
17397 return NULL;
17398 }
17399
17400
17401 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17402 PyObject *resultobj;
17403 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17404 wxFont result;
17405 PyObject * obj0 = 0 ;
17406 char *kwnames[] = {
17407 (char *) "self", NULL
17408 };
17409
17410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17412 {
17413 PyThreadState* __tstate = wxPyBeginAllowThreads();
17414 result = (arg1)->GetFont();
17415
17416 wxPyEndAllowThreads(__tstate);
17417 if (PyErr_Occurred()) SWIG_fail;
17418 }
17419 {
17420 wxFont * resultptr;
17421 resultptr = new wxFont((wxFont &) result);
17422 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17423 }
17424 return resultobj;
17425 fail:
17426 return NULL;
17427 }
17428
17429
17430 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17431 PyObject *resultobj;
17432 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17433 PyObject * obj0 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 wxListItemAttr_Destroy(arg1);
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 Py_INCREF(Py_None); resultobj = Py_None;
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17455 PyObject *obj;
17456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17457 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17458 Py_INCREF(obj);
17459 return Py_BuildValue((char *)"");
17460 }
17461 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj;
17463 wxListItem *result;
17464 char *kwnames[] = {
17465 NULL
17466 };
17467
17468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17469 {
17470 PyThreadState* __tstate = wxPyBeginAllowThreads();
17471 result = (wxListItem *)new wxListItem();
17472
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 {
17477 resultobj = wxPyMake_wxObject(result);
17478 }
17479 return resultobj;
17480 fail:
17481 return NULL;
17482 }
17483
17484
17485 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj;
17487 wxListItem *arg1 = (wxListItem *) 0 ;
17488 PyObject * obj0 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "self", NULL
17491 };
17492
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 delete arg1;
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 Py_INCREF(Py_None); resultobj = Py_None;
17503 return resultobj;
17504 fail:
17505 return NULL;
17506 }
17507
17508
17509 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxListItem *arg1 = (wxListItem *) 0 ;
17512 PyObject * obj0 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17519 {
17520 PyThreadState* __tstate = wxPyBeginAllowThreads();
17521 (arg1)->Clear();
17522
17523 wxPyEndAllowThreads(__tstate);
17524 if (PyErr_Occurred()) SWIG_fail;
17525 }
17526 Py_INCREF(Py_None); resultobj = Py_None;
17527 return resultobj;
17528 fail:
17529 return NULL;
17530 }
17531
17532
17533 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17534 PyObject *resultobj;
17535 wxListItem *arg1 = (wxListItem *) 0 ;
17536 PyObject * obj0 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "self", NULL
17539 };
17540
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17543 {
17544 PyThreadState* __tstate = wxPyBeginAllowThreads();
17545 (arg1)->ClearAttributes();
17546
17547 wxPyEndAllowThreads(__tstate);
17548 if (PyErr_Occurred()) SWIG_fail;
17549 }
17550 Py_INCREF(Py_None); resultobj = Py_None;
17551 return resultobj;
17552 fail:
17553 return NULL;
17554 }
17555
17556
17557 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17558 PyObject *resultobj;
17559 wxListItem *arg1 = (wxListItem *) 0 ;
17560 long arg2 ;
17561 PyObject * obj0 = 0 ;
17562 PyObject * obj1 = 0 ;
17563 char *kwnames[] = {
17564 (char *) "self",(char *) "mask", NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17569 {
17570 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 (arg1)->SetMask(arg2);
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 Py_INCREF(Py_None); resultobj = Py_None;
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxListItem *arg1 = (wxListItem *) 0 ;
17590 long arg2 ;
17591 PyObject * obj0 = 0 ;
17592 PyObject * obj1 = 0 ;
17593 char *kwnames[] = {
17594 (char *) "self",(char *) "id", NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17599 {
17600 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 (arg1)->SetId(arg2);
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 Py_INCREF(Py_None); resultobj = Py_None;
17611 return resultobj;
17612 fail:
17613 return NULL;
17614 }
17615
17616
17617 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17618 PyObject *resultobj;
17619 wxListItem *arg1 = (wxListItem *) 0 ;
17620 int arg2 ;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 char *kwnames[] = {
17624 (char *) "self",(char *) "col", NULL
17625 };
17626
17627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17629 {
17630 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 (arg1)->SetColumn(arg2);
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 Py_INCREF(Py_None); resultobj = Py_None;
17641 return resultobj;
17642 fail:
17643 return NULL;
17644 }
17645
17646
17647 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
17648 PyObject *resultobj;
17649 wxListItem *arg1 = (wxListItem *) 0 ;
17650 long arg2 ;
17651 PyObject * obj0 = 0 ;
17652 PyObject * obj1 = 0 ;
17653 char *kwnames[] = {
17654 (char *) "self",(char *) "state", NULL
17655 };
17656
17657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
17658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17659 {
17660 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 (arg1)->SetState(arg2);
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 Py_INCREF(Py_None); resultobj = Py_None;
17671 return resultobj;
17672 fail:
17673 return NULL;
17674 }
17675
17676
17677 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxListItem *arg1 = (wxListItem *) 0 ;
17680 long arg2 ;
17681 PyObject * obj0 = 0 ;
17682 PyObject * obj1 = 0 ;
17683 char *kwnames[] = {
17684 (char *) "self",(char *) "stateMask", NULL
17685 };
17686
17687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
17688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17689 {
17690 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 (arg1)->SetStateMask(arg2);
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 Py_INCREF(Py_None); resultobj = Py_None;
17701 return resultobj;
17702 fail:
17703 return NULL;
17704 }
17705
17706
17707 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxListItem *arg1 = (wxListItem *) 0 ;
17710 wxString *arg2 = 0 ;
17711 bool temp2 = False ;
17712 PyObject * obj0 = 0 ;
17713 PyObject * obj1 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self",(char *) "text", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
17719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17720 {
17721 arg2 = wxString_in_helper(obj1);
17722 if (arg2 == NULL) SWIG_fail;
17723 temp2 = True;
17724 }
17725 {
17726 PyThreadState* __tstate = wxPyBeginAllowThreads();
17727 (arg1)->SetText((wxString const &)*arg2);
17728
17729 wxPyEndAllowThreads(__tstate);
17730 if (PyErr_Occurred()) SWIG_fail;
17731 }
17732 Py_INCREF(Py_None); resultobj = Py_None;
17733 {
17734 if (temp2)
17735 delete arg2;
17736 }
17737 return resultobj;
17738 fail:
17739 {
17740 if (temp2)
17741 delete arg2;
17742 }
17743 return NULL;
17744 }
17745
17746
17747 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17748 PyObject *resultobj;
17749 wxListItem *arg1 = (wxListItem *) 0 ;
17750 int arg2 ;
17751 PyObject * obj0 = 0 ;
17752 PyObject * obj1 = 0 ;
17753 char *kwnames[] = {
17754 (char *) "self",(char *) "image", NULL
17755 };
17756
17757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
17758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17759 {
17760 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17761 if (PyErr_Occurred()) SWIG_fail;
17762 }
17763 {
17764 PyThreadState* __tstate = wxPyBeginAllowThreads();
17765 (arg1)->SetImage(arg2);
17766
17767 wxPyEndAllowThreads(__tstate);
17768 if (PyErr_Occurred()) SWIG_fail;
17769 }
17770 Py_INCREF(Py_None); resultobj = Py_None;
17771 return resultobj;
17772 fail:
17773 return NULL;
17774 }
17775
17776
17777 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17778 PyObject *resultobj;
17779 wxListItem *arg1 = (wxListItem *) 0 ;
17780 long arg2 ;
17781 PyObject * obj0 = 0 ;
17782 PyObject * obj1 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self",(char *) "data", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
17788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17789 {
17790 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 {
17794 PyThreadState* __tstate = wxPyBeginAllowThreads();
17795 (arg1)->SetData(arg2);
17796
17797 wxPyEndAllowThreads(__tstate);
17798 if (PyErr_Occurred()) SWIG_fail;
17799 }
17800 Py_INCREF(Py_None); resultobj = Py_None;
17801 return resultobj;
17802 fail:
17803 return NULL;
17804 }
17805
17806
17807 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17808 PyObject *resultobj;
17809 wxListItem *arg1 = (wxListItem *) 0 ;
17810 int arg2 ;
17811 PyObject * obj0 = 0 ;
17812 PyObject * obj1 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self",(char *) "width", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17819 {
17820 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 (arg1)->SetWidth(arg2);
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 Py_INCREF(Py_None); resultobj = Py_None;
17831 return resultobj;
17832 fail:
17833 return NULL;
17834 }
17835
17836
17837 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxListItem *arg1 = (wxListItem *) 0 ;
17840 int arg2 ;
17841 PyObject * obj0 = 0 ;
17842 PyObject * obj1 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self",(char *) "align", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17849 {
17850 arg2 = (wxListColumnFormat) SWIG_PyObj_AsInt(obj1);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 }
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 (arg1)->SetAlign((wxListColumnFormat )arg2);
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 return resultobj;
17862 fail:
17863 return NULL;
17864 }
17865
17866
17867 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxListItem *arg1 = (wxListItem *) 0 ;
17870 wxColour *arg2 = 0 ;
17871 wxColour temp2 ;
17872 PyObject * obj0 = 0 ;
17873 PyObject * obj1 = 0 ;
17874 char *kwnames[] = {
17875 (char *) "self",(char *) "colText", NULL
17876 };
17877
17878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17880 {
17881 arg2 = &temp2;
17882 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17883 }
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 (arg1)->SetTextColour((wxColour const &)*arg2);
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
17892 return resultobj;
17893 fail:
17894 return NULL;
17895 }
17896
17897
17898 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17899 PyObject *resultobj;
17900 wxListItem *arg1 = (wxListItem *) 0 ;
17901 wxColour *arg2 = 0 ;
17902 wxColour temp2 ;
17903 PyObject * obj0 = 0 ;
17904 PyObject * obj1 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self",(char *) "colBack", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 {
17912 arg2 = &temp2;
17913 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17914 }
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17918
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 Py_INCREF(Py_None); resultobj = Py_None;
17923 return resultobj;
17924 fail:
17925 return NULL;
17926 }
17927
17928
17929 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17930 PyObject *resultobj;
17931 wxListItem *arg1 = (wxListItem *) 0 ;
17932 wxFont *arg2 = 0 ;
17933 PyObject * obj0 = 0 ;
17934 PyObject * obj1 = 0 ;
17935 char *kwnames[] = {
17936 (char *) "self",(char *) "font", NULL
17937 };
17938
17939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
17940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17942 if (arg2 == NULL) {
17943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17944 }
17945 {
17946 PyThreadState* __tstate = wxPyBeginAllowThreads();
17947 (arg1)->SetFont((wxFont const &)*arg2);
17948
17949 wxPyEndAllowThreads(__tstate);
17950 if (PyErr_Occurred()) SWIG_fail;
17951 }
17952 Py_INCREF(Py_None); resultobj = Py_None;
17953 return resultobj;
17954 fail:
17955 return NULL;
17956 }
17957
17958
17959 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17960 PyObject *resultobj;
17961 wxListItem *arg1 = (wxListItem *) 0 ;
17962 long result;
17963 PyObject * obj0 = 0 ;
17964 char *kwnames[] = {
17965 (char *) "self", NULL
17966 };
17967
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
17969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17970 {
17971 PyThreadState* __tstate = wxPyBeginAllowThreads();
17972 result = (long)(arg1)->GetMask();
17973
17974 wxPyEndAllowThreads(__tstate);
17975 if (PyErr_Occurred()) SWIG_fail;
17976 }
17977 resultobj = SWIG_PyObj_FromLong((long)result);
17978 return resultobj;
17979 fail:
17980 return NULL;
17981 }
17982
17983
17984 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17985 PyObject *resultobj;
17986 wxListItem *arg1 = (wxListItem *) 0 ;
17987 long result;
17988 PyObject * obj0 = 0 ;
17989 char *kwnames[] = {
17990 (char *) "self", NULL
17991 };
17992
17993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
17994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17995 {
17996 PyThreadState* __tstate = wxPyBeginAllowThreads();
17997 result = (long)(arg1)->GetId();
17998
17999 wxPyEndAllowThreads(__tstate);
18000 if (PyErr_Occurred()) SWIG_fail;
18001 }
18002 resultobj = SWIG_PyObj_FromLong((long)result);
18003 return resultobj;
18004 fail:
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxListItem *arg1 = (wxListItem *) 0 ;
18012 int result;
18013 PyObject * obj0 = 0 ;
18014 char *kwnames[] = {
18015 (char *) "self", NULL
18016 };
18017
18018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18020 {
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 result = (int)(arg1)->GetColumn();
18023
18024 wxPyEndAllowThreads(__tstate);
18025 if (PyErr_Occurred()) SWIG_fail;
18026 }
18027 resultobj = SWIG_PyObj_FromInt((int)result);
18028 return resultobj;
18029 fail:
18030 return NULL;
18031 }
18032
18033
18034 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18035 PyObject *resultobj;
18036 wxListItem *arg1 = (wxListItem *) 0 ;
18037 long result;
18038 PyObject * obj0 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18045 {
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 result = (long)(arg1)->GetState();
18048
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 resultobj = SWIG_PyObj_FromLong((long)result);
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxListItem *arg1 = (wxListItem *) 0 ;
18062 wxString *result;
18063 PyObject * obj0 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 {
18073 wxString const &_result_ref = (arg1)->GetText();
18074 result = (wxString *) &_result_ref;
18075 }
18076
18077 wxPyEndAllowThreads(__tstate);
18078 if (PyErr_Occurred()) SWIG_fail;
18079 }
18080 {
18081 #if wxUSE_UNICODE
18082 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18083 #else
18084 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18085 #endif
18086 }
18087 return resultobj;
18088 fail:
18089 return NULL;
18090 }
18091
18092
18093 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxListItem *arg1 = (wxListItem *) 0 ;
18096 int result;
18097 PyObject * obj0 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (int)(arg1)->GetImage();
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 resultobj = SWIG_PyObj_FromInt((int)result);
18112 return resultobj;
18113 fail:
18114 return NULL;
18115 }
18116
18117
18118 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 wxListItem *arg1 = (wxListItem *) 0 ;
18121 long result;
18122 PyObject * obj0 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "self", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 result = (long)(arg1)->GetData();
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 resultobj = SWIG_PyObj_FromLong((long)result);
18137 return resultobj;
18138 fail:
18139 return NULL;
18140 }
18141
18142
18143 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxListItem *arg1 = (wxListItem *) 0 ;
18146 int result;
18147 PyObject * obj0 = 0 ;
18148 char *kwnames[] = {
18149 (char *) "self", NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18154 {
18155 PyThreadState* __tstate = wxPyBeginAllowThreads();
18156 result = (int)(arg1)->GetWidth();
18157
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 resultobj = SWIG_PyObj_FromInt((int)result);
18162 return resultobj;
18163 fail:
18164 return NULL;
18165 }
18166
18167
18168 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18169 PyObject *resultobj;
18170 wxListItem *arg1 = (wxListItem *) 0 ;
18171 int result;
18172 PyObject * obj0 = 0 ;
18173 char *kwnames[] = {
18174 (char *) "self", NULL
18175 };
18176
18177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 result = (int)(arg1)->GetAlign();
18182
18183 wxPyEndAllowThreads(__tstate);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
18186 resultobj = SWIG_PyObj_FromInt((int)result);
18187 return resultobj;
18188 fail:
18189 return NULL;
18190 }
18191
18192
18193 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18194 PyObject *resultobj;
18195 wxListItem *arg1 = (wxListItem *) 0 ;
18196 wxListItemAttr *result;
18197 PyObject * obj0 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18204 {
18205 PyThreadState* __tstate = wxPyBeginAllowThreads();
18206 result = (wxListItemAttr *)(arg1)->GetAttributes();
18207
18208 wxPyEndAllowThreads(__tstate);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
18212 return resultobj;
18213 fail:
18214 return NULL;
18215 }
18216
18217
18218 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18219 PyObject *resultobj;
18220 wxListItem *arg1 = (wxListItem *) 0 ;
18221 bool result;
18222 PyObject * obj0 = 0 ;
18223 char *kwnames[] = {
18224 (char *) "self", NULL
18225 };
18226
18227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (bool)(arg1)->HasAttributes();
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18237 return resultobj;
18238 fail:
18239 return NULL;
18240 }
18241
18242
18243 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18244 PyObject *resultobj;
18245 wxListItem *arg1 = (wxListItem *) 0 ;
18246 wxColour result;
18247 PyObject * obj0 = 0 ;
18248 char *kwnames[] = {
18249 (char *) "self", NULL
18250 };
18251
18252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18254 {
18255 PyThreadState* __tstate = wxPyBeginAllowThreads();
18256 result = ((wxListItem const *)arg1)->GetTextColour();
18257
18258 wxPyEndAllowThreads(__tstate);
18259 if (PyErr_Occurred()) SWIG_fail;
18260 }
18261 {
18262 wxColour * resultptr;
18263 resultptr = new wxColour((wxColour &) result);
18264 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18265 }
18266 return resultobj;
18267 fail:
18268 return NULL;
18269 }
18270
18271
18272 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj;
18274 wxListItem *arg1 = (wxListItem *) 0 ;
18275 wxColour result;
18276 PyObject * obj0 = 0 ;
18277 char *kwnames[] = {
18278 (char *) "self", NULL
18279 };
18280
18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18283 {
18284 PyThreadState* __tstate = wxPyBeginAllowThreads();
18285 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18286
18287 wxPyEndAllowThreads(__tstate);
18288 if (PyErr_Occurred()) SWIG_fail;
18289 }
18290 {
18291 wxColour * resultptr;
18292 resultptr = new wxColour((wxColour &) result);
18293 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18294 }
18295 return resultobj;
18296 fail:
18297 return NULL;
18298 }
18299
18300
18301 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 wxListItem *arg1 = (wxListItem *) 0 ;
18304 wxFont result;
18305 PyObject * obj0 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 result = ((wxListItem const *)arg1)->GetFont();
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 {
18320 wxFont * resultptr;
18321 resultptr = new wxFont((wxFont &) result);
18322 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
18323 }
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxListItem *arg1 = (wxListItem *) 0 ;
18333 long arg2 ;
18334 PyObject * obj0 = 0 ;
18335 PyObject * obj1 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self",(char *) "m_mask", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18342 {
18343 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 if (arg1) (arg1)->m_mask = arg2;
18347
18348 Py_INCREF(Py_None); resultobj = Py_None;
18349 return resultobj;
18350 fail:
18351 return NULL;
18352 }
18353
18354
18355 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18356 PyObject *resultobj;
18357 wxListItem *arg1 = (wxListItem *) 0 ;
18358 long result;
18359 PyObject * obj0 = 0 ;
18360 char *kwnames[] = {
18361 (char *) "self", NULL
18362 };
18363
18364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18366 result = (long) ((arg1)->m_mask);
18367
18368 resultobj = SWIG_PyObj_FromLong((long)result);
18369 return resultobj;
18370 fail:
18371 return NULL;
18372 }
18373
18374
18375 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18376 PyObject *resultobj;
18377 wxListItem *arg1 = (wxListItem *) 0 ;
18378 long arg2 ;
18379 PyObject * obj0 = 0 ;
18380 PyObject * obj1 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self",(char *) "m_itemId", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18387 {
18388 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 if (arg1) (arg1)->m_itemId = arg2;
18392
18393 Py_INCREF(Py_None); resultobj = Py_None;
18394 return resultobj;
18395 fail:
18396 return NULL;
18397 }
18398
18399
18400 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18401 PyObject *resultobj;
18402 wxListItem *arg1 = (wxListItem *) 0 ;
18403 long result;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18411 result = (long) ((arg1)->m_itemId);
18412
18413 resultobj = SWIG_PyObj_FromLong((long)result);
18414 return resultobj;
18415 fail:
18416 return NULL;
18417 }
18418
18419
18420 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18421 PyObject *resultobj;
18422 wxListItem *arg1 = (wxListItem *) 0 ;
18423 int arg2 ;
18424 PyObject * obj0 = 0 ;
18425 PyObject * obj1 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self",(char *) "m_col", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18432 {
18433 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18434 if (PyErr_Occurred()) SWIG_fail;
18435 }
18436 if (arg1) (arg1)->m_col = arg2;
18437
18438 Py_INCREF(Py_None); resultobj = Py_None;
18439 return resultobj;
18440 fail:
18441 return NULL;
18442 }
18443
18444
18445 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18446 PyObject *resultobj;
18447 wxListItem *arg1 = (wxListItem *) 0 ;
18448 int result;
18449 PyObject * obj0 = 0 ;
18450 char *kwnames[] = {
18451 (char *) "self", NULL
18452 };
18453
18454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18456 result = (int) ((arg1)->m_col);
18457
18458 resultobj = SWIG_PyObj_FromInt((int)result);
18459 return resultobj;
18460 fail:
18461 return NULL;
18462 }
18463
18464
18465 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj;
18467 wxListItem *arg1 = (wxListItem *) 0 ;
18468 long arg2 ;
18469 PyObject * obj0 = 0 ;
18470 PyObject * obj1 = 0 ;
18471 char *kwnames[] = {
18472 (char *) "self",(char *) "m_state", NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18477 {
18478 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 if (arg1) (arg1)->m_state = arg2;
18482
18483 Py_INCREF(Py_None); resultobj = Py_None;
18484 return resultobj;
18485 fail:
18486 return NULL;
18487 }
18488
18489
18490 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18491 PyObject *resultobj;
18492 wxListItem *arg1 = (wxListItem *) 0 ;
18493 long result;
18494 PyObject * obj0 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self", NULL
18497 };
18498
18499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18501 result = (long) ((arg1)->m_state);
18502
18503 resultobj = SWIG_PyObj_FromLong((long)result);
18504 return resultobj;
18505 fail:
18506 return NULL;
18507 }
18508
18509
18510 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxListItem *arg1 = (wxListItem *) 0 ;
18513 long arg2 ;
18514 PyObject * obj0 = 0 ;
18515 PyObject * obj1 = 0 ;
18516 char *kwnames[] = {
18517 (char *) "self",(char *) "m_stateMask", NULL
18518 };
18519
18520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18522 {
18523 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 if (arg1) (arg1)->m_stateMask = arg2;
18527
18528 Py_INCREF(Py_None); resultobj = Py_None;
18529 return resultobj;
18530 fail:
18531 return NULL;
18532 }
18533
18534
18535 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18536 PyObject *resultobj;
18537 wxListItem *arg1 = (wxListItem *) 0 ;
18538 long result;
18539 PyObject * obj0 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "self", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18546 result = (long) ((arg1)->m_stateMask);
18547
18548 resultobj = SWIG_PyObj_FromLong((long)result);
18549 return resultobj;
18550 fail:
18551 return NULL;
18552 }
18553
18554
18555 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18556 PyObject *resultobj;
18557 wxListItem *arg1 = (wxListItem *) 0 ;
18558 wxString *arg2 = (wxString *) 0 ;
18559 bool temp2 = False ;
18560 PyObject * obj0 = 0 ;
18561 PyObject * obj1 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self",(char *) "m_text", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18568 {
18569 arg2 = wxString_in_helper(obj1);
18570 if (arg2 == NULL) SWIG_fail;
18571 temp2 = True;
18572 }
18573 if (arg1) (arg1)->m_text = *arg2;
18574
18575 Py_INCREF(Py_None); resultobj = Py_None;
18576 {
18577 if (temp2)
18578 delete arg2;
18579 }
18580 return resultobj;
18581 fail:
18582 {
18583 if (temp2)
18584 delete arg2;
18585 }
18586 return NULL;
18587 }
18588
18589
18590 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18591 PyObject *resultobj;
18592 wxListItem *arg1 = (wxListItem *) 0 ;
18593 wxString *result;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18601 result = (wxString *)& ((arg1)->m_text);
18602
18603 {
18604 #if wxUSE_UNICODE
18605 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18606 #else
18607 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18608 #endif
18609 }
18610 return resultobj;
18611 fail:
18612 return NULL;
18613 }
18614
18615
18616 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18617 PyObject *resultobj;
18618 wxListItem *arg1 = (wxListItem *) 0 ;
18619 int arg2 ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char *kwnames[] = {
18623 (char *) "self",(char *) "m_image", NULL
18624 };
18625
18626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18628 {
18629 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 if (arg1) (arg1)->m_image = arg2;
18633
18634 Py_INCREF(Py_None); resultobj = Py_None;
18635 return resultobj;
18636 fail:
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxListItem *arg1 = (wxListItem *) 0 ;
18644 int result;
18645 PyObject * obj0 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
18651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18652 result = (int) ((arg1)->m_image);
18653
18654 resultobj = SWIG_PyObj_FromInt((int)result);
18655 return resultobj;
18656 fail:
18657 return NULL;
18658 }
18659
18660
18661 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxListItem *arg1 = (wxListItem *) 0 ;
18664 long arg2 ;
18665 PyObject * obj0 = 0 ;
18666 PyObject * obj1 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self",(char *) "m_data", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
18672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18673 {
18674 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 if (arg1) (arg1)->m_data = arg2;
18678
18679 Py_INCREF(Py_None); resultobj = Py_None;
18680 return resultobj;
18681 fail:
18682 return NULL;
18683 }
18684
18685
18686 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18687 PyObject *resultobj;
18688 wxListItem *arg1 = (wxListItem *) 0 ;
18689 long result;
18690 PyObject * obj0 = 0 ;
18691 char *kwnames[] = {
18692 (char *) "self", NULL
18693 };
18694
18695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
18696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18697 result = (long) ((arg1)->m_data);
18698
18699 resultobj = SWIG_PyObj_FromLong((long)result);
18700 return resultobj;
18701 fail:
18702 return NULL;
18703 }
18704
18705
18706 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18707 PyObject *resultobj;
18708 wxListItem *arg1 = (wxListItem *) 0 ;
18709 int arg2 ;
18710 PyObject * obj0 = 0 ;
18711 PyObject * obj1 = 0 ;
18712 char *kwnames[] = {
18713 (char *) "self",(char *) "m_format", NULL
18714 };
18715
18716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
18717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18718 {
18719 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 if (arg1) (arg1)->m_format = arg2;
18723
18724 Py_INCREF(Py_None); resultobj = Py_None;
18725 return resultobj;
18726 fail:
18727 return NULL;
18728 }
18729
18730
18731 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj;
18733 wxListItem *arg1 = (wxListItem *) 0 ;
18734 int result;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18742 result = (int) ((arg1)->m_format);
18743
18744 resultobj = SWIG_PyObj_FromInt((int)result);
18745 return resultobj;
18746 fail:
18747 return NULL;
18748 }
18749
18750
18751 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxListItem *arg1 = (wxListItem *) 0 ;
18754 int arg2 ;
18755 PyObject * obj0 = 0 ;
18756 PyObject * obj1 = 0 ;
18757 char *kwnames[] = {
18758 (char *) "self",(char *) "m_width", NULL
18759 };
18760
18761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
18762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18763 {
18764 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 if (arg1) (arg1)->m_width = arg2;
18768
18769 Py_INCREF(Py_None); resultobj = Py_None;
18770 return resultobj;
18771 fail:
18772 return NULL;
18773 }
18774
18775
18776 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18777 PyObject *resultobj;
18778 wxListItem *arg1 = (wxListItem *) 0 ;
18779 int result;
18780 PyObject * obj0 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18787 result = (int) ((arg1)->m_width);
18788
18789 resultobj = SWIG_PyObj_FromInt((int)result);
18790 return resultobj;
18791 fail:
18792 return NULL;
18793 }
18794
18795
18796 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
18797 PyObject *obj;
18798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18799 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
18800 Py_INCREF(obj);
18801 return Py_BuildValue((char *)"");
18802 }
18803 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18806 int arg2 = (int) 0 ;
18807 wxListEvent *result;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "commandType",(char *) "id", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
18815 if (obj0) {
18816 {
18817 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 }
18821 if (obj1) {
18822 {
18823 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18824 if (PyErr_Occurred()) SWIG_fail;
18825 }
18826 }
18827 {
18828 PyThreadState* __tstate = wxPyBeginAllowThreads();
18829 result = (wxListEvent *)new wxListEvent(arg1,arg2);
18830
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
18835 return resultobj;
18836 fail:
18837 return NULL;
18838 }
18839
18840
18841 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj;
18843 wxListEvent *arg1 = (wxListEvent *) 0 ;
18844 int arg2 ;
18845 PyObject * obj0 = 0 ;
18846 PyObject * obj1 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "m_code", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18853 {
18854 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 if (arg1) (arg1)->m_code = arg2;
18858
18859 Py_INCREF(Py_None); resultobj = Py_None;
18860 return resultobj;
18861 fail:
18862 return NULL;
18863 }
18864
18865
18866 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18867 PyObject *resultobj;
18868 wxListEvent *arg1 = (wxListEvent *) 0 ;
18869 int result;
18870 PyObject * obj0 = 0 ;
18871 char *kwnames[] = {
18872 (char *) "self", NULL
18873 };
18874
18875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
18876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18877 result = (int) ((arg1)->m_code);
18878
18879 resultobj = SWIG_PyObj_FromInt((int)result);
18880 return resultobj;
18881 fail:
18882 return NULL;
18883 }
18884
18885
18886 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj;
18888 wxListEvent *arg1 = (wxListEvent *) 0 ;
18889 long arg2 ;
18890 PyObject * obj0 = 0 ;
18891 PyObject * obj1 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self",(char *) "m_oldItemIndex", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
18897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18898 {
18899 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 if (arg1) (arg1)->m_oldItemIndex = arg2;
18903
18904 Py_INCREF(Py_None); resultobj = Py_None;
18905 return resultobj;
18906 fail:
18907 return NULL;
18908 }
18909
18910
18911 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj;
18913 wxListEvent *arg1 = (wxListEvent *) 0 ;
18914 long result;
18915 PyObject * obj0 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "self", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
18921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18922 result = (long) ((arg1)->m_oldItemIndex);
18923
18924 resultobj = SWIG_PyObj_FromLong((long)result);
18925 return resultobj;
18926 fail:
18927 return NULL;
18928 }
18929
18930
18931 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxListEvent *arg1 = (wxListEvent *) 0 ;
18934 long arg2 ;
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj1 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "m_itemIndex", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18943 {
18944 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
18947 if (arg1) (arg1)->m_itemIndex = arg2;
18948
18949 Py_INCREF(Py_None); resultobj = Py_None;
18950 return resultobj;
18951 fail:
18952 return NULL;
18953 }
18954
18955
18956 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18957 PyObject *resultobj;
18958 wxListEvent *arg1 = (wxListEvent *) 0 ;
18959 long result;
18960 PyObject * obj0 = 0 ;
18961 char *kwnames[] = {
18962 (char *) "self", NULL
18963 };
18964
18965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
18966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18967 result = (long) ((arg1)->m_itemIndex);
18968
18969 resultobj = SWIG_PyObj_FromLong((long)result);
18970 return resultobj;
18971 fail:
18972 return NULL;
18973 }
18974
18975
18976 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxListEvent *arg1 = (wxListEvent *) 0 ;
18979 int arg2 ;
18980 PyObject * obj0 = 0 ;
18981 PyObject * obj1 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self",(char *) "m_col", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18988 {
18989 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 if (arg1) (arg1)->m_col = arg2;
18993
18994 Py_INCREF(Py_None); resultobj = Py_None;
18995 return resultobj;
18996 fail:
18997 return NULL;
18998 }
18999
19000
19001 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxListEvent *arg1 = (wxListEvent *) 0 ;
19004 int result;
19005 PyObject * obj0 = 0 ;
19006 char *kwnames[] = {
19007 (char *) "self", NULL
19008 };
19009
19010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19012 result = (int) ((arg1)->m_col);
19013
19014 resultobj = SWIG_PyObj_FromInt((int)result);
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxListEvent *arg1 = (wxListEvent *) 0 ;
19024 wxPoint *arg2 = (wxPoint *) 0 ;
19025 PyObject * obj0 = 0 ;
19026 PyObject * obj1 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "m_pointDrag", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19034 if (arg1) (arg1)->m_pointDrag = *arg2;
19035
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxListEvent *arg1 = (wxListEvent *) 0 ;
19046 wxPoint *result;
19047 PyObject * obj0 = 0 ;
19048 char *kwnames[] = {
19049 (char *) "self", NULL
19050 };
19051
19052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19054 result = (wxPoint *)& ((arg1)->m_pointDrag);
19055
19056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
19057 return resultobj;
19058 fail:
19059 return NULL;
19060 }
19061
19062
19063 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxListEvent *arg1 = (wxListEvent *) 0 ;
19066 wxListItem *result;
19067 PyObject * obj0 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19074 result = (wxListItem *)& ((arg1)->m_item);
19075
19076 {
19077 resultobj = wxPyMake_wxObject(result);
19078 }
19079 return resultobj;
19080 fail:
19081 return NULL;
19082 }
19083
19084
19085 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19086 PyObject *resultobj;
19087 wxListEvent *arg1 = (wxListEvent *) 0 ;
19088 int result;
19089 PyObject * obj0 = 0 ;
19090 char *kwnames[] = {
19091 (char *) "self", NULL
19092 };
19093
19094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19096 {
19097 PyThreadState* __tstate = wxPyBeginAllowThreads();
19098 result = (int)(arg1)->GetKeyCode();
19099
19100 wxPyEndAllowThreads(__tstate);
19101 if (PyErr_Occurred()) SWIG_fail;
19102 }
19103 resultobj = SWIG_PyObj_FromInt((int)result);
19104 return resultobj;
19105 fail:
19106 return NULL;
19107 }
19108
19109
19110 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19111 PyObject *resultobj;
19112 wxListEvent *arg1 = (wxListEvent *) 0 ;
19113 long result;
19114 PyObject * obj0 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19121 {
19122 PyThreadState* __tstate = wxPyBeginAllowThreads();
19123 result = (long)(arg1)->GetIndex();
19124
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 resultobj = SWIG_PyObj_FromLong((long)result);
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj;
19137 wxListEvent *arg1 = (wxListEvent *) 0 ;
19138 int result;
19139 PyObject * obj0 = 0 ;
19140 char *kwnames[] = {
19141 (char *) "self", NULL
19142 };
19143
19144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19146 {
19147 PyThreadState* __tstate = wxPyBeginAllowThreads();
19148 result = (int)(arg1)->GetColumn();
19149
19150 wxPyEndAllowThreads(__tstate);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 }
19153 resultobj = SWIG_PyObj_FromInt((int)result);
19154 return resultobj;
19155 fail:
19156 return NULL;
19157 }
19158
19159
19160 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19161 PyObject *resultobj;
19162 wxListEvent *arg1 = (wxListEvent *) 0 ;
19163 wxPoint result;
19164 PyObject * obj0 = 0 ;
19165 char *kwnames[] = {
19166 (char *) "self", NULL
19167 };
19168
19169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19171 {
19172 PyThreadState* __tstate = wxPyBeginAllowThreads();
19173 result = (arg1)->GetPoint();
19174
19175 wxPyEndAllowThreads(__tstate);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 {
19179 wxPoint * resultptr;
19180 resultptr = new wxPoint((wxPoint &) result);
19181 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19182 }
19183 return resultobj;
19184 fail:
19185 return NULL;
19186 }
19187
19188
19189 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19190 PyObject *resultobj;
19191 wxListEvent *arg1 = (wxListEvent *) 0 ;
19192 wxString *result;
19193 PyObject * obj0 = 0 ;
19194 char *kwnames[] = {
19195 (char *) "self", NULL
19196 };
19197
19198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19200 {
19201 PyThreadState* __tstate = wxPyBeginAllowThreads();
19202 {
19203 wxString const &_result_ref = (arg1)->GetLabel();
19204 result = (wxString *) &_result_ref;
19205 }
19206
19207 wxPyEndAllowThreads(__tstate);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 }
19210 {
19211 #if wxUSE_UNICODE
19212 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19213 #else
19214 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19215 #endif
19216 }
19217 return resultobj;
19218 fail:
19219 return NULL;
19220 }
19221
19222
19223 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19224 PyObject *resultobj;
19225 wxListEvent *arg1 = (wxListEvent *) 0 ;
19226 wxString *result;
19227 PyObject * obj0 = 0 ;
19228 char *kwnames[] = {
19229 (char *) "self", NULL
19230 };
19231
19232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19234 {
19235 PyThreadState* __tstate = wxPyBeginAllowThreads();
19236 {
19237 wxString const &_result_ref = (arg1)->GetText();
19238 result = (wxString *) &_result_ref;
19239 }
19240
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 {
19245 #if wxUSE_UNICODE
19246 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19247 #else
19248 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19249 #endif
19250 }
19251 return resultobj;
19252 fail:
19253 return NULL;
19254 }
19255
19256
19257 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxListEvent *arg1 = (wxListEvent *) 0 ;
19260 int result;
19261 PyObject * obj0 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 result = (int)(arg1)->GetImage();
19271
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 resultobj = SWIG_PyObj_FromInt((int)result);
19276 return resultobj;
19277 fail:
19278 return NULL;
19279 }
19280
19281
19282 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj;
19284 wxListEvent *arg1 = (wxListEvent *) 0 ;
19285 long result;
19286 PyObject * obj0 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "self", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19293 {
19294 PyThreadState* __tstate = wxPyBeginAllowThreads();
19295 result = (long)(arg1)->GetData();
19296
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 resultobj = SWIG_PyObj_FromLong((long)result);
19301 return resultobj;
19302 fail:
19303 return NULL;
19304 }
19305
19306
19307 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19308 PyObject *resultobj;
19309 wxListEvent *arg1 = (wxListEvent *) 0 ;
19310 long result;
19311 PyObject * obj0 = 0 ;
19312 char *kwnames[] = {
19313 (char *) "self", NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (long)(arg1)->GetMask();
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 resultobj = SWIG_PyObj_FromLong((long)result);
19326 return resultobj;
19327 fail:
19328 return NULL;
19329 }
19330
19331
19332 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19333 PyObject *resultobj;
19334 wxListEvent *arg1 = (wxListEvent *) 0 ;
19335 wxListItem *result;
19336 PyObject * obj0 = 0 ;
19337 char *kwnames[] = {
19338 (char *) "self", NULL
19339 };
19340
19341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 {
19346 wxListItem const &_result_ref = (arg1)->GetItem();
19347 result = (wxListItem *) &_result_ref;
19348 }
19349
19350 wxPyEndAllowThreads(__tstate);
19351 if (PyErr_Occurred()) SWIG_fail;
19352 }
19353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
19354 return resultobj;
19355 fail:
19356 return NULL;
19357 }
19358
19359
19360 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19361 PyObject *resultobj;
19362 wxListEvent *arg1 = (wxListEvent *) 0 ;
19363 long result;
19364 PyObject * obj0 = 0 ;
19365 char *kwnames[] = {
19366 (char *) "self", NULL
19367 };
19368
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (long)(arg1)->GetCacheFrom();
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 resultobj = SWIG_PyObj_FromLong((long)result);
19379 return resultobj;
19380 fail:
19381 return NULL;
19382 }
19383
19384
19385 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxListEvent *arg1 = (wxListEvent *) 0 ;
19388 long result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 result = (long)(arg1)->GetCacheTo();
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 resultobj = SWIG_PyObj_FromLong((long)result);
19404 return resultobj;
19405 fail:
19406 return NULL;
19407 }
19408
19409
19410 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxListEvent *arg1 = (wxListEvent *) 0 ;
19413 bool result;
19414 PyObject * obj0 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "self", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxListEvent *arg1 = (wxListEvent *) 0 ;
19438 bool arg2 ;
19439 PyObject * obj0 = 0 ;
19440 PyObject * obj1 = 0 ;
19441 char *kwnames[] = {
19442 (char *) "self",(char *) "editCancelled", NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19447 {
19448 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19449 if (PyErr_Occurred()) SWIG_fail;
19450 }
19451 {
19452 PyThreadState* __tstate = wxPyBeginAllowThreads();
19453 (arg1)->SetEditCanceled(arg2);
19454
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 Py_INCREF(Py_None); resultobj = Py_None;
19459 return resultobj;
19460 fail:
19461 return NULL;
19462 }
19463
19464
19465 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19466 PyObject *obj;
19467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19468 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19469 Py_INCREF(obj);
19470 return Py_BuildValue((char *)"");
19471 }
19472 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19473 PyObject *resultobj;
19474 wxWindow *arg1 = (wxWindow *) 0 ;
19475 int arg2 = (int) -1 ;
19476 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19477 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19478 wxSize const &arg4_defvalue = wxDefaultSize ;
19479 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19480 long arg5 = (long) wxLC_ICON ;
19481 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19482 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19483 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19484 wxString *arg7 = (wxString *) &arg7_defvalue ;
19485 wxPyListCtrl *result;
19486 wxPoint temp3 ;
19487 wxSize temp4 ;
19488 bool temp7 = False ;
19489 PyObject * obj0 = 0 ;
19490 PyObject * obj1 = 0 ;
19491 PyObject * obj2 = 0 ;
19492 PyObject * obj3 = 0 ;
19493 PyObject * obj4 = 0 ;
19494 PyObject * obj5 = 0 ;
19495 PyObject * obj6 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 if (obj1) {
19503 {
19504 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19505 if (PyErr_Occurred()) SWIG_fail;
19506 }
19507 }
19508 if (obj2) {
19509 {
19510 arg3 = &temp3;
19511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19512 }
19513 }
19514 if (obj3) {
19515 {
19516 arg4 = &temp4;
19517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19518 }
19519 }
19520 if (obj4) {
19521 {
19522 arg5 = (long) SWIG_PyObj_AsLong(obj4);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 }
19525 }
19526 if (obj5) {
19527 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19528 if (arg6 == NULL) {
19529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19530 }
19531 }
19532 if (obj6) {
19533 {
19534 arg7 = wxString_in_helper(obj6);
19535 if (arg7 == NULL) SWIG_fail;
19536 temp7 = True;
19537 }
19538 }
19539 {
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19542
19543 wxPyEndAllowThreads(__tstate);
19544 if (PyErr_Occurred()) SWIG_fail;
19545 }
19546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19547 {
19548 if (temp7)
19549 delete arg7;
19550 }
19551 return resultobj;
19552 fail:
19553 {
19554 if (temp7)
19555 delete arg7;
19556 }
19557 return NULL;
19558 }
19559
19560
19561 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19562 PyObject *resultobj;
19563 wxPyListCtrl *result;
19564 char *kwnames[] = {
19565 NULL
19566 };
19567
19568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19569 {
19570 PyThreadState* __tstate = wxPyBeginAllowThreads();
19571 result = (wxPyListCtrl *)new wxPyListCtrl();
19572
19573 wxPyEndAllowThreads(__tstate);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19577 return resultobj;
19578 fail:
19579 return NULL;
19580 }
19581
19582
19583 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19584 PyObject *resultobj;
19585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19586 wxWindow *arg2 = (wxWindow *) 0 ;
19587 int arg3 = (int) -1 ;
19588 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19589 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19590 wxSize const &arg5_defvalue = wxDefaultSize ;
19591 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19592 long arg6 = (long) wxLC_ICON ;
19593 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19594 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19595 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19596 wxString *arg8 = (wxString *) &arg8_defvalue ;
19597 bool result;
19598 wxPoint temp4 ;
19599 wxSize temp5 ;
19600 bool temp8 = False ;
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 PyObject * obj2 = 0 ;
19604 PyObject * obj3 = 0 ;
19605 PyObject * obj4 = 0 ;
19606 PyObject * obj5 = 0 ;
19607 PyObject * obj6 = 0 ;
19608 PyObject * obj7 = 0 ;
19609 char *kwnames[] = {
19610 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19611 };
19612
19613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19616 if (obj2) {
19617 {
19618 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 }
19622 if (obj3) {
19623 {
19624 arg4 = &temp4;
19625 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19626 }
19627 }
19628 if (obj4) {
19629 {
19630 arg5 = &temp5;
19631 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19632 }
19633 }
19634 if (obj5) {
19635 {
19636 arg6 = (long) SWIG_PyObj_AsLong(obj5);
19637 if (PyErr_Occurred()) SWIG_fail;
19638 }
19639 }
19640 if (obj6) {
19641 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19642 if (arg7 == NULL) {
19643 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19644 }
19645 }
19646 if (obj7) {
19647 {
19648 arg8 = wxString_in_helper(obj7);
19649 if (arg8 == NULL) SWIG_fail;
19650 temp8 = True;
19651 }
19652 }
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19661 {
19662 if (temp8)
19663 delete arg8;
19664 }
19665 return resultobj;
19666 fail:
19667 {
19668 if (temp8)
19669 delete arg8;
19670 }
19671 return NULL;
19672 }
19673
19674
19675 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19676 PyObject *resultobj;
19677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19678 PyObject *arg2 = (PyObject *) 0 ;
19679 PyObject *arg3 = (PyObject *) 0 ;
19680 PyObject * obj0 = 0 ;
19681 PyObject * obj1 = 0 ;
19682 PyObject * obj2 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self",(char *) "self",(char *) "_class", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19689 arg2 = obj1;
19690 arg3 = obj2;
19691 {
19692 PyThreadState* __tstate = wxPyBeginAllowThreads();
19693 (arg1)->_setCallbackInfo(arg2,arg3);
19694
19695 wxPyEndAllowThreads(__tstate);
19696 if (PyErr_Occurred()) SWIG_fail;
19697 }
19698 Py_INCREF(Py_None); resultobj = Py_None;
19699 return resultobj;
19700 fail:
19701 return NULL;
19702 }
19703
19704
19705 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19706 PyObject *resultobj;
19707 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19708 wxColour *arg2 = 0 ;
19709 bool result;
19710 wxColour temp2 ;
19711 PyObject * obj0 = 0 ;
19712 PyObject * obj1 = 0 ;
19713 char *kwnames[] = {
19714 (char *) "self",(char *) "col", NULL
19715 };
19716
19717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
19718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19719 {
19720 arg2 = &temp2;
19721 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19722 }
19723 {
19724 PyThreadState* __tstate = wxPyBeginAllowThreads();
19725 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
19726
19727 wxPyEndAllowThreads(__tstate);
19728 if (PyErr_Occurred()) SWIG_fail;
19729 }
19730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19731 return resultobj;
19732 fail:
19733 return NULL;
19734 }
19735
19736
19737 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19738 PyObject *resultobj;
19739 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19740 wxColour *arg2 = 0 ;
19741 bool result;
19742 wxColour temp2 ;
19743 PyObject * obj0 = 0 ;
19744 PyObject * obj1 = 0 ;
19745 char *kwnames[] = {
19746 (char *) "self",(char *) "col", NULL
19747 };
19748
19749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19751 {
19752 arg2 = &temp2;
19753 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19754 }
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19763 return resultobj;
19764 fail:
19765 return NULL;
19766 }
19767
19768
19769 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19770 PyObject *resultobj;
19771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19772 int arg2 ;
19773 wxListItem *result;
19774 PyObject * obj0 = 0 ;
19775 PyObject * obj1 = 0 ;
19776 char *kwnames[] = {
19777 (char *) "self",(char *) "col", NULL
19778 };
19779
19780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
19781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19782 {
19783 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 }
19786 {
19787 PyThreadState* __tstate = wxPyBeginAllowThreads();
19788 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
19789
19790 wxPyEndAllowThreads(__tstate);
19791 if (PyErr_Occurred()) SWIG_fail;
19792 }
19793 {
19794 resultobj = wxPyMake_wxObject(result);
19795 }
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19805 int arg2 ;
19806 wxListItem *arg3 = 0 ;
19807 bool result;
19808 PyObject * obj0 = 0 ;
19809 PyObject * obj1 = 0 ;
19810 PyObject * obj2 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "self",(char *) "col",(char *) "item", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
19816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19817 {
19818 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19822 if (arg3 == NULL) {
19823 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19824 }
19825 {
19826 PyThreadState* __tstate = wxPyBeginAllowThreads();
19827 result = (bool)(arg1)->SetColumn(arg2,*arg3);
19828
19829 wxPyEndAllowThreads(__tstate);
19830 if (PyErr_Occurred()) SWIG_fail;
19831 }
19832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19833 return resultobj;
19834 fail:
19835 return NULL;
19836 }
19837
19838
19839 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19840 PyObject *resultobj;
19841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19842 int arg2 ;
19843 int result;
19844 PyObject * obj0 = 0 ;
19845 PyObject * obj1 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self",(char *) "col", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
19851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19852 {
19853 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19854 if (PyErr_Occurred()) SWIG_fail;
19855 }
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 resultobj = SWIG_PyObj_FromInt((int)result);
19864 return resultobj;
19865 fail:
19866 return NULL;
19867 }
19868
19869
19870 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj;
19872 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19873 int arg2 ;
19874 int arg3 ;
19875 bool result;
19876 PyObject * obj0 = 0 ;
19877 PyObject * obj1 = 0 ;
19878 PyObject * obj2 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self",(char *) "col",(char *) "width", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19885 {
19886 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19887 if (PyErr_Occurred()) SWIG_fail;
19888 }
19889 {
19890 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 {
19894 PyThreadState* __tstate = wxPyBeginAllowThreads();
19895 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
19896
19897 wxPyEndAllowThreads(__tstate);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 }
19900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19910 int result;
19911 PyObject * obj0 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19918 {
19919 PyThreadState* __tstate = wxPyBeginAllowThreads();
19920 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 resultobj = SWIG_PyObj_FromInt((int)result);
19926 return resultobj;
19927 fail:
19928 return NULL;
19929 }
19930
19931
19932 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj;
19934 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19935 wxRect result;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 {
19951 wxRect * resultptr;
19952 resultptr = new wxRect((wxRect &) result);
19953 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19954 }
19955 return resultobj;
19956 fail:
19957 return NULL;
19958 }
19959
19960
19961 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19964 long arg2 ;
19965 int arg3 = (int) 0 ;
19966 wxListItem *result;
19967 PyObject * obj0 = 0 ;
19968 PyObject * obj1 = 0 ;
19969 PyObject * obj2 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self",(char *) "itemId",(char *) "col", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 {
19977 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 if (obj2) {
19981 {
19982 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
19985 }
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
19989
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
19993 {
19994 resultobj = wxPyMake_wxObject(result);
19995 }
19996 return resultobj;
19997 fail:
19998 return NULL;
19999 }
20000
20001
20002 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj;
20004 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20005 wxListItem *arg2 = 0 ;
20006 bool result;
20007 PyObject * obj0 = 0 ;
20008 PyObject * obj1 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self",(char *) "info", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20016 if (arg2 == NULL) {
20017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20018 }
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (bool)(arg1)->SetItem(*arg2);
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20027 return resultobj;
20028 fail:
20029 return NULL;
20030 }
20031
20032
20033 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20036 long arg2 ;
20037 int arg3 ;
20038 wxString *arg4 = 0 ;
20039 int arg5 = (int) -1 ;
20040 long result;
20041 bool temp4 = False ;
20042 PyObject * obj0 = 0 ;
20043 PyObject * obj1 = 0 ;
20044 PyObject * obj2 = 0 ;
20045 PyObject * obj3 = 0 ;
20046 PyObject * obj4 = 0 ;
20047 char *kwnames[] = {
20048 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20049 };
20050
20051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20053 {
20054 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 {
20058 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20059 if (PyErr_Occurred()) SWIG_fail;
20060 }
20061 {
20062 arg4 = wxString_in_helper(obj3);
20063 if (arg4 == NULL) SWIG_fail;
20064 temp4 = True;
20065 }
20066 if (obj4) {
20067 {
20068 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 }
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 resultobj = SWIG_PyObj_FromLong((long)result);
20080 {
20081 if (temp4)
20082 delete arg4;
20083 }
20084 return resultobj;
20085 fail:
20086 {
20087 if (temp4)
20088 delete arg4;
20089 }
20090 return NULL;
20091 }
20092
20093
20094 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20097 long arg2 ;
20098 long arg3 ;
20099 int result;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 PyObject * obj2 = 0 ;
20103 char *kwnames[] = {
20104 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20105 };
20106
20107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20109 {
20110 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20111 if (PyErr_Occurred()) SWIG_fail;
20112 }
20113 {
20114 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20115 if (PyErr_Occurred()) SWIG_fail;
20116 }
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 resultobj = SWIG_PyObj_FromInt((int)result);
20125 return resultobj;
20126 fail:
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20134 long arg2 ;
20135 long arg3 ;
20136 long arg4 ;
20137 bool result;
20138 PyObject * obj0 = 0 ;
20139 PyObject * obj1 = 0 ;
20140 PyObject * obj2 = 0 ;
20141 PyObject * obj3 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20144 };
20145
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20148 {
20149 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20150 if (PyErr_Occurred()) SWIG_fail;
20151 }
20152 {
20153 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 {
20157 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20158 if (PyErr_Occurred()) SWIG_fail;
20159 }
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20177 long arg2 ;
20178 int arg3 ;
20179 int arg4 ;
20180 bool result;
20181 PyObject * obj0 = 0 ;
20182 PyObject * obj1 = 0 ;
20183 PyObject * obj2 = 0 ;
20184 PyObject * obj3 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20191 {
20192 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
20199 {
20200 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20220 long arg2 ;
20221 wxString result;
20222 PyObject * obj0 = 0 ;
20223 PyObject * obj1 = 0 ;
20224 char *kwnames[] = {
20225 (char *) "self",(char *) "item", NULL
20226 };
20227
20228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20230 {
20231 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 {
20235 PyThreadState* __tstate = wxPyBeginAllowThreads();
20236 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20237
20238 wxPyEndAllowThreads(__tstate);
20239 if (PyErr_Occurred()) SWIG_fail;
20240 }
20241 {
20242 #if wxUSE_UNICODE
20243 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20244 #else
20245 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20246 #endif
20247 }
20248 return resultobj;
20249 fail:
20250 return NULL;
20251 }
20252
20253
20254 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20255 PyObject *resultobj;
20256 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20257 long arg2 ;
20258 wxString *arg3 = 0 ;
20259 bool temp3 = False ;
20260 PyObject * obj0 = 0 ;
20261 PyObject * obj1 = 0 ;
20262 PyObject * obj2 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "self",(char *) "item",(char *) "str", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20269 {
20270 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 {
20274 arg3 = wxString_in_helper(obj2);
20275 if (arg3 == NULL) SWIG_fail;
20276 temp3 = True;
20277 }
20278 {
20279 PyThreadState* __tstate = wxPyBeginAllowThreads();
20280 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20281
20282 wxPyEndAllowThreads(__tstate);
20283 if (PyErr_Occurred()) SWIG_fail;
20284 }
20285 Py_INCREF(Py_None); resultobj = Py_None;
20286 {
20287 if (temp3)
20288 delete arg3;
20289 }
20290 return resultobj;
20291 fail:
20292 {
20293 if (temp3)
20294 delete arg3;
20295 }
20296 return NULL;
20297 }
20298
20299
20300 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20301 PyObject *resultobj;
20302 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20303 long arg2 ;
20304 long result;
20305 PyObject * obj0 = 0 ;
20306 PyObject * obj1 = 0 ;
20307 char *kwnames[] = {
20308 (char *) "self",(char *) "item", NULL
20309 };
20310
20311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20313 {
20314 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 resultobj = SWIG_PyObj_FromLong((long)result);
20325 return resultobj;
20326 fail:
20327 return NULL;
20328 }
20329
20330
20331 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20332 PyObject *resultobj;
20333 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20334 long arg2 ;
20335 long arg3 ;
20336 bool result;
20337 PyObject * obj0 = 0 ;
20338 PyObject * obj1 = 0 ;
20339 PyObject * obj2 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self",(char *) "item",(char *) "data", NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20346 {
20347 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20348 if (PyErr_Occurred()) SWIG_fail;
20349 }
20350 {
20351 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 }
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (bool)(arg1)->SetItemData(arg2,arg3);
20357
20358 wxPyEndAllowThreads(__tstate);
20359 if (PyErr_Occurred()) SWIG_fail;
20360 }
20361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20362 return resultobj;
20363 fail:
20364 return NULL;
20365 }
20366
20367
20368 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20369 PyObject *resultobj;
20370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20371 long arg2 ;
20372 wxPoint result;
20373 PyObject * obj0 = 0 ;
20374 PyObject * obj1 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self",(char *) "item", NULL
20377 };
20378
20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20381 {
20382 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 {
20393 wxPoint * resultptr;
20394 resultptr = new wxPoint((wxPoint &) result);
20395 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20396 }
20397 return resultobj;
20398 fail:
20399 return NULL;
20400 }
20401
20402
20403 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj;
20405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20406 long arg2 ;
20407 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20408 wxRect result;
20409 PyObject * obj0 = 0 ;
20410 PyObject * obj1 = 0 ;
20411 PyObject * obj2 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self",(char *) "item",(char *) "code", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20418 {
20419 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20420 if (PyErr_Occurred()) SWIG_fail;
20421 }
20422 if (obj2) {
20423 {
20424 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 }
20428 {
20429 PyThreadState* __tstate = wxPyBeginAllowThreads();
20430 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20431
20432 wxPyEndAllowThreads(__tstate);
20433 if (PyErr_Occurred()) SWIG_fail;
20434 }
20435 {
20436 wxRect * resultptr;
20437 resultptr = new wxRect((wxRect &) result);
20438 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20439 }
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20449 long arg2 ;
20450 wxPoint *arg3 = 0 ;
20451 bool result;
20452 wxPoint temp3 ;
20453 PyObject * obj0 = 0 ;
20454 PyObject * obj1 = 0 ;
20455 PyObject * obj2 = 0 ;
20456 char *kwnames[] = {
20457 (char *) "self",(char *) "item",(char *) "pos", NULL
20458 };
20459
20460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20462 {
20463 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20464 if (PyErr_Occurred()) SWIG_fail;
20465 }
20466 {
20467 arg3 = &temp3;
20468 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20469 }
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20478 return resultobj;
20479 fail:
20480 return NULL;
20481 }
20482
20483
20484 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20485 PyObject *resultobj;
20486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20487 int result;
20488 PyObject * obj0 = 0 ;
20489 char *kwnames[] = {
20490 (char *) "self", NULL
20491 };
20492
20493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 resultobj = SWIG_PyObj_FromInt((int)result);
20503 return resultobj;
20504 fail:
20505 return NULL;
20506 }
20507
20508
20509 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20510 PyObject *resultobj;
20511 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20512 int result;
20513 PyObject * obj0 = 0 ;
20514 char *kwnames[] = {
20515 (char *) "self", NULL
20516 };
20517
20518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20520 {
20521 PyThreadState* __tstate = wxPyBeginAllowThreads();
20522 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20523
20524 wxPyEndAllowThreads(__tstate);
20525 if (PyErr_Occurred()) SWIG_fail;
20526 }
20527 resultobj = SWIG_PyObj_FromInt((int)result);
20528 return resultobj;
20529 fail:
20530 return NULL;
20531 }
20532
20533
20534 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20535 PyObject *resultobj;
20536 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20537 wxSize result;
20538 PyObject * obj0 = 0 ;
20539 char *kwnames[] = {
20540 (char *) "self", NULL
20541 };
20542
20543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20548
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 {
20553 wxSize * resultptr;
20554 resultptr = new wxSize((wxSize &) result);
20555 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20556 }
20557 return resultobj;
20558 fail:
20559 return NULL;
20560 }
20561
20562
20563 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20566 int arg2 ;
20567 bool arg3 = (bool) False ;
20568 PyObject * obj0 = 0 ;
20569 PyObject * obj1 = 0 ;
20570 PyObject * obj2 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20577 {
20578 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20579 if (PyErr_Occurred()) SWIG_fail;
20580 }
20581 if (obj2) {
20582 {
20583 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 }
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 (arg1)->SetItemSpacing(arg2,arg3);
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 Py_INCREF(Py_None); resultobj = Py_None;
20595 return resultobj;
20596 fail:
20597 return NULL;
20598 }
20599
20600
20601 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20602 PyObject *resultobj;
20603 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20604 int result;
20605 PyObject * obj0 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 resultobj = SWIG_PyObj_FromInt((int)result);
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20629 wxColour result;
20630 PyObject * obj0 = 0 ;
20631 char *kwnames[] = {
20632 (char *) "self", NULL
20633 };
20634
20635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20640
20641 wxPyEndAllowThreads(__tstate);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 }
20644 {
20645 wxColour * resultptr;
20646 resultptr = new wxColour((wxColour &) result);
20647 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20648 }
20649 return resultobj;
20650 fail:
20651 return NULL;
20652 }
20653
20654
20655 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20658 wxColour *arg2 = 0 ;
20659 wxColour temp2 ;
20660 PyObject * obj0 = 0 ;
20661 PyObject * obj1 = 0 ;
20662 char *kwnames[] = {
20663 (char *) "self",(char *) "col", NULL
20664 };
20665
20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
20667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20668 {
20669 arg2 = &temp2;
20670 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20671 }
20672 {
20673 PyThreadState* __tstate = wxPyBeginAllowThreads();
20674 (arg1)->SetTextColour((wxColour const &)*arg2);
20675
20676 wxPyEndAllowThreads(__tstate);
20677 if (PyErr_Occurred()) SWIG_fail;
20678 }
20679 Py_INCREF(Py_None); resultobj = Py_None;
20680 return resultobj;
20681 fail:
20682 return NULL;
20683 }
20684
20685
20686 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20687 PyObject *resultobj;
20688 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20689 long result;
20690 PyObject * obj0 = 0 ;
20691 char *kwnames[] = {
20692 (char *) "self", NULL
20693 };
20694
20695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
20696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20697 {
20698 PyThreadState* __tstate = wxPyBeginAllowThreads();
20699 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
20700
20701 wxPyEndAllowThreads(__tstate);
20702 if (PyErr_Occurred()) SWIG_fail;
20703 }
20704 resultobj = SWIG_PyObj_FromLong((long)result);
20705 return resultobj;
20706 fail:
20707 return NULL;
20708 }
20709
20710
20711 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20712 PyObject *resultobj;
20713 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20714 long arg2 ;
20715 bool arg3 = (bool) True ;
20716 PyObject * obj0 = 0 ;
20717 PyObject * obj1 = 0 ;
20718 PyObject * obj2 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self",(char *) "style",(char *) "add", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20725 {
20726 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20727 if (PyErr_Occurred()) SWIG_fail;
20728 }
20729 if (obj2) {
20730 {
20731 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 }
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 (arg1)->SetSingleStyle(arg2,arg3);
20738
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 Py_INCREF(Py_None); resultobj = Py_None;
20743 return resultobj;
20744 fail:
20745 return NULL;
20746 }
20747
20748
20749 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20750 PyObject *resultobj;
20751 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20752 long arg2 ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self",(char *) "style", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20761 {
20762 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 (arg1)->SetWindowStyleFlag(arg2);
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 Py_INCREF(Py_None); resultobj = Py_None;
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20780 PyObject *resultobj;
20781 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20782 long arg2 ;
20783 int arg3 = (int) wxLIST_NEXT_ALL ;
20784 int arg4 = (int) wxLIST_STATE_DONTCARE ;
20785 long result;
20786 PyObject * obj0 = 0 ;
20787 PyObject * obj1 = 0 ;
20788 PyObject * obj2 = 0 ;
20789 PyObject * obj3 = 0 ;
20790 char *kwnames[] = {
20791 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20792 };
20793
20794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20796 {
20797 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 if (obj2) {
20801 {
20802 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 }
20806 if (obj3) {
20807 {
20808 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20809 if (PyErr_Occurred()) SWIG_fail;
20810 }
20811 }
20812 {
20813 PyThreadState* __tstate = wxPyBeginAllowThreads();
20814 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
20815
20816 wxPyEndAllowThreads(__tstate);
20817 if (PyErr_Occurred()) SWIG_fail;
20818 }
20819 resultobj = SWIG_PyObj_FromLong((long)result);
20820 return resultobj;
20821 fail:
20822 return NULL;
20823 }
20824
20825
20826 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20827 PyObject *resultobj;
20828 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20829 int arg2 ;
20830 wxImageList *result;
20831 PyObject * obj0 = 0 ;
20832 PyObject * obj1 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self",(char *) "which", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20839 {
20840 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 {
20844 PyThreadState* __tstate = wxPyBeginAllowThreads();
20845 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
20846
20847 wxPyEndAllowThreads(__tstate);
20848 if (PyErr_Occurred()) SWIG_fail;
20849 }
20850 {
20851 resultobj = wxPyMake_wxObject(result);
20852 }
20853 return resultobj;
20854 fail:
20855 return NULL;
20856 }
20857
20858
20859 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20860 PyObject *resultobj;
20861 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20862 wxImageList *arg2 = (wxImageList *) 0 ;
20863 int arg3 ;
20864 PyObject * obj0 = 0 ;
20865 PyObject * obj1 = 0 ;
20866 PyObject * obj2 = 0 ;
20867 char *kwnames[] = {
20868 (char *) "self",(char *) "imageList",(char *) "which", NULL
20869 };
20870
20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
20872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20874 {
20875 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 (arg1)->SetImageList(arg2,arg3);
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 Py_INCREF(Py_None); resultobj = Py_None;
20886 return resultobj;
20887 fail:
20888 return NULL;
20889 }
20890
20891
20892 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20895 wxImageList *arg2 = (wxImageList *) 0 ;
20896 int arg3 ;
20897 PyObject * obj0 = 0 ;
20898 PyObject * obj1 = 0 ;
20899 PyObject * obj2 = 0 ;
20900 char *kwnames[] = {
20901 (char *) "self",(char *) "imageList",(char *) "which", NULL
20902 };
20903
20904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
20905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20907 {
20908 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 (arg1)->AssignImageList(arg2,arg3);
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 Py_INCREF(Py_None); resultobj = Py_None;
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20928 bool result;
20929 PyObject * obj0 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20944 return resultobj;
20945 fail:
20946 return NULL;
20947 }
20948
20949
20950 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20951 PyObject *resultobj;
20952 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20953 long arg2 ;
20954 PyObject * obj0 = 0 ;
20955 PyObject * obj1 = 0 ;
20956 char *kwnames[] = {
20957 (char *) "self",(char *) "item", NULL
20958 };
20959
20960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
20961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20962 {
20963 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 {
20967 PyThreadState* __tstate = wxPyBeginAllowThreads();
20968 (arg1)->RefreshItem(arg2);
20969
20970 wxPyEndAllowThreads(__tstate);
20971 if (PyErr_Occurred()) SWIG_fail;
20972 }
20973 Py_INCREF(Py_None); resultobj = Py_None;
20974 return resultobj;
20975 fail:
20976 return NULL;
20977 }
20978
20979
20980 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
20981 PyObject *resultobj;
20982 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20983 long arg2 ;
20984 long arg3 ;
20985 PyObject * obj0 = 0 ;
20986 PyObject * obj1 = 0 ;
20987 PyObject * obj2 = 0 ;
20988 char *kwnames[] = {
20989 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
20990 };
20991
20992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
20993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20994 {
20995 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20996 if (PyErr_Occurred()) SWIG_fail;
20997 }
20998 {
20999 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21000 if (PyErr_Occurred()) SWIG_fail;
21001 }
21002 {
21003 PyThreadState* __tstate = wxPyBeginAllowThreads();
21004 (arg1)->RefreshItems(arg2,arg3);
21005
21006 wxPyEndAllowThreads(__tstate);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 }
21009 Py_INCREF(Py_None); resultobj = Py_None;
21010 return resultobj;
21011 fail:
21012 return NULL;
21013 }
21014
21015
21016 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj;
21018 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21019 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21020 bool result;
21021 PyObject * obj0 = 0 ;
21022 PyObject * obj1 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self",(char *) "flag", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21029 if (obj1) {
21030 {
21031 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 }
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 result = (bool)(arg1)->Arrange(arg2);
21038
21039 wxPyEndAllowThreads(__tstate);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21052 long arg2 ;
21053 bool result;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self",(char *) "item", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 {
21063 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 result = (bool)(arg1)->DeleteItem(arg2);
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21074 return resultobj;
21075 fail:
21076 return NULL;
21077 }
21078
21079
21080 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21081 PyObject *resultobj;
21082 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21083 bool result;
21084 PyObject * obj0 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 result = (bool)(arg1)->DeleteAllItems();
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
21098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21099 return resultobj;
21100 fail:
21101 return NULL;
21102 }
21103
21104
21105 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21108 int arg2 ;
21109 bool result;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self",(char *) "col", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21118 {
21119 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21120 if (PyErr_Occurred()) SWIG_fail;
21121 }
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 result = (bool)(arg1)->DeleteColumn(arg2);
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21130 return resultobj;
21131 fail:
21132 return NULL;
21133 }
21134
21135
21136 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21137 PyObject *resultobj;
21138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21139 bool result;
21140 PyObject * obj0 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21147 {
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 result = (bool)(arg1)->DeleteAllColumns();
21150
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21155 return resultobj;
21156 fail:
21157 return NULL;
21158 }
21159
21160
21161 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21162 PyObject *resultobj;
21163 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21164 PyObject * obj0 = 0 ;
21165 char *kwnames[] = {
21166 (char *) "self", NULL
21167 };
21168
21169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21171 {
21172 PyThreadState* __tstate = wxPyBeginAllowThreads();
21173 (arg1)->ClearAll();
21174
21175 wxPyEndAllowThreads(__tstate);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 Py_INCREF(Py_None); resultobj = Py_None;
21179 return resultobj;
21180 fail:
21181 return NULL;
21182 }
21183
21184
21185 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21186 PyObject *resultobj;
21187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21188 long arg2 ;
21189 PyObject * obj0 = 0 ;
21190 PyObject * obj1 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self",(char *) "item", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21197 {
21198 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 (arg1)->EditLabel(arg2);
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 Py_INCREF(Py_None); resultobj = Py_None;
21209 return resultobj;
21210 fail:
21211 return NULL;
21212 }
21213
21214
21215 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21216 PyObject *resultobj;
21217 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21218 long arg2 ;
21219 bool result;
21220 PyObject * obj0 = 0 ;
21221 PyObject * obj1 = 0 ;
21222 char *kwnames[] = {
21223 (char *) "self",(char *) "item", NULL
21224 };
21225
21226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21228 {
21229 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (bool)(arg1)->EnsureVisible(arg2);
21235
21236 wxPyEndAllowThreads(__tstate);
21237 if (PyErr_Occurred()) SWIG_fail;
21238 }
21239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21240 return resultobj;
21241 fail:
21242 return NULL;
21243 }
21244
21245
21246 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21249 long arg2 ;
21250 wxString *arg3 = 0 ;
21251 bool arg4 = (bool) False ;
21252 long result;
21253 bool temp3 = False ;
21254 PyObject * obj0 = 0 ;
21255 PyObject * obj1 = 0 ;
21256 PyObject * obj2 = 0 ;
21257 PyObject * obj3 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21264 {
21265 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
21268 {
21269 arg3 = wxString_in_helper(obj2);
21270 if (arg3 == NULL) SWIG_fail;
21271 temp3 = True;
21272 }
21273 if (obj3) {
21274 {
21275 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 }
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 resultobj = SWIG_PyObj_FromLong((long)result);
21287 {
21288 if (temp3)
21289 delete arg3;
21290 }
21291 return resultobj;
21292 fail:
21293 {
21294 if (temp3)
21295 delete arg3;
21296 }
21297 return NULL;
21298 }
21299
21300
21301 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj;
21303 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21304 long arg2 ;
21305 long arg3 ;
21306 long result;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 PyObject * obj2 = 0 ;
21310 char *kwnames[] = {
21311 (char *) "self",(char *) "start",(char *) "data", NULL
21312 };
21313
21314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21316 {
21317 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 {
21321 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21322 if (PyErr_Occurred()) SWIG_fail;
21323 }
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = (long)(arg1)->FindItem(arg2,arg3);
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 resultobj = SWIG_PyObj_FromLong((long)result);
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21341 long arg2 ;
21342 wxPoint *arg3 = 0 ;
21343 int arg4 ;
21344 long result;
21345 wxPoint temp3 ;
21346 PyObject * obj0 = 0 ;
21347 PyObject * obj1 = 0 ;
21348 PyObject * obj2 = 0 ;
21349 PyObject * obj3 = 0 ;
21350 char *kwnames[] = {
21351 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21352 };
21353
21354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21356 {
21357 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 {
21361 arg3 = &temp3;
21362 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21363 }
21364 {
21365 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 resultobj = SWIG_PyObj_FromLong((long)result);
21376 return resultobj;
21377 fail:
21378 return NULL;
21379 }
21380
21381
21382 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21385 wxPoint *arg2 = 0 ;
21386 int *arg3 = 0 ;
21387 long result;
21388 wxPoint temp2 ;
21389 int temp3 ;
21390 PyObject * obj0 = 0 ;
21391 PyObject * obj1 = 0 ;
21392 char *kwnames[] = {
21393 (char *) "self",(char *) "point", NULL
21394 };
21395
21396 arg3 = &temp3;
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21399 {
21400 arg2 = &temp2;
21401 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21402 }
21403 {
21404 PyThreadState* __tstate = wxPyBeginAllowThreads();
21405 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21406
21407 wxPyEndAllowThreads(__tstate);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 }
21410 resultobj = SWIG_PyObj_FromLong((long)result);
21411 {
21412 PyObject *o = PyInt_FromLong((long) (*arg3));
21413 resultobj = t_output_helper(resultobj,o);
21414 }
21415 return resultobj;
21416 fail:
21417 return NULL;
21418 }
21419
21420
21421 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21422 PyObject *resultobj;
21423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21424 wxListItem *arg2 = 0 ;
21425 long result;
21426 PyObject * obj0 = 0 ;
21427 PyObject * obj1 = 0 ;
21428 char *kwnames[] = {
21429 (char *) "self",(char *) "info", NULL
21430 };
21431
21432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21435 if (arg2 == NULL) {
21436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21437 }
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (long)(arg1)->InsertItem(*arg2);
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 resultobj = SWIG_PyObj_FromLong((long)result);
21446 return resultobj;
21447 fail:
21448 return NULL;
21449 }
21450
21451
21452 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21455 long arg2 ;
21456 wxString *arg3 = 0 ;
21457 long result;
21458 bool temp3 = False ;
21459 PyObject * obj0 = 0 ;
21460 PyObject * obj1 = 0 ;
21461 PyObject * obj2 = 0 ;
21462 char *kwnames[] = {
21463 (char *) "self",(char *) "index",(char *) "label", NULL
21464 };
21465
21466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21468 {
21469 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21470 if (PyErr_Occurred()) SWIG_fail;
21471 }
21472 {
21473 arg3 = wxString_in_helper(obj2);
21474 if (arg3 == NULL) SWIG_fail;
21475 temp3 = True;
21476 }
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 resultobj = SWIG_PyObj_FromLong((long)result);
21485 {
21486 if (temp3)
21487 delete arg3;
21488 }
21489 return resultobj;
21490 fail:
21491 {
21492 if (temp3)
21493 delete arg3;
21494 }
21495 return NULL;
21496 }
21497
21498
21499 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21500 PyObject *resultobj;
21501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21502 long arg2 ;
21503 int arg3 ;
21504 long result;
21505 PyObject * obj0 = 0 ;
21506 PyObject * obj1 = 0 ;
21507 PyObject * obj2 = 0 ;
21508 char *kwnames[] = {
21509 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21510 };
21511
21512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21514 {
21515 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21520 if (PyErr_Occurred()) SWIG_fail;
21521 }
21522 {
21523 PyThreadState* __tstate = wxPyBeginAllowThreads();
21524 result = (long)(arg1)->InsertItem(arg2,arg3);
21525
21526 wxPyEndAllowThreads(__tstate);
21527 if (PyErr_Occurred()) SWIG_fail;
21528 }
21529 resultobj = SWIG_PyObj_FromLong((long)result);
21530 return resultobj;
21531 fail:
21532 return NULL;
21533 }
21534
21535
21536 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21537 PyObject *resultobj;
21538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21539 long arg2 ;
21540 wxString *arg3 = 0 ;
21541 int arg4 ;
21542 long result;
21543 bool temp3 = False ;
21544 PyObject * obj0 = 0 ;
21545 PyObject * obj1 = 0 ;
21546 PyObject * obj2 = 0 ;
21547 PyObject * obj3 = 0 ;
21548 char *kwnames[] = {
21549 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21550 };
21551
21552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21554 {
21555 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21556 if (PyErr_Occurred()) SWIG_fail;
21557 }
21558 {
21559 arg3 = wxString_in_helper(obj2);
21560 if (arg3 == NULL) SWIG_fail;
21561 temp3 = True;
21562 }
21563 {
21564 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 {
21568 PyThreadState* __tstate = wxPyBeginAllowThreads();
21569 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21570
21571 wxPyEndAllowThreads(__tstate);
21572 if (PyErr_Occurred()) SWIG_fail;
21573 }
21574 resultobj = SWIG_PyObj_FromLong((long)result);
21575 {
21576 if (temp3)
21577 delete arg3;
21578 }
21579 return resultobj;
21580 fail:
21581 {
21582 if (temp3)
21583 delete arg3;
21584 }
21585 return NULL;
21586 }
21587
21588
21589 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21590 PyObject *resultobj;
21591 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21592 long arg2 ;
21593 wxListItem *arg3 = 0 ;
21594 long result;
21595 PyObject * obj0 = 0 ;
21596 PyObject * obj1 = 0 ;
21597 PyObject * obj2 = 0 ;
21598 char *kwnames[] = {
21599 (char *) "self",(char *) "col",(char *) "info", NULL
21600 };
21601
21602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21604 {
21605 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21609 if (arg3 == NULL) {
21610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21611 }
21612 {
21613 PyThreadState* __tstate = wxPyBeginAllowThreads();
21614 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21615
21616 wxPyEndAllowThreads(__tstate);
21617 if (PyErr_Occurred()) SWIG_fail;
21618 }
21619 resultobj = SWIG_PyObj_FromLong((long)result);
21620 return resultobj;
21621 fail:
21622 return NULL;
21623 }
21624
21625
21626 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21627 PyObject *resultobj;
21628 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21629 long arg2 ;
21630 wxString *arg3 = 0 ;
21631 int arg4 = (int) wxLIST_FORMAT_LEFT ;
21632 int arg5 = (int) -1 ;
21633 long result;
21634 bool temp3 = False ;
21635 PyObject * obj0 = 0 ;
21636 PyObject * obj1 = 0 ;
21637 PyObject * obj2 = 0 ;
21638 PyObject * obj3 = 0 ;
21639 PyObject * obj4 = 0 ;
21640 char *kwnames[] = {
21641 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21642 };
21643
21644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21646 {
21647 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21648 if (PyErr_Occurred()) SWIG_fail;
21649 }
21650 {
21651 arg3 = wxString_in_helper(obj2);
21652 if (arg3 == NULL) SWIG_fail;
21653 temp3 = True;
21654 }
21655 if (obj3) {
21656 {
21657 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21658 if (PyErr_Occurred()) SWIG_fail;
21659 }
21660 }
21661 if (obj4) {
21662 {
21663 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 }
21667 {
21668 PyThreadState* __tstate = wxPyBeginAllowThreads();
21669 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
21670
21671 wxPyEndAllowThreads(__tstate);
21672 if (PyErr_Occurred()) SWIG_fail;
21673 }
21674 resultobj = SWIG_PyObj_FromLong((long)result);
21675 {
21676 if (temp3)
21677 delete arg3;
21678 }
21679 return resultobj;
21680 fail:
21681 {
21682 if (temp3)
21683 delete arg3;
21684 }
21685 return NULL;
21686 }
21687
21688
21689 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21690 PyObject *resultobj;
21691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21692 long arg2 ;
21693 PyObject * obj0 = 0 ;
21694 PyObject * obj1 = 0 ;
21695 char *kwnames[] = {
21696 (char *) "self",(char *) "count", NULL
21697 };
21698
21699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
21700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21701 {
21702 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21703 if (PyErr_Occurred()) SWIG_fail;
21704 }
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 (arg1)->SetItemCount(arg2);
21708
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 Py_INCREF(Py_None); resultobj = Py_None;
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21722 int arg2 ;
21723 int arg3 ;
21724 bool result;
21725 PyObject * obj0 = 0 ;
21726 PyObject * obj1 = 0 ;
21727 PyObject * obj2 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "dx",(char *) "dy", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21734 {
21735 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 {
21739 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 {
21743 PyThreadState* __tstate = wxPyBeginAllowThreads();
21744 result = (bool)(arg1)->ScrollList(arg2,arg3);
21745
21746 wxPyEndAllowThreads(__tstate);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 }
21749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21750 return resultobj;
21751 fail:
21752 return NULL;
21753 }
21754
21755
21756 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21757 PyObject *resultobj;
21758 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21759 long arg2 ;
21760 wxColour *arg3 = 0 ;
21761 wxColour temp3 ;
21762 PyObject * obj0 = 0 ;
21763 PyObject * obj1 = 0 ;
21764 PyObject * obj2 = 0 ;
21765 char *kwnames[] = {
21766 (char *) "self",(char *) "item",(char *) "col", NULL
21767 };
21768
21769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21771 {
21772 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 {
21776 arg3 = &temp3;
21777 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21778 }
21779 {
21780 PyThreadState* __tstate = wxPyBeginAllowThreads();
21781 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
21782
21783 wxPyEndAllowThreads(__tstate);
21784 if (PyErr_Occurred()) SWIG_fail;
21785 }
21786 Py_INCREF(Py_None); resultobj = Py_None;
21787 return resultobj;
21788 fail:
21789 return NULL;
21790 }
21791
21792
21793 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21794 PyObject *resultobj;
21795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21796 long arg2 ;
21797 wxColour result;
21798 PyObject * obj0 = 0 ;
21799 PyObject * obj1 = 0 ;
21800 char *kwnames[] = {
21801 (char *) "self",(char *) "item", NULL
21802 };
21803
21804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21806 {
21807 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 {
21811 PyThreadState* __tstate = wxPyBeginAllowThreads();
21812 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
21813
21814 wxPyEndAllowThreads(__tstate);
21815 if (PyErr_Occurred()) SWIG_fail;
21816 }
21817 {
21818 wxColour * resultptr;
21819 resultptr = new wxColour((wxColour &) result);
21820 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21821 }
21822 return resultobj;
21823 fail:
21824 return NULL;
21825 }
21826
21827
21828 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21829 PyObject *resultobj;
21830 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21831 long arg2 ;
21832 wxColour *arg3 = 0 ;
21833 wxColour temp3 ;
21834 PyObject * obj0 = 0 ;
21835 PyObject * obj1 = 0 ;
21836 PyObject * obj2 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self",(char *) "item",(char *) "col", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21843 {
21844 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21845 if (PyErr_Occurred()) SWIG_fail;
21846 }
21847 {
21848 arg3 = &temp3;
21849 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21850 }
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
21858 Py_INCREF(Py_None); resultobj = Py_None;
21859 return resultobj;
21860 fail:
21861 return NULL;
21862 }
21863
21864
21865 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21868 long arg2 ;
21869 wxColour result;
21870 PyObject * obj0 = 0 ;
21871 PyObject * obj1 = 0 ;
21872 char *kwnames[] = {
21873 (char *) "self",(char *) "item", NULL
21874 };
21875
21876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21878 {
21879 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21880 if (PyErr_Occurred()) SWIG_fail;
21881 }
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 {
21890 wxColour * resultptr;
21891 resultptr = new wxColour((wxColour &) result);
21892 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21893 }
21894 return resultobj;
21895 fail:
21896 return NULL;
21897 }
21898
21899
21900 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21901 PyObject *resultobj;
21902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21903 PyObject *arg2 = (PyObject *) 0 ;
21904 bool result;
21905 PyObject * obj0 = 0 ;
21906 PyObject * obj1 = 0 ;
21907 char *kwnames[] = {
21908 (char *) "self",(char *) "func", NULL
21909 };
21910
21911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
21912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21913 arg2 = obj1;
21914 {
21915 PyThreadState* __tstate = wxPyBeginAllowThreads();
21916 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
21917
21918 wxPyEndAllowThreads(__tstate);
21919 if (PyErr_Occurred()) SWIG_fail;
21920 }
21921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21922 return resultobj;
21923 fail:
21924 return NULL;
21925 }
21926
21927
21928 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21929 PyObject *resultobj;
21930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21931 wxWindow *result;
21932 PyObject * obj0 = 0 ;
21933 char *kwnames[] = {
21934 (char *) "self", NULL
21935 };
21936
21937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
21938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
21942
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 {
21947 resultobj = wxPyMake_wxObject(result);
21948 }
21949 return resultobj;
21950 fail:
21951 return NULL;
21952 }
21953
21954
21955 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
21956 PyObject *obj;
21957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21958 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
21959 Py_INCREF(obj);
21960 return Py_BuildValue((char *)"");
21961 }
21962 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
21963 PyObject *resultobj;
21964 wxWindow *arg1 = (wxWindow *) 0 ;
21965 int arg2 = (int) -1 ;
21966 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21967 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21968 wxSize const &arg4_defvalue = wxDefaultSize ;
21969 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21970 long arg5 = (long) wxLC_REPORT ;
21971 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21972 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21973 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21974 wxString *arg7 = (wxString *) &arg7_defvalue ;
21975 wxListView *result;
21976 wxPoint temp3 ;
21977 wxSize temp4 ;
21978 bool temp7 = False ;
21979 PyObject * obj0 = 0 ;
21980 PyObject * obj1 = 0 ;
21981 PyObject * obj2 = 0 ;
21982 PyObject * obj3 = 0 ;
21983 PyObject * obj4 = 0 ;
21984 PyObject * obj5 = 0 ;
21985 PyObject * obj6 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21992 if (obj1) {
21993 {
21994 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21995 if (PyErr_Occurred()) SWIG_fail;
21996 }
21997 }
21998 if (obj2) {
21999 {
22000 arg3 = &temp3;
22001 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22002 }
22003 }
22004 if (obj3) {
22005 {
22006 arg4 = &temp4;
22007 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22008 }
22009 }
22010 if (obj4) {
22011 {
22012 arg5 = (long) SWIG_PyObj_AsLong(obj4);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 }
22016 if (obj5) {
22017 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22018 if (arg6 == NULL) {
22019 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22020 }
22021 }
22022 if (obj6) {
22023 {
22024 arg7 = wxString_in_helper(obj6);
22025 if (arg7 == NULL) SWIG_fail;
22026 temp7 = True;
22027 }
22028 }
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22037 {
22038 if (temp7)
22039 delete arg7;
22040 }
22041 return resultobj;
22042 fail:
22043 {
22044 if (temp7)
22045 delete arg7;
22046 }
22047 return NULL;
22048 }
22049
22050
22051 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj;
22053 wxListView *result;
22054 char *kwnames[] = {
22055 NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22059 {
22060 PyThreadState* __tstate = wxPyBeginAllowThreads();
22061 result = (wxListView *)new wxListView();
22062
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22067 return resultobj;
22068 fail:
22069 return NULL;
22070 }
22071
22072
22073 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22074 PyObject *resultobj;
22075 wxListView *arg1 = (wxListView *) 0 ;
22076 wxWindow *arg2 = (wxWindow *) 0 ;
22077 int arg3 = (int) -1 ;
22078 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22079 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22080 wxSize const &arg5_defvalue = wxDefaultSize ;
22081 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22082 long arg6 = (long) wxLC_REPORT ;
22083 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22084 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22085 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22086 wxString *arg8 = (wxString *) &arg8_defvalue ;
22087 bool result;
22088 wxPoint temp4 ;
22089 wxSize temp5 ;
22090 bool temp8 = False ;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 PyObject * obj2 = 0 ;
22094 PyObject * obj3 = 0 ;
22095 PyObject * obj4 = 0 ;
22096 PyObject * obj5 = 0 ;
22097 PyObject * obj6 = 0 ;
22098 PyObject * obj7 = 0 ;
22099 char *kwnames[] = {
22100 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22101 };
22102
22103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22105 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22106 if (obj2) {
22107 {
22108 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 }
22112 if (obj3) {
22113 {
22114 arg4 = &temp4;
22115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22116 }
22117 }
22118 if (obj4) {
22119 {
22120 arg5 = &temp5;
22121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22122 }
22123 }
22124 if (obj5) {
22125 {
22126 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 }
22130 if (obj6) {
22131 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22132 if (arg7 == NULL) {
22133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22134 }
22135 }
22136 if (obj7) {
22137 {
22138 arg8 = wxString_in_helper(obj7);
22139 if (arg8 == NULL) SWIG_fail;
22140 temp8 = True;
22141 }
22142 }
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22146
22147 wxPyEndAllowThreads(__tstate);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
22150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22151 {
22152 if (temp8)
22153 delete arg8;
22154 }
22155 return resultobj;
22156 fail:
22157 {
22158 if (temp8)
22159 delete arg8;
22160 }
22161 return NULL;
22162 }
22163
22164
22165 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22166 PyObject *resultobj;
22167 wxListView *arg1 = (wxListView *) 0 ;
22168 long arg2 ;
22169 bool arg3 = (bool) True ;
22170 PyObject * obj0 = 0 ;
22171 PyObject * obj1 = 0 ;
22172 PyObject * obj2 = 0 ;
22173 char *kwnames[] = {
22174 (char *) "self",(char *) "n",(char *) "on", NULL
22175 };
22176
22177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22179 {
22180 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 if (obj2) {
22184 {
22185 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 }
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 (arg1)->Select(arg2,arg3);
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 Py_INCREF(Py_None); resultobj = Py_None;
22197 return resultobj;
22198 fail:
22199 return NULL;
22200 }
22201
22202
22203 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22204 PyObject *resultobj;
22205 wxListView *arg1 = (wxListView *) 0 ;
22206 long arg2 ;
22207 PyObject * obj0 = 0 ;
22208 PyObject * obj1 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self",(char *) "index", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22215 {
22216 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 (arg1)->Focus(arg2);
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 Py_INCREF(Py_None); resultobj = Py_None;
22227 return resultobj;
22228 fail:
22229 return NULL;
22230 }
22231
22232
22233 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxListView *arg1 = (wxListView *) 0 ;
22236 long result;
22237 PyObject * obj0 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 resultobj = SWIG_PyObj_FromLong((long)result);
22252 return resultobj;
22253 fail:
22254 return NULL;
22255 }
22256
22257
22258 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22259 PyObject *resultobj;
22260 wxListView *arg1 = (wxListView *) 0 ;
22261 long arg2 ;
22262 long result;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self",(char *) "item", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22271 {
22272 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 {
22276 PyThreadState* __tstate = wxPyBeginAllowThreads();
22277 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22278
22279 wxPyEndAllowThreads(__tstate);
22280 if (PyErr_Occurred()) SWIG_fail;
22281 }
22282 resultobj = SWIG_PyObj_FromLong((long)result);
22283 return resultobj;
22284 fail:
22285 return NULL;
22286 }
22287
22288
22289 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22290 PyObject *resultobj;
22291 wxListView *arg1 = (wxListView *) 0 ;
22292 long result;
22293 PyObject * obj0 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self", NULL
22296 };
22297
22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22303
22304 wxPyEndAllowThreads(__tstate);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 }
22307 resultobj = SWIG_PyObj_FromLong((long)result);
22308 return resultobj;
22309 fail:
22310 return NULL;
22311 }
22312
22313
22314 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22315 PyObject *resultobj;
22316 wxListView *arg1 = (wxListView *) 0 ;
22317 long arg2 ;
22318 bool result;
22319 PyObject * obj0 = 0 ;
22320 PyObject * obj1 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self",(char *) "index", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22327 {
22328 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 {
22332 PyThreadState* __tstate = wxPyBeginAllowThreads();
22333 result = (bool)(arg1)->IsSelected(arg2);
22334
22335 wxPyEndAllowThreads(__tstate);
22336 if (PyErr_Occurred()) SWIG_fail;
22337 }
22338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22339 return resultobj;
22340 fail:
22341 return NULL;
22342 }
22343
22344
22345 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22346 PyObject *resultobj;
22347 wxListView *arg1 = (wxListView *) 0 ;
22348 int arg2 ;
22349 int arg3 ;
22350 PyObject * obj0 = 0 ;
22351 PyObject * obj1 = 0 ;
22352 PyObject * obj2 = 0 ;
22353 char *kwnames[] = {
22354 (char *) "self",(char *) "col",(char *) "image", NULL
22355 };
22356
22357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22359 {
22360 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 }
22363 {
22364 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 (arg1)->SetColumnImage(arg2,arg3);
22370
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
22374 Py_INCREF(Py_None); resultobj = Py_None;
22375 return resultobj;
22376 fail:
22377 return NULL;
22378 }
22379
22380
22381 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22382 PyObject *resultobj;
22383 wxListView *arg1 = (wxListView *) 0 ;
22384 int arg2 ;
22385 PyObject * obj0 = 0 ;
22386 PyObject * obj1 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self",(char *) "col", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22393 {
22394 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 (arg1)->ClearColumnImage(arg2);
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 Py_INCREF(Py_None); resultobj = Py_None;
22405 return resultobj;
22406 fail:
22407 return NULL;
22408 }
22409
22410
22411 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22412 PyObject *obj;
22413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22414 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22415 Py_INCREF(obj);
22416 return Py_BuildValue((char *)"");
22417 }
22418 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22419 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22420 return 1;
22421 }
22422
22423
22424 static PyObject *_wrap_TreeCtrlNameStr_get() {
22425 PyObject *pyobj;
22426
22427 {
22428 #if wxUSE_UNICODE
22429 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22430 #else
22431 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22432 #endif
22433 }
22434 return pyobj;
22435 }
22436
22437
22438 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22439 PyObject *resultobj;
22440 wxTreeItemId *result;
22441 char *kwnames[] = {
22442 NULL
22443 };
22444
22445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22446 {
22447 PyThreadState* __tstate = wxPyBeginAllowThreads();
22448 result = (wxTreeItemId *)new wxTreeItemId();
22449
22450 wxPyEndAllowThreads(__tstate);
22451 if (PyErr_Occurred()) SWIG_fail;
22452 }
22453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
22454 return resultobj;
22455 fail:
22456 return NULL;
22457 }
22458
22459
22460 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj;
22462 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22463 PyObject * obj0 = 0 ;
22464 char *kwnames[] = {
22465 (char *) "self", NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22470 {
22471 PyThreadState* __tstate = wxPyBeginAllowThreads();
22472 delete arg1;
22473
22474 wxPyEndAllowThreads(__tstate);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 }
22477 Py_INCREF(Py_None); resultobj = Py_None;
22478 return resultobj;
22479 fail:
22480 return NULL;
22481 }
22482
22483
22484 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22485 PyObject *resultobj;
22486 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22487 bool result;
22488 PyObject * obj0 = 0 ;
22489 char *kwnames[] = {
22490 (char *) "self", NULL
22491 };
22492
22493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22495 {
22496 PyThreadState* __tstate = wxPyBeginAllowThreads();
22497 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22498
22499 wxPyEndAllowThreads(__tstate);
22500 if (PyErr_Occurred()) SWIG_fail;
22501 }
22502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22503 return resultobj;
22504 fail:
22505 return NULL;
22506 }
22507
22508
22509 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22510 PyObject *resultobj;
22511 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22512 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22513 bool result;
22514 PyObject * obj0 = 0 ;
22515 PyObject * obj1 = 0 ;
22516 char *kwnames[] = {
22517 (char *) "self",(char *) "other", NULL
22518 };
22519
22520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
22526
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22531 return resultobj;
22532 fail:
22533 return NULL;
22534 }
22535
22536
22537 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22538 PyObject *resultobj;
22539 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22540 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22541 bool result;
22542 PyObject * obj0 = 0 ;
22543 PyObject * obj1 = 0 ;
22544 char *kwnames[] = {
22545 (char *) "self",(char *) "other", NULL
22546 };
22547
22548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22551 {
22552 PyThreadState* __tstate = wxPyBeginAllowThreads();
22553 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
22554
22555 wxPyEndAllowThreads(__tstate);
22556 if (PyErr_Occurred()) SWIG_fail;
22557 }
22558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22559 return resultobj;
22560 fail:
22561 return NULL;
22562 }
22563
22564
22565 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22566 PyObject *resultobj;
22567 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22568 void *arg2 = (void *) 0 ;
22569 PyObject * obj0 = 0 ;
22570 PyObject * obj1 = 0 ;
22571 char *kwnames[] = {
22572 (char *) "self",(char *) "m_pItem", NULL
22573 };
22574
22575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
22578 if (arg1) (arg1)->m_pItem = arg2;
22579
22580 Py_INCREF(Py_None); resultobj = Py_None;
22581 return resultobj;
22582 fail:
22583 return NULL;
22584 }
22585
22586
22587 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj;
22589 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22590 void *result;
22591 PyObject * obj0 = 0 ;
22592 char *kwnames[] = {
22593 (char *) "self", NULL
22594 };
22595
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22598 result = (void *) ((arg1)->m_pItem);
22599
22600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
22601 return resultobj;
22602 fail:
22603 return NULL;
22604 }
22605
22606
22607 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
22608 PyObject *obj;
22609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22610 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22611 Py_INCREF(obj);
22612 return Py_BuildValue((char *)"");
22613 }
22614 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22615 PyObject *resultobj;
22616 PyObject *arg1 = (PyObject *) NULL ;
22617 wxPyTreeItemData *result;
22618 PyObject * obj0 = 0 ;
22619 char *kwnames[] = {
22620 (char *) "obj", NULL
22621 };
22622
22623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
22624 if (obj0) {
22625 arg1 = obj0;
22626 }
22627 {
22628 PyThreadState* __tstate = wxPyBeginAllowThreads();
22629 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
22630
22631 wxPyEndAllowThreads(__tstate);
22632 if (PyErr_Occurred()) SWIG_fail;
22633 }
22634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
22635 return resultobj;
22636 fail:
22637 return NULL;
22638 }
22639
22640
22641 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22642 PyObject *resultobj;
22643 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22644 PyObject *result;
22645 PyObject * obj0 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
22651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 result = (PyObject *)(arg1)->GetData();
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 resultobj = result;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663 }
22664
22665
22666 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22667 PyObject *resultobj;
22668 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22669 PyObject *arg2 = (PyObject *) 0 ;
22670 PyObject * obj0 = 0 ;
22671 PyObject * obj1 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self",(char *) "obj", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
22677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22678 arg2 = obj1;
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 (arg1)->SetData(arg2);
22682
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 Py_INCREF(Py_None); resultobj = Py_None;
22687 return resultobj;
22688 fail:
22689 return NULL;
22690 }
22691
22692
22693 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22694 PyObject *resultobj;
22695 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22696 wxTreeItemId *result;
22697 PyObject * obj0 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22704 {
22705 PyThreadState* __tstate = wxPyBeginAllowThreads();
22706 {
22707 wxTreeItemId const &_result_ref = (arg1)->GetId();
22708 result = (wxTreeItemId *) &_result_ref;
22709 }
22710
22711 wxPyEndAllowThreads(__tstate);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 }
22714 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
22715 return resultobj;
22716 fail:
22717 return NULL;
22718 }
22719
22720
22721 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22722 PyObject *resultobj;
22723 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22724 wxTreeItemId *arg2 = 0 ;
22725 PyObject * obj0 = 0 ;
22726 PyObject * obj1 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self",(char *) "id", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22734 if (arg2 == NULL) {
22735 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22736 }
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 (arg1)->SetId((wxTreeItemId const &)*arg2);
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 Py_INCREF(Py_None); resultobj = Py_None;
22745 return resultobj;
22746 fail:
22747 return NULL;
22748 }
22749
22750
22751 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
22752 PyObject *resultobj;
22753 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22754 PyObject * obj0 = 0 ;
22755 char *kwnames[] = {
22756 (char *) "self", NULL
22757 };
22758
22759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
22760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22761 {
22762 PyThreadState* __tstate = wxPyBeginAllowThreads();
22763 wxPyTreeItemData_Destroy(arg1);
22764
22765 wxPyEndAllowThreads(__tstate);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 }
22768 Py_INCREF(Py_None); resultobj = Py_None;
22769 return resultobj;
22770 fail:
22771 return NULL;
22772 }
22773
22774
22775 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
22776 PyObject *obj;
22777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22778 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
22779 Py_INCREF(obj);
22780 return Py_BuildValue((char *)"");
22781 }
22782 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj;
22784 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22785 int arg2 = (int) 0 ;
22786 wxTreeEvent *result;
22787 PyObject * obj0 = 0 ;
22788 PyObject * obj1 = 0 ;
22789 char *kwnames[] = {
22790 (char *) "commandType",(char *) "id", NULL
22791 };
22792
22793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
22794 if (obj0) {
22795 {
22796 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 }
22800 if (obj1) {
22801 {
22802 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 }
22806 {
22807 PyThreadState* __tstate = wxPyBeginAllowThreads();
22808 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
22809
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
22813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
22814 return resultobj;
22815 fail:
22816 return NULL;
22817 }
22818
22819
22820 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22823 wxTreeItemId result;
22824 PyObject * obj0 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
22830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = ((wxTreeEvent const *)arg1)->GetItem();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839 wxTreeItemId * resultptr;
22840 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22841 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846 }
22847
22848
22849 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22852 wxTreeItemId *arg2 = 0 ;
22853 PyObject * obj0 = 0 ;
22854 PyObject * obj1 = 0 ;
22855 char *kwnames[] = {
22856 (char *) "self",(char *) "item", NULL
22857 };
22858
22859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
22860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22862 if (arg2 == NULL) {
22863 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22864 }
22865 {
22866 PyThreadState* __tstate = wxPyBeginAllowThreads();
22867 (arg1)->SetItem((wxTreeItemId const &)*arg2);
22868
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 Py_INCREF(Py_None); resultobj = Py_None;
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj;
22881 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22882 wxTreeItemId result;
22883 PyObject * obj0 = 0 ;
22884 char *kwnames[] = {
22885 (char *) "self", NULL
22886 };
22887
22888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
22889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22890 {
22891 PyThreadState* __tstate = wxPyBeginAllowThreads();
22892 result = ((wxTreeEvent const *)arg1)->GetOldItem();
22893
22894 wxPyEndAllowThreads(__tstate);
22895 if (PyErr_Occurred()) SWIG_fail;
22896 }
22897 {
22898 wxTreeItemId * resultptr;
22899 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22900 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22901 }
22902 return resultobj;
22903 fail:
22904 return NULL;
22905 }
22906
22907
22908 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22909 PyObject *resultobj;
22910 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22911 wxTreeItemId *arg2 = 0 ;
22912 PyObject * obj0 = 0 ;
22913 PyObject * obj1 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self",(char *) "item", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22921 if (arg2 == NULL) {
22922 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22923 }
22924 {
22925 PyThreadState* __tstate = wxPyBeginAllowThreads();
22926 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
22927
22928 wxPyEndAllowThreads(__tstate);
22929 if (PyErr_Occurred()) SWIG_fail;
22930 }
22931 Py_INCREF(Py_None); resultobj = Py_None;
22932 return resultobj;
22933 fail:
22934 return NULL;
22935 }
22936
22937
22938 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22939 PyObject *resultobj;
22940 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22941 wxPoint result;
22942 PyObject * obj0 = 0 ;
22943 char *kwnames[] = {
22944 (char *) "self", NULL
22945 };
22946
22947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
22948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22949 {
22950 PyThreadState* __tstate = wxPyBeginAllowThreads();
22951 result = ((wxTreeEvent const *)arg1)->GetPoint();
22952
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 {
22957 wxPoint * resultptr;
22958 resultptr = new wxPoint((wxPoint &) result);
22959 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22960 }
22961 return resultobj;
22962 fail:
22963 return NULL;
22964 }
22965
22966
22967 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22968 PyObject *resultobj;
22969 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22970 wxPoint *arg2 = 0 ;
22971 wxPoint temp2 ;
22972 PyObject * obj0 = 0 ;
22973 PyObject * obj1 = 0 ;
22974 char *kwnames[] = {
22975 (char *) "self",(char *) "pt", NULL
22976 };
22977
22978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
22979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22980 {
22981 arg2 = &temp2;
22982 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22983 }
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 (arg1)->SetPoint((wxPoint const &)*arg2);
22987
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 Py_INCREF(Py_None); resultobj = Py_None;
22992 return resultobj;
22993 fail:
22994 return NULL;
22995 }
22996
22997
22998 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
22999 PyObject *resultobj;
23000 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23001 wxKeyEvent *result;
23002 PyObject * obj0 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23009 {
23010 PyThreadState* __tstate = wxPyBeginAllowThreads();
23011 {
23012 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23013 result = (wxKeyEvent *) &_result_ref;
23014 }
23015
23016 wxPyEndAllowThreads(__tstate);
23017 if (PyErr_Occurred()) SWIG_fail;
23018 }
23019 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
23020 return resultobj;
23021 fail:
23022 return NULL;
23023 }
23024
23025
23026 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23029 int result;
23030 PyObject * obj0 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23037 {
23038 PyThreadState* __tstate = wxPyBeginAllowThreads();
23039 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23040
23041 wxPyEndAllowThreads(__tstate);
23042 if (PyErr_Occurred()) SWIG_fail;
23043 }
23044 resultobj = SWIG_PyObj_FromInt((int)result);
23045 return resultobj;
23046 fail:
23047 return NULL;
23048 }
23049
23050
23051 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23052 PyObject *resultobj;
23053 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23054 wxKeyEvent *arg2 = 0 ;
23055 PyObject * obj0 = 0 ;
23056 PyObject * obj1 = 0 ;
23057 char *kwnames[] = {
23058 (char *) "self",(char *) "evt", NULL
23059 };
23060
23061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23064 if (arg2 == NULL) {
23065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23066 }
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23070
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 Py_INCREF(Py_None); resultobj = Py_None;
23075 return resultobj;
23076 fail:
23077 return NULL;
23078 }
23079
23080
23081 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj;
23083 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23084 wxString *result;
23085 PyObject * obj0 = 0 ;
23086 char *kwnames[] = {
23087 (char *) "self", NULL
23088 };
23089
23090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23092 {
23093 PyThreadState* __tstate = wxPyBeginAllowThreads();
23094 {
23095 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23096 result = (wxString *) &_result_ref;
23097 }
23098
23099 wxPyEndAllowThreads(__tstate);
23100 if (PyErr_Occurred()) SWIG_fail;
23101 }
23102 {
23103 #if wxUSE_UNICODE
23104 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23105 #else
23106 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23107 #endif
23108 }
23109 return resultobj;
23110 fail:
23111 return NULL;
23112 }
23113
23114
23115 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23116 PyObject *resultobj;
23117 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23118 wxString *arg2 = 0 ;
23119 bool temp2 = False ;
23120 PyObject * obj0 = 0 ;
23121 PyObject * obj1 = 0 ;
23122 char *kwnames[] = {
23123 (char *) "self",(char *) "label", NULL
23124 };
23125
23126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23128 {
23129 arg2 = wxString_in_helper(obj1);
23130 if (arg2 == NULL) SWIG_fail;
23131 temp2 = True;
23132 }
23133 {
23134 PyThreadState* __tstate = wxPyBeginAllowThreads();
23135 (arg1)->SetLabel((wxString const &)*arg2);
23136
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
23140 Py_INCREF(Py_None); resultobj = Py_None;
23141 {
23142 if (temp2)
23143 delete arg2;
23144 }
23145 return resultobj;
23146 fail:
23147 {
23148 if (temp2)
23149 delete arg2;
23150 }
23151 return NULL;
23152 }
23153
23154
23155 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23156 PyObject *resultobj;
23157 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23158 bool result;
23159 PyObject * obj0 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23166 {
23167 PyThreadState* __tstate = wxPyBeginAllowThreads();
23168 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23169
23170 wxPyEndAllowThreads(__tstate);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 }
23173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23174 return resultobj;
23175 fail:
23176 return NULL;
23177 }
23178
23179
23180 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23181 PyObject *resultobj;
23182 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23183 bool arg2 ;
23184 PyObject * obj0 = 0 ;
23185 PyObject * obj1 = 0 ;
23186 char *kwnames[] = {
23187 (char *) "self",(char *) "editCancelled", NULL
23188 };
23189
23190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23192 {
23193 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 {
23197 PyThreadState* __tstate = wxPyBeginAllowThreads();
23198 (arg1)->SetEditCanceled(arg2);
23199
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 Py_INCREF(Py_None); resultobj = Py_None;
23204 return resultobj;
23205 fail:
23206 return NULL;
23207 }
23208
23209
23210 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23211 PyObject *resultobj;
23212 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23213 wxString *arg2 = 0 ;
23214 bool temp2 = False ;
23215 PyObject * obj0 = 0 ;
23216 PyObject * obj1 = 0 ;
23217 char *kwnames[] = {
23218 (char *) "self",(char *) "toolTip", NULL
23219 };
23220
23221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23223 {
23224 arg2 = wxString_in_helper(obj1);
23225 if (arg2 == NULL) SWIG_fail;
23226 temp2 = True;
23227 }
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 (arg1)->SetToolTip((wxString const &)*arg2);
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 Py_INCREF(Py_None); resultobj = Py_None;
23236 {
23237 if (temp2)
23238 delete arg2;
23239 }
23240 return resultobj;
23241 fail:
23242 {
23243 if (temp2)
23244 delete arg2;
23245 }
23246 return NULL;
23247 }
23248
23249
23250 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23251 PyObject *obj;
23252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23253 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23254 Py_INCREF(obj);
23255 return Py_BuildValue((char *)"");
23256 }
23257 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23258 PyObject *resultobj;
23259 wxWindow *arg1 = (wxWindow *) 0 ;
23260 int arg2 = (int) -1 ;
23261 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23262 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23263 wxSize const &arg4_defvalue = wxDefaultSize ;
23264 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23265 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23266 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23267 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23268 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23269 wxString *arg7 = (wxString *) &arg7_defvalue ;
23270 wxPyTreeCtrl *result;
23271 wxPoint temp3 ;
23272 wxSize temp4 ;
23273 bool temp7 = False ;
23274 PyObject * obj0 = 0 ;
23275 PyObject * obj1 = 0 ;
23276 PyObject * obj2 = 0 ;
23277 PyObject * obj3 = 0 ;
23278 PyObject * obj4 = 0 ;
23279 PyObject * obj5 = 0 ;
23280 PyObject * obj6 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23287 if (obj1) {
23288 {
23289 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23290 if (PyErr_Occurred()) SWIG_fail;
23291 }
23292 }
23293 if (obj2) {
23294 {
23295 arg3 = &temp3;
23296 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23297 }
23298 }
23299 if (obj3) {
23300 {
23301 arg4 = &temp4;
23302 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23303 }
23304 }
23305 if (obj4) {
23306 {
23307 arg5 = (long) SWIG_PyObj_AsLong(obj4);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 }
23310 }
23311 if (obj5) {
23312 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23313 if (arg6 == NULL) {
23314 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23315 }
23316 }
23317 if (obj6) {
23318 {
23319 arg7 = wxString_in_helper(obj6);
23320 if (arg7 == NULL) SWIG_fail;
23321 temp7 = True;
23322 }
23323 }
23324 {
23325 PyThreadState* __tstate = wxPyBeginAllowThreads();
23326 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23327
23328 wxPyEndAllowThreads(__tstate);
23329 if (PyErr_Occurred()) SWIG_fail;
23330 }
23331 {
23332 resultobj = wxPyMake_wxObject(result);
23333 }
23334 {
23335 if (temp7)
23336 delete arg7;
23337 }
23338 return resultobj;
23339 fail:
23340 {
23341 if (temp7)
23342 delete arg7;
23343 }
23344 return NULL;
23345 }
23346
23347
23348 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23349 PyObject *resultobj;
23350 wxPyTreeCtrl *result;
23351 char *kwnames[] = {
23352 NULL
23353 };
23354
23355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23356 {
23357 PyThreadState* __tstate = wxPyBeginAllowThreads();
23358 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23359
23360 wxPyEndAllowThreads(__tstate);
23361 if (PyErr_Occurred()) SWIG_fail;
23362 }
23363 {
23364 resultobj = wxPyMake_wxObject(result);
23365 }
23366 return resultobj;
23367 fail:
23368 return NULL;
23369 }
23370
23371
23372 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23373 PyObject *resultobj;
23374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23375 wxWindow *arg2 = (wxWindow *) 0 ;
23376 int arg3 = (int) -1 ;
23377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23379 wxSize const &arg5_defvalue = wxDefaultSize ;
23380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23381 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23382 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23383 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23384 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23385 wxString *arg8 = (wxString *) &arg8_defvalue ;
23386 bool result;
23387 wxPoint temp4 ;
23388 wxSize temp5 ;
23389 bool temp8 = False ;
23390 PyObject * obj0 = 0 ;
23391 PyObject * obj1 = 0 ;
23392 PyObject * obj2 = 0 ;
23393 PyObject * obj3 = 0 ;
23394 PyObject * obj4 = 0 ;
23395 PyObject * obj5 = 0 ;
23396 PyObject * obj6 = 0 ;
23397 PyObject * obj7 = 0 ;
23398 char *kwnames[] = {
23399 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23400 };
23401
23402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23404 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23405 if (obj2) {
23406 {
23407 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 }
23411 if (obj3) {
23412 {
23413 arg4 = &temp4;
23414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23415 }
23416 }
23417 if (obj4) {
23418 {
23419 arg5 = &temp5;
23420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23421 }
23422 }
23423 if (obj5) {
23424 {
23425 arg6 = (long) SWIG_PyObj_AsLong(obj5);
23426 if (PyErr_Occurred()) SWIG_fail;
23427 }
23428 }
23429 if (obj6) {
23430 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23431 if (arg7 == NULL) {
23432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23433 }
23434 }
23435 if (obj7) {
23436 {
23437 arg8 = wxString_in_helper(obj7);
23438 if (arg8 == NULL) SWIG_fail;
23439 temp8 = True;
23440 }
23441 }
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23450 {
23451 if (temp8)
23452 delete arg8;
23453 }
23454 return resultobj;
23455 fail:
23456 {
23457 if (temp8)
23458 delete arg8;
23459 }
23460 return NULL;
23461 }
23462
23463
23464 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23465 PyObject *resultobj;
23466 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23467 PyObject *arg2 = (PyObject *) 0 ;
23468 PyObject *arg3 = (PyObject *) 0 ;
23469 PyObject * obj0 = 0 ;
23470 PyObject * obj1 = 0 ;
23471 PyObject * obj2 = 0 ;
23472 char *kwnames[] = {
23473 (char *) "self",(char *) "self",(char *) "_class", NULL
23474 };
23475
23476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23478 arg2 = obj1;
23479 arg3 = obj2;
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 (arg1)->_setCallbackInfo(arg2,arg3);
23483
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 Py_INCREF(Py_None); resultobj = Py_None;
23488 return resultobj;
23489 fail:
23490 return NULL;
23491 }
23492
23493
23494 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23495 PyObject *resultobj;
23496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23497 size_t result;
23498 PyObject * obj0 = 0 ;
23499 char *kwnames[] = {
23500 (char *) "self", NULL
23501 };
23502
23503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23505 {
23506 PyThreadState* __tstate = wxPyBeginAllowThreads();
23507 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23508
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23513 return resultobj;
23514 fail:
23515 return NULL;
23516 }
23517
23518
23519 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23520 PyObject *resultobj;
23521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23522 unsigned int result;
23523 PyObject * obj0 = 0 ;
23524 char *kwnames[] = {
23525 (char *) "self", NULL
23526 };
23527
23528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23530 {
23531 PyThreadState* __tstate = wxPyBeginAllowThreads();
23532 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23533
23534 wxPyEndAllowThreads(__tstate);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 }
23537 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23538 return resultobj;
23539 fail:
23540 return NULL;
23541 }
23542
23543
23544 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23545 PyObject *resultobj;
23546 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23547 unsigned int arg2 ;
23548 PyObject * obj0 = 0 ;
23549 PyObject * obj1 = 0 ;
23550 char *kwnames[] = {
23551 (char *) "self",(char *) "indent", NULL
23552 };
23553
23554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23556 {
23557 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 {
23561 PyThreadState* __tstate = wxPyBeginAllowThreads();
23562 (arg1)->SetIndent(arg2);
23563
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 Py_INCREF(Py_None); resultobj = Py_None;
23568 return resultobj;
23569 fail:
23570 return NULL;
23571 }
23572
23573
23574 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23575 PyObject *resultobj;
23576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23577 unsigned int result;
23578 PyObject * obj0 = 0 ;
23579 char *kwnames[] = {
23580 (char *) "self", NULL
23581 };
23582
23583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23593 return resultobj;
23594 fail:
23595 return NULL;
23596 }
23597
23598
23599 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj;
23601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23602 unsigned int arg2 ;
23603 PyObject * obj0 = 0 ;
23604 PyObject * obj1 = 0 ;
23605 char *kwnames[] = {
23606 (char *) "self",(char *) "spacing", NULL
23607 };
23608
23609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23611 {
23612 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 (arg1)->SetSpacing(arg2);
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 Py_INCREF(Py_None); resultobj = Py_None;
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23632 wxImageList *result;
23633 PyObject * obj0 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
23639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 {
23648 resultobj = wxPyMake_wxObject(result);
23649 }
23650 return resultobj;
23651 fail:
23652 return NULL;
23653 }
23654
23655
23656 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23657 PyObject *resultobj;
23658 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23659 wxImageList *result;
23660 PyObject * obj0 = 0 ;
23661 char *kwnames[] = {
23662 (char *) "self", NULL
23663 };
23664
23665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
23666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 {
23675 resultobj = wxPyMake_wxObject(result);
23676 }
23677 return resultobj;
23678 fail:
23679 return NULL;
23680 }
23681
23682
23683 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23684 PyObject *resultobj;
23685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23686 wxImageList *arg2 = (wxImageList *) 0 ;
23687 PyObject * obj0 = 0 ;
23688 PyObject * obj1 = 0 ;
23689 char *kwnames[] = {
23690 (char *) "self",(char *) "imageList", NULL
23691 };
23692
23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
23694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 (arg1)->SetImageList(arg2);
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 Py_INCREF(Py_None); resultobj = Py_None;
23704 return resultobj;
23705 fail:
23706 return NULL;
23707 }
23708
23709
23710 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23711 PyObject *resultobj;
23712 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23713 wxImageList *arg2 = (wxImageList *) 0 ;
23714 PyObject * obj0 = 0 ;
23715 PyObject * obj1 = 0 ;
23716 char *kwnames[] = {
23717 (char *) "self",(char *) "imageList", NULL
23718 };
23719
23720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
23721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 (arg1)->SetStateImageList(arg2);
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 Py_INCREF(Py_None); resultobj = Py_None;
23731 return resultobj;
23732 fail:
23733 return NULL;
23734 }
23735
23736
23737 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23738 PyObject *resultobj;
23739 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23740 wxImageList *arg2 = (wxImageList *) 0 ;
23741 PyObject * obj0 = 0 ;
23742 PyObject * obj1 = 0 ;
23743 char *kwnames[] = {
23744 (char *) "self",(char *) "imageList", NULL
23745 };
23746
23747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
23748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23750 {
23751 PyThreadState* __tstate = wxPyBeginAllowThreads();
23752 (arg1)->AssignImageList(arg2);
23753
23754 wxPyEndAllowThreads(__tstate);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
23757 Py_INCREF(Py_None); resultobj = Py_None;
23758 return resultobj;
23759 fail:
23760 return NULL;
23761 }
23762
23763
23764 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23765 PyObject *resultobj;
23766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23767 wxImageList *arg2 = (wxImageList *) 0 ;
23768 PyObject * obj0 = 0 ;
23769 PyObject * obj1 = 0 ;
23770 char *kwnames[] = {
23771 (char *) "self",(char *) "imageList", NULL
23772 };
23773
23774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
23775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23777 {
23778 PyThreadState* __tstate = wxPyBeginAllowThreads();
23779 (arg1)->AssignStateImageList(arg2);
23780
23781 wxPyEndAllowThreads(__tstate);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 }
23784 Py_INCREF(Py_None); resultobj = Py_None;
23785 return resultobj;
23786 fail:
23787 return NULL;
23788 }
23789
23790
23791 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
23792 PyObject *resultobj;
23793 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23794 wxTreeItemId *arg2 = 0 ;
23795 wxString result;
23796 PyObject * obj0 = 0 ;
23797 PyObject * obj1 = 0 ;
23798 char *kwnames[] = {
23799 (char *) "self",(char *) "item", NULL
23800 };
23801
23802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
23803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23805 if (arg2 == NULL) {
23806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23807 }
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
23811
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 {
23816 #if wxUSE_UNICODE
23817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23818 #else
23819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23820 #endif
23821 }
23822 return resultobj;
23823 fail:
23824 return NULL;
23825 }
23826
23827
23828 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23831 wxTreeItemId *arg2 = 0 ;
23832 int arg3 = (int) wxTreeItemIcon_Normal ;
23833 int result;
23834 PyObject * obj0 = 0 ;
23835 PyObject * obj1 = 0 ;
23836 PyObject * obj2 = 0 ;
23837 char *kwnames[] = {
23838 (char *) "self",(char *) "item",(char *) "which", NULL
23839 };
23840
23841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23844 if (arg2 == NULL) {
23845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23846 }
23847 if (obj2) {
23848 {
23849 arg3 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj2);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 }
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
23856
23857 wxPyEndAllowThreads(__tstate);
23858 if (PyErr_Occurred()) SWIG_fail;
23859 }
23860 resultobj = SWIG_PyObj_FromInt((int)result);
23861 return resultobj;
23862 fail:
23863 return NULL;
23864 }
23865
23866
23867 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23868 PyObject *resultobj;
23869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23870 wxTreeItemId *arg2 = 0 ;
23871 wxPyTreeItemData *result;
23872 PyObject * obj0 = 0 ;
23873 PyObject * obj1 = 0 ;
23874 char *kwnames[] = {
23875 (char *) "self",(char *) "item", NULL
23876 };
23877
23878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
23879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23881 if (arg2 == NULL) {
23882 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23883 }
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
23887
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
23892 return resultobj;
23893 fail:
23894 return NULL;
23895 }
23896
23897
23898 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
23899 PyObject *resultobj;
23900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23901 wxTreeItemId *arg2 = 0 ;
23902 PyObject *result;
23903 PyObject * obj0 = 0 ;
23904 PyObject * obj1 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self",(char *) "item", NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
23910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23911 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23912 if (arg2 == NULL) {
23913 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23914 }
23915 {
23916 PyThreadState* __tstate = wxPyBeginAllowThreads();
23917 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
23918
23919 wxPyEndAllowThreads(__tstate);
23920 if (PyErr_Occurred()) SWIG_fail;
23921 }
23922 resultobj = result;
23923 return resultobj;
23924 fail:
23925 return NULL;
23926 }
23927
23928
23929 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23930 PyObject *resultobj;
23931 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23932 wxTreeItemId *arg2 = 0 ;
23933 wxColour result;
23934 PyObject * obj0 = 0 ;
23935 PyObject * obj1 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self",(char *) "item", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23943 if (arg2 == NULL) {
23944 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23945 }
23946 {
23947 PyThreadState* __tstate = wxPyBeginAllowThreads();
23948 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
23949
23950 wxPyEndAllowThreads(__tstate);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 }
23953 {
23954 wxColour * resultptr;
23955 resultptr = new wxColour((wxColour &) result);
23956 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
23957 }
23958 return resultobj;
23959 fail:
23960 return NULL;
23961 }
23962
23963
23964 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23965 PyObject *resultobj;
23966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23967 wxTreeItemId *arg2 = 0 ;
23968 wxColour result;
23969 PyObject * obj0 = 0 ;
23970 PyObject * obj1 = 0 ;
23971 char *kwnames[] = {
23972 (char *) "self",(char *) "item", NULL
23973 };
23974
23975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",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_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23978 if (arg2 == NULL) {
23979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23980 }
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 {
23989 wxColour * resultptr;
23990 resultptr = new wxColour((wxColour &) result);
23991 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
23992 }
23993 return resultobj;
23994 fail:
23995 return NULL;
23996 }
23997
23998
23999 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24000 PyObject *resultobj;
24001 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24002 wxTreeItemId *arg2 = 0 ;
24003 wxFont result;
24004 PyObject * obj0 = 0 ;
24005 PyObject * obj1 = 0 ;
24006 char *kwnames[] = {
24007 (char *) "self",(char *) "item", NULL
24008 };
24009
24010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24012 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24013 if (arg2 == NULL) {
24014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24015 }
24016 {
24017 PyThreadState* __tstate = wxPyBeginAllowThreads();
24018 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24019
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 {
24024 wxFont * resultptr;
24025 resultptr = new wxFont((wxFont &) result);
24026 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
24027 }
24028 return resultobj;
24029 fail:
24030 return NULL;
24031 }
24032
24033
24034 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24035 PyObject *resultobj;
24036 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24037 wxTreeItemId *arg2 = 0 ;
24038 wxString *arg3 = 0 ;
24039 bool temp3 = False ;
24040 PyObject * obj0 = 0 ;
24041 PyObject * obj1 = 0 ;
24042 PyObject * obj2 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self",(char *) "item",(char *) "text", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24050 if (arg2 == NULL) {
24051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24052 }
24053 {
24054 arg3 = wxString_in_helper(obj2);
24055 if (arg3 == NULL) SWIG_fail;
24056 temp3 = True;
24057 }
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24061
24062 wxPyEndAllowThreads(__tstate);
24063 if (PyErr_Occurred()) SWIG_fail;
24064 }
24065 Py_INCREF(Py_None); resultobj = Py_None;
24066 {
24067 if (temp3)
24068 delete arg3;
24069 }
24070 return resultobj;
24071 fail:
24072 {
24073 if (temp3)
24074 delete arg3;
24075 }
24076 return NULL;
24077 }
24078
24079
24080 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24081 PyObject *resultobj;
24082 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24083 wxTreeItemId *arg2 = 0 ;
24084 int arg3 ;
24085 int arg4 = (int) wxTreeItemIcon_Normal ;
24086 PyObject * obj0 = 0 ;
24087 PyObject * obj1 = 0 ;
24088 PyObject * obj2 = 0 ;
24089 PyObject * obj3 = 0 ;
24090 char *kwnames[] = {
24091 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24092 };
24093
24094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24097 if (arg2 == NULL) {
24098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24099 }
24100 {
24101 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 if (obj3) {
24105 {
24106 arg4 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj3);
24107 if (PyErr_Occurred()) SWIG_fail;
24108 }
24109 }
24110 {
24111 PyThreadState* __tstate = wxPyBeginAllowThreads();
24112 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24113
24114 wxPyEndAllowThreads(__tstate);
24115 if (PyErr_Occurred()) SWIG_fail;
24116 }
24117 Py_INCREF(Py_None); resultobj = Py_None;
24118 return resultobj;
24119 fail:
24120 return NULL;
24121 }
24122
24123
24124 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24125 PyObject *resultobj;
24126 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24127 wxTreeItemId *arg2 = 0 ;
24128 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24129 PyObject * obj0 = 0 ;
24130 PyObject * obj1 = 0 ;
24131 PyObject * obj2 = 0 ;
24132 char *kwnames[] = {
24133 (char *) "self",(char *) "item",(char *) "data", NULL
24134 };
24135
24136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24139 if (arg2 == NULL) {
24140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24141 }
24142 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24143 {
24144 PyThreadState* __tstate = wxPyBeginAllowThreads();
24145 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24146
24147 wxPyEndAllowThreads(__tstate);
24148 if (PyErr_Occurred()) SWIG_fail;
24149 }
24150 Py_INCREF(Py_None); resultobj = Py_None;
24151 return resultobj;
24152 fail:
24153 return NULL;
24154 }
24155
24156
24157 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24158 PyObject *resultobj;
24159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24160 wxTreeItemId *arg2 = 0 ;
24161 PyObject *arg3 = (PyObject *) 0 ;
24162 PyObject * obj0 = 0 ;
24163 PyObject * obj1 = 0 ;
24164 PyObject * obj2 = 0 ;
24165 char *kwnames[] = {
24166 (char *) "self",(char *) "item",(char *) "obj", NULL
24167 };
24168
24169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24172 if (arg2 == NULL) {
24173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24174 }
24175 arg3 = obj2;
24176 {
24177 PyThreadState* __tstate = wxPyBeginAllowThreads();
24178 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24179
24180 wxPyEndAllowThreads(__tstate);
24181 if (PyErr_Occurred()) SWIG_fail;
24182 }
24183 Py_INCREF(Py_None); resultobj = Py_None;
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24193 wxTreeItemId *arg2 = 0 ;
24194 bool arg3 = (bool) True ;
24195 PyObject * obj0 = 0 ;
24196 PyObject * obj1 = 0 ;
24197 PyObject * obj2 = 0 ;
24198 char *kwnames[] = {
24199 (char *) "self",(char *) "item",(char *) "has", NULL
24200 };
24201
24202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24204 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24205 if (arg2 == NULL) {
24206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24207 }
24208 if (obj2) {
24209 {
24210 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24211 if (PyErr_Occurred()) SWIG_fail;
24212 }
24213 }
24214 {
24215 PyThreadState* __tstate = wxPyBeginAllowThreads();
24216 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24217
24218 wxPyEndAllowThreads(__tstate);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 }
24221 Py_INCREF(Py_None); resultobj = Py_None;
24222 return resultobj;
24223 fail:
24224 return NULL;
24225 }
24226
24227
24228 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24229 PyObject *resultobj;
24230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24231 wxTreeItemId *arg2 = 0 ;
24232 bool arg3 = (bool) True ;
24233 PyObject * obj0 = 0 ;
24234 PyObject * obj1 = 0 ;
24235 PyObject * obj2 = 0 ;
24236 char *kwnames[] = {
24237 (char *) "self",(char *) "item",(char *) "bold", NULL
24238 };
24239
24240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24243 if (arg2 == NULL) {
24244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24245 }
24246 if (obj2) {
24247 {
24248 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24249 if (PyErr_Occurred()) SWIG_fail;
24250 }
24251 }
24252 {
24253 PyThreadState* __tstate = wxPyBeginAllowThreads();
24254 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24255
24256 wxPyEndAllowThreads(__tstate);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 Py_INCREF(Py_None); resultobj = Py_None;
24260 return resultobj;
24261 fail:
24262 return NULL;
24263 }
24264
24265
24266 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24267 PyObject *resultobj;
24268 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24269 wxTreeItemId *arg2 = 0 ;
24270 wxColour *arg3 = 0 ;
24271 wxColour temp3 ;
24272 PyObject * obj0 = 0 ;
24273 PyObject * obj1 = 0 ;
24274 PyObject * obj2 = 0 ;
24275 char *kwnames[] = {
24276 (char *) "self",(char *) "item",(char *) "col", NULL
24277 };
24278
24279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24281 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24282 if (arg2 == NULL) {
24283 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24284 }
24285 {
24286 arg3 = &temp3;
24287 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24288 }
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 Py_INCREF(Py_None); resultobj = Py_None;
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj;
24305 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24306 wxTreeItemId *arg2 = 0 ;
24307 wxColour *arg3 = 0 ;
24308 wxColour temp3 ;
24309 PyObject * obj0 = 0 ;
24310 PyObject * obj1 = 0 ;
24311 PyObject * obj2 = 0 ;
24312 char *kwnames[] = {
24313 (char *) "self",(char *) "item",(char *) "col", NULL
24314 };
24315
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24319 if (arg2 == NULL) {
24320 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24321 }
24322 {
24323 arg3 = &temp3;
24324 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24325 }
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 Py_INCREF(Py_None); resultobj = Py_None;
24334 return resultobj;
24335 fail:
24336 return NULL;
24337 }
24338
24339
24340 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24341 PyObject *resultobj;
24342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24343 wxTreeItemId *arg2 = 0 ;
24344 wxFont *arg3 = 0 ;
24345 PyObject * obj0 = 0 ;
24346 PyObject * obj1 = 0 ;
24347 PyObject * obj2 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self",(char *) "item",(char *) "font", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24355 if (arg2 == NULL) {
24356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24357 }
24358 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24359 if (arg3 == NULL) {
24360 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24361 }
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 Py_INCREF(Py_None); resultobj = Py_None;
24370 return resultobj;
24371 fail:
24372 return NULL;
24373 }
24374
24375
24376 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24377 PyObject *resultobj;
24378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24379 wxTreeItemId *arg2 = 0 ;
24380 bool result;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self",(char *) "item", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24390 if (arg2 == NULL) {
24391 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24392 }
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24401 return resultobj;
24402 fail:
24403 return NULL;
24404 }
24405
24406
24407 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj;
24409 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24410 wxTreeItemId *arg2 = 0 ;
24411 bool result;
24412 PyObject * obj0 = 0 ;
24413 PyObject * obj1 = 0 ;
24414 char *kwnames[] = {
24415 (char *) "self",(char *) "item", NULL
24416 };
24417
24418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24421 if (arg2 == NULL) {
24422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24423 }
24424 {
24425 PyThreadState* __tstate = wxPyBeginAllowThreads();
24426 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24427
24428 wxPyEndAllowThreads(__tstate);
24429 if (PyErr_Occurred()) SWIG_fail;
24430 }
24431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24432 return resultobj;
24433 fail:
24434 return NULL;
24435 }
24436
24437
24438 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24439 PyObject *resultobj;
24440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24441 wxTreeItemId *arg2 = 0 ;
24442 bool result;
24443 PyObject * obj0 = 0 ;
24444 PyObject * obj1 = 0 ;
24445 char *kwnames[] = {
24446 (char *) "self",(char *) "item", NULL
24447 };
24448
24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24452 if (arg2 == NULL) {
24453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24454 }
24455 {
24456 PyThreadState* __tstate = wxPyBeginAllowThreads();
24457 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24458
24459 wxPyEndAllowThreads(__tstate);
24460 if (PyErr_Occurred()) SWIG_fail;
24461 }
24462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24463 return resultobj;
24464 fail:
24465 return NULL;
24466 }
24467
24468
24469 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24470 PyObject *resultobj;
24471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24472 wxTreeItemId *arg2 = 0 ;
24473 bool result;
24474 PyObject * obj0 = 0 ;
24475 PyObject * obj1 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "item", NULL
24478 };
24479
24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24483 if (arg2 == NULL) {
24484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24485 }
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24489
24490 wxPyEndAllowThreads(__tstate);
24491 if (PyErr_Occurred()) SWIG_fail;
24492 }
24493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24494 return resultobj;
24495 fail:
24496 return NULL;
24497 }
24498
24499
24500 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24501 PyObject *resultobj;
24502 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24503 wxTreeItemId *arg2 = 0 ;
24504 bool result;
24505 PyObject * obj0 = 0 ;
24506 PyObject * obj1 = 0 ;
24507 char *kwnames[] = {
24508 (char *) "self",(char *) "item", NULL
24509 };
24510
24511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24513 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24514 if (arg2 == NULL) {
24515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24516 }
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24520
24521 wxPyEndAllowThreads(__tstate);
24522 if (PyErr_Occurred()) SWIG_fail;
24523 }
24524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24525 return resultobj;
24526 fail:
24527 return NULL;
24528 }
24529
24530
24531 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24532 PyObject *resultobj;
24533 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24534 wxTreeItemId *arg2 = 0 ;
24535 bool arg3 = (bool) True ;
24536 size_t result;
24537 PyObject * obj0 = 0 ;
24538 PyObject * obj1 = 0 ;
24539 PyObject * obj2 = 0 ;
24540 char *kwnames[] = {
24541 (char *) "self",(char *) "item",(char *) "recursively", NULL
24542 };
24543
24544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24547 if (arg2 == NULL) {
24548 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24549 }
24550 if (obj2) {
24551 {
24552 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24553 if (PyErr_Occurred()) SWIG_fail;
24554 }
24555 }
24556 {
24557 PyThreadState* __tstate = wxPyBeginAllowThreads();
24558 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24559
24560 wxPyEndAllowThreads(__tstate);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
24563 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24564 return resultobj;
24565 fail:
24566 return NULL;
24567 }
24568
24569
24570 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24571 PyObject *resultobj;
24572 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24573 wxTreeItemId result;
24574 PyObject * obj0 = 0 ;
24575 char *kwnames[] = {
24576 (char *) "self", NULL
24577 };
24578
24579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 {
24589 wxTreeItemId * resultptr;
24590 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24592 }
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24602 wxTreeItemId result;
24603 PyObject * obj0 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
24613
24614 wxPyEndAllowThreads(__tstate);
24615 if (PyErr_Occurred()) SWIG_fail;
24616 }
24617 {
24618 wxTreeItemId * resultptr;
24619 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24620 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24621 }
24622 return resultobj;
24623 fail:
24624 return NULL;
24625 }
24626
24627
24628 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
24629 PyObject *resultobj;
24630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24631 PyObject *result;
24632 PyObject * obj0 = 0 ;
24633 char *kwnames[] = {
24634 (char *) "self", NULL
24635 };
24636
24637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
24638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24639 {
24640 PyThreadState* __tstate = wxPyBeginAllowThreads();
24641 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
24642
24643 wxPyEndAllowThreads(__tstate);
24644 if (PyErr_Occurred()) SWIG_fail;
24645 }
24646 resultobj = result;
24647 return resultobj;
24648 fail:
24649 return NULL;
24650 }
24651
24652
24653 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24654 PyObject *resultobj;
24655 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24656 wxTreeItemId *arg2 = 0 ;
24657 wxTreeItemId result;
24658 PyObject * obj0 = 0 ;
24659 PyObject * obj1 = 0 ;
24660 char *kwnames[] = {
24661 (char *) "self",(char *) "item", NULL
24662 };
24663
24664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
24665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24667 if (arg2 == NULL) {
24668 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24669 }
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 {
24678 wxTreeItemId * resultptr;
24679 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24681 }
24682 return resultobj;
24683 fail:
24684 return NULL;
24685 }
24686
24687
24688 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24689 PyObject *resultobj;
24690 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24691 wxTreeItemId *arg2 = 0 ;
24692 PyObject *result;
24693 PyObject * obj0 = 0 ;
24694 PyObject * obj1 = 0 ;
24695 char *kwnames[] = {
24696 (char *) "self",(char *) "item", NULL
24697 };
24698
24699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
24700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24702 if (arg2 == NULL) {
24703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24704 }
24705 {
24706 PyThreadState* __tstate = wxPyBeginAllowThreads();
24707 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
24708
24709 wxPyEndAllowThreads(__tstate);
24710 if (PyErr_Occurred()) SWIG_fail;
24711 }
24712 resultobj = result;
24713 return resultobj;
24714 fail:
24715 return NULL;
24716 }
24717
24718
24719 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24720 PyObject *resultobj;
24721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24722 wxTreeItemId *arg2 = 0 ;
24723 void *arg3 = (void *) 0 ;
24724 PyObject *result;
24725 PyObject * obj0 = 0 ;
24726 PyObject * obj1 = 0 ;
24727 PyObject * obj2 = 0 ;
24728 char *kwnames[] = {
24729 (char *) "self",(char *) "item",(char *) "cookie", NULL
24730 };
24731
24732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24735 if (arg2 == NULL) {
24736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24737 }
24738 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24739 {
24740 PyThreadState* __tstate = wxPyBeginAllowThreads();
24741 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
24742
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 resultobj = result;
24747 return resultobj;
24748 fail:
24749 return NULL;
24750 }
24751
24752
24753 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24756 wxTreeItemId *arg2 = 0 ;
24757 wxTreeItemId result;
24758 PyObject * obj0 = 0 ;
24759 PyObject * obj1 = 0 ;
24760 char *kwnames[] = {
24761 (char *) "self",(char *) "item", NULL
24762 };
24763
24764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
24765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24767 if (arg2 == NULL) {
24768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 {
24778 wxTreeItemId * resultptr;
24779 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24781 }
24782 return resultobj;
24783 fail:
24784 return NULL;
24785 }
24786
24787
24788 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
24789 PyObject *resultobj;
24790 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24791 wxTreeItemId *arg2 = 0 ;
24792 wxTreeItemId result;
24793 PyObject * obj0 = 0 ;
24794 PyObject * obj1 = 0 ;
24795 char *kwnames[] = {
24796 (char *) "self",(char *) "item", NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
24800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24802 if (arg2 == NULL) {
24803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24804 }
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
24808
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 {
24813 wxTreeItemId * resultptr;
24814 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24815 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24816 }
24817 return resultobj;
24818 fail:
24819 return NULL;
24820 }
24821
24822
24823 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
24824 PyObject *resultobj;
24825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24826 wxTreeItemId *arg2 = 0 ;
24827 wxTreeItemId result;
24828 PyObject * obj0 = 0 ;
24829 PyObject * obj1 = 0 ;
24830 char *kwnames[] = {
24831 (char *) "self",(char *) "item", NULL
24832 };
24833
24834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
24835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24837 if (arg2 == NULL) {
24838 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24839 }
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
24843
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 {
24848 wxTreeItemId * resultptr;
24849 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24850 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24851 }
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24861 wxTreeItemId result;
24862 PyObject * obj0 = 0 ;
24863 char *kwnames[] = {
24864 (char *) "self", NULL
24865 };
24866
24867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
24868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
24872
24873 wxPyEndAllowThreads(__tstate);
24874 if (PyErr_Occurred()) SWIG_fail;
24875 }
24876 {
24877 wxTreeItemId * resultptr;
24878 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24880 }
24881 return resultobj;
24882 fail:
24883 return NULL;
24884 }
24885
24886
24887 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24890 wxTreeItemId *arg2 = 0 ;
24891 wxTreeItemId result;
24892 PyObject * obj0 = 0 ;
24893 PyObject * obj1 = 0 ;
24894 char *kwnames[] = {
24895 (char *) "self",(char *) "item", NULL
24896 };
24897
24898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
24899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24901 if (arg2 == NULL) {
24902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24903 }
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 {
24912 wxTreeItemId * resultptr;
24913 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24914 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24915 }
24916 return resultobj;
24917 fail:
24918 return NULL;
24919 }
24920
24921
24922 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24925 wxTreeItemId *arg2 = 0 ;
24926 wxTreeItemId result;
24927 PyObject * obj0 = 0 ;
24928 PyObject * obj1 = 0 ;
24929 char *kwnames[] = {
24930 (char *) "self",(char *) "item", NULL
24931 };
24932
24933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
24934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24936 if (arg2 == NULL) {
24937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24938 }
24939 {
24940 PyThreadState* __tstate = wxPyBeginAllowThreads();
24941 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
24942
24943 wxPyEndAllowThreads(__tstate);
24944 if (PyErr_Occurred()) SWIG_fail;
24945 }
24946 {
24947 wxTreeItemId * resultptr;
24948 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24949 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24950 }
24951 return resultobj;
24952 fail:
24953 return NULL;
24954 }
24955
24956
24957 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
24958 PyObject *resultobj;
24959 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24960 wxString *arg2 = 0 ;
24961 int arg3 = (int) -1 ;
24962 int arg4 = (int) -1 ;
24963 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
24964 wxTreeItemId result;
24965 bool temp2 = False ;
24966 PyObject * obj0 = 0 ;
24967 PyObject * obj1 = 0 ;
24968 PyObject * obj2 = 0 ;
24969 PyObject * obj3 = 0 ;
24970 PyObject * obj4 = 0 ;
24971 char *kwnames[] = {
24972 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
24973 };
24974
24975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24977 {
24978 arg2 = wxString_in_helper(obj1);
24979 if (arg2 == NULL) SWIG_fail;
24980 temp2 = True;
24981 }
24982 if (obj2) {
24983 {
24984 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 }
24988 if (obj3) {
24989 {
24990 arg4 = (int) SWIG_PyObj_AsInt(obj3);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 }
24994 if (obj4) {
24995 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24996 }
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 {
25005 wxTreeItemId * resultptr;
25006 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25007 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25008 }
25009 {
25010 if (temp2)
25011 delete arg2;
25012 }
25013 return resultobj;
25014 fail:
25015 {
25016 if (temp2)
25017 delete arg2;
25018 }
25019 return NULL;
25020 }
25021
25022
25023 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25024 PyObject *resultobj;
25025 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25026 wxTreeItemId *arg2 = 0 ;
25027 wxString *arg3 = 0 ;
25028 int arg4 = (int) -1 ;
25029 int arg5 = (int) -1 ;
25030 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25031 wxTreeItemId result;
25032 bool temp3 = False ;
25033 PyObject * obj0 = 0 ;
25034 PyObject * obj1 = 0 ;
25035 PyObject * obj2 = 0 ;
25036 PyObject * obj3 = 0 ;
25037 PyObject * obj4 = 0 ;
25038 PyObject * obj5 = 0 ;
25039 char *kwnames[] = {
25040 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25041 };
25042
25043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25046 if (arg2 == NULL) {
25047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25048 }
25049 {
25050 arg3 = wxString_in_helper(obj2);
25051 if (arg3 == NULL) SWIG_fail;
25052 temp3 = True;
25053 }
25054 if (obj3) {
25055 {
25056 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25057 if (PyErr_Occurred()) SWIG_fail;
25058 }
25059 }
25060 if (obj4) {
25061 {
25062 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 }
25066 if (obj5) {
25067 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25068 }
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25072
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 {
25077 wxTreeItemId * resultptr;
25078 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25079 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25080 }
25081 {
25082 if (temp3)
25083 delete arg3;
25084 }
25085 return resultobj;
25086 fail:
25087 {
25088 if (temp3)
25089 delete arg3;
25090 }
25091 return NULL;
25092 }
25093
25094
25095 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj;
25097 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25098 wxTreeItemId *arg2 = 0 ;
25099 wxTreeItemId *arg3 = 0 ;
25100 wxString *arg4 = 0 ;
25101 int arg5 = (int) -1 ;
25102 int arg6 = (int) -1 ;
25103 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25104 wxTreeItemId result;
25105 bool temp4 = False ;
25106 PyObject * obj0 = 0 ;
25107 PyObject * obj1 = 0 ;
25108 PyObject * obj2 = 0 ;
25109 PyObject * obj3 = 0 ;
25110 PyObject * obj4 = 0 ;
25111 PyObject * obj5 = 0 ;
25112 PyObject * obj6 = 0 ;
25113 char *kwnames[] = {
25114 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25115 };
25116
25117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25120 if (arg2 == NULL) {
25121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25122 }
25123 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25124 if (arg3 == NULL) {
25125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25126 }
25127 {
25128 arg4 = wxString_in_helper(obj3);
25129 if (arg4 == NULL) SWIG_fail;
25130 temp4 = True;
25131 }
25132 if (obj4) {
25133 {
25134 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25135 if (PyErr_Occurred()) SWIG_fail;
25136 }
25137 }
25138 if (obj5) {
25139 {
25140 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25141 if (PyErr_Occurred()) SWIG_fail;
25142 }
25143 }
25144 if (obj6) {
25145 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25146 }
25147 {
25148 PyThreadState* __tstate = wxPyBeginAllowThreads();
25149 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25150
25151 wxPyEndAllowThreads(__tstate);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
25154 {
25155 wxTreeItemId * resultptr;
25156 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25158 }
25159 {
25160 if (temp4)
25161 delete arg4;
25162 }
25163 return resultobj;
25164 fail:
25165 {
25166 if (temp4)
25167 delete arg4;
25168 }
25169 return NULL;
25170 }
25171
25172
25173 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25174 PyObject *resultobj;
25175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25176 wxTreeItemId *arg2 = 0 ;
25177 size_t arg3 ;
25178 wxString *arg4 = 0 ;
25179 int arg5 = (int) -1 ;
25180 int arg6 = (int) -1 ;
25181 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25182 wxTreeItemId result;
25183 bool temp4 = False ;
25184 PyObject * obj0 = 0 ;
25185 PyObject * obj1 = 0 ;
25186 PyObject * obj2 = 0 ;
25187 PyObject * obj3 = 0 ;
25188 PyObject * obj4 = 0 ;
25189 PyObject * obj5 = 0 ;
25190 PyObject * obj6 = 0 ;
25191 char *kwnames[] = {
25192 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25193 };
25194
25195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25198 if (arg2 == NULL) {
25199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25200 }
25201 {
25202 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
25203 if (PyErr_Occurred()) SWIG_fail;
25204 }
25205 {
25206 arg4 = wxString_in_helper(obj3);
25207 if (arg4 == NULL) SWIG_fail;
25208 temp4 = True;
25209 }
25210 if (obj4) {
25211 {
25212 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25213 if (PyErr_Occurred()) SWIG_fail;
25214 }
25215 }
25216 if (obj5) {
25217 {
25218 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 }
25222 if (obj6) {
25223 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25224 }
25225 {
25226 PyThreadState* __tstate = wxPyBeginAllowThreads();
25227 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25228
25229 wxPyEndAllowThreads(__tstate);
25230 if (PyErr_Occurred()) SWIG_fail;
25231 }
25232 {
25233 wxTreeItemId * resultptr;
25234 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25235 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25236 }
25237 {
25238 if (temp4)
25239 delete arg4;
25240 }
25241 return resultobj;
25242 fail:
25243 {
25244 if (temp4)
25245 delete arg4;
25246 }
25247 return NULL;
25248 }
25249
25250
25251 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25252 PyObject *resultobj;
25253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25254 wxTreeItemId *arg2 = 0 ;
25255 wxString *arg3 = 0 ;
25256 int arg4 = (int) -1 ;
25257 int arg5 = (int) -1 ;
25258 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25259 wxTreeItemId result;
25260 bool temp3 = False ;
25261 PyObject * obj0 = 0 ;
25262 PyObject * obj1 = 0 ;
25263 PyObject * obj2 = 0 ;
25264 PyObject * obj3 = 0 ;
25265 PyObject * obj4 = 0 ;
25266 PyObject * obj5 = 0 ;
25267 char *kwnames[] = {
25268 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25269 };
25270
25271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25274 if (arg2 == NULL) {
25275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25276 }
25277 {
25278 arg3 = wxString_in_helper(obj2);
25279 if (arg3 == NULL) SWIG_fail;
25280 temp3 = True;
25281 }
25282 if (obj3) {
25283 {
25284 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25285 if (PyErr_Occurred()) SWIG_fail;
25286 }
25287 }
25288 if (obj4) {
25289 {
25290 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
25293 }
25294 if (obj5) {
25295 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25296 }
25297 {
25298 PyThreadState* __tstate = wxPyBeginAllowThreads();
25299 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25300
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 {
25305 wxTreeItemId * resultptr;
25306 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25307 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25308 }
25309 {
25310 if (temp3)
25311 delete arg3;
25312 }
25313 return resultobj;
25314 fail:
25315 {
25316 if (temp3)
25317 delete arg3;
25318 }
25319 return NULL;
25320 }
25321
25322
25323 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25324 PyObject *resultobj;
25325 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25326 wxTreeItemId *arg2 = 0 ;
25327 PyObject * obj0 = 0 ;
25328 PyObject * obj1 = 0 ;
25329 char *kwnames[] = {
25330 (char *) "self",(char *) "item", NULL
25331 };
25332
25333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25336 if (arg2 == NULL) {
25337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25338 }
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 (arg1)->Delete((wxTreeItemId const &)*arg2);
25342
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 Py_INCREF(Py_None); resultobj = Py_None;
25347 return resultobj;
25348 fail:
25349 return NULL;
25350 }
25351
25352
25353 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25354 PyObject *resultobj;
25355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25356 wxTreeItemId *arg2 = 0 ;
25357 PyObject * obj0 = 0 ;
25358 PyObject * obj1 = 0 ;
25359 char *kwnames[] = {
25360 (char *) "self",(char *) "item", NULL
25361 };
25362
25363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25366 if (arg2 == NULL) {
25367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25368 }
25369 {
25370 PyThreadState* __tstate = wxPyBeginAllowThreads();
25371 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25372
25373 wxPyEndAllowThreads(__tstate);
25374 if (PyErr_Occurred()) SWIG_fail;
25375 }
25376 Py_INCREF(Py_None); resultobj = Py_None;
25377 return resultobj;
25378 fail:
25379 return NULL;
25380 }
25381
25382
25383 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25384 PyObject *resultobj;
25385 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25386 PyObject * obj0 = 0 ;
25387 char *kwnames[] = {
25388 (char *) "self", NULL
25389 };
25390
25391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25393 {
25394 PyThreadState* __tstate = wxPyBeginAllowThreads();
25395 (arg1)->DeleteAllItems();
25396
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 Py_INCREF(Py_None); resultobj = Py_None;
25401 return resultobj;
25402 fail:
25403 return NULL;
25404 }
25405
25406
25407 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25410 wxTreeItemId *arg2 = 0 ;
25411 PyObject * obj0 = 0 ;
25412 PyObject * obj1 = 0 ;
25413 char *kwnames[] = {
25414 (char *) "self",(char *) "item", NULL
25415 };
25416
25417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25420 if (arg2 == NULL) {
25421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25422 }
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 (arg1)->Expand((wxTreeItemId const &)*arg2);
25426
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 Py_INCREF(Py_None); resultobj = Py_None;
25431 return resultobj;
25432 fail:
25433 return NULL;
25434 }
25435
25436
25437 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj;
25439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25440 wxTreeItemId *arg2 = 0 ;
25441 PyObject * obj0 = 0 ;
25442 PyObject * obj1 = 0 ;
25443 char *kwnames[] = {
25444 (char *) "self",(char *) "item", NULL
25445 };
25446
25447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25450 if (arg2 == NULL) {
25451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25452 }
25453 {
25454 PyThreadState* __tstate = wxPyBeginAllowThreads();
25455 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25456
25457 wxPyEndAllowThreads(__tstate);
25458 if (PyErr_Occurred()) SWIG_fail;
25459 }
25460 Py_INCREF(Py_None); resultobj = Py_None;
25461 return resultobj;
25462 fail:
25463 return NULL;
25464 }
25465
25466
25467 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
25468 PyObject *resultobj;
25469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25470 wxTreeItemId *arg2 = 0 ;
25471 PyObject * obj0 = 0 ;
25472 PyObject * obj1 = 0 ;
25473 char *kwnames[] = {
25474 (char *) "self",(char *) "item", NULL
25475 };
25476
25477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25480 if (arg2 == NULL) {
25481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25482 }
25483 {
25484 PyThreadState* __tstate = wxPyBeginAllowThreads();
25485 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25486
25487 wxPyEndAllowThreads(__tstate);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 }
25490 Py_INCREF(Py_None); resultobj = Py_None;
25491 return resultobj;
25492 fail:
25493 return NULL;
25494 }
25495
25496
25497 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj;
25499 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25500 wxTreeItemId *arg2 = 0 ;
25501 PyObject * obj0 = 0 ;
25502 PyObject * obj1 = 0 ;
25503 char *kwnames[] = {
25504 (char *) "self",(char *) "item", NULL
25505 };
25506
25507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25510 if (arg2 == NULL) {
25511 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25512 }
25513 {
25514 PyThreadState* __tstate = wxPyBeginAllowThreads();
25515 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25516
25517 wxPyEndAllowThreads(__tstate);
25518 if (PyErr_Occurred()) SWIG_fail;
25519 }
25520 Py_INCREF(Py_None); resultobj = Py_None;
25521 return resultobj;
25522 fail:
25523 return NULL;
25524 }
25525
25526
25527 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
25528 PyObject *resultobj;
25529 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25530 PyObject * obj0 = 0 ;
25531 char *kwnames[] = {
25532 (char *) "self", NULL
25533 };
25534
25535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 (arg1)->Unselect();
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 Py_INCREF(Py_None); resultobj = Py_None;
25545 return resultobj;
25546 fail:
25547 return NULL;
25548 }
25549
25550
25551 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25552 PyObject *resultobj;
25553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25554 wxTreeItemId *arg2 = 0 ;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 char *kwnames[] = {
25558 (char *) "self",(char *) "item", NULL
25559 };
25560
25561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
25562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25564 if (arg2 == NULL) {
25565 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25566 }
25567 {
25568 PyThreadState* __tstate = wxPyBeginAllowThreads();
25569 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
25570
25571 wxPyEndAllowThreads(__tstate);
25572 if (PyErr_Occurred()) SWIG_fail;
25573 }
25574 Py_INCREF(Py_None); resultobj = Py_None;
25575 return resultobj;
25576 fail:
25577 return NULL;
25578 }
25579
25580
25581 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25582 PyObject *resultobj;
25583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25584 PyObject * obj0 = 0 ;
25585 char *kwnames[] = {
25586 (char *) "self", NULL
25587 };
25588
25589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 (arg1)->UnselectAll();
25594
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 Py_INCREF(Py_None); resultobj = Py_None;
25599 return resultobj;
25600 fail:
25601 return NULL;
25602 }
25603
25604
25605 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25606 PyObject *resultobj;
25607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25608 wxTreeItemId *arg2 = 0 ;
25609 bool arg3 = (bool) True ;
25610 PyObject * obj0 = 0 ;
25611 PyObject * obj1 = 0 ;
25612 PyObject * obj2 = 0 ;
25613 char *kwnames[] = {
25614 (char *) "self",(char *) "item",(char *) "select", NULL
25615 };
25616
25617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
25618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25620 if (arg2 == NULL) {
25621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25622 }
25623 if (obj2) {
25624 {
25625 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 }
25629 {
25630 PyThreadState* __tstate = wxPyBeginAllowThreads();
25631 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
25632
25633 wxPyEndAllowThreads(__tstate);
25634 if (PyErr_Occurred()) SWIG_fail;
25635 }
25636 Py_INCREF(Py_None); resultobj = Py_None;
25637 return resultobj;
25638 fail:
25639 return NULL;
25640 }
25641
25642
25643 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25644 PyObject *resultobj;
25645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25646 wxTreeItemId *arg2 = 0 ;
25647 PyObject * obj0 = 0 ;
25648 PyObject * obj1 = 0 ;
25649 char *kwnames[] = {
25650 (char *) "self",(char *) "item", NULL
25651 };
25652
25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
25654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25656 if (arg2 == NULL) {
25657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25658 }
25659 {
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
25662
25663 wxPyEndAllowThreads(__tstate);
25664 if (PyErr_Occurred()) SWIG_fail;
25665 }
25666 Py_INCREF(Py_None); resultobj = Py_None;
25667 return resultobj;
25668 fail:
25669 return NULL;
25670 }
25671
25672
25673 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj;
25675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25676 wxTreeItemId *arg2 = 0 ;
25677 PyObject * obj0 = 0 ;
25678 PyObject * obj1 = 0 ;
25679 char *kwnames[] = {
25680 (char *) "self",(char *) "item", NULL
25681 };
25682
25683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25686 if (arg2 == NULL) {
25687 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25688 }
25689 {
25690 PyThreadState* __tstate = wxPyBeginAllowThreads();
25691 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
25692
25693 wxPyEndAllowThreads(__tstate);
25694 if (PyErr_Occurred()) SWIG_fail;
25695 }
25696 Py_INCREF(Py_None); resultobj = Py_None;
25697 return resultobj;
25698 fail:
25699 return NULL;
25700 }
25701
25702
25703 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
25704 PyObject *resultobj;
25705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25706 wxTreeItemId *arg2 = 0 ;
25707 PyObject * obj0 = 0 ;
25708 PyObject * obj1 = 0 ;
25709 char *kwnames[] = {
25710 (char *) "self",(char *) "item", NULL
25711 };
25712
25713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
25714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25715 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25716 if (arg2 == NULL) {
25717 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25718 }
25719 {
25720 PyThreadState* __tstate = wxPyBeginAllowThreads();
25721 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
25722
25723 wxPyEndAllowThreads(__tstate);
25724 if (PyErr_Occurred()) SWIG_fail;
25725 }
25726 Py_INCREF(Py_None); resultobj = Py_None;
25727 return resultobj;
25728 fail:
25729 return NULL;
25730 }
25731
25732
25733 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25734 PyObject *resultobj;
25735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25736 wxTreeItemId *arg2 = 0 ;
25737 PyObject * obj0 = 0 ;
25738 PyObject * obj1 = 0 ;
25739 char *kwnames[] = {
25740 (char *) "self",(char *) "item", NULL
25741 };
25742
25743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25746 if (arg2 == NULL) {
25747 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25748 }
25749 {
25750 PyThreadState* __tstate = wxPyBeginAllowThreads();
25751 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
25752
25753 wxPyEndAllowThreads(__tstate);
25754 if (PyErr_Occurred()) SWIG_fail;
25755 }
25756 Py_INCREF(Py_None); resultobj = Py_None;
25757 return resultobj;
25758 fail:
25759 return NULL;
25760 }
25761
25762
25763 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
25764 PyObject *resultobj;
25765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25766 wxTextCtrl *result;
25767 PyObject * obj0 = 0 ;
25768 char *kwnames[] = {
25769 (char *) "self", NULL
25770 };
25771
25772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
25773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25774 {
25775 PyThreadState* __tstate = wxPyBeginAllowThreads();
25776 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
25777
25778 wxPyEndAllowThreads(__tstate);
25779 if (PyErr_Occurred()) SWIG_fail;
25780 }
25781 {
25782 resultobj = wxPyMake_wxObject(result);
25783 }
25784 return resultobj;
25785 fail:
25786 return NULL;
25787 }
25788
25789
25790 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25791 PyObject *resultobj;
25792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25793 wxTreeItemId *arg2 = 0 ;
25794 PyObject * obj0 = 0 ;
25795 PyObject * obj1 = 0 ;
25796 char *kwnames[] = {
25797 (char *) "self",(char *) "item", NULL
25798 };
25799
25800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
25801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25803 if (arg2 == NULL) {
25804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25805 }
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
25809
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 Py_INCREF(Py_None); resultobj = Py_None;
25814 return resultobj;
25815 fail:
25816 return NULL;
25817 }
25818
25819
25820 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
25821 PyObject *resultobj;
25822 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25823 wxPoint *arg2 = 0 ;
25824 int *arg3 = 0 ;
25825 wxTreeItemId result;
25826 wxPoint temp2 ;
25827 int temp3 ;
25828 PyObject * obj0 = 0 ;
25829 PyObject * obj1 = 0 ;
25830 char *kwnames[] = {
25831 (char *) "self",(char *) "point", NULL
25832 };
25833
25834 arg3 = &temp3;
25835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25837 {
25838 arg2 = &temp2;
25839 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25840 }
25841 {
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25844
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
25848 {
25849 wxTreeItemId * resultptr;
25850 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25851 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25852 }
25853 {
25854 PyObject *o = PyInt_FromLong((long) (*arg3));
25855 resultobj = t_output_helper(resultobj,o);
25856 }
25857 return resultobj;
25858 fail:
25859 return NULL;
25860 }
25861
25862
25863 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25864 PyObject *resultobj;
25865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25866 wxTreeItemId *arg2 = 0 ;
25867 bool arg3 = (bool) False ;
25868 PyObject *result;
25869 PyObject * obj0 = 0 ;
25870 PyObject * obj1 = 0 ;
25871 PyObject * obj2 = 0 ;
25872 char *kwnames[] = {
25873 (char *) "self",(char *) "item",(char *) "textOnly", NULL
25874 };
25875
25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
25877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25879 if (arg2 == NULL) {
25880 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25881 }
25882 if (obj2) {
25883 {
25884 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25885 if (PyErr_Occurred()) SWIG_fail;
25886 }
25887 }
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
25891
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 resultobj = result;
25896 return resultobj;
25897 fail:
25898 return NULL;
25899 }
25900
25901
25902 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
25903 PyObject *obj;
25904 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25905 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
25906 Py_INCREF(obj);
25907 return Py_BuildValue((char *)"");
25908 }
25909 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
25910 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
25911 return 1;
25912 }
25913
25914
25915 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
25916 PyObject *pyobj;
25917
25918 {
25919 #if wxUSE_UNICODE
25920 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
25921 #else
25922 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
25923 #endif
25924 }
25925 return pyobj;
25926 }
25927
25928
25929 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj;
25931 wxWindow *arg1 = (wxWindow *) 0 ;
25932 int arg2 = (int) (int)-1 ;
25933 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
25934 wxString *arg3 = (wxString *) &arg3_defvalue ;
25935 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25936 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25937 wxSize const &arg5_defvalue = wxDefaultSize ;
25938 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25939 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
25940 wxString const &arg7_defvalue = wxPyEmptyString ;
25941 wxString *arg7 = (wxString *) &arg7_defvalue ;
25942 int arg8 = (int) 0 ;
25943 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
25944 wxString *arg9 = (wxString *) &arg9_defvalue ;
25945 wxGenericDirCtrl *result;
25946 bool temp3 = False ;
25947 wxPoint temp4 ;
25948 wxSize temp5 ;
25949 bool temp7 = False ;
25950 bool temp9 = False ;
25951 PyObject * obj0 = 0 ;
25952 PyObject * obj1 = 0 ;
25953 PyObject * obj2 = 0 ;
25954 PyObject * obj3 = 0 ;
25955 PyObject * obj4 = 0 ;
25956 PyObject * obj5 = 0 ;
25957 PyObject * obj6 = 0 ;
25958 PyObject * obj7 = 0 ;
25959 PyObject * obj8 = 0 ;
25960 char *kwnames[] = {
25961 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
25962 };
25963
25964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
25965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25966 if (obj1) {
25967 {
25968 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 }
25972 if (obj2) {
25973 {
25974 arg3 = wxString_in_helper(obj2);
25975 if (arg3 == NULL) SWIG_fail;
25976 temp3 = True;
25977 }
25978 }
25979 if (obj3) {
25980 {
25981 arg4 = &temp4;
25982 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25983 }
25984 }
25985 if (obj4) {
25986 {
25987 arg5 = &temp5;
25988 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25989 }
25990 }
25991 if (obj5) {
25992 {
25993 arg6 = (long) SWIG_PyObj_AsLong(obj5);
25994 if (PyErr_Occurred()) SWIG_fail;
25995 }
25996 }
25997 if (obj6) {
25998 {
25999 arg7 = wxString_in_helper(obj6);
26000 if (arg7 == NULL) SWIG_fail;
26001 temp7 = True;
26002 }
26003 }
26004 if (obj7) {
26005 {
26006 arg8 = (int) SWIG_PyObj_AsInt(obj7);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
26009 }
26010 if (obj8) {
26011 {
26012 arg9 = wxString_in_helper(obj8);
26013 if (arg9 == NULL) SWIG_fail;
26014 temp9 = True;
26015 }
26016 }
26017 {
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26020
26021 wxPyEndAllowThreads(__tstate);
26022 if (PyErr_Occurred()) SWIG_fail;
26023 }
26024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26025 {
26026 if (temp3)
26027 delete arg3;
26028 }
26029 {
26030 if (temp7)
26031 delete arg7;
26032 }
26033 {
26034 if (temp9)
26035 delete arg9;
26036 }
26037 return resultobj;
26038 fail:
26039 {
26040 if (temp3)
26041 delete arg3;
26042 }
26043 {
26044 if (temp7)
26045 delete arg7;
26046 }
26047 {
26048 if (temp9)
26049 delete arg9;
26050 }
26051 return NULL;
26052 }
26053
26054
26055 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26056 PyObject *resultobj;
26057 wxGenericDirCtrl *result;
26058 char *kwnames[] = {
26059 NULL
26060 };
26061
26062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26063 {
26064 PyThreadState* __tstate = wxPyBeginAllowThreads();
26065 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26066
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26071 return resultobj;
26072 fail:
26073 return NULL;
26074 }
26075
26076
26077 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26078 PyObject *resultobj;
26079 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26080 wxWindow *arg2 = (wxWindow *) 0 ;
26081 int arg3 = (int) (int)-1 ;
26082 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26083 wxString *arg4 = (wxString *) &arg4_defvalue ;
26084 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26085 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26086 wxSize const &arg6_defvalue = wxDefaultSize ;
26087 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26088 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26089 wxString const &arg8_defvalue = wxPyEmptyString ;
26090 wxString *arg8 = (wxString *) &arg8_defvalue ;
26091 int arg9 = (int) 0 ;
26092 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26093 wxString *arg10 = (wxString *) &arg10_defvalue ;
26094 bool result;
26095 bool temp4 = False ;
26096 wxPoint temp5 ;
26097 wxSize temp6 ;
26098 bool temp8 = False ;
26099 bool temp10 = False ;
26100 PyObject * obj0 = 0 ;
26101 PyObject * obj1 = 0 ;
26102 PyObject * obj2 = 0 ;
26103 PyObject * obj3 = 0 ;
26104 PyObject * obj4 = 0 ;
26105 PyObject * obj5 = 0 ;
26106 PyObject * obj6 = 0 ;
26107 PyObject * obj7 = 0 ;
26108 PyObject * obj8 = 0 ;
26109 PyObject * obj9 = 0 ;
26110 char *kwnames[] = {
26111 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26112 };
26113
26114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26117 if (obj2) {
26118 {
26119 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26120 if (PyErr_Occurred()) SWIG_fail;
26121 }
26122 }
26123 if (obj3) {
26124 {
26125 arg4 = wxString_in_helper(obj3);
26126 if (arg4 == NULL) SWIG_fail;
26127 temp4 = True;
26128 }
26129 }
26130 if (obj4) {
26131 {
26132 arg5 = &temp5;
26133 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26134 }
26135 }
26136 if (obj5) {
26137 {
26138 arg6 = &temp6;
26139 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26140 }
26141 }
26142 if (obj6) {
26143 {
26144 arg7 = (long) SWIG_PyObj_AsLong(obj6);
26145 if (PyErr_Occurred()) SWIG_fail;
26146 }
26147 }
26148 if (obj7) {
26149 {
26150 arg8 = wxString_in_helper(obj7);
26151 if (arg8 == NULL) SWIG_fail;
26152 temp8 = True;
26153 }
26154 }
26155 if (obj8) {
26156 {
26157 arg9 = (int) SWIG_PyObj_AsInt(obj8);
26158 if (PyErr_Occurred()) SWIG_fail;
26159 }
26160 }
26161 if (obj9) {
26162 {
26163 arg10 = wxString_in_helper(obj9);
26164 if (arg10 == NULL) SWIG_fail;
26165 temp10 = True;
26166 }
26167 }
26168 {
26169 PyThreadState* __tstate = wxPyBeginAllowThreads();
26170 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26171
26172 wxPyEndAllowThreads(__tstate);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
26175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26176 {
26177 if (temp4)
26178 delete arg4;
26179 }
26180 {
26181 if (temp8)
26182 delete arg8;
26183 }
26184 {
26185 if (temp10)
26186 delete arg10;
26187 }
26188 return resultobj;
26189 fail:
26190 {
26191 if (temp4)
26192 delete arg4;
26193 }
26194 {
26195 if (temp8)
26196 delete arg8;
26197 }
26198 {
26199 if (temp10)
26200 delete arg10;
26201 }
26202 return NULL;
26203 }
26204
26205
26206 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26207 PyObject *resultobj;
26208 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26209 wxString *arg2 = 0 ;
26210 bool result;
26211 bool temp2 = False ;
26212 PyObject * obj0 = 0 ;
26213 PyObject * obj1 = 0 ;
26214 char *kwnames[] = {
26215 (char *) "self",(char *) "path", NULL
26216 };
26217
26218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26220 {
26221 arg2 = wxString_in_helper(obj1);
26222 if (arg2 == NULL) SWIG_fail;
26223 temp2 = True;
26224 }
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26228
26229 wxPyEndAllowThreads(__tstate);
26230 if (PyErr_Occurred()) SWIG_fail;
26231 }
26232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26233 {
26234 if (temp2)
26235 delete arg2;
26236 }
26237 return resultobj;
26238 fail:
26239 {
26240 if (temp2)
26241 delete arg2;
26242 }
26243 return NULL;
26244 }
26245
26246
26247 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26248 PyObject *resultobj;
26249 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26250 wxString result;
26251 PyObject * obj0 = 0 ;
26252 char *kwnames[] = {
26253 (char *) "self", NULL
26254 };
26255
26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26261
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 {
26266 #if wxUSE_UNICODE
26267 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26268 #else
26269 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26270 #endif
26271 }
26272 return resultobj;
26273 fail:
26274 return NULL;
26275 }
26276
26277
26278 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26279 PyObject *resultobj;
26280 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26281 wxString *arg2 = 0 ;
26282 bool temp2 = False ;
26283 PyObject * obj0 = 0 ;
26284 PyObject * obj1 = 0 ;
26285 char *kwnames[] = {
26286 (char *) "self",(char *) "path", NULL
26287 };
26288
26289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26291 {
26292 arg2 = wxString_in_helper(obj1);
26293 if (arg2 == NULL) SWIG_fail;
26294 temp2 = True;
26295 }
26296 {
26297 PyThreadState* __tstate = wxPyBeginAllowThreads();
26298 (arg1)->SetDefaultPath((wxString const &)*arg2);
26299
26300 wxPyEndAllowThreads(__tstate);
26301 if (PyErr_Occurred()) SWIG_fail;
26302 }
26303 Py_INCREF(Py_None); resultobj = Py_None;
26304 {
26305 if (temp2)
26306 delete arg2;
26307 }
26308 return resultobj;
26309 fail:
26310 {
26311 if (temp2)
26312 delete arg2;
26313 }
26314 return NULL;
26315 }
26316
26317
26318 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26319 PyObject *resultobj;
26320 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26321 wxString result;
26322 PyObject * obj0 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26329 {
26330 PyThreadState* __tstate = wxPyBeginAllowThreads();
26331 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26332
26333 wxPyEndAllowThreads(__tstate);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 }
26336 {
26337 #if wxUSE_UNICODE
26338 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26339 #else
26340 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26341 #endif
26342 }
26343 return resultobj;
26344 fail:
26345 return NULL;
26346 }
26347
26348
26349 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26350 PyObject *resultobj;
26351 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26352 wxString result;
26353 PyObject * obj0 = 0 ;
26354 char *kwnames[] = {
26355 (char *) "self", NULL
26356 };
26357
26358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26360 {
26361 PyThreadState* __tstate = wxPyBeginAllowThreads();
26362 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26363
26364 wxPyEndAllowThreads(__tstate);
26365 if (PyErr_Occurred()) SWIG_fail;
26366 }
26367 {
26368 #if wxUSE_UNICODE
26369 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26370 #else
26371 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26372 #endif
26373 }
26374 return resultobj;
26375 fail:
26376 return NULL;
26377 }
26378
26379
26380 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26381 PyObject *resultobj;
26382 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26383 wxString *arg2 = 0 ;
26384 bool temp2 = False ;
26385 PyObject * obj0 = 0 ;
26386 PyObject * obj1 = 0 ;
26387 char *kwnames[] = {
26388 (char *) "self",(char *) "path", NULL
26389 };
26390
26391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26393 {
26394 arg2 = wxString_in_helper(obj1);
26395 if (arg2 == NULL) SWIG_fail;
26396 temp2 = True;
26397 }
26398 {
26399 PyThreadState* __tstate = wxPyBeginAllowThreads();
26400 (arg1)->SetPath((wxString const &)*arg2);
26401
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 Py_INCREF(Py_None); resultobj = Py_None;
26406 {
26407 if (temp2)
26408 delete arg2;
26409 }
26410 return resultobj;
26411 fail:
26412 {
26413 if (temp2)
26414 delete arg2;
26415 }
26416 return NULL;
26417 }
26418
26419
26420 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26421 PyObject *resultobj;
26422 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26423 bool arg2 ;
26424 PyObject * obj0 = 0 ;
26425 PyObject * obj1 = 0 ;
26426 char *kwnames[] = {
26427 (char *) "self",(char *) "show", NULL
26428 };
26429
26430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26432 {
26433 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26434 if (PyErr_Occurred()) SWIG_fail;
26435 }
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 (arg1)->ShowHidden(arg2);
26439
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 Py_INCREF(Py_None); resultobj = Py_None;
26444 return resultobj;
26445 fail:
26446 return NULL;
26447 }
26448
26449
26450 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26451 PyObject *resultobj;
26452 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26453 bool result;
26454 PyObject * obj0 = 0 ;
26455 char *kwnames[] = {
26456 (char *) "self", NULL
26457 };
26458
26459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26461 {
26462 PyThreadState* __tstate = wxPyBeginAllowThreads();
26463 result = (bool)(arg1)->GetShowHidden();
26464
26465 wxPyEndAllowThreads(__tstate);
26466 if (PyErr_Occurred()) SWIG_fail;
26467 }
26468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26469 return resultobj;
26470 fail:
26471 return NULL;
26472 }
26473
26474
26475 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26476 PyObject *resultobj;
26477 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26478 wxString result;
26479 PyObject * obj0 = 0 ;
26480 char *kwnames[] = {
26481 (char *) "self", NULL
26482 };
26483
26484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26486 {
26487 PyThreadState* __tstate = wxPyBeginAllowThreads();
26488 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26489
26490 wxPyEndAllowThreads(__tstate);
26491 if (PyErr_Occurred()) SWIG_fail;
26492 }
26493 {
26494 #if wxUSE_UNICODE
26495 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26496 #else
26497 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26498 #endif
26499 }
26500 return resultobj;
26501 fail:
26502 return NULL;
26503 }
26504
26505
26506 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj;
26508 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26509 wxString *arg2 = 0 ;
26510 bool temp2 = False ;
26511 PyObject * obj0 = 0 ;
26512 PyObject * obj1 = 0 ;
26513 char *kwnames[] = {
26514 (char *) "self",(char *) "filter", NULL
26515 };
26516
26517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26519 {
26520 arg2 = wxString_in_helper(obj1);
26521 if (arg2 == NULL) SWIG_fail;
26522 temp2 = True;
26523 }
26524 {
26525 PyThreadState* __tstate = wxPyBeginAllowThreads();
26526 (arg1)->SetFilter((wxString const &)*arg2);
26527
26528 wxPyEndAllowThreads(__tstate);
26529 if (PyErr_Occurred()) SWIG_fail;
26530 }
26531 Py_INCREF(Py_None); resultobj = Py_None;
26532 {
26533 if (temp2)
26534 delete arg2;
26535 }
26536 return resultobj;
26537 fail:
26538 {
26539 if (temp2)
26540 delete arg2;
26541 }
26542 return NULL;
26543 }
26544
26545
26546 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26547 PyObject *resultobj;
26548 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26549 int result;
26550 PyObject * obj0 = 0 ;
26551 char *kwnames[] = {
26552 (char *) "self", NULL
26553 };
26554
26555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26560
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 resultobj = SWIG_PyObj_FromInt((int)result);
26565 return resultobj;
26566 fail:
26567 return NULL;
26568 }
26569
26570
26571 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26572 PyObject *resultobj;
26573 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26574 int arg2 ;
26575 PyObject * obj0 = 0 ;
26576 PyObject * obj1 = 0 ;
26577 char *kwnames[] = {
26578 (char *) "self",(char *) "n", NULL
26579 };
26580
26581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26583 {
26584 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26585 if (PyErr_Occurred()) SWIG_fail;
26586 }
26587 {
26588 PyThreadState* __tstate = wxPyBeginAllowThreads();
26589 (arg1)->SetFilterIndex(arg2);
26590
26591 wxPyEndAllowThreads(__tstate);
26592 if (PyErr_Occurred()) SWIG_fail;
26593 }
26594 Py_INCREF(Py_None); resultobj = Py_None;
26595 return resultobj;
26596 fail:
26597 return NULL;
26598 }
26599
26600
26601 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26604 wxTreeItemId result;
26605 PyObject * obj0 = 0 ;
26606 char *kwnames[] = {
26607 (char *) "self", NULL
26608 };
26609
26610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
26611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26612 {
26613 PyThreadState* __tstate = wxPyBeginAllowThreads();
26614 result = (arg1)->GetRootId();
26615
26616 wxPyEndAllowThreads(__tstate);
26617 if (PyErr_Occurred()) SWIG_fail;
26618 }
26619 {
26620 wxTreeItemId * resultptr;
26621 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26622 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26623 }
26624 return resultobj;
26625 fail:
26626 return NULL;
26627 }
26628
26629
26630 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26631 PyObject *resultobj;
26632 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26633 wxPyTreeCtrl *result;
26634 PyObject * obj0 = 0 ;
26635 char *kwnames[] = {
26636 (char *) "self", NULL
26637 };
26638
26639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
26640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26641 {
26642 PyThreadState* __tstate = wxPyBeginAllowThreads();
26643 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
26644
26645 wxPyEndAllowThreads(__tstate);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 {
26649 resultobj = wxPyMake_wxObject(result);
26650 }
26651 return resultobj;
26652 fail:
26653 return NULL;
26654 }
26655
26656
26657 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26658 PyObject *resultobj;
26659 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26660 wxDirFilterListCtrl *result;
26661 PyObject * obj0 = 0 ;
26662 char *kwnames[] = {
26663 (char *) "self", NULL
26664 };
26665
26666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
26667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26668 {
26669 PyThreadState* __tstate = wxPyBeginAllowThreads();
26670 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
26671
26672 wxPyEndAllowThreads(__tstate);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 }
26675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
26676 return resultobj;
26677 fail:
26678 return NULL;
26679 }
26680
26681
26682 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26683 PyObject *resultobj;
26684 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26685 wxTreeItemId arg2 ;
26686 wxString *arg3 = 0 ;
26687 bool *arg4 = 0 ;
26688 wxTreeItemId result;
26689 wxTreeItemId *argp2 ;
26690 bool temp3 = False ;
26691 bool temp4 ;
26692 PyObject * obj0 = 0 ;
26693 PyObject * obj1 = 0 ;
26694 PyObject * obj2 = 0 ;
26695 char *kwnames[] = {
26696 (char *) "self",(char *) "parentId",(char *) "path", NULL
26697 };
26698
26699 arg4 = &temp4;
26700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26702 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
26703 arg2 = *argp2;
26704 {
26705 arg3 = wxString_in_helper(obj2);
26706 if (arg3 == NULL) SWIG_fail;
26707 temp3 = True;
26708 }
26709 {
26710 PyThreadState* __tstate = wxPyBeginAllowThreads();
26711 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
26712
26713 wxPyEndAllowThreads(__tstate);
26714 if (PyErr_Occurred()) SWIG_fail;
26715 }
26716 {
26717 wxTreeItemId * resultptr;
26718 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26719 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26720 }
26721 {
26722 PyObject *o = PyInt_FromLong((long) (*arg4));
26723 resultobj = t_output_helper(resultobj,o);
26724 }
26725 {
26726 if (temp3)
26727 delete arg3;
26728 }
26729 return resultobj;
26730 fail:
26731 {
26732 if (temp3)
26733 delete arg3;
26734 }
26735 return NULL;
26736 }
26737
26738
26739 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
26740 PyObject *resultobj;
26741 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26742 PyObject * obj0 = 0 ;
26743 char *kwnames[] = {
26744 (char *) "self", NULL
26745 };
26746
26747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
26748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26749 {
26750 PyThreadState* __tstate = wxPyBeginAllowThreads();
26751 (arg1)->DoResize();
26752
26753 wxPyEndAllowThreads(__tstate);
26754 if (PyErr_Occurred()) SWIG_fail;
26755 }
26756 Py_INCREF(Py_None); resultobj = Py_None;
26757 return resultobj;
26758 fail:
26759 return NULL;
26760 }
26761
26762
26763 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
26764 PyObject *resultobj;
26765 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26766 PyObject * obj0 = 0 ;
26767 char *kwnames[] = {
26768 (char *) "self", NULL
26769 };
26770
26771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
26772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26773 {
26774 PyThreadState* __tstate = wxPyBeginAllowThreads();
26775 (arg1)->ReCreateTree();
26776
26777 wxPyEndAllowThreads(__tstate);
26778 if (PyErr_Occurred()) SWIG_fail;
26779 }
26780 Py_INCREF(Py_None); resultobj = Py_None;
26781 return resultobj;
26782 fail:
26783 return NULL;
26784 }
26785
26786
26787 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
26788 PyObject *obj;
26789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26790 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
26791 Py_INCREF(obj);
26792 return Py_BuildValue((char *)"");
26793 }
26794 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26795 PyObject *resultobj;
26796 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26797 int arg2 = (int) (int)-1 ;
26798 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26799 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26800 wxSize const &arg4_defvalue = wxDefaultSize ;
26801 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26802 long arg5 = (long) 0 ;
26803 wxDirFilterListCtrl *result;
26804 wxPoint temp3 ;
26805 wxSize temp4 ;
26806 PyObject * obj0 = 0 ;
26807 PyObject * obj1 = 0 ;
26808 PyObject * obj2 = 0 ;
26809 PyObject * obj3 = 0 ;
26810 PyObject * obj4 = 0 ;
26811 char *kwnames[] = {
26812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26813 };
26814
26815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26817 if (obj1) {
26818 {
26819 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26820 if (PyErr_Occurred()) SWIG_fail;
26821 }
26822 }
26823 if (obj2) {
26824 {
26825 arg3 = &temp3;
26826 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26827 }
26828 }
26829 if (obj3) {
26830 {
26831 arg4 = &temp4;
26832 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26833 }
26834 }
26835 if (obj4) {
26836 {
26837 arg5 = (long) SWIG_PyObj_AsLong(obj4);
26838 if (PyErr_Occurred()) SWIG_fail;
26839 }
26840 }
26841 {
26842 PyThreadState* __tstate = wxPyBeginAllowThreads();
26843 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
26844
26845 wxPyEndAllowThreads(__tstate);
26846 if (PyErr_Occurred()) SWIG_fail;
26847 }
26848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
26849 return resultobj;
26850 fail:
26851 return NULL;
26852 }
26853
26854
26855 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26856 PyObject *resultobj;
26857 wxDirFilterListCtrl *result;
26858 char *kwnames[] = {
26859 NULL
26860 };
26861
26862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
26863 {
26864 PyThreadState* __tstate = wxPyBeginAllowThreads();
26865 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
26866
26867 wxPyEndAllowThreads(__tstate);
26868 if (PyErr_Occurred()) SWIG_fail;
26869 }
26870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
26871 return resultobj;
26872 fail:
26873 return NULL;
26874 }
26875
26876
26877 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26878 PyObject *resultobj;
26879 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
26880 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
26881 int arg3 = (int) (int)-1 ;
26882 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26883 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26884 wxSize const &arg5_defvalue = wxDefaultSize ;
26885 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26886 long arg6 = (long) 0 ;
26887 bool result;
26888 wxPoint temp4 ;
26889 wxSize temp5 ;
26890 PyObject * obj0 = 0 ;
26891 PyObject * obj1 = 0 ;
26892 PyObject * obj2 = 0 ;
26893 PyObject * obj3 = 0 ;
26894 PyObject * obj4 = 0 ;
26895 PyObject * obj5 = 0 ;
26896 char *kwnames[] = {
26897 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26898 };
26899
26900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26903 if (obj2) {
26904 {
26905 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 }
26909 if (obj3) {
26910 {
26911 arg4 = &temp4;
26912 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26913 }
26914 }
26915 if (obj4) {
26916 {
26917 arg5 = &temp5;
26918 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26919 }
26920 }
26921 if (obj5) {
26922 {
26923 arg6 = (long) SWIG_PyObj_AsLong(obj5);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 }
26927 {
26928 PyThreadState* __tstate = wxPyBeginAllowThreads();
26929 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
26930
26931 wxPyEndAllowThreads(__tstate);
26932 if (PyErr_Occurred()) SWIG_fail;
26933 }
26934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26935 return resultobj;
26936 fail:
26937 return NULL;
26938 }
26939
26940
26941 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj;
26943 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
26944 wxString *arg2 = 0 ;
26945 int arg3 ;
26946 bool temp2 = False ;
26947 PyObject * obj0 = 0 ;
26948 PyObject * obj1 = 0 ;
26949 PyObject * obj2 = 0 ;
26950 char *kwnames[] = {
26951 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
26952 };
26953
26954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26956 {
26957 arg2 = wxString_in_helper(obj1);
26958 if (arg2 == NULL) SWIG_fail;
26959 temp2 = True;
26960 }
26961 {
26962 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
26965 {
26966 PyThreadState* __tstate = wxPyBeginAllowThreads();
26967 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
26968
26969 wxPyEndAllowThreads(__tstate);
26970 if (PyErr_Occurred()) SWIG_fail;
26971 }
26972 Py_INCREF(Py_None); resultobj = Py_None;
26973 {
26974 if (temp2)
26975 delete arg2;
26976 }
26977 return resultobj;
26978 fail:
26979 {
26980 if (temp2)
26981 delete arg2;
26982 }
26983 return NULL;
26984 }
26985
26986
26987 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
26988 PyObject *obj;
26989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26990 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
26991 Py_INCREF(obj);
26992 return Py_BuildValue((char *)"");
26993 }
26994 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26995 PyObject *resultobj;
26996 wxWindow *arg1 = (wxWindow *) 0 ;
26997 int arg2 ;
26998 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26999 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27000 wxSize const &arg4_defvalue = wxDefaultSize ;
27001 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27002 long arg5 = (long) 0 ;
27003 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27004 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27005 wxString const &arg7_defvalue = wxPyControlNameStr ;
27006 wxString *arg7 = (wxString *) &arg7_defvalue ;
27007 wxPyControl *result;
27008 wxPoint temp3 ;
27009 wxSize temp4 ;
27010 bool temp7 = False ;
27011 PyObject * obj0 = 0 ;
27012 PyObject * obj1 = 0 ;
27013 PyObject * obj2 = 0 ;
27014 PyObject * obj3 = 0 ;
27015 PyObject * obj4 = 0 ;
27016 PyObject * obj5 = 0 ;
27017 PyObject * obj6 = 0 ;
27018 char *kwnames[] = {
27019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27020 };
27021
27022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27024 {
27025 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27026 if (PyErr_Occurred()) SWIG_fail;
27027 }
27028 if (obj2) {
27029 {
27030 arg3 = &temp3;
27031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27032 }
27033 }
27034 if (obj3) {
27035 {
27036 arg4 = &temp4;
27037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27038 }
27039 }
27040 if (obj4) {
27041 {
27042 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27043 if (PyErr_Occurred()) SWIG_fail;
27044 }
27045 }
27046 if (obj5) {
27047 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27048 if (arg6 == NULL) {
27049 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27050 }
27051 }
27052 if (obj6) {
27053 {
27054 arg7 = wxString_in_helper(obj6);
27055 if (arg7 == NULL) SWIG_fail;
27056 temp7 = True;
27057 }
27058 }
27059 {
27060 PyThreadState* __tstate = wxPyBeginAllowThreads();
27061 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27062
27063 wxPyEndAllowThreads(__tstate);
27064 if (PyErr_Occurred()) SWIG_fail;
27065 }
27066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
27067 {
27068 if (temp7)
27069 delete arg7;
27070 }
27071 return resultobj;
27072 fail:
27073 {
27074 if (temp7)
27075 delete arg7;
27076 }
27077 return NULL;
27078 }
27079
27080
27081 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27082 PyObject *resultobj;
27083 wxPyControl *arg1 = (wxPyControl *) 0 ;
27084 PyObject *arg2 = (PyObject *) 0 ;
27085 PyObject *arg3 = (PyObject *) 0 ;
27086 PyObject * obj0 = 0 ;
27087 PyObject * obj1 = 0 ;
27088 PyObject * obj2 = 0 ;
27089 char *kwnames[] = {
27090 (char *) "self",(char *) "self",(char *) "_class", NULL
27091 };
27092
27093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27095 arg2 = obj1;
27096 arg3 = obj2;
27097 {
27098 PyThreadState* __tstate = wxPyBeginAllowThreads();
27099 (arg1)->_setCallbackInfo(arg2,arg3);
27100
27101 wxPyEndAllowThreads(__tstate);
27102 if (PyErr_Occurred()) SWIG_fail;
27103 }
27104 Py_INCREF(Py_None); resultobj = Py_None;
27105 return resultobj;
27106 fail:
27107 return NULL;
27108 }
27109
27110
27111 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27112 PyObject *resultobj;
27113 wxPyControl *arg1 = (wxPyControl *) 0 ;
27114 int arg2 ;
27115 int arg3 ;
27116 int arg4 ;
27117 int arg5 ;
27118 PyObject * obj0 = 0 ;
27119 PyObject * obj1 = 0 ;
27120 PyObject * obj2 = 0 ;
27121 PyObject * obj3 = 0 ;
27122 PyObject * obj4 = 0 ;
27123 char *kwnames[] = {
27124 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27125 };
27126
27127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27129 {
27130 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27131 if (PyErr_Occurred()) SWIG_fail;
27132 }
27133 {
27134 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 }
27137 {
27138 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27139 if (PyErr_Occurred()) SWIG_fail;
27140 }
27141 {
27142 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27143 if (PyErr_Occurred()) SWIG_fail;
27144 }
27145 {
27146 PyThreadState* __tstate = wxPyBeginAllowThreads();
27147 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27148
27149 wxPyEndAllowThreads(__tstate);
27150 if (PyErr_Occurred()) SWIG_fail;
27151 }
27152 Py_INCREF(Py_None); resultobj = Py_None;
27153 return resultobj;
27154 fail:
27155 return NULL;
27156 }
27157
27158
27159 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27160 PyObject *resultobj;
27161 wxPyControl *arg1 = (wxPyControl *) 0 ;
27162 int arg2 ;
27163 int arg3 ;
27164 int arg4 ;
27165 int arg5 ;
27166 int arg6 = (int) wxSIZE_AUTO ;
27167 PyObject * obj0 = 0 ;
27168 PyObject * obj1 = 0 ;
27169 PyObject * obj2 = 0 ;
27170 PyObject * obj3 = 0 ;
27171 PyObject * obj4 = 0 ;
27172 PyObject * obj5 = 0 ;
27173 char *kwnames[] = {
27174 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27175 };
27176
27177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27179 {
27180 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 }
27183 {
27184 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27185 if (PyErr_Occurred()) SWIG_fail;
27186 }
27187 {
27188 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27189 if (PyErr_Occurred()) SWIG_fail;
27190 }
27191 {
27192 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27193 if (PyErr_Occurred()) SWIG_fail;
27194 }
27195 if (obj5) {
27196 {
27197 arg6 = (int) SWIG_PyObj_AsInt(obj5);
27198 if (PyErr_Occurred()) SWIG_fail;
27199 }
27200 }
27201 {
27202 PyThreadState* __tstate = wxPyBeginAllowThreads();
27203 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27204
27205 wxPyEndAllowThreads(__tstate);
27206 if (PyErr_Occurred()) SWIG_fail;
27207 }
27208 Py_INCREF(Py_None); resultobj = Py_None;
27209 return resultobj;
27210 fail:
27211 return NULL;
27212 }
27213
27214
27215 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27216 PyObject *resultobj;
27217 wxPyControl *arg1 = (wxPyControl *) 0 ;
27218 int arg2 ;
27219 int arg3 ;
27220 PyObject * obj0 = 0 ;
27221 PyObject * obj1 = 0 ;
27222 PyObject * obj2 = 0 ;
27223 char *kwnames[] = {
27224 (char *) "self",(char *) "width",(char *) "height", NULL
27225 };
27226
27227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27229 {
27230 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27231 if (PyErr_Occurred()) SWIG_fail;
27232 }
27233 {
27234 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27235 if (PyErr_Occurred()) SWIG_fail;
27236 }
27237 {
27238 PyThreadState* __tstate = wxPyBeginAllowThreads();
27239 (arg1)->base_DoSetClientSize(arg2,arg3);
27240
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
27244 Py_INCREF(Py_None); resultobj = Py_None;
27245 return resultobj;
27246 fail:
27247 return NULL;
27248 }
27249
27250
27251 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27252 PyObject *resultobj;
27253 wxPyControl *arg1 = (wxPyControl *) 0 ;
27254 int arg2 ;
27255 int arg3 ;
27256 PyObject * obj0 = 0 ;
27257 PyObject * obj1 = 0 ;
27258 PyObject * obj2 = 0 ;
27259 char *kwnames[] = {
27260 (char *) "self",(char *) "x",(char *) "y", NULL
27261 };
27262
27263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27265 {
27266 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27267 if (PyErr_Occurred()) SWIG_fail;
27268 }
27269 {
27270 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 {
27274 PyThreadState* __tstate = wxPyBeginAllowThreads();
27275 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27276
27277 wxPyEndAllowThreads(__tstate);
27278 if (PyErr_Occurred()) SWIG_fail;
27279 }
27280 Py_INCREF(Py_None); resultobj = Py_None;
27281 return resultobj;
27282 fail:
27283 return NULL;
27284 }
27285
27286
27287 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27288 PyObject *resultobj;
27289 wxPyControl *arg1 = (wxPyControl *) 0 ;
27290 int *arg2 = (int *) 0 ;
27291 int *arg3 = (int *) 0 ;
27292 int temp2 ;
27293 int temp3 ;
27294 PyObject * obj0 = 0 ;
27295 char *kwnames[] = {
27296 (char *) "self", NULL
27297 };
27298
27299 arg2 = &temp2;
27300 arg3 = &temp3;
27301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27303 {
27304 PyThreadState* __tstate = wxPyBeginAllowThreads();
27305 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27306
27307 wxPyEndAllowThreads(__tstate);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 Py_INCREF(Py_None); resultobj = Py_None;
27311 {
27312 PyObject *o = PyInt_FromLong((long) (*arg2));
27313 resultobj = t_output_helper(resultobj,o);
27314 }
27315 {
27316 PyObject *o = PyInt_FromLong((long) (*arg3));
27317 resultobj = t_output_helper(resultobj,o);
27318 }
27319 return resultobj;
27320 fail:
27321 return NULL;
27322 }
27323
27324
27325 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27326 PyObject *resultobj;
27327 wxPyControl *arg1 = (wxPyControl *) 0 ;
27328 int *arg2 = (int *) 0 ;
27329 int *arg3 = (int *) 0 ;
27330 int temp2 ;
27331 int temp3 ;
27332 PyObject * obj0 = 0 ;
27333 char *kwnames[] = {
27334 (char *) "self", NULL
27335 };
27336
27337 arg2 = &temp2;
27338 arg3 = &temp3;
27339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27341 {
27342 PyThreadState* __tstate = wxPyBeginAllowThreads();
27343 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27344
27345 wxPyEndAllowThreads(__tstate);
27346 if (PyErr_Occurred()) SWIG_fail;
27347 }
27348 Py_INCREF(Py_None); resultobj = Py_None;
27349 {
27350 PyObject *o = PyInt_FromLong((long) (*arg2));
27351 resultobj = t_output_helper(resultobj,o);
27352 }
27353 {
27354 PyObject *o = PyInt_FromLong((long) (*arg3));
27355 resultobj = t_output_helper(resultobj,o);
27356 }
27357 return resultobj;
27358 fail:
27359 return NULL;
27360 }
27361
27362
27363 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27364 PyObject *resultobj;
27365 wxPyControl *arg1 = (wxPyControl *) 0 ;
27366 int *arg2 = (int *) 0 ;
27367 int *arg3 = (int *) 0 ;
27368 int temp2 ;
27369 int temp3 ;
27370 PyObject * obj0 = 0 ;
27371 char *kwnames[] = {
27372 (char *) "self", NULL
27373 };
27374
27375 arg2 = &temp2;
27376 arg3 = &temp3;
27377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27379 {
27380 PyThreadState* __tstate = wxPyBeginAllowThreads();
27381 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27382
27383 wxPyEndAllowThreads(__tstate);
27384 if (PyErr_Occurred()) SWIG_fail;
27385 }
27386 Py_INCREF(Py_None); resultobj = Py_None;
27387 {
27388 PyObject *o = PyInt_FromLong((long) (*arg2));
27389 resultobj = t_output_helper(resultobj,o);
27390 }
27391 {
27392 PyObject *o = PyInt_FromLong((long) (*arg3));
27393 resultobj = t_output_helper(resultobj,o);
27394 }
27395 return resultobj;
27396 fail:
27397 return NULL;
27398 }
27399
27400
27401 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27402 PyObject *resultobj;
27403 wxPyControl *arg1 = (wxPyControl *) 0 ;
27404 wxSize result;
27405 PyObject * obj0 = 0 ;
27406 char *kwnames[] = {
27407 (char *) "self", NULL
27408 };
27409
27410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27412 {
27413 PyThreadState* __tstate = wxPyBeginAllowThreads();
27414 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27415
27416 wxPyEndAllowThreads(__tstate);
27417 if (PyErr_Occurred()) SWIG_fail;
27418 }
27419 {
27420 wxSize * resultptr;
27421 resultptr = new wxSize((wxSize &) result);
27422 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27423 }
27424 return resultobj;
27425 fail:
27426 return NULL;
27427 }
27428
27429
27430 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27431 PyObject *resultobj;
27432 wxPyControl *arg1 = (wxPyControl *) 0 ;
27433 wxSize result;
27434 PyObject * obj0 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27441 {
27442 PyThreadState* __tstate = wxPyBeginAllowThreads();
27443 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27444
27445 wxPyEndAllowThreads(__tstate);
27446 if (PyErr_Occurred()) SWIG_fail;
27447 }
27448 {
27449 wxSize * resultptr;
27450 resultptr = new wxSize((wxSize &) result);
27451 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27452 }
27453 return resultobj;
27454 fail:
27455 return NULL;
27456 }
27457
27458
27459 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
27460 PyObject *resultobj;
27461 wxPyControl *arg1 = (wxPyControl *) 0 ;
27462 PyObject * obj0 = 0 ;
27463 char *kwnames[] = {
27464 (char *) "self", NULL
27465 };
27466
27467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27469 {
27470 PyThreadState* __tstate = wxPyBeginAllowThreads();
27471 (arg1)->base_InitDialog();
27472
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 Py_INCREF(Py_None); resultobj = Py_None;
27477 return resultobj;
27478 fail:
27479 return NULL;
27480 }
27481
27482
27483 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27484 PyObject *resultobj;
27485 wxPyControl *arg1 = (wxPyControl *) 0 ;
27486 bool result;
27487 PyObject * obj0 = 0 ;
27488 char *kwnames[] = {
27489 (char *) "self", NULL
27490 };
27491
27492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27494 {
27495 PyThreadState* __tstate = wxPyBeginAllowThreads();
27496 result = (bool)(arg1)->base_TransferDataToWindow();
27497
27498 wxPyEndAllowThreads(__tstate);
27499 if (PyErr_Occurred()) SWIG_fail;
27500 }
27501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27502 return resultobj;
27503 fail:
27504 return NULL;
27505 }
27506
27507
27508 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27509 PyObject *resultobj;
27510 wxPyControl *arg1 = (wxPyControl *) 0 ;
27511 bool result;
27512 PyObject * obj0 = 0 ;
27513 char *kwnames[] = {
27514 (char *) "self", NULL
27515 };
27516
27517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27519 {
27520 PyThreadState* __tstate = wxPyBeginAllowThreads();
27521 result = (bool)(arg1)->base_TransferDataFromWindow();
27522
27523 wxPyEndAllowThreads(__tstate);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
27526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27527 return resultobj;
27528 fail:
27529 return NULL;
27530 }
27531
27532
27533 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27534 PyObject *resultobj;
27535 wxPyControl *arg1 = (wxPyControl *) 0 ;
27536 bool result;
27537 PyObject * obj0 = 0 ;
27538 char *kwnames[] = {
27539 (char *) "self", NULL
27540 };
27541
27542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27544 {
27545 PyThreadState* __tstate = wxPyBeginAllowThreads();
27546 result = (bool)(arg1)->base_Validate();
27547
27548 wxPyEndAllowThreads(__tstate);
27549 if (PyErr_Occurred()) SWIG_fail;
27550 }
27551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27552 return resultobj;
27553 fail:
27554 return NULL;
27555 }
27556
27557
27558 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
27559 PyObject *resultobj;
27560 wxPyControl *arg1 = (wxPyControl *) 0 ;
27561 bool result;
27562 PyObject * obj0 = 0 ;
27563 char *kwnames[] = {
27564 (char *) "self", NULL
27565 };
27566
27567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
27568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27569 {
27570 PyThreadState* __tstate = wxPyBeginAllowThreads();
27571 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27572
27573 wxPyEndAllowThreads(__tstate);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 }
27576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27577 return resultobj;
27578 fail:
27579 return NULL;
27580 }
27581
27582
27583 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
27584 PyObject *resultobj;
27585 wxPyControl *arg1 = (wxPyControl *) 0 ;
27586 bool result;
27587 PyObject * obj0 = 0 ;
27588 char *kwnames[] = {
27589 (char *) "self", NULL
27590 };
27591
27592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27602 return resultobj;
27603 fail:
27604 return NULL;
27605 }
27606
27607
27608 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27609 PyObject *resultobj;
27610 wxPyControl *arg1 = (wxPyControl *) 0 ;
27611 wxSize result;
27612 PyObject * obj0 = 0 ;
27613 char *kwnames[] = {
27614 (char *) "self", NULL
27615 };
27616
27617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
27618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27619 {
27620 PyThreadState* __tstate = wxPyBeginAllowThreads();
27621 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
27622
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 {
27627 wxSize * resultptr;
27628 resultptr = new wxSize((wxSize &) result);
27629 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27630 }
27631 return resultobj;
27632 fail:
27633 return NULL;
27634 }
27635
27636
27637 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27638 PyObject *resultobj;
27639 wxPyControl *arg1 = (wxPyControl *) 0 ;
27640 wxWindow *arg2 = (wxWindow *) 0 ;
27641 PyObject * obj0 = 0 ;
27642 PyObject * obj1 = 0 ;
27643 char *kwnames[] = {
27644 (char *) "self",(char *) "child", NULL
27645 };
27646
27647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
27648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27650 {
27651 PyThreadState* __tstate = wxPyBeginAllowThreads();
27652 (arg1)->base_AddChild(arg2);
27653
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 Py_INCREF(Py_None); resultobj = Py_None;
27658 return resultobj;
27659 fail:
27660 return NULL;
27661 }
27662
27663
27664 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27665 PyObject *resultobj;
27666 wxPyControl *arg1 = (wxPyControl *) 0 ;
27667 wxWindow *arg2 = (wxWindow *) 0 ;
27668 PyObject * obj0 = 0 ;
27669 PyObject * obj1 = 0 ;
27670 char *kwnames[] = {
27671 (char *) "self",(char *) "child", NULL
27672 };
27673
27674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
27675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27677 {
27678 PyThreadState* __tstate = wxPyBeginAllowThreads();
27679 (arg1)->base_RemoveChild(arg2);
27680
27681 wxPyEndAllowThreads(__tstate);
27682 if (PyErr_Occurred()) SWIG_fail;
27683 }
27684 Py_INCREF(Py_None); resultobj = Py_None;
27685 return resultobj;
27686 fail:
27687 return NULL;
27688 }
27689
27690
27691 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
27692 PyObject *obj;
27693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27694 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
27695 Py_INCREF(obj);
27696 return Py_BuildValue((char *)"");
27697 }
27698 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
27699 PyObject *resultobj;
27700 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27701 int arg2 = (int) 0 ;
27702 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27703 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27704 wxHelpEvent *result;
27705 wxPoint temp3 ;
27706 PyObject * obj0 = 0 ;
27707 PyObject * obj1 = 0 ;
27708 PyObject * obj2 = 0 ;
27709 char *kwnames[] = {
27710 (char *) "type",(char *) "winid",(char *) "pt", NULL
27711 };
27712
27713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
27714 if (obj0) {
27715 {
27716 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
27717 if (PyErr_Occurred()) SWIG_fail;
27718 }
27719 }
27720 if (obj1) {
27721 {
27722 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27723 if (PyErr_Occurred()) SWIG_fail;
27724 }
27725 }
27726 if (obj2) {
27727 {
27728 arg3 = &temp3;
27729 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27730 }
27731 }
27732 {
27733 PyThreadState* __tstate = wxPyBeginAllowThreads();
27734 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
27735
27736 wxPyEndAllowThreads(__tstate);
27737 if (PyErr_Occurred()) SWIG_fail;
27738 }
27739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
27740 return resultobj;
27741 fail:
27742 return NULL;
27743 }
27744
27745
27746 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27747 PyObject *resultobj;
27748 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27749 wxPoint *result;
27750 PyObject * obj0 = 0 ;
27751 char *kwnames[] = {
27752 (char *) "self", NULL
27753 };
27754
27755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
27756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27757 {
27758 PyThreadState* __tstate = wxPyBeginAllowThreads();
27759 {
27760 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
27761 result = (wxPoint *) &_result_ref;
27762 }
27763
27764 wxPyEndAllowThreads(__tstate);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 }
27767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
27768 return resultobj;
27769 fail:
27770 return NULL;
27771 }
27772
27773
27774 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj;
27776 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27777 wxPoint *arg2 = 0 ;
27778 wxPoint temp2 ;
27779 PyObject * obj0 = 0 ;
27780 PyObject * obj1 = 0 ;
27781 char *kwnames[] = {
27782 (char *) "self",(char *) "pos", NULL
27783 };
27784
27785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
27786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27787 {
27788 arg2 = &temp2;
27789 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27790 }
27791 {
27792 PyThreadState* __tstate = wxPyBeginAllowThreads();
27793 (arg1)->SetPosition((wxPoint const &)*arg2);
27794
27795 wxPyEndAllowThreads(__tstate);
27796 if (PyErr_Occurred()) SWIG_fail;
27797 }
27798 Py_INCREF(Py_None); resultobj = Py_None;
27799 return resultobj;
27800 fail:
27801 return NULL;
27802 }
27803
27804
27805 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27806 PyObject *resultobj;
27807 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27808 wxString *result;
27809 PyObject * obj0 = 0 ;
27810 char *kwnames[] = {
27811 (char *) "self", NULL
27812 };
27813
27814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
27815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27816 {
27817 PyThreadState* __tstate = wxPyBeginAllowThreads();
27818 {
27819 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
27820 result = (wxString *) &_result_ref;
27821 }
27822
27823 wxPyEndAllowThreads(__tstate);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 {
27827 #if wxUSE_UNICODE
27828 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27829 #else
27830 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27831 #endif
27832 }
27833 return resultobj;
27834 fail:
27835 return NULL;
27836 }
27837
27838
27839 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27840 PyObject *resultobj;
27841 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27842 wxString *arg2 = 0 ;
27843 bool temp2 = False ;
27844 PyObject * obj0 = 0 ;
27845 PyObject * obj1 = 0 ;
27846 char *kwnames[] = {
27847 (char *) "self",(char *) "link", NULL
27848 };
27849
27850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
27851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27852 {
27853 arg2 = wxString_in_helper(obj1);
27854 if (arg2 == NULL) SWIG_fail;
27855 temp2 = True;
27856 }
27857 {
27858 PyThreadState* __tstate = wxPyBeginAllowThreads();
27859 (arg1)->SetLink((wxString const &)*arg2);
27860
27861 wxPyEndAllowThreads(__tstate);
27862 if (PyErr_Occurred()) SWIG_fail;
27863 }
27864 Py_INCREF(Py_None); resultobj = Py_None;
27865 {
27866 if (temp2)
27867 delete arg2;
27868 }
27869 return resultobj;
27870 fail:
27871 {
27872 if (temp2)
27873 delete arg2;
27874 }
27875 return NULL;
27876 }
27877
27878
27879 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27880 PyObject *resultobj;
27881 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27882 wxString *result;
27883 PyObject * obj0 = 0 ;
27884 char *kwnames[] = {
27885 (char *) "self", NULL
27886 };
27887
27888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
27889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27890 {
27891 PyThreadState* __tstate = wxPyBeginAllowThreads();
27892 {
27893 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
27894 result = (wxString *) &_result_ref;
27895 }
27896
27897 wxPyEndAllowThreads(__tstate);
27898 if (PyErr_Occurred()) SWIG_fail;
27899 }
27900 {
27901 #if wxUSE_UNICODE
27902 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27903 #else
27904 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27905 #endif
27906 }
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj;
27915 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27916 wxString *arg2 = 0 ;
27917 bool temp2 = False ;
27918 PyObject * obj0 = 0 ;
27919 PyObject * obj1 = 0 ;
27920 char *kwnames[] = {
27921 (char *) "self",(char *) "target", NULL
27922 };
27923
27924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
27925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27926 {
27927 arg2 = wxString_in_helper(obj1);
27928 if (arg2 == NULL) SWIG_fail;
27929 temp2 = True;
27930 }
27931 {
27932 PyThreadState* __tstate = wxPyBeginAllowThreads();
27933 (arg1)->SetTarget((wxString const &)*arg2);
27934
27935 wxPyEndAllowThreads(__tstate);
27936 if (PyErr_Occurred()) SWIG_fail;
27937 }
27938 Py_INCREF(Py_None); resultobj = Py_None;
27939 {
27940 if (temp2)
27941 delete arg2;
27942 }
27943 return resultobj;
27944 fail:
27945 {
27946 if (temp2)
27947 delete arg2;
27948 }
27949 return NULL;
27950 }
27951
27952
27953 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
27954 PyObject *obj;
27955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27956 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
27957 Py_INCREF(obj);
27958 return Py_BuildValue((char *)"");
27959 }
27960 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27961 PyObject *resultobj;
27962 wxWindow *arg1 = (wxWindow *) NULL ;
27963 bool arg2 = (bool) True ;
27964 wxContextHelp *result;
27965 PyObject * obj0 = 0 ;
27966 PyObject * obj1 = 0 ;
27967 char *kwnames[] = {
27968 (char *) "window",(char *) "doNow", NULL
27969 };
27970
27971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
27972 if (obj0) {
27973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27974 }
27975 if (obj1) {
27976 {
27977 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27978 if (PyErr_Occurred()) SWIG_fail;
27979 }
27980 }
27981 {
27982 PyThreadState* __tstate = wxPyBeginAllowThreads();
27983 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
27984
27985 wxPyEndAllowThreads(__tstate);
27986 if (PyErr_Occurred()) SWIG_fail;
27987 }
27988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
27989 return resultobj;
27990 fail:
27991 return NULL;
27992 }
27993
27994
27995 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27996 PyObject *resultobj;
27997 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
27998 PyObject * obj0 = 0 ;
27999 char *kwnames[] = {
28000 (char *) "self", NULL
28001 };
28002
28003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28005 {
28006 PyThreadState* __tstate = wxPyBeginAllowThreads();
28007 delete arg1;
28008
28009 wxPyEndAllowThreads(__tstate);
28010 if (PyErr_Occurred()) SWIG_fail;
28011 }
28012 Py_INCREF(Py_None); resultobj = Py_None;
28013 return resultobj;
28014 fail:
28015 return NULL;
28016 }
28017
28018
28019 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28020 PyObject *resultobj;
28021 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28022 wxWindow *arg2 = (wxWindow *) NULL ;
28023 bool result;
28024 PyObject * obj0 = 0 ;
28025 PyObject * obj1 = 0 ;
28026 char *kwnames[] = {
28027 (char *) "self",(char *) "window", NULL
28028 };
28029
28030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28032 if (obj1) {
28033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28034 }
28035 {
28036 PyThreadState* __tstate = wxPyBeginAllowThreads();
28037 result = (bool)(arg1)->BeginContextHelp(arg2);
28038
28039 wxPyEndAllowThreads(__tstate);
28040 if (PyErr_Occurred()) SWIG_fail;
28041 }
28042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28043 return resultobj;
28044 fail:
28045 return NULL;
28046 }
28047
28048
28049 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28050 PyObject *resultobj;
28051 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28052 bool result;
28053 PyObject * obj0 = 0 ;
28054 char *kwnames[] = {
28055 (char *) "self", NULL
28056 };
28057
28058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28060 {
28061 PyThreadState* __tstate = wxPyBeginAllowThreads();
28062 result = (bool)(arg1)->EndContextHelp();
28063
28064 wxPyEndAllowThreads(__tstate);
28065 if (PyErr_Occurred()) SWIG_fail;
28066 }
28067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28068 return resultobj;
28069 fail:
28070 return NULL;
28071 }
28072
28073
28074 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28075 PyObject *obj;
28076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28077 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28078 Py_INCREF(obj);
28079 return Py_BuildValue((char *)"");
28080 }
28081 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28082 PyObject *resultobj;
28083 wxWindow *arg1 = (wxWindow *) 0 ;
28084 int arg2 = (int) wxID_CONTEXT_HELP ;
28085 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28086 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28087 wxSize const &arg4_defvalue = wxDefaultSize ;
28088 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28089 long arg5 = (long) wxBU_AUTODRAW ;
28090 wxContextHelpButton *result;
28091 wxPoint temp3 ;
28092 wxSize temp4 ;
28093 PyObject * obj0 = 0 ;
28094 PyObject * obj1 = 0 ;
28095 PyObject * obj2 = 0 ;
28096 PyObject * obj3 = 0 ;
28097 PyObject * obj4 = 0 ;
28098 char *kwnames[] = {
28099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28100 };
28101
28102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28104 if (obj1) {
28105 {
28106 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28107 if (PyErr_Occurred()) SWIG_fail;
28108 }
28109 }
28110 if (obj2) {
28111 {
28112 arg3 = &temp3;
28113 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28114 }
28115 }
28116 if (obj3) {
28117 {
28118 arg4 = &temp4;
28119 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28120 }
28121 }
28122 if (obj4) {
28123 {
28124 arg5 = (long) SWIG_PyObj_AsLong(obj4);
28125 if (PyErr_Occurred()) SWIG_fail;
28126 }
28127 }
28128 {
28129 PyThreadState* __tstate = wxPyBeginAllowThreads();
28130 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28131
28132 wxPyEndAllowThreads(__tstate);
28133 if (PyErr_Occurred()) SWIG_fail;
28134 }
28135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
28136 return resultobj;
28137 fail:
28138 return NULL;
28139 }
28140
28141
28142 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28143 PyObject *obj;
28144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28145 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28146 Py_INCREF(obj);
28147 return Py_BuildValue((char *)"");
28148 }
28149 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28150 PyObject *resultobj;
28151 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28152 wxHelpProvider *result;
28153 PyObject * obj0 = 0 ;
28154 char *kwnames[] = {
28155 (char *) "helpProvider", NULL
28156 };
28157
28158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28160 {
28161 PyThreadState* __tstate = wxPyBeginAllowThreads();
28162 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28163
28164 wxPyEndAllowThreads(__tstate);
28165 if (PyErr_Occurred()) SWIG_fail;
28166 }
28167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28168 return resultobj;
28169 fail:
28170 return NULL;
28171 }
28172
28173
28174 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28175 PyObject *resultobj;
28176 wxHelpProvider *result;
28177 char *kwnames[] = {
28178 NULL
28179 };
28180
28181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28182 {
28183 PyThreadState* __tstate = wxPyBeginAllowThreads();
28184 result = (wxHelpProvider *)wxHelpProvider::Get();
28185
28186 wxPyEndAllowThreads(__tstate);
28187 if (PyErr_Occurred()) SWIG_fail;
28188 }
28189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28190 return resultobj;
28191 fail:
28192 return NULL;
28193 }
28194
28195
28196 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28197 PyObject *resultobj;
28198 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28199 wxWindow *arg2 = (wxWindow *) 0 ;
28200 wxString result;
28201 PyObject * obj0 = 0 ;
28202 PyObject * obj1 = 0 ;
28203 char *kwnames[] = {
28204 (char *) "self",(char *) "window", NULL
28205 };
28206
28207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
28212 result = (arg1)->GetHelp((wxWindow const *)arg2);
28213
28214 wxPyEndAllowThreads(__tstate);
28215 if (PyErr_Occurred()) SWIG_fail;
28216 }
28217 {
28218 #if wxUSE_UNICODE
28219 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28220 #else
28221 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28222 #endif
28223 }
28224 return resultobj;
28225 fail:
28226 return NULL;
28227 }
28228
28229
28230 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28231 PyObject *resultobj;
28232 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28233 wxWindow *arg2 = (wxWindow *) 0 ;
28234 bool result;
28235 PyObject * obj0 = 0 ;
28236 PyObject * obj1 = 0 ;
28237 char *kwnames[] = {
28238 (char *) "self",(char *) "window", NULL
28239 };
28240
28241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28244 {
28245 PyThreadState* __tstate = wxPyBeginAllowThreads();
28246 result = (bool)(arg1)->ShowHelp(arg2);
28247
28248 wxPyEndAllowThreads(__tstate);
28249 if (PyErr_Occurred()) SWIG_fail;
28250 }
28251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28252 return resultobj;
28253 fail:
28254 return NULL;
28255 }
28256
28257
28258 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28259 PyObject *resultobj;
28260 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28261 wxWindow *arg2 = (wxWindow *) 0 ;
28262 wxString *arg3 = 0 ;
28263 bool temp3 = False ;
28264 PyObject * obj0 = 0 ;
28265 PyObject * obj1 = 0 ;
28266 PyObject * obj2 = 0 ;
28267 char *kwnames[] = {
28268 (char *) "self",(char *) "window",(char *) "text", NULL
28269 };
28270
28271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28274 {
28275 arg3 = wxString_in_helper(obj2);
28276 if (arg3 == NULL) SWIG_fail;
28277 temp3 = True;
28278 }
28279 {
28280 PyThreadState* __tstate = wxPyBeginAllowThreads();
28281 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28282
28283 wxPyEndAllowThreads(__tstate);
28284 if (PyErr_Occurred()) SWIG_fail;
28285 }
28286 Py_INCREF(Py_None); resultobj = Py_None;
28287 {
28288 if (temp3)
28289 delete arg3;
28290 }
28291 return resultobj;
28292 fail:
28293 {
28294 if (temp3)
28295 delete arg3;
28296 }
28297 return NULL;
28298 }
28299
28300
28301 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28302 PyObject *resultobj;
28303 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28304 int arg2 ;
28305 wxString *arg3 = 0 ;
28306 bool temp3 = False ;
28307 PyObject * obj0 = 0 ;
28308 PyObject * obj1 = 0 ;
28309 PyObject * obj2 = 0 ;
28310 char *kwnames[] = {
28311 (char *) "self",(char *) "id",(char *) "text", NULL
28312 };
28313
28314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28316 {
28317 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28318 if (PyErr_Occurred()) SWIG_fail;
28319 }
28320 {
28321 arg3 = wxString_in_helper(obj2);
28322 if (arg3 == NULL) SWIG_fail;
28323 temp3 = True;
28324 }
28325 {
28326 PyThreadState* __tstate = wxPyBeginAllowThreads();
28327 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28328
28329 wxPyEndAllowThreads(__tstate);
28330 if (PyErr_Occurred()) SWIG_fail;
28331 }
28332 Py_INCREF(Py_None); resultobj = Py_None;
28333 {
28334 if (temp3)
28335 delete arg3;
28336 }
28337 return resultobj;
28338 fail:
28339 {
28340 if (temp3)
28341 delete arg3;
28342 }
28343 return NULL;
28344 }
28345
28346
28347 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28348 PyObject *resultobj;
28349 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28350 PyObject * obj0 = 0 ;
28351 char *kwnames[] = {
28352 (char *) "self", NULL
28353 };
28354
28355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28357 {
28358 PyThreadState* __tstate = wxPyBeginAllowThreads();
28359 wxHelpProvider_Destroy(arg1);
28360
28361 wxPyEndAllowThreads(__tstate);
28362 if (PyErr_Occurred()) SWIG_fail;
28363 }
28364 Py_INCREF(Py_None); resultobj = Py_None;
28365 return resultobj;
28366 fail:
28367 return NULL;
28368 }
28369
28370
28371 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
28372 PyObject *obj;
28373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28374 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28375 Py_INCREF(obj);
28376 return Py_BuildValue((char *)"");
28377 }
28378 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
28379 PyObject *resultobj;
28380 wxSimpleHelpProvider *result;
28381 char *kwnames[] = {
28382 NULL
28383 };
28384
28385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28386 {
28387 PyThreadState* __tstate = wxPyBeginAllowThreads();
28388 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28389
28390 wxPyEndAllowThreads(__tstate);
28391 if (PyErr_Occurred()) SWIG_fail;
28392 }
28393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
28394 return resultobj;
28395 fail:
28396 return NULL;
28397 }
28398
28399
28400 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
28401 PyObject *obj;
28402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28403 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28404 Py_INCREF(obj);
28405 return Py_BuildValue((char *)"");
28406 }
28407 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28408 PyObject *resultobj;
28409 wxBitmap *arg1 = 0 ;
28410 wxCursor const &arg2_defvalue = wxNullCursor ;
28411 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28412 wxGenericDragImage *result;
28413 PyObject * obj0 = 0 ;
28414 PyObject * obj1 = 0 ;
28415 char *kwnames[] = {
28416 (char *) "image",(char *) "cursor", NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28421 if (arg1 == NULL) {
28422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28423 }
28424 if (obj1) {
28425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28426 if (arg2 == NULL) {
28427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28428 }
28429 }
28430 {
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28433
28434 wxPyEndAllowThreads(__tstate);
28435 if (PyErr_Occurred()) SWIG_fail;
28436 }
28437 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28438 return resultobj;
28439 fail:
28440 return NULL;
28441 }
28442
28443
28444 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
28445 PyObject *resultobj;
28446 wxIcon *arg1 = 0 ;
28447 wxCursor const &arg2_defvalue = wxNullCursor ;
28448 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28449 wxGenericDragImage *result;
28450 PyObject * obj0 = 0 ;
28451 PyObject * obj1 = 0 ;
28452 char *kwnames[] = {
28453 (char *) "image",(char *) "cursor", NULL
28454 };
28455
28456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28458 if (arg1 == NULL) {
28459 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28460 }
28461 if (obj1) {
28462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28463 if (arg2 == NULL) {
28464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28465 }
28466 }
28467 {
28468 PyThreadState* __tstate = wxPyBeginAllowThreads();
28469 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28470
28471 wxPyEndAllowThreads(__tstate);
28472 if (PyErr_Occurred()) SWIG_fail;
28473 }
28474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28475 return resultobj;
28476 fail:
28477 return NULL;
28478 }
28479
28480
28481 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
28482 PyObject *resultobj;
28483 wxString *arg1 = 0 ;
28484 wxCursor const &arg2_defvalue = wxNullCursor ;
28485 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28486 wxGenericDragImage *result;
28487 bool temp1 = False ;
28488 PyObject * obj0 = 0 ;
28489 PyObject * obj1 = 0 ;
28490 char *kwnames[] = {
28491 (char *) "str",(char *) "cursor", NULL
28492 };
28493
28494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28495 {
28496 arg1 = wxString_in_helper(obj0);
28497 if (arg1 == NULL) SWIG_fail;
28498 temp1 = True;
28499 }
28500 if (obj1) {
28501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28502 if (arg2 == NULL) {
28503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28504 }
28505 }
28506 {
28507 PyThreadState* __tstate = wxPyBeginAllowThreads();
28508 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28509
28510 wxPyEndAllowThreads(__tstate);
28511 if (PyErr_Occurred()) SWIG_fail;
28512 }
28513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28514 {
28515 if (temp1)
28516 delete arg1;
28517 }
28518 return resultobj;
28519 fail:
28520 {
28521 if (temp1)
28522 delete arg1;
28523 }
28524 return NULL;
28525 }
28526
28527
28528 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28529 PyObject *resultobj;
28530 wxPyTreeCtrl *arg1 = 0 ;
28531 wxTreeItemId *arg2 = 0 ;
28532 wxGenericDragImage *result;
28533 PyObject * obj0 = 0 ;
28534 PyObject * obj1 = 0 ;
28535 char *kwnames[] = {
28536 (char *) "treeCtrl",(char *) "id", NULL
28537 };
28538
28539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28541 if (arg1 == NULL) {
28542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28543 }
28544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28545 if (arg2 == NULL) {
28546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28547 }
28548 {
28549 PyThreadState* __tstate = wxPyBeginAllowThreads();
28550 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
28551
28552 wxPyEndAllowThreads(__tstate);
28553 if (PyErr_Occurred()) SWIG_fail;
28554 }
28555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28556 return resultobj;
28557 fail:
28558 return NULL;
28559 }
28560
28561
28562 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28563 PyObject *resultobj;
28564 wxPyListCtrl *arg1 = 0 ;
28565 long arg2 ;
28566 wxGenericDragImage *result;
28567 PyObject * obj0 = 0 ;
28568 PyObject * obj1 = 0 ;
28569 char *kwnames[] = {
28570 (char *) "listCtrl",(char *) "id", NULL
28571 };
28572
28573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
28574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28575 if (arg1 == NULL) {
28576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28577 }
28578 {
28579 arg2 = (long) SWIG_PyObj_AsLong(obj1);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 {
28583 PyThreadState* __tstate = wxPyBeginAllowThreads();
28584 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
28585
28586 wxPyEndAllowThreads(__tstate);
28587 if (PyErr_Occurred()) SWIG_fail;
28588 }
28589 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28590 return resultobj;
28591 fail:
28592 return NULL;
28593 }
28594
28595
28596 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28597 PyObject *resultobj;
28598 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28599 PyObject * obj0 = 0 ;
28600 char *kwnames[] = {
28601 (char *) "self", NULL
28602 };
28603
28604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
28605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28606 {
28607 PyThreadState* __tstate = wxPyBeginAllowThreads();
28608 delete arg1;
28609
28610 wxPyEndAllowThreads(__tstate);
28611 if (PyErr_Occurred()) SWIG_fail;
28612 }
28613 Py_INCREF(Py_None); resultobj = Py_None;
28614 return resultobj;
28615 fail:
28616 return NULL;
28617 }
28618
28619
28620 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28621 PyObject *resultobj;
28622 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28623 wxBitmap *arg2 = (wxBitmap *) 0 ;
28624 PyObject * obj0 = 0 ;
28625 PyObject * obj1 = 0 ;
28626 char *kwnames[] = {
28627 (char *) "self",(char *) "bitmap", NULL
28628 };
28629
28630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
28631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28633 {
28634 PyThreadState* __tstate = wxPyBeginAllowThreads();
28635 (arg1)->SetBackingBitmap(arg2);
28636
28637 wxPyEndAllowThreads(__tstate);
28638 if (PyErr_Occurred()) SWIG_fail;
28639 }
28640 Py_INCREF(Py_None); resultobj = Py_None;
28641 return resultobj;
28642 fail:
28643 return NULL;
28644 }
28645
28646
28647 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28648 PyObject *resultobj;
28649 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28650 wxPoint *arg2 = 0 ;
28651 wxWindow *arg3 = (wxWindow *) 0 ;
28652 bool arg4 = (bool) False ;
28653 wxRect *arg5 = (wxRect *) NULL ;
28654 bool result;
28655 wxPoint temp2 ;
28656 PyObject * obj0 = 0 ;
28657 PyObject * obj1 = 0 ;
28658 PyObject * obj2 = 0 ;
28659 PyObject * obj3 = 0 ;
28660 PyObject * obj4 = 0 ;
28661 char *kwnames[] = {
28662 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28663 };
28664
28665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28667 {
28668 arg2 = &temp2;
28669 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28670 }
28671 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28672 if (obj3) {
28673 {
28674 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 }
28678 if (obj4) {
28679 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28680 }
28681 {
28682 PyThreadState* __tstate = wxPyBeginAllowThreads();
28683 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
28684
28685 wxPyEndAllowThreads(__tstate);
28686 if (PyErr_Occurred()) SWIG_fail;
28687 }
28688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28689 return resultobj;
28690 fail:
28691 return NULL;
28692 }
28693
28694
28695 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
28696 PyObject *resultobj;
28697 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28698 wxPoint *arg2 = 0 ;
28699 wxWindow *arg3 = (wxWindow *) 0 ;
28700 wxWindow *arg4 = (wxWindow *) 0 ;
28701 bool result;
28702 wxPoint temp2 ;
28703 PyObject * obj0 = 0 ;
28704 PyObject * obj1 = 0 ;
28705 PyObject * obj2 = 0 ;
28706 PyObject * obj3 = 0 ;
28707 char *kwnames[] = {
28708 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28709 };
28710
28711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28713 {
28714 arg2 = &temp2;
28715 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28716 }
28717 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28718 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28719 {
28720 PyThreadState* __tstate = wxPyBeginAllowThreads();
28721 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
28722
28723 wxPyEndAllowThreads(__tstate);
28724 if (PyErr_Occurred()) SWIG_fail;
28725 }
28726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28727 return resultobj;
28728 fail:
28729 return NULL;
28730 }
28731
28732
28733 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28734 PyObject *resultobj;
28735 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28736 bool result;
28737 PyObject * obj0 = 0 ;
28738 char *kwnames[] = {
28739 (char *) "self", NULL
28740 };
28741
28742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
28743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28744 {
28745 PyThreadState* __tstate = wxPyBeginAllowThreads();
28746 result = (bool)(arg1)->EndDrag();
28747
28748 wxPyEndAllowThreads(__tstate);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 }
28751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28752 return resultobj;
28753 fail:
28754 return NULL;
28755 }
28756
28757
28758 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
28759 PyObject *resultobj;
28760 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28761 wxPoint *arg2 = 0 ;
28762 bool result;
28763 wxPoint temp2 ;
28764 PyObject * obj0 = 0 ;
28765 PyObject * obj1 = 0 ;
28766 char *kwnames[] = {
28767 (char *) "self",(char *) "pt", NULL
28768 };
28769
28770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
28771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28772 {
28773 arg2 = &temp2;
28774 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28775 }
28776 {
28777 PyThreadState* __tstate = wxPyBeginAllowThreads();
28778 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
28779
28780 wxPyEndAllowThreads(__tstate);
28781 if (PyErr_Occurred()) SWIG_fail;
28782 }
28783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28784 return resultobj;
28785 fail:
28786 return NULL;
28787 }
28788
28789
28790 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
28791 PyObject *resultobj;
28792 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28793 bool result;
28794 PyObject * obj0 = 0 ;
28795 char *kwnames[] = {
28796 (char *) "self", NULL
28797 };
28798
28799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
28800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28801 {
28802 PyThreadState* __tstate = wxPyBeginAllowThreads();
28803 result = (bool)(arg1)->Show();
28804
28805 wxPyEndAllowThreads(__tstate);
28806 if (PyErr_Occurred()) SWIG_fail;
28807 }
28808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28809 return resultobj;
28810 fail:
28811 return NULL;
28812 }
28813
28814
28815 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
28816 PyObject *resultobj;
28817 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28818 bool result;
28819 PyObject * obj0 = 0 ;
28820 char *kwnames[] = {
28821 (char *) "self", NULL
28822 };
28823
28824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
28825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28826 {
28827 PyThreadState* __tstate = wxPyBeginAllowThreads();
28828 result = (bool)(arg1)->Hide();
28829
28830 wxPyEndAllowThreads(__tstate);
28831 if (PyErr_Occurred()) SWIG_fail;
28832 }
28833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28834 return resultobj;
28835 fail:
28836 return NULL;
28837 }
28838
28839
28840 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
28841 PyObject *resultobj;
28842 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28843 wxPoint *arg2 = 0 ;
28844 wxRect result;
28845 wxPoint temp2 ;
28846 PyObject * obj0 = 0 ;
28847 PyObject * obj1 = 0 ;
28848 char *kwnames[] = {
28849 (char *) "self",(char *) "pos", NULL
28850 };
28851
28852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
28853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28854 {
28855 arg2 = &temp2;
28856 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28857 }
28858 {
28859 PyThreadState* __tstate = wxPyBeginAllowThreads();
28860 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
28861
28862 wxPyEndAllowThreads(__tstate);
28863 if (PyErr_Occurred()) SWIG_fail;
28864 }
28865 {
28866 wxRect * resultptr;
28867 resultptr = new wxRect((wxRect &) result);
28868 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
28869 }
28870 return resultobj;
28871 fail:
28872 return NULL;
28873 }
28874
28875
28876 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28877 PyObject *resultobj;
28878 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28879 wxDC *arg2 = 0 ;
28880 wxPoint *arg3 = 0 ;
28881 bool result;
28882 wxPoint temp3 ;
28883 PyObject * obj0 = 0 ;
28884 PyObject * obj1 = 0 ;
28885 PyObject * obj2 = 0 ;
28886 char *kwnames[] = {
28887 (char *) "self",(char *) "dc",(char *) "pos", NULL
28888 };
28889
28890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28893 if (arg2 == NULL) {
28894 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28895 }
28896 {
28897 arg3 = &temp3;
28898 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28899 }
28900 {
28901 PyThreadState* __tstate = wxPyBeginAllowThreads();
28902 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
28903
28904 wxPyEndAllowThreads(__tstate);
28905 if (PyErr_Occurred()) SWIG_fail;
28906 }
28907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28908 return resultobj;
28909 fail:
28910 return NULL;
28911 }
28912
28913
28914 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28915 PyObject *resultobj;
28916 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28917 wxDC *arg2 = 0 ;
28918 wxMemoryDC *arg3 = 0 ;
28919 wxRect *arg4 = 0 ;
28920 wxRect *arg5 = 0 ;
28921 bool result;
28922 wxRect temp4 ;
28923 wxRect temp5 ;
28924 PyObject * obj0 = 0 ;
28925 PyObject * obj1 = 0 ;
28926 PyObject * obj2 = 0 ;
28927 PyObject * obj3 = 0 ;
28928 PyObject * obj4 = 0 ;
28929 char *kwnames[] = {
28930 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
28931 };
28932
28933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28936 if (arg2 == NULL) {
28937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28938 }
28939 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28940 if (arg3 == NULL) {
28941 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28942 }
28943 {
28944 arg4 = &temp4;
28945 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
28946 }
28947 {
28948 arg5 = &temp5;
28949 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
28950 }
28951 {
28952 PyThreadState* __tstate = wxPyBeginAllowThreads();
28953 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
28954
28955 wxPyEndAllowThreads(__tstate);
28956 if (PyErr_Occurred()) SWIG_fail;
28957 }
28958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28959 return resultobj;
28960 fail:
28961 return NULL;
28962 }
28963
28964
28965 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28966 PyObject *resultobj;
28967 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28968 wxPoint *arg2 = 0 ;
28969 wxPoint *arg3 = 0 ;
28970 bool arg4 ;
28971 bool arg5 ;
28972 bool result;
28973 wxPoint temp2 ;
28974 wxPoint temp3 ;
28975 PyObject * obj0 = 0 ;
28976 PyObject * obj1 = 0 ;
28977 PyObject * obj2 = 0 ;
28978 PyObject * obj3 = 0 ;
28979 PyObject * obj4 = 0 ;
28980 char *kwnames[] = {
28981 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
28982 };
28983
28984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28986 {
28987 arg2 = &temp2;
28988 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28989 }
28990 {
28991 arg3 = &temp3;
28992 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28993 }
28994 {
28995 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 }
28998 {
28999 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
29000 if (PyErr_Occurred()) SWIG_fail;
29001 }
29002 {
29003 PyThreadState* __tstate = wxPyBeginAllowThreads();
29004 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29005
29006 wxPyEndAllowThreads(__tstate);
29007 if (PyErr_Occurred()) SWIG_fail;
29008 }
29009 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29010 return resultobj;
29011 fail:
29012 return NULL;
29013 }
29014
29015
29016 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29017 PyObject *obj;
29018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29019 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29020 Py_INCREF(obj);
29021 return Py_BuildValue((char *)"");
29022 }
29023 static PyMethodDef SwigMethods[] = {
29024 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29025 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29026 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29027 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29028 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29029 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29030 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29031 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29032 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29033 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29034 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29035 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29036 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29037 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29038 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29039 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29040 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29041 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29042 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29043 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29044 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29045 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29046 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29047 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29048 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29049 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29050 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29051 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29052 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29053 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29054 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29055 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29056 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29057 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29058 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29059 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
29060 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
29061 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29062 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29063 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29064 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29065 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29066 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29067 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29068 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29069 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29070 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29071 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29072 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29073 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29074 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29075 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29076 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29077 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29078 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29079 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29080 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29081 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29082 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29083 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29084 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29085 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29086 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29087 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29088 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29089 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29090 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29091 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29092 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29093 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29094 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29095 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29096 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29097 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29098 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29099 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29100 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29101 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29102 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29103 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29104 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29105 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29106 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29107 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29108 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29109 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29110 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29111 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29112 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29113 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29114 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29115 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29116 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29117 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29118 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29119 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29120 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29121 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29122 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29123 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29124 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29125 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29126 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29127 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29128 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29129 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29130 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29131 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29132 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29133 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29134 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29135 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29136 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29137 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29138 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29139 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29140 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29141 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29142 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29143 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29144 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29145 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29146 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29147 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29148 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29149 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29150 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29151 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29152 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29153 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29154 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29155 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29156 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29157 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29158 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29159 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29160 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29161 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29162 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29163 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29164 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29165 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29166 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29167 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29168 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29169 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29170 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29171 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29172 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29173 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29174 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29175 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29176 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29177 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29178 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29179 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29180 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29181 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29182 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29183 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29184 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29185 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29186 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29187 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29188 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29189 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29190 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29191 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29192 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29193 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29194 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29195 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29196 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29197 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29198 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29199 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29200 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29201 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29202 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29203 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29204 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29205 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29206 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29207 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29208 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29209 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29210 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29211 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29212 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29213 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29214 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29215 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29216 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29217 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29218 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29219 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29220 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29221 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29222 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29223 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29224 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29225 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29226 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29227 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29228 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29229 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29230 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29231 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29232 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29233 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29234 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29235 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29236 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29237 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29238 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29239 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29240 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29241 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29242 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29243 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29244 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29245 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29246 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29247 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29248 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29249 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29250 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29251 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29252 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29253 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29254 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29255 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29256 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29257 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29258 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29259 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29260 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29261 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29262 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29263 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29264 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29265 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29266 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29267 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29268 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29269 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29270 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29271 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29272 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29273 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29274 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29275 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29276 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29277 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29278 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29279 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29280 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29281 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29282 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29283 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29284 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29285 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29286 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29287 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29288 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29289 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29290 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
29291 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29292 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29293 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
29294 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
29295 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
29296 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
29297 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
29298 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
29299 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
29300 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
29301 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
29302 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
29303 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
29304 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
29305 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29306 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
29307 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29308 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
29309 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
29310 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
29311 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
29312 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
29313 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
29314 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
29315 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
29316 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
29317 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
29318 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
29319 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
29320 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
29321 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
29322 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
29323 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
29324 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29325 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
29326 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
29327 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29328 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29329 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29330 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
29331 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
29332 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29333 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29334 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
29335 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
29336 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
29337 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
29338 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
29339 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29340 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
29341 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
29342 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
29343 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
29344 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
29345 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
29346 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
29347 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
29348 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
29349 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
29350 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
29351 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29352 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
29353 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
29354 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
29355 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29356 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
29357 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
29358 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
29359 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
29360 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
29361 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
29362 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
29363 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
29364 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
29365 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
29366 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
29367 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29368 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29369 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
29370 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
29371 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
29372 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29373 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29374 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
29375 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
29376 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
29377 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
29378 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
29379 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
29380 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
29381 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
29382 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
29383 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
29384 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
29385 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
29386 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
29387 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29388 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29389 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29390 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
29391 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
29392 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
29393 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
29394 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
29395 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29396 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
29397 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
29398 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29399 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29400 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
29401 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
29402 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
29403 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
29404 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
29405 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
29406 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
29407 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
29408 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
29409 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
29410 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
29411 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
29412 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
29413 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
29414 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
29415 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
29416 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
29417 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
29418 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
29419 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
29420 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
29421 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
29422 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29423 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
29424 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
29425 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
29426 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
29427 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
29428 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29429 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29430 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29431 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29432 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
29433 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
29434 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
29435 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29436 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
29437 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
29438 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
29439 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29440 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
29441 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
29442 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
29443 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
29444 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29445 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29446 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
29447 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29448 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
29449 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
29450 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
29451 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
29452 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
29453 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
29454 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29455 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
29456 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
29457 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29458 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29459 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29460 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29461 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29462 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29463 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29464 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29465 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29466 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
29467 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
29468 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
29469 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
29470 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
29471 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
29472 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
29473 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
29474 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
29475 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
29476 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
29477 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
29478 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
29479 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
29480 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
29481 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
29482 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29483 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29484 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
29485 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
29486 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
29487 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
29488 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
29489 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
29490 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
29491 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
29492 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
29493 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
29494 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
29495 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
29496 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29497 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29498 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
29499 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
29500 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
29501 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
29502 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
29503 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
29504 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
29505 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
29506 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
29507 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
29508 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
29509 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
29510 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
29511 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
29512 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
29513 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
29514 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
29515 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
29516 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
29517 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
29518 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
29519 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
29520 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
29521 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
29522 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
29523 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
29524 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
29525 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
29526 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
29527 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
29528 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
29529 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
29530 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
29531 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
29532 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29533 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
29534 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
29535 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29536 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29537 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
29538 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
29539 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
29540 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
29541 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29542 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
29543 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
29544 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29545 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29546 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
29547 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
29548 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
29549 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29550 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29551 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
29552 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29553 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
29554 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
29555 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29556 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29557 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
29558 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
29559 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
29560 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
29561 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
29562 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
29563 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
29564 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29565 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29566 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29567 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29568 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29569 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
29570 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
29571 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
29572 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
29573 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29574 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29575 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29576 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
29577 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29578 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29579 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
29580 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
29581 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
29582 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29583 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29584 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29585 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29586 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
29587 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
29588 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
29589 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
29590 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
29591 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29592 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
29593 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
29594 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
29595 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29596 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29597 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
29598 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
29599 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
29600 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29601 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29602 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
29603 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
29604 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
29605 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
29606 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
29607 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
29608 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
29609 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29610 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29611 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29612 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29613 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
29614 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
29615 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
29616 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
29617 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
29618 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
29619 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
29620 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
29621 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
29622 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
29623 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
29624 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
29625 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
29626 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
29627 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
29628 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29629 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29630 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
29631 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
29632 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
29633 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
29634 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
29635 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
29636 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
29637 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
29638 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
29639 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
29640 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
29641 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
29642 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
29643 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
29644 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29645 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
29646 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
29647 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
29648 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29649 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
29650 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29651 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29652 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29653 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29654 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
29655 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29656 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29657 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
29658 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
29659 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
29660 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29661 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29662 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29663 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
29664 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
29665 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
29666 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
29667 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
29668 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29669 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
29670 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29671 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
29672 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29673 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
29674 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29675 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
29676 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29677 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
29678 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29679 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29680 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
29681 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29682 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29683 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29684 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
29685 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29686 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
29687 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29688 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29689 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29690 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
29691 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29692 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
29693 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
29694 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
29695 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
29696 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
29697 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29698 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
29699 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
29700 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
29701 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
29702 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
29703 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
29704 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
29705 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
29706 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
29707 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
29708 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
29709 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
29710 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29711 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
29712 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
29713 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
29714 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
29715 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29716 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
29717 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
29718 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
29719 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
29720 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
29721 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
29722 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
29723 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
29724 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
29725 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29726 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
29727 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29728 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
29729 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
29730 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29731 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
29733 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29736 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
29737 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29738 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
29740 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
29741 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
29746 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29747 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29748 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29751 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
29752 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
29753 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
29754 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
29755 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29756 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29758 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
29759 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
29760 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
29761 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
29763 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
29765 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
29767 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
29770 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
29771 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
29774 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
29775 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
29780 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
29781 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
29782 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29783 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29784 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
29785 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
29786 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
29787 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
29788 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
29789 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
29790 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
29791 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
29792 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
29793 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
29794 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
29795 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
29796 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
29797 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
29798 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
29799 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
29800 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
29801 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
29802 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
29803 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
29804 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
29805 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
29806 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
29807 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
29808 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
29809 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
29810 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
29811 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
29812 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
29813 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
29814 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
29815 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
29816 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
29817 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
29818 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
29819 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
29820 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
29821 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
29822 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
29823 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
29824 { NULL, NULL }
29825 };
29826
29827
29828 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29829
29830 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
29831 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
29832 }
29833 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
29834 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
29835 }
29836 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
29837 return (void *)((wxSizer *) ((wxBoxSizer *) x));
29838 }
29839 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
29840 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
29841 }
29842 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
29843 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29844 }
29845 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
29846 return (void *)((wxSizer *) ((wxGridSizer *) x));
29847 }
29848 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
29849 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
29850 }
29851 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
29852 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
29853 }
29854 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
29855 return (void *)((wxSizer *) ((wxPySizer *) x));
29856 }
29857 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
29858 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
29859 }
29860 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29861 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29862 }
29863 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29864 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29865 }
29866 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29867 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29868 }
29869 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29870 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29871 }
29872 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29873 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29874 }
29875 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
29876 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
29877 }
29878 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29879 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29880 }
29881 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29882 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29883 }
29884 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29885 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29886 }
29887 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
29888 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
29889 }
29890 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
29891 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
29892 }
29893 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29894 return (void *)((wxEvent *) ((wxPyEvent *) x));
29895 }
29896 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29897 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29898 }
29899 static void *_p_wxListEventTo_p_wxEvent(void *x) {
29900 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
29901 }
29902 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
29903 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
29904 }
29905 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
29906 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
29907 }
29908 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
29909 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
29910 }
29911 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29912 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29913 }
29914 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29915 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29916 }
29917 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29918 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29919 }
29920 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29921 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29922 }
29923 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29924 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29925 }
29926 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29927 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29928 }
29929 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29930 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29931 }
29932 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29933 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29934 }
29935 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29936 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29937 }
29938 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29939 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29940 }
29941 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29942 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29943 }
29944 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29945 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29946 }
29947 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29948 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29949 }
29950 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29951 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29952 }
29953 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29954 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29955 }
29956 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29957 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29958 }
29959 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29960 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29961 }
29962 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29963 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29964 }
29965 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29966 return (void *)((wxEvent *) ((wxShowEvent *) x));
29967 }
29968 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29969 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29970 }
29971 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29972 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29973 }
29974 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29976 }
29977 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29978 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29979 }
29980 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29981 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29982 }
29983 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29984 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29985 }
29986 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
29987 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
29988 }
29989 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
29990 return (void *)((wxItemContainer *) ((wxComboBox *) x));
29991 }
29992 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
29993 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
29994 }
29995 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
29996 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
29997 }
29998 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
29999 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30000 }
30001 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30002 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30003 }
30004 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30005 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30006 }
30007 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30008 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30009 }
30010 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30011 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30012 }
30013 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30014 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30015 }
30016 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30017 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30018 }
30019 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30020 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30021 }
30022 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30023 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30024 }
30025 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30026 return (void *)((wxControl *) ((wxComboBox *) x));
30027 }
30028 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30029 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30030 }
30031 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30032 return (void *)((wxControl *) ((wxStaticBox *) x));
30033 }
30034 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30035 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30036 }
30037 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30038 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30039 }
30040 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30041 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30042 }
30043 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30044 return (void *)((wxControl *) ((wxScrollBar *) x));
30045 }
30046 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30047 return (void *)((wxControl *) ((wxBookCtrl *) x));
30048 }
30049 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30050 return (void *)((wxControl *) ((wxRadioButton *) x));
30051 }
30052 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30053 return (void *)((wxControl *) ((wxToggleButton *) x));
30054 }
30055 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30056 return (void *)((wxControl *) ((wxGauge *) x));
30057 }
30058 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30059 return (void *)((wxControl *) ((wxToolBarBase *) x));
30060 }
30061 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30062 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30063 }
30064 static void *_p_wxButtonTo_p_wxControl(void *x) {
30065 return (void *)((wxControl *) ((wxButton *) x));
30066 }
30067 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30068 return (void *)((wxControl *) ((wxSpinButton *) x));
30069 }
30070 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30071 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30072 }
30073 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30074 return (void *)((wxControl *) ((wxControlWithItems *) x));
30075 }
30076 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30077 return (void *)((wxControl *) ((wxRadioBox *) x));
30078 }
30079 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30080 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30081 }
30082 static void *_p_wxListbookTo_p_wxControl(void *x) {
30083 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30084 }
30085 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30086 return (void *)((wxControl *) ((wxCheckBox *) x));
30087 }
30088 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30089 return (void *)((wxControl *) ((wxTextCtrl *) x));
30090 }
30091 static void *_p_wxListViewTo_p_wxControl(void *x) {
30092 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30093 }
30094 static void *_p_wxSliderTo_p_wxControl(void *x) {
30095 return (void *)((wxControl *) ((wxSlider *) x));
30096 }
30097 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30098 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30099 }
30100 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30101 return (void *)((wxControl *) ((wxPyControl *) x));
30102 }
30103 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30104 return (void *)((wxControl *) ((wxStaticLine *) x));
30105 }
30106 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30107 return (void *)((wxControl *) ((wxStaticText *) x));
30108 }
30109 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30110 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30111 }
30112 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30113 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30114 }
30115 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30116 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30117 }
30118 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30119 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30120 }
30121 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30122 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30123 }
30124 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30125 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30126 }
30127 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30128 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30129 }
30130 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30131 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30132 }
30133 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30135 }
30136 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30137 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30138 }
30139 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30140 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30141 }
30142 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30143 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30144 }
30145 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30146 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30147 }
30148 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30149 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30150 }
30151 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30152 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30153 }
30154 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30156 }
30157 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30158 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30159 }
30160 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30161 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30162 }
30163 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30165 }
30166 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30167 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30168 }
30169 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30170 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30171 }
30172 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30174 }
30175 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30177 }
30178 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30179 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30180 }
30181 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30183 }
30184 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30186 }
30187 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30188 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30189 }
30190 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30192 }
30193 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30195 }
30196 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30198 }
30199 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30201 }
30202 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30204 }
30205 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30207 }
30208 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30210 }
30211 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30213 }
30214 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30216 }
30217 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30219 }
30220 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30221 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30222 }
30223 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30224 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30225 }
30226 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30228 }
30229 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30230 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30231 }
30232 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30233 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30234 }
30235 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30236 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30237 }
30238 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30239 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30240 }
30241 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30242 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30243 }
30244 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30245 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30246 }
30247 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30248 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30249 }
30250 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30251 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30252 }
30253 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30254 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30255 }
30256 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30257 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30258 }
30259 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30260 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30261 }
30262 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30263 return (void *)((wxButton *) ((wxBitmapButton *) x));
30264 }
30265 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30266 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30267 }
30268 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30269 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30270 }
30271 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30272 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30273 }
30274 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30275 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30276 }
30277 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30278 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30279 }
30280 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30281 return (void *)((wxObject *) ((wxSizerItem *) x));
30282 }
30283 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30284 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30285 }
30286 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30287 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30288 }
30289 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30291 }
30292 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30293 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30294 }
30295 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30296 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30297 }
30298 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30299 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30300 }
30301 static void *_p_wxSizerTo_p_wxObject(void *x) {
30302 return (void *)((wxObject *) ((wxSizer *) x));
30303 }
30304 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30305 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30306 }
30307 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30309 }
30310 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30311 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30312 }
30313 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30314 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30315 }
30316 static void *_p_wxEventTo_p_wxObject(void *x) {
30317 return (void *)((wxObject *) ((wxEvent *) x));
30318 }
30319 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30320 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30321 }
30322 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30323 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30324 }
30325 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30326 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30327 }
30328 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30330 }
30331 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30333 }
30334 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30336 }
30337 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30338 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30339 }
30340 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30341 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30342 }
30343 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30344 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30345 }
30346 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30347 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30348 }
30349 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30350 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30351 }
30352 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30353 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30354 }
30355 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30357 }
30358 static void *_p_wxControlTo_p_wxObject(void *x) {
30359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30360 }
30361 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30363 }
30364 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30366 }
30367 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30369 }
30370 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30372 }
30373 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30375 }
30376 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30377 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30378 }
30379 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30381 }
30382 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30383 return (void *)((wxObject *) ((wxFSFile *) x));
30384 }
30385 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30386 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30387 }
30388 static void *_p_wxListViewTo_p_wxObject(void *x) {
30389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30390 }
30391 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30393 }
30394 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30396 }
30397 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30398 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30399 }
30400 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30401 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30402 }
30403 static void *_p_wxListbookTo_p_wxObject(void *x) {
30404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30405 }
30406 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30407 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30408 }
30409 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30411 }
30412 static void *_p_wxSliderTo_p_wxObject(void *x) {
30413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30414 }
30415 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30416 return (void *)((wxObject *) ((wxMenuItem *) x));
30417 }
30418 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30419 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30420 }
30421 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30423 }
30424 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30425 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30426 }
30427 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30428 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30429 }
30430 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30431 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30432 }
30433 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30434 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30435 }
30436 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30437 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30438 }
30439 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30440 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30441 }
30442 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30444 }
30445 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30446 return (void *)((wxObject *) ((wxContextHelp *) x));
30447 }
30448 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30449 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30450 }
30451 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30452 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30453 }
30454 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30455 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30456 }
30457 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30458 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30459 }
30460 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30461 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30462 }
30463 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30464 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30465 }
30466 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30467 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30468 }
30469 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30470 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30471 }
30472 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30473 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30474 }
30475 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30476 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30477 }
30478 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30479 return (void *)((wxObject *) ((wxImageHandler *) x));
30480 }
30481 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30482 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30483 }
30484 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30485 return (void *)((wxObject *) ((wxEvtHandler *) x));
30486 }
30487 static void *_p_wxListEventTo_p_wxObject(void *x) {
30488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30489 }
30490 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30492 }
30493 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30495 }
30496 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30497 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30498 }
30499 static void *_p_wxButtonTo_p_wxObject(void *x) {
30500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30501 }
30502 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30504 }
30505 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30507 }
30508 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30510 }
30511 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30512 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30513 }
30514 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30516 }
30517 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30519 }
30520 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
30522 }
30523 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
30524 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
30525 }
30526 static void *_p_wxListItemTo_p_wxObject(void *x) {
30527 return (void *)((wxObject *) ((wxListItem *) x));
30528 }
30529 static void *_p_wxImageTo_p_wxObject(void *x) {
30530 return (void *)((wxObject *) ((wxImage *) x));
30531 }
30532 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
30533 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
30534 }
30535 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30536 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30537 }
30538 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
30539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30540 }
30541 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
30542 return (void *)((wxObject *) ((wxGenericDragImage *) x));
30543 }
30544 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
30545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30546 }
30547 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
30548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30549 }
30550 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
30551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30552 }
30553 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30555 }
30556 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30557 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30558 }
30559 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30560 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30561 }
30562 static void *_p_wxWindowTo_p_wxObject(void *x) {
30563 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30564 }
30565 static void *_p_wxMenuTo_p_wxObject(void *x) {
30566 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30567 }
30568 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30570 }
30571 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30572 return (void *)((wxObject *) ((wxFileSystem *) x));
30573 }
30574 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30575 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30576 }
30577 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30578 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30579 }
30580 static void *_p_wxPyAppTo_p_wxObject(void *x) {
30581 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30582 }
30583 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30584 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30585 }
30586 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30587 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30588 }
30589 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30590 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30591 }
30592 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
30593 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30594 }
30595 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30597 }
30598 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30599 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30600 }
30601 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
30602 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
30603 }
30604 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30605 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30606 }
30607 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30608 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30609 }
30610 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30611 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30612 }
30613 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30615 }
30616 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
30617 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
30618 }
30619 static void *_p_wxToolBarTo_p_wxObject(void *x) {
30620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30621 }
30622 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30623 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30624 }
30625 static void *_p_wxValidatorTo_p_wxObject(void *x) {
30626 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30627 }
30628 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
30629 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
30630 }
30631 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
30632 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
30633 }
30634 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
30635 return (void *)((wxWindow *) ((wxMenuBar *) x));
30636 }
30637 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
30638 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30639 }
30640 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
30641 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
30642 }
30643 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
30644 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
30645 }
30646 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
30647 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
30648 }
30649 static void *_p_wxControlTo_p_wxWindow(void *x) {
30650 return (void *)((wxWindow *) ((wxControl *) x));
30651 }
30652 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
30653 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
30654 }
30655 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
30656 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30657 }
30658 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
30659 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
30660 }
30661 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
30662 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
30663 }
30664 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
30665 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
30666 }
30667 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
30668 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
30669 }
30670 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
30671 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
30672 }
30673 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
30674 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
30675 }
30676 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
30677 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
30678 }
30679 static void *_p_wxListbookTo_p_wxWindow(void *x) {
30680 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30681 }
30682 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
30683 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
30684 }
30685 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
30686 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
30687 }
30688 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
30689 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
30690 }
30691 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
30692 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30693 }
30694 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
30695 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30696 }
30697 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
30698 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30699 }
30700 static void *_p_wxListViewTo_p_wxWindow(void *x) {
30701 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30702 }
30703 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
30704 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30705 }
30706 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
30707 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
30708 }
30709 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
30710 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
30711 }
30712 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
30713 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
30714 }
30715 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
30716 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
30717 }
30718 static void *_p_wxSliderTo_p_wxWindow(void *x) {
30719 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
30720 }
30721 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
30722 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
30723 }
30724 static void *_p_wxButtonTo_p_wxWindow(void *x) {
30725 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
30726 }
30727 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
30728 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
30729 }
30730 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
30731 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30732 }
30733 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
30734 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
30735 }
30736 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
30737 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30738 }
30739 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
30740 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30741 }
30742 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
30743 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
30744 }
30745 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
30746 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
30747 }
30748 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
30749 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
30750 }
30751 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
30752 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
30753 }
30754 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
30755 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
30756 }
30757 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
30758 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30759 }
30760 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
30761 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30762 }
30763 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
30764 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
30765 }
30766 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
30767 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
30768 }
30769 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
30770 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
30771 }
30772 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
30773 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
30774 }
30775 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
30776 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
30777 }
30778 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
30779 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
30780 }
30781 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
30782 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
30783 }
30784 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
30785 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
30786 }
30787 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
30788 return (void *)((wxControlWithItems *) ((wxChoice *) x));
30789 }
30790 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
30791 return (void *)((wxControlWithItems *) ((wxListBox *) x));
30792 }
30793 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
30794 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
30795 }
30796 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
30797 return (void *)((wxValidator *) ((wxPyValidator *) x));
30798 }
30799 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30800 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}};
30801 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}};
30802 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30803 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30804 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}};
30805 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30806 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30807 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30808 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}};
30809 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30810 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
30811 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30812 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}};
30813 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30814 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30815 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
30816 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30817 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30818 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30819 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
30820 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30821 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30822 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30823 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30824 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30825 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30826 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30827 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30828 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30829 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30830 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}};
30831 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30832 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30833 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30834 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30835 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30836 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30837 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30838 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30839 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}};
30840 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30841 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
30842 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30843 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}};
30844 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30845 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}};
30846 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
30847 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30848 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30849 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30850 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30851 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30852 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30853 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30854 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30855 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30856 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30857 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30858 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30859 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30860 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30861 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
30862 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30863 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30864 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30865 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30866 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30867 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}};
30868 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
30869 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
30870 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}};
30871 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
30872 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
30873 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
30874 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
30875 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}};
30876 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
30877 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
30878 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
30879 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
30880 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
30881 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
30882 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
30883
30884 static swig_type_info *swig_types_initial[] = {
30885 _swigt__p_wxTextUrlEvent,
30886 _swigt__p_wxBookCtrlEvent,
30887 _swigt__p_wxSizer,
30888 _swigt__p_wxCheckBox,
30889 _swigt__p_wxPyTreeCtrl,
30890 _swigt__p_wxEvent,
30891 _swigt__p_wxGenericDirCtrl,
30892 _swigt__p_bool,
30893 _swigt__p_wxPyTreeItemData,
30894 _swigt__p_wxItemContainer,
30895 _swigt__p_wxDirFilterListCtrl,
30896 _swigt__p_wxPyListCtrl,
30897 _swigt__p_wxStaticLine,
30898 _swigt__p_wxControl,
30899 _swigt__p_wxPyControl,
30900 _swigt__p_wxGauge,
30901 _swigt__p_wxToolBarBase,
30902 _swigt__p_wxFont,
30903 _swigt__p_wxToggleButton,
30904 _swigt__p_wxRadioButton,
30905 _swigt__p_wxChoice,
30906 _swigt__p_wxMemoryDC,
30907 _swigt__p_wxListItemAttr,
30908 _swigt__p_void,
30909 _swigt__p_int,
30910 _swigt__p_wxSize,
30911 _swigt__p_wxDC,
30912 _swigt__p_wxListView,
30913 _swigt__p_wxIcon,
30914 _swigt__p_wxTextCtrl,
30915 _swigt__p_wxNotebook,
30916 _swigt__p_wxNotifyEvent,
30917 _swigt__p_wxArrayString,
30918 _swigt__p_wxListbook,
30919 _swigt__p_wxStaticBitmap,
30920 _swigt__p_wxSlider,
30921 _swigt__p_wxStaticBox,
30922 _swigt__p_wxArrayInt,
30923 _swigt__p_wxContextHelp,
30924 _swigt__p_long,
30925 _swigt__p_wxEvtHandler,
30926 _swigt__p_wxListEvent,
30927 _swigt__p_wxListBox,
30928 _swigt__p_wxCheckListBox,
30929 _swigt__p_wxBookCtrl,
30930 _swigt__p_wxSpinButton,
30931 _swigt__p_wxButton,
30932 _swigt__p_wxBitmapButton,
30933 _swigt__p_wxRect,
30934 _swigt__p_wxContextHelpButton,
30935 _swigt__p_wxRadioBox,
30936 _swigt__p_wxScrollBar,
30937 _swigt__p_char,
30938 _swigt__p_wxTreeItemId,
30939 _swigt__p_wxComboBox,
30940 _swigt__p_wxHelpEvent,
30941 _swigt__p_wxListItem,
30942 _swigt__p_wxNotebookSizer,
30943 _swigt__p_wxSpinEvent,
30944 _swigt__p_wxGenericDragImage,
30945 _swigt__p_wxSpinCtrl,
30946 _swigt__p_wxImageList,
30947 _swigt__p_wxHelpProvider,
30948 _swigt__p_wxTextAttr,
30949 _swigt__p_wxSimpleHelpProvider,
30950 _swigt__p_wxPoint,
30951 _swigt__p_wxListbookEvent,
30952 _swigt__p_wxNotebookEvent,
30953 _swigt__p_wxObject,
30954 _swigt__p_wxCursor,
30955 _swigt__p_wxKeyEvent,
30956 _swigt__p_wxWindow,
30957 _swigt__p_wxString,
30958 _swigt__p_wxBitmap,
30959 _swigt__p_wxTreeEvent,
30960 _swigt__p_wxMouseEvent,
30961 _swigt__p_wxCommandEvent,
30962 _swigt__p_wxStaticText,
30963 _swigt__p_wxControlWithItems,
30964 _swigt__p_wxToolBarToolBase,
30965 _swigt__p_wxColour,
30966 _swigt__p_wxToolBar,
30967 _swigt__p_wxBookCtrlSizer,
30968 _swigt__p_wxValidator,
30969 0
30970 };
30971
30972
30973 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30974
30975 static swig_const_info swig_const_table[] = {
30976 {0}};
30977
30978 #ifdef __cplusplus
30979 }
30980 #endif
30981
30982 #ifdef __cplusplus
30983 extern "C"
30984 #endif
30985 SWIGEXPORT(void) SWIG_init(void) {
30986 static PyObject *SWIG_globals = 0;
30987 static int typeinit = 0;
30988 PyObject *m, *d;
30989 int i;
30990 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30991 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30992 d = PyModule_GetDict(m);
30993
30994 if (!typeinit) {
30995 for (i = 0; swig_types_initial[i]; i++) {
30996 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30997 }
30998 typeinit = 1;
30999 }
31000 SWIG_InstallConstants(d,swig_const_table);
31001
31002 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31003 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31004 PyDict_SetItemString(d,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT));
31005 PyDict_SetItemString(d,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP));
31006 PyDict_SetItemString(d,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT));
31007 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM));
31008 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT));
31009 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW));
31010 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31011 PyDict_SetItemString(d,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE));
31012 PyDict_SetItemString(d,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE));
31013 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31014 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED));
31015 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED));
31016 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED));
31017 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31018 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31019 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31020 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL));
31021 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL));
31022 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH));
31023 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR));
31024 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31025 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31026 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31027 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31028 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31029 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL));
31030 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL));
31031 PyDict_SetItemString(d,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY));
31032 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE));
31033 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB));
31034 PyDict_SetItemString(d,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT));
31035 PyDict_SetItemString(d,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER));
31036 PyDict_SetItemString(d,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT));
31037 PyDict_SetItemString(d,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE));
31038 PyDict_SetItemString(d,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH));
31039 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER));
31040 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD));
31041 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL));
31042 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL));
31043 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP));
31044 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP));
31045 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP));
31046 PyDict_SetItemString(d,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2));
31047 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31048 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31049 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31050 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31051 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31052 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31053 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31054 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31055 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31056 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31057 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31058 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31059 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31060 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT));
31061 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31062 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31063 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31064 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS));
31065 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN));
31066 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE));
31067 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT));
31068 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW));
31069 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND));
31070 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31071 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31072 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31073 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31074 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31075 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31076 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31077 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL));
31078 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL));
31079 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS));
31080 PyDict_SetItemString(d,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP));
31081 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31082 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31083 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31084 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31085 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31086 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31087 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31088 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH));
31089 PyDict_SetItemString(d,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP));
31090 PyDict_SetItemString(d,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT));
31091 PyDict_SetItemString(d,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT));
31092 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM));
31093 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE));
31094 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE));
31095 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON));
31096 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL));
31097 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM));
31098 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31099 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31100 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT));
31101 PyDict_SetItemString(d,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP));
31102 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM));
31103 PyDict_SetItemString(d,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT));
31104 PyDict_SetItemString(d,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT));
31105 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK));
31106 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31107 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31108 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON));
31109 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31110 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL));
31111 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL));
31112 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL));
31113 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS));
31114 PyDict_SetItemString(d,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT));
31115 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE));
31116 PyDict_SetItemString(d,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS));
31117 PyDict_SetItemString(d,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT));
31118 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER));
31119 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN));
31120 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT));
31121 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT));
31122 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31123 PyDict_SetItemString(d,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES));
31124 PyDict_SetItemString(d,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES));
31125 PyDict_SetItemString(d,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON));
31126 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON));
31127 PyDict_SetItemString(d,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST));
31128 PyDict_SetItemString(d,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT));
31129 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP));
31130 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT));
31131 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE));
31132 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL));
31133 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS));
31134 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER));
31135 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER));
31136 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL));
31137 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING));
31138 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING));
31139 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE));
31140 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN));
31141 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT));
31142 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE));
31143 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT));
31144 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE));
31145 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA));
31146 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM));
31147 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH));
31148 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT));
31149 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE));
31150 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED));
31151 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED));
31152 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED));
31153 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT));
31154 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED));
31155 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED));
31156 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE));
31157 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED));
31158 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE));
31159 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE));
31160 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW));
31161 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE));
31162 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31163 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31164 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31165 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31166 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT));
31167 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT));
31168 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM));
31169 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE));
31170 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL));
31171 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW));
31172 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT));
31173 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT));
31174 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT));
31175 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT));
31176 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP));
31177 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31178 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT));
31179 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT));
31180 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE));
31181 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER));
31182 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE));
31183 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31184 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS));
31185 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON));
31186 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL));
31187 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP));
31188 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN));
31189 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT));
31190 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT));
31191 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31192 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31193 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31194 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31195 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31196 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31197 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31198 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31199 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31200 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31201 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31202 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31203 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31204 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31205 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31206 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31207 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31208 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31209 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31210 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31211 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31212 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31213
31214 // Map renamed classes back to their common name for OOR
31215 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31216
31217 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31218 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS));
31219 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS));
31220 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES));
31221 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT));
31222 PyDict_SetItemString(d,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE));
31223 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE));
31224 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED));
31225 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31226 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS));
31227 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT));
31228 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES));
31229 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31230 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE));
31231 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS));
31232 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS));
31233 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS));
31234 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal));
31235 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected));
31236 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded));
31237 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31238 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max));
31239 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE));
31240 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW));
31241 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE));
31242 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31243 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31244 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31245 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31246 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31247 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31248 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT));
31249 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT));
31250 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31251 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31252 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM));
31253 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31254 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31255 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31256 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31257 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31258 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31259 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31260 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31261 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31262 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31263 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31264 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31265 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31266 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31267 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31268 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31269 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31270 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31271 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31272 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31273
31274 // Map renamed classes back to their common name for OOR
31275 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31276 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31277
31278 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31279 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY));
31280 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31281 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31282 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31283 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31284 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31285 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31286 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31287 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31288
31289 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31290
31291 }
31292