]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
Removed remaining DialogEd files
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info *swig_types[85];
318
319 /* -------- TYPES TABLE (END) -------- */
320
321
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
326
327 #define SWIG_name "_controls"
328
329 #include <limits.h>
330 #include <float.h>
331 #include <string.h>
332
333 #ifndef SWIGSTATIC
334 #ifdef __cplusplus
335 #define SWIGSTATIC(a) static inline a
336 #else
337 #define SWIGSTATIC(a) static a
338 #endif
339 #endif
340
341 #ifndef numeric_cast
342 #ifdef __cplusplus
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #else
346 #define numeric_cast(type,a) static_cast<type>(a)
347 #endif
348 #else
349 #define numeric_cast(type,a) (type)(a)
350 #endif
351 #endif
352
353
354
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
369
370 static const wxString wxPyPanelNameStr(wxPanelNameStr);
371 static const wxString wxPyEmptyString(wxEmptyString);
372 static const wxString wxPyControlNameStr(wxControlNameStr);
373 static const wxString wxPyButtonNameStr(wxButtonNameStr);
374
375 SWIGSTATIC(int)
376 SWIG_PyObj_AsInt(PyObject *obj)
377 {
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
380 }
381
382
383 SWIGSTATIC(long)
384 SWIG_PyObj_AsLong(PyObject * obj)
385 {
386 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
387 }
388
389
390 SWIGSTATIC(PyObject*)
391 SWIG_PyObj_FromBool(bool value)
392 {
393 PyObject *obj = value ? Py_True : Py_False;
394 Py_INCREF(obj);
395 return obj;
396 }
397
398 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
399
400 SWIGSTATIC(bool)
401 SWIG_PyObj_AsBool(PyObject *obj)
402 {
403 return PyObject_IsTrue(obj) ? true : false;
404 }
405
406 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
407 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
408 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
409 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
410 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
411 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
412
413 #include <wx/checklst.h>
414
415
416 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
417 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
418 if (clientData) {
419 wxPyClientData* data = new wxPyClientData(clientData);
420 self->Insert(item, pos, data);
421 } else
422 self->Insert(item, pos);
423 }
424 PyObject *wxListBox_GetSelections(wxListBox *self){
425 wxArrayInt lst;
426 self->GetSelections(lst);
427 PyObject *tup = PyTuple_New(lst.GetCount());
428 for(size_t i=0; i<lst.GetCount(); i++) {
429 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
430 }
431 return tup;
432 }
433 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
434
435 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
436 PyObject* o2;
437 PyObject* o3;
438
439 if (!target) {
440 target = o;
441 } else if (target == Py_None) {
442 Py_DECREF(Py_None);
443 target = o;
444 } else {
445 if (!PyTuple_Check(target)) {
446 o2 = target;
447 target = PyTuple_New(1);
448 PyTuple_SetItem(target, 0, o2);
449 }
450 o3 = PyTuple_New(1);
451 PyTuple_SetItem(o3, 0, o);
452
453 o2 = target;
454 target = PySequence_Concat(o2, o3);
455 Py_DECREF(o2);
456 Py_DECREF(o3);
457 }
458 return target;
459 }
460
461 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
462 self->AppendText(text);
463 }
464 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
465 return self->GetValue().Mid(from, to - from);
466 }
467 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
468 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
469 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
470 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
471 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
472 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
473 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
474 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
475
476 #include <wx/slider.h>
477
478
479 static const wxString wxPySliderNameStr(wxSliderNameStr);
480 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
481
482 #if defined(__WXMAC__) || defined(__WXX11__)
483 // implement dummy classes and such for wxMac
484
485 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
486
487 class wxToggleButton : public wxControl
488 {
489 public:
490 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
491 const wxPoint&, const wxSize&, long,
492 const wxValidator&, const wxString&)
493 { wxPyRaiseNotImplemented(); }
494
495 wxToggleButton()
496 { wxPyRaiseNotImplemented(); }
497 };
498 #endif
499
500 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
501
502 SWIGSTATIC(PyObject* )
503 SWIG_PyObj_FromUnsignedLong(unsigned long value)
504 {
505 return (value > (unsigned long)(LONG_MAX)) ?
506 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
507 }
508
509 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
510 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
511 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
512 if (udata) {
513 Py_INCREF(udata->m_obj);
514 return udata->m_obj;
515 } else {
516 Py_INCREF(Py_None);
517 return Py_None;
518 }
519 }
520 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
521 self->SetClientData(new wxPyUserData(clientData));
522 }
523 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){
524 wxPyUserData* udata = NULL;
525 if (clientData && clientData != Py_None)
526 udata = new wxPyUserData(clientData);
527 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
528 shortHelp, longHelp, udata);
529 }
530 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){
531 wxPyUserData* udata = NULL;
532 if (clientData && clientData != Py_None)
533 udata = new wxPyUserData(clientData);
534 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
535 shortHelp, longHelp, udata);
536 }
537 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
538 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
539 if (udata) {
540 Py_INCREF(udata->m_obj);
541 return udata->m_obj;
542 } else {
543 Py_INCREF(Py_None);
544 return Py_None;
545 }
546 }
547 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
548 self->SetToolClientData(id, new wxPyUserData(clientData));
549 }
550
551 #include <wx/listctrl.h>
552
553
554 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
555 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
556 // Python aware sorting function for wxPyListCtrl
557 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
558 int retval = 0;
559 PyObject* func = (PyObject*)funcPtr;
560 wxPyBeginBlockThreads();
561
562 PyObject* args = Py_BuildValue("(ii)", item1, item2);
563 PyObject* result = PyEval_CallObject(func, args);
564 Py_DECREF(args);
565 if (result) {
566 retval = PyInt_AsLong(result);
567 Py_DECREF(result);
568 }
569
570 wxPyEndBlockThreads();
571 return retval;
572 }
573
574 // C++ Version of a Python aware class
575 class wxPyListCtrl : public wxListCtrl {
576 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
577 public:
578 wxPyListCtrl() : wxListCtrl() {}
579 wxPyListCtrl(wxWindow* parent, wxWindowID id,
580 const wxPoint& pos,
581 const wxSize& size,
582 long style,
583 const wxValidator& validator,
584 const wxString& name) :
585 wxListCtrl(parent, id, pos, size, style, validator, name) {}
586
587 bool Create(wxWindow* parent, wxWindowID id,
588 const wxPoint& pos,
589 const wxSize& size,
590 long style,
591 const wxValidator& validator,
592 const wxString& name) {
593 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
594 }
595
596 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
597 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
598 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
599
600 PYPRIVATE;
601 };
602
603 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
604
605 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
606 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
607 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
608
609 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
610 wxListItem item;
611 item.SetMask( wxLIST_MASK_STATE |
612 wxLIST_MASK_TEXT |
613 wxLIST_MASK_IMAGE |
614 wxLIST_MASK_DATA |
615 wxLIST_SET_ITEM |
616 wxLIST_MASK_WIDTH |
617 wxLIST_MASK_FORMAT
618 );
619 if (self->GetColumn(col, item))
620 return new wxListItem(item);
621 else
622 return NULL;
623 }
624 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
625 wxListItem* info = new wxListItem;
626 info->m_itemId = itemId;
627 info->m_col = col;
628 info->m_mask = 0xFFFF;
629 self->GetItem(*info);
630 return info;
631 }
632 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
633 wxPoint pos;
634 self->GetItemPosition(item, pos);
635 return pos;
636 }
637 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
638 wxRect rect;
639 self->GetItemRect(item, rect, code);
640 return rect;
641 }
642 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
643 if (!PyCallable_Check(func))
644 return False;
645 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
646 }
647 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
648
649
650
651 return (wxWindow*)self->m_mainWin;
652
653 }
654
655 #include <wx/treectrl.h>
656 #include "wx/wxPython/pytree.h"
657
658 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
659 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
660 if (!other) return False;
661 return *self == *other;
662 }
663 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
664 if (!other) return True;
665 return *self != *other;
666 }
667 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
668 // C++ version of Python aware wxTreeCtrl
669 class wxPyTreeCtrl : public wxTreeCtrl {
670 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
671 public:
672 wxPyTreeCtrl() : wxTreeCtrl() {}
673 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
674 const wxPoint& pos,
675 const wxSize& size,
676 long style,
677 const wxValidator& validator,
678 const wxString& name) :
679 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
680
681 bool Create(wxWindow *parent, wxWindowID id,
682 const wxPoint& pos,
683 const wxSize& size,
684 long style,
685 const wxValidator& validator,
686 const wxString& name) {
687 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
688 }
689
690
691 int OnCompareItems(const wxTreeItemId& item1,
692 const wxTreeItemId& item2) {
693 int rval = 0;
694 bool found;
695 wxPyBeginBlockThreads();
696 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
697 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
698 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
699 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
700 Py_DECREF(o1);
701 Py_DECREF(o2);
702 }
703 wxPyEndBlockThreads();
704 if (! found)
705 rval = wxTreeCtrl::OnCompareItems(item1, item2);
706 return rval;
707 }
708 PYPRIVATE;
709 };
710
711 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
712
713
714
715 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
716
717
718 SWIGSTATIC(unsigned int)
719 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
720 {
721 return numeric_cast(unsigned int,
722 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
723 }
724
725 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(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;
733 }
734 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
735 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
736 if (data == NULL) {
737 data = new wxPyTreeItemData();
738 data->SetId(item); // set the id
739 self->SetItemData(item, data);
740 }
741 return data->GetData();
742 }
743 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
744 data->SetId(item); // set the id
745 self->SetItemData(item, data);
746 }
747 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
748 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
749 if (data == NULL) {
750 data = new wxPyTreeItemData(obj);
751 data->SetId(item); // set the id
752 self->SetItemData(item, data);
753 } else
754 data->SetData(obj);
755 }
756 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
757 wxPyBeginBlockThreads();
758 PyObject* rval = PyList_New(0);
759 wxArrayTreeItemIds array;
760 size_t num, x;
761 num = self->GetSelections(array);
762 for (x=0; x < num; x++) {
763 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
764 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
765 PyList_Append(rval, item);
766 }
767 wxPyEndBlockThreads();
768 return rval;
769 }
770 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
771 void* cookie = 0;
772 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(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_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
781 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
782 wxPyBeginBlockThreads();
783 PyObject* tup = PyTuple_New(2);
784 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
785 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
786 wxPyEndBlockThreads();
787 return tup;
788 }
789 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
790 wxRect rect;
791 if (self->GetBoundingRect(item, rect, textOnly)) {
792 wxPyBeginBlockThreads();
793 wxRect* r = new wxRect(rect);
794 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
795 wxPyEndBlockThreads();
796 return val;
797 }
798 else
799 RETURN_NONE();
800 }
801 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
802 // C++ version of Python aware wxControl
803 class wxPyControl : public wxControl
804 {
805 DECLARE_DYNAMIC_CLASS(wxPyControl)
806 public:
807 wxPyControl() : wxControl() {}
808 wxPyControl(wxWindow* parent, const wxWindowID id,
809 const wxPoint& pos = wxDefaultPosition,
810 const wxSize& size = wxDefaultSize,
811 long style = 0,
812 const wxValidator& validator=wxDefaultValidator,
813 const wxString& name = wxPyControlNameStr)
814 : wxControl(parent, id, pos, size, style, validator, name) {}
815
816
817 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
818 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
819 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
820 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
821
822 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
823 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
824 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
825
826 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
827 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
828
829 DEC_PYCALLBACK__(InitDialog);
830 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
831 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
832 DEC_PYCALLBACK_BOOL_(Validate);
833
834 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
835 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
836 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
837
838 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
839 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
840
841 PYPRIVATE;
842 };
843
844 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
845
846 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
847 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
848 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
849 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
850
851 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
852 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
853 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
854
855 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
856 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
857
858 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
859 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
860 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
861 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
862
863 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
864 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
865 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
866
867 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
868 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
869
870
871
872
873 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
874
875 #include <wx/generic/dragimgg.h>
876
877 #ifdef __cplusplus
878 extern "C" {
879 #endif
880 static int _wrap_ButtonNameStr_set(PyObject *_val) {
881 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
882 return 1;
883 }
884
885
886 static PyObject *_wrap_ButtonNameStr_get() {
887 PyObject *pyobj;
888
889 {
890 #if wxUSE_UNICODE
891 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
892 #else
893 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
894 #endif
895 }
896 return pyobj;
897 }
898
899
900 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject *resultobj;
902 wxWindow *arg1 = (wxWindow *) 0 ;
903 int arg2 ;
904 wxString *arg3 = 0 ;
905 wxPoint const &arg4_defvalue = wxDefaultPosition ;
906 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
907 wxSize const &arg5_defvalue = wxDefaultSize ;
908 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
909 long arg6 = (long) 0 ;
910 wxValidator const &arg7_defvalue = wxDefaultValidator ;
911 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
912 wxString const &arg8_defvalue = wxPyButtonNameStr ;
913 wxString *arg8 = (wxString *) &arg8_defvalue ;
914 wxButton *result;
915 bool temp3 = False ;
916 wxPoint temp4 ;
917 wxSize temp5 ;
918 bool temp8 = False ;
919 PyObject * obj0 = 0 ;
920 PyObject * obj1 = 0 ;
921 PyObject * obj2 = 0 ;
922 PyObject * obj3 = 0 ;
923 PyObject * obj4 = 0 ;
924 PyObject * obj5 = 0 ;
925 PyObject * obj6 = 0 ;
926 PyObject * obj7 = 0 ;
927 char *kwnames[] = {
928 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
929 };
930
931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
933 {
934 arg2 = (int) SWIG_PyObj_AsInt(obj1);
935 if (PyErr_Occurred()) SWIG_fail;
936 }
937 {
938 arg3 = wxString_in_helper(obj2);
939 if (arg3 == NULL) SWIG_fail;
940 temp3 = True;
941 }
942 if (obj3) {
943 {
944 arg4 = &temp4;
945 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
946 }
947 }
948 if (obj4) {
949 {
950 arg5 = &temp5;
951 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
952 }
953 }
954 if (obj5) {
955 {
956 arg6 = (long) SWIG_PyObj_AsLong(obj5);
957 if (PyErr_Occurred()) SWIG_fail;
958 }
959 }
960 if (obj6) {
961 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
962 if (arg7 == NULL) {
963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
964 }
965 }
966 if (obj7) {
967 {
968 arg8 = wxString_in_helper(obj7);
969 if (arg8 == NULL) SWIG_fail;
970 temp8 = True;
971 }
972 }
973 {
974 PyThreadState* __tstate = wxPyBeginAllowThreads();
975 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
976
977 wxPyEndAllowThreads(__tstate);
978 if (PyErr_Occurred()) SWIG_fail;
979 }
980 {
981 resultobj = wxPyMake_wxObject(result);
982 }
983 {
984 if (temp3)
985 delete arg3;
986 }
987 {
988 if (temp8)
989 delete arg8;
990 }
991 return resultobj;
992 fail:
993 {
994 if (temp3)
995 delete arg3;
996 }
997 {
998 if (temp8)
999 delete arg8;
1000 }
1001 return NULL;
1002 }
1003
1004
1005 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1006 PyObject *resultobj;
1007 wxButton *result;
1008 char *kwnames[] = {
1009 NULL
1010 };
1011
1012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1013 {
1014 PyThreadState* __tstate = wxPyBeginAllowThreads();
1015 result = (wxButton *)new wxButton();
1016
1017 wxPyEndAllowThreads(__tstate);
1018 if (PyErr_Occurred()) SWIG_fail;
1019 }
1020 {
1021 resultobj = wxPyMake_wxObject(result);
1022 }
1023 return resultobj;
1024 fail:
1025 return NULL;
1026 }
1027
1028
1029 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1030 PyObject *resultobj;
1031 wxButton *arg1 = (wxButton *) 0 ;
1032 wxWindow *arg2 = (wxWindow *) 0 ;
1033 int arg3 ;
1034 wxString *arg4 = 0 ;
1035 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1036 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1037 wxSize const &arg6_defvalue = wxDefaultSize ;
1038 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1039 long arg7 = (long) 0 ;
1040 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1041 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1042 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1043 wxString *arg9 = (wxString *) &arg9_defvalue ;
1044 bool result;
1045 bool temp4 = False ;
1046 wxPoint temp5 ;
1047 wxSize temp6 ;
1048 bool temp9 = False ;
1049 PyObject * obj0 = 0 ;
1050 PyObject * obj1 = 0 ;
1051 PyObject * obj2 = 0 ;
1052 PyObject * obj3 = 0 ;
1053 PyObject * obj4 = 0 ;
1054 PyObject * obj5 = 0 ;
1055 PyObject * obj6 = 0 ;
1056 PyObject * obj7 = 0 ;
1057 PyObject * obj8 = 0 ;
1058 char *kwnames[] = {
1059 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1060 };
1061
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1065 {
1066 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1067 if (PyErr_Occurred()) SWIG_fail;
1068 }
1069 {
1070 arg4 = wxString_in_helper(obj3);
1071 if (arg4 == NULL) SWIG_fail;
1072 temp4 = True;
1073 }
1074 if (obj4) {
1075 {
1076 arg5 = &temp5;
1077 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1078 }
1079 }
1080 if (obj5) {
1081 {
1082 arg6 = &temp6;
1083 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1084 }
1085 }
1086 if (obj6) {
1087 {
1088 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1089 if (PyErr_Occurred()) SWIG_fail;
1090 }
1091 }
1092 if (obj7) {
1093 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1094 if (arg8 == NULL) {
1095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1096 }
1097 }
1098 if (obj8) {
1099 {
1100 arg9 = wxString_in_helper(obj8);
1101 if (arg9 == NULL) SWIG_fail;
1102 temp9 = True;
1103 }
1104 }
1105 {
1106 PyThreadState* __tstate = wxPyBeginAllowThreads();
1107 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1108
1109 wxPyEndAllowThreads(__tstate);
1110 if (PyErr_Occurred()) SWIG_fail;
1111 }
1112 resultobj = SWIG_PyObj_FromBool((bool)result);
1113 {
1114 if (temp4)
1115 delete arg4;
1116 }
1117 {
1118 if (temp9)
1119 delete arg9;
1120 }
1121 return resultobj;
1122 fail:
1123 {
1124 if (temp4)
1125 delete arg4;
1126 }
1127 {
1128 if (temp9)
1129 delete arg9;
1130 }
1131 return NULL;
1132 }
1133
1134
1135 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1136 PyObject *resultobj;
1137 wxButton *arg1 = (wxButton *) 0 ;
1138 PyObject * obj0 = 0 ;
1139 char *kwnames[] = {
1140 (char *) "self", NULL
1141 };
1142
1143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1145 {
1146 PyThreadState* __tstate = wxPyBeginAllowThreads();
1147 (arg1)->SetDefault();
1148
1149 wxPyEndAllowThreads(__tstate);
1150 if (PyErr_Occurred()) SWIG_fail;
1151 }
1152 Py_INCREF(Py_None); resultobj = Py_None;
1153 return resultobj;
1154 fail:
1155 return NULL;
1156 }
1157
1158
1159 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1160 PyObject *resultobj;
1161 wxSize result;
1162 char *kwnames[] = {
1163 NULL
1164 };
1165
1166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 result = wxButton::GetDefaultSize();
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 {
1175 wxSize * resultptr;
1176 resultptr = new wxSize((wxSize &) result);
1177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1178 }
1179 return resultobj;
1180 fail:
1181 return NULL;
1182 }
1183
1184
1185 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1186 PyObject *obj;
1187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1188 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1189 Py_INCREF(obj);
1190 return Py_BuildValue((char *)"");
1191 }
1192 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1193 PyObject *resultobj;
1194 wxWindow *arg1 = (wxWindow *) 0 ;
1195 int arg2 ;
1196 wxBitmap *arg3 = 0 ;
1197 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1198 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1199 wxSize const &arg5_defvalue = wxDefaultSize ;
1200 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1201 long arg6 = (long) wxBU_AUTODRAW ;
1202 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1203 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1204 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1205 wxString *arg8 = (wxString *) &arg8_defvalue ;
1206 wxBitmapButton *result;
1207 wxPoint temp4 ;
1208 wxSize temp5 ;
1209 bool temp8 = False ;
1210 PyObject * obj0 = 0 ;
1211 PyObject * obj1 = 0 ;
1212 PyObject * obj2 = 0 ;
1213 PyObject * obj3 = 0 ;
1214 PyObject * obj4 = 0 ;
1215 PyObject * obj5 = 0 ;
1216 PyObject * obj6 = 0 ;
1217 PyObject * obj7 = 0 ;
1218 char *kwnames[] = {
1219 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1220 };
1221
1222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1224 {
1225 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1226 if (PyErr_Occurred()) SWIG_fail;
1227 }
1228 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1229 if (arg3 == NULL) {
1230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1231 }
1232 if (obj3) {
1233 {
1234 arg4 = &temp4;
1235 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1236 }
1237 }
1238 if (obj4) {
1239 {
1240 arg5 = &temp5;
1241 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1242 }
1243 }
1244 if (obj5) {
1245 {
1246 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1247 if (PyErr_Occurred()) SWIG_fail;
1248 }
1249 }
1250 if (obj6) {
1251 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1252 if (arg7 == NULL) {
1253 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1254 }
1255 }
1256 if (obj7) {
1257 {
1258 arg8 = wxString_in_helper(obj7);
1259 if (arg8 == NULL) SWIG_fail;
1260 temp8 = True;
1261 }
1262 }
1263 {
1264 PyThreadState* __tstate = wxPyBeginAllowThreads();
1265 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1266
1267 wxPyEndAllowThreads(__tstate);
1268 if (PyErr_Occurred()) SWIG_fail;
1269 }
1270 {
1271 resultobj = wxPyMake_wxObject(result);
1272 }
1273 {
1274 if (temp8)
1275 delete arg8;
1276 }
1277 return resultobj;
1278 fail:
1279 {
1280 if (temp8)
1281 delete arg8;
1282 }
1283 return NULL;
1284 }
1285
1286
1287 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1288 PyObject *resultobj;
1289 wxBitmapButton *result;
1290 char *kwnames[] = {
1291 NULL
1292 };
1293
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1295 {
1296 PyThreadState* __tstate = wxPyBeginAllowThreads();
1297 result = (wxBitmapButton *)new wxBitmapButton();
1298
1299 wxPyEndAllowThreads(__tstate);
1300 if (PyErr_Occurred()) SWIG_fail;
1301 }
1302 {
1303 resultobj = wxPyMake_wxObject(result);
1304 }
1305 return resultobj;
1306 fail:
1307 return NULL;
1308 }
1309
1310
1311 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject *resultobj;
1313 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1314 wxWindow *arg2 = (wxWindow *) 0 ;
1315 int arg3 ;
1316 wxBitmap *arg4 = 0 ;
1317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1319 wxSize const &arg6_defvalue = wxDefaultSize ;
1320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1321 long arg7 = (long) wxBU_AUTODRAW ;
1322 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1323 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1324 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1325 wxString *arg9 = (wxString *) &arg9_defvalue ;
1326 bool result;
1327 wxPoint temp5 ;
1328 wxSize temp6 ;
1329 bool temp9 = False ;
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj1 = 0 ;
1332 PyObject * obj2 = 0 ;
1333 PyObject * obj3 = 0 ;
1334 PyObject * obj4 = 0 ;
1335 PyObject * obj5 = 0 ;
1336 PyObject * obj6 = 0 ;
1337 PyObject * obj7 = 0 ;
1338 PyObject * obj8 = 0 ;
1339 char *kwnames[] = {
1340 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1341 };
1342
1343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1346 {
1347 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1348 if (PyErr_Occurred()) SWIG_fail;
1349 }
1350 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1351 if (arg4 == NULL) {
1352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1353 }
1354 if (obj4) {
1355 {
1356 arg5 = &temp5;
1357 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1358 }
1359 }
1360 if (obj5) {
1361 {
1362 arg6 = &temp6;
1363 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1364 }
1365 }
1366 if (obj6) {
1367 {
1368 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 }
1372 if (obj7) {
1373 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1374 if (arg8 == NULL) {
1375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1376 }
1377 }
1378 if (obj8) {
1379 {
1380 arg9 = wxString_in_helper(obj8);
1381 if (arg9 == NULL) SWIG_fail;
1382 temp9 = True;
1383 }
1384 }
1385 {
1386 PyThreadState* __tstate = wxPyBeginAllowThreads();
1387 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1388
1389 wxPyEndAllowThreads(__tstate);
1390 if (PyErr_Occurred()) SWIG_fail;
1391 }
1392 resultobj = SWIG_PyObj_FromBool((bool)result);
1393 {
1394 if (temp9)
1395 delete arg9;
1396 }
1397 return resultobj;
1398 fail:
1399 {
1400 if (temp9)
1401 delete arg9;
1402 }
1403 return NULL;
1404 }
1405
1406
1407 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject *resultobj;
1409 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1410 wxBitmap result;
1411 PyObject * obj0 = 0 ;
1412 char *kwnames[] = {
1413 (char *) "self", NULL
1414 };
1415
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1418 {
1419 PyThreadState* __tstate = wxPyBeginAllowThreads();
1420 result = (arg1)->GetBitmapLabel();
1421
1422 wxPyEndAllowThreads(__tstate);
1423 if (PyErr_Occurred()) SWIG_fail;
1424 }
1425 {
1426 wxBitmap * resultptr;
1427 resultptr = new wxBitmap((wxBitmap &) result);
1428 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1429 }
1430 return resultobj;
1431 fail:
1432 return NULL;
1433 }
1434
1435
1436 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1437 PyObject *resultobj;
1438 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1439 wxBitmap result;
1440 PyObject * obj0 = 0 ;
1441 char *kwnames[] = {
1442 (char *) "self", NULL
1443 };
1444
1445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1447 {
1448 PyThreadState* __tstate = wxPyBeginAllowThreads();
1449 result = (arg1)->GetBitmapDisabled();
1450
1451 wxPyEndAllowThreads(__tstate);
1452 if (PyErr_Occurred()) SWIG_fail;
1453 }
1454 {
1455 wxBitmap * resultptr;
1456 resultptr = new wxBitmap((wxBitmap &) result);
1457 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1458 }
1459 return resultobj;
1460 fail:
1461 return NULL;
1462 }
1463
1464
1465 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1466 PyObject *resultobj;
1467 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1468 wxBitmap result;
1469 PyObject * obj0 = 0 ;
1470 char *kwnames[] = {
1471 (char *) "self", NULL
1472 };
1473
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 result = (arg1)->GetBitmapFocus();
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 {
1484 wxBitmap * resultptr;
1485 resultptr = new wxBitmap((wxBitmap &) result);
1486 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1487 }
1488 return resultobj;
1489 fail:
1490 return NULL;
1491 }
1492
1493
1494 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1495 PyObject *resultobj;
1496 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1497 wxBitmap result;
1498 PyObject * obj0 = 0 ;
1499 char *kwnames[] = {
1500 (char *) "self", NULL
1501 };
1502
1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1505 {
1506 PyThreadState* __tstate = wxPyBeginAllowThreads();
1507 result = (arg1)->GetBitmapSelected();
1508
1509 wxPyEndAllowThreads(__tstate);
1510 if (PyErr_Occurred()) SWIG_fail;
1511 }
1512 {
1513 wxBitmap * resultptr;
1514 resultptr = new wxBitmap((wxBitmap &) result);
1515 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1516 }
1517 return resultobj;
1518 fail:
1519 return NULL;
1520 }
1521
1522
1523 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1526 wxBitmap *arg2 = 0 ;
1527 PyObject * obj0 = 0 ;
1528 PyObject * obj1 = 0 ;
1529 char *kwnames[] = {
1530 (char *) "self",(char *) "bitmap", NULL
1531 };
1532
1533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1536 if (arg2 == NULL) {
1537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1538 }
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 Py_INCREF(Py_None); resultobj = Py_None;
1547 return resultobj;
1548 fail:
1549 return NULL;
1550 }
1551
1552
1553 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1556 wxBitmap *arg2 = 0 ;
1557 PyObject * obj0 = 0 ;
1558 PyObject * obj1 = 0 ;
1559 char *kwnames[] = {
1560 (char *) "self",(char *) "bitmap", NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1566 if (arg2 == NULL) {
1567 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1568 }
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 Py_INCREF(Py_None); resultobj = Py_None;
1577 return resultobj;
1578 fail:
1579 return NULL;
1580 }
1581
1582
1583 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject *resultobj;
1585 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1586 wxBitmap *arg2 = 0 ;
1587 PyObject * obj0 = 0 ;
1588 PyObject * obj1 = 0 ;
1589 char *kwnames[] = {
1590 (char *) "self",(char *) "bitmap", NULL
1591 };
1592
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1596 if (arg2 == NULL) {
1597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1598 }
1599 {
1600 PyThreadState* __tstate = wxPyBeginAllowThreads();
1601 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1602
1603 wxPyEndAllowThreads(__tstate);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 Py_INCREF(Py_None); resultobj = Py_None;
1607 return resultobj;
1608 fail:
1609 return NULL;
1610 }
1611
1612
1613 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1614 PyObject *resultobj;
1615 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1616 wxBitmap *arg2 = 0 ;
1617 PyObject * obj0 = 0 ;
1618 PyObject * obj1 = 0 ;
1619 char *kwnames[] = {
1620 (char *) "self",(char *) "bitmap", NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1626 if (arg2 == NULL) {
1627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1628 }
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 Py_INCREF(Py_None); resultobj = Py_None;
1637 return resultobj;
1638 fail:
1639 return NULL;
1640 }
1641
1642
1643 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1644 PyObject *resultobj;
1645 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1646 int arg2 ;
1647 int arg3 ;
1648 PyObject * obj0 = 0 ;
1649 PyObject * obj1 = 0 ;
1650 PyObject * obj2 = 0 ;
1651 char *kwnames[] = {
1652 (char *) "self",(char *) "x",(char *) "y", NULL
1653 };
1654
1655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1657 {
1658 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
1661 {
1662 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1663 if (PyErr_Occurred()) SWIG_fail;
1664 }
1665 {
1666 PyThreadState* __tstate = wxPyBeginAllowThreads();
1667 (arg1)->SetMargins(arg2,arg3);
1668
1669 wxPyEndAllowThreads(__tstate);
1670 if (PyErr_Occurred()) SWIG_fail;
1671 }
1672 Py_INCREF(Py_None); resultobj = Py_None;
1673 return resultobj;
1674 fail:
1675 return NULL;
1676 }
1677
1678
1679 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1680 PyObject *resultobj;
1681 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1682 int result;
1683 PyObject * obj0 = 0 ;
1684 char *kwnames[] = {
1685 (char *) "self", NULL
1686 };
1687
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1690 {
1691 PyThreadState* __tstate = wxPyBeginAllowThreads();
1692 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1693
1694 wxPyEndAllowThreads(__tstate);
1695 if (PyErr_Occurred()) SWIG_fail;
1696 }
1697 resultobj = SWIG_PyObj_FromInt((int)result);
1698 return resultobj;
1699 fail:
1700 return NULL;
1701 }
1702
1703
1704 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1705 PyObject *resultobj;
1706 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1707 int result;
1708 PyObject * obj0 = 0 ;
1709 char *kwnames[] = {
1710 (char *) "self", NULL
1711 };
1712
1713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1715 {
1716 PyThreadState* __tstate = wxPyBeginAllowThreads();
1717 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1718
1719 wxPyEndAllowThreads(__tstate);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 }
1722 resultobj = SWIG_PyObj_FromInt((int)result);
1723 return resultobj;
1724 fail:
1725 return NULL;
1726 }
1727
1728
1729 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1730 PyObject *obj;
1731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1732 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1733 Py_INCREF(obj);
1734 return Py_BuildValue((char *)"");
1735 }
1736 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1737 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1738 return 1;
1739 }
1740
1741
1742 static PyObject *_wrap_CheckBoxNameStr_get() {
1743 PyObject *pyobj;
1744
1745 {
1746 #if wxUSE_UNICODE
1747 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1748 #else
1749 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1750 #endif
1751 }
1752 return pyobj;
1753 }
1754
1755
1756 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1757 PyObject *resultobj;
1758 wxWindow *arg1 = (wxWindow *) 0 ;
1759 int arg2 ;
1760 wxString *arg3 = 0 ;
1761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1763 wxSize const &arg5_defvalue = wxDefaultSize ;
1764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1765 long arg6 = (long) 0 ;
1766 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1767 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1768 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1769 wxString *arg8 = (wxString *) &arg8_defvalue ;
1770 wxCheckBox *result;
1771 bool temp3 = False ;
1772 wxPoint temp4 ;
1773 wxSize temp5 ;
1774 bool temp8 = False ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 PyObject * obj2 = 0 ;
1778 PyObject * obj3 = 0 ;
1779 PyObject * obj4 = 0 ;
1780 PyObject * obj5 = 0 ;
1781 PyObject * obj6 = 0 ;
1782 PyObject * obj7 = 0 ;
1783 char *kwnames[] = {
1784 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1785 };
1786
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1789 {
1790 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1791 if (PyErr_Occurred()) SWIG_fail;
1792 }
1793 {
1794 arg3 = wxString_in_helper(obj2);
1795 if (arg3 == NULL) SWIG_fail;
1796 temp3 = True;
1797 }
1798 if (obj3) {
1799 {
1800 arg4 = &temp4;
1801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1802 }
1803 }
1804 if (obj4) {
1805 {
1806 arg5 = &temp5;
1807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1808 }
1809 }
1810 if (obj5) {
1811 {
1812 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 }
1816 if (obj6) {
1817 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1818 if (arg7 == NULL) {
1819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1820 }
1821 }
1822 if (obj7) {
1823 {
1824 arg8 = wxString_in_helper(obj7);
1825 if (arg8 == NULL) SWIG_fail;
1826 temp8 = True;
1827 }
1828 }
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1837 {
1838 if (temp3)
1839 delete arg3;
1840 }
1841 {
1842 if (temp8)
1843 delete arg8;
1844 }
1845 return resultobj;
1846 fail:
1847 {
1848 if (temp3)
1849 delete arg3;
1850 }
1851 {
1852 if (temp8)
1853 delete arg8;
1854 }
1855 return NULL;
1856 }
1857
1858
1859 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1860 PyObject *resultobj;
1861 wxCheckBox *result;
1862 char *kwnames[] = {
1863 NULL
1864 };
1865
1866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1867 {
1868 PyThreadState* __tstate = wxPyBeginAllowThreads();
1869 result = (wxCheckBox *)new wxCheckBox();
1870
1871 wxPyEndAllowThreads(__tstate);
1872 if (PyErr_Occurred()) SWIG_fail;
1873 }
1874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1875 return resultobj;
1876 fail:
1877 return NULL;
1878 }
1879
1880
1881 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1884 wxWindow *arg2 = (wxWindow *) 0 ;
1885 int arg3 ;
1886 wxString *arg4 = 0 ;
1887 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1888 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1889 wxSize const &arg6_defvalue = wxDefaultSize ;
1890 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1891 long arg7 = (long) 0 ;
1892 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1893 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1894 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1895 wxString *arg9 = (wxString *) &arg9_defvalue ;
1896 bool result;
1897 bool temp4 = False ;
1898 wxPoint temp5 ;
1899 wxSize temp6 ;
1900 bool temp9 = False ;
1901 PyObject * obj0 = 0 ;
1902 PyObject * obj1 = 0 ;
1903 PyObject * obj2 = 0 ;
1904 PyObject * obj3 = 0 ;
1905 PyObject * obj4 = 0 ;
1906 PyObject * obj5 = 0 ;
1907 PyObject * obj6 = 0 ;
1908 PyObject * obj7 = 0 ;
1909 PyObject * obj8 = 0 ;
1910 char *kwnames[] = {
1911 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1912 };
1913
1914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1917 {
1918 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 {
1922 arg4 = wxString_in_helper(obj3);
1923 if (arg4 == NULL) SWIG_fail;
1924 temp4 = True;
1925 }
1926 if (obj4) {
1927 {
1928 arg5 = &temp5;
1929 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1930 }
1931 }
1932 if (obj5) {
1933 {
1934 arg6 = &temp6;
1935 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1936 }
1937 }
1938 if (obj6) {
1939 {
1940 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 }
1944 if (obj7) {
1945 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1946 if (arg8 == NULL) {
1947 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1948 }
1949 }
1950 if (obj8) {
1951 {
1952 arg9 = wxString_in_helper(obj8);
1953 if (arg9 == NULL) SWIG_fail;
1954 temp9 = True;
1955 }
1956 }
1957 {
1958 PyThreadState* __tstate = wxPyBeginAllowThreads();
1959 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1960
1961 wxPyEndAllowThreads(__tstate);
1962 if (PyErr_Occurred()) SWIG_fail;
1963 }
1964 resultobj = SWIG_PyObj_FromBool((bool)result);
1965 {
1966 if (temp4)
1967 delete arg4;
1968 }
1969 {
1970 if (temp9)
1971 delete arg9;
1972 }
1973 return resultobj;
1974 fail:
1975 {
1976 if (temp4)
1977 delete arg4;
1978 }
1979 {
1980 if (temp9)
1981 delete arg9;
1982 }
1983 return NULL;
1984 }
1985
1986
1987 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1988 PyObject *resultobj;
1989 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1990 bool result;
1991 PyObject * obj0 = 0 ;
1992 char *kwnames[] = {
1993 (char *) "self", NULL
1994 };
1995
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
2000 result = (bool)(arg1)->GetValue();
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
2005 resultobj = SWIG_PyObj_FromBool((bool)result);
2006 return resultobj;
2007 fail:
2008 return NULL;
2009 }
2010
2011
2012 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2013 PyObject *resultobj;
2014 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2015 bool result;
2016 PyObject * obj0 = 0 ;
2017 char *kwnames[] = {
2018 (char *) "self", NULL
2019 };
2020
2021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2023 {
2024 PyThreadState* __tstate = wxPyBeginAllowThreads();
2025 result = (bool)(arg1)->IsChecked();
2026
2027 wxPyEndAllowThreads(__tstate);
2028 if (PyErr_Occurred()) SWIG_fail;
2029 }
2030 resultobj = SWIG_PyObj_FromBool((bool)result);
2031 return resultobj;
2032 fail:
2033 return NULL;
2034 }
2035
2036
2037 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2038 PyObject *resultobj;
2039 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2040 bool arg2 ;
2041 PyObject * obj0 = 0 ;
2042 PyObject * obj1 = 0 ;
2043 char *kwnames[] = {
2044 (char *) "self",(char *) "state", NULL
2045 };
2046
2047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2049 {
2050 arg2 = (bool const) SWIG_PyObj_AsBool(obj1);
2051 if (PyErr_Occurred()) SWIG_fail;
2052 }
2053 {
2054 PyThreadState* __tstate = wxPyBeginAllowThreads();
2055 (arg1)->SetValue(arg2);
2056
2057 wxPyEndAllowThreads(__tstate);
2058 if (PyErr_Occurred()) SWIG_fail;
2059 }
2060 Py_INCREF(Py_None); resultobj = Py_None;
2061 return resultobj;
2062 fail:
2063 return NULL;
2064 }
2065
2066
2067 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject *resultobj;
2069 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2070 int result;
2071 PyObject * obj0 = 0 ;
2072 char *kwnames[] = {
2073 (char *) "self", NULL
2074 };
2075
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2078 {
2079 PyThreadState* __tstate = wxPyBeginAllowThreads();
2080 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2081
2082 wxPyEndAllowThreads(__tstate);
2083 if (PyErr_Occurred()) SWIG_fail;
2084 }
2085 resultobj = SWIG_PyObj_FromInt((int)result);
2086 return resultobj;
2087 fail:
2088 return NULL;
2089 }
2090
2091
2092 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2093 PyObject *resultobj;
2094 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2095 int arg2 ;
2096 PyObject * obj0 = 0 ;
2097 PyObject * obj1 = 0 ;
2098 char *kwnames[] = {
2099 (char *) "self",(char *) "state", NULL
2100 };
2101
2102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2104 {
2105 arg2 = (wxCheckBoxState) SWIG_PyObj_AsInt(obj1);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 Py_INCREF(Py_None); resultobj = Py_None;
2116 return resultobj;
2117 fail:
2118 return NULL;
2119 }
2120
2121
2122 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject *resultobj;
2124 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2125 bool result;
2126 PyObject * obj0 = 0 ;
2127 char *kwnames[] = {
2128 (char *) "self", NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 resultobj = SWIG_PyObj_FromBool((bool)result);
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2150 bool result;
2151 PyObject * obj0 = 0 ;
2152 char *kwnames[] = {
2153 (char *) "self", NULL
2154 };
2155
2156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2158 {
2159 PyThreadState* __tstate = wxPyBeginAllowThreads();
2160 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2161
2162 wxPyEndAllowThreads(__tstate);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 resultobj = SWIG_PyObj_FromBool((bool)result);
2166 return resultobj;
2167 fail:
2168 return NULL;
2169 }
2170
2171
2172 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2173 PyObject *obj;
2174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2175 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2176 Py_INCREF(obj);
2177 return Py_BuildValue((char *)"");
2178 }
2179 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2180 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2181 return 1;
2182 }
2183
2184
2185 static PyObject *_wrap_ChoiceNameStr_get() {
2186 PyObject *pyobj;
2187
2188 {
2189 #if wxUSE_UNICODE
2190 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2191 #else
2192 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2193 #endif
2194 }
2195 return pyobj;
2196 }
2197
2198
2199 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2200 PyObject *resultobj;
2201 wxWindow *arg1 = (wxWindow *) 0 ;
2202 int arg2 ;
2203 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2204 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2205 wxSize const &arg4_defvalue = wxDefaultSize ;
2206 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2207 int arg5 = (int) 0 ;
2208 wxString *arg6 = (wxString *) NULL ;
2209 long arg7 = (long) 0 ;
2210 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2211 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2212 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2213 wxString *arg9 = (wxString *) &arg9_defvalue ;
2214 wxChoice *result;
2215 wxPoint temp3 ;
2216 wxSize temp4 ;
2217 bool temp8 = False ;
2218 PyObject * obj0 = 0 ;
2219 PyObject * obj1 = 0 ;
2220 PyObject * obj2 = 0 ;
2221 PyObject * obj3 = 0 ;
2222 PyObject * obj4 = 0 ;
2223 PyObject * obj5 = 0 ;
2224 PyObject * obj6 = 0 ;
2225 PyObject * obj7 = 0 ;
2226 char *kwnames[] = {
2227 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2232 {
2233 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 if (obj2) {
2237 {
2238 arg3 = &temp3;
2239 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2240 }
2241 }
2242 if (obj3) {
2243 {
2244 arg4 = &temp4;
2245 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2246 }
2247 }
2248 if (obj4) {
2249 {
2250 arg5 = PyList_Size(obj4);
2251 arg6 = wxString_LIST_helper(obj4);
2252 if (arg6 == NULL) SWIG_fail;
2253 }
2254 }
2255 if (obj5) {
2256 {
2257 arg7 = (long) SWIG_PyObj_AsLong(obj5);
2258 if (PyErr_Occurred()) SWIG_fail;
2259 }
2260 }
2261 if (obj6) {
2262 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2263 if (arg8 == NULL) {
2264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2265 }
2266 }
2267 if (obj7) {
2268 {
2269 arg9 = wxString_in_helper(obj7);
2270 if (arg9 == NULL) SWIG_fail;
2271 temp8 = True;
2272 }
2273 }
2274 {
2275 PyThreadState* __tstate = wxPyBeginAllowThreads();
2276 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2277
2278 wxPyEndAllowThreads(__tstate);
2279 if (PyErr_Occurred()) SWIG_fail;
2280 }
2281 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2282 {
2283 if (arg6) delete [] arg6;
2284 }
2285 {
2286 if (temp8)
2287 delete arg9;
2288 }
2289 return resultobj;
2290 fail:
2291 {
2292 if (arg6) delete [] arg6;
2293 }
2294 {
2295 if (temp8)
2296 delete arg9;
2297 }
2298 return NULL;
2299 }
2300
2301
2302 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxChoice *result;
2305 char *kwnames[] = {
2306 NULL
2307 };
2308
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 result = (wxChoice *)new wxChoice();
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2318 return resultobj;
2319 fail:
2320 return NULL;
2321 }
2322
2323
2324 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2325 PyObject *resultobj;
2326 wxChoice *arg1 = (wxChoice *) 0 ;
2327 wxWindow *arg2 = (wxWindow *) 0 ;
2328 int arg3 ;
2329 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2330 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2331 wxSize const &arg5_defvalue = wxDefaultSize ;
2332 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2333 int arg6 = (int) 0 ;
2334 wxString *arg7 = (wxString *) NULL ;
2335 long arg8 = (long) 0 ;
2336 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2337 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2338 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2339 wxString *arg10 = (wxString *) &arg10_defvalue ;
2340 bool result;
2341 wxPoint temp4 ;
2342 wxSize temp5 ;
2343 bool temp9 = False ;
2344 PyObject * obj0 = 0 ;
2345 PyObject * obj1 = 0 ;
2346 PyObject * obj2 = 0 ;
2347 PyObject * obj3 = 0 ;
2348 PyObject * obj4 = 0 ;
2349 PyObject * obj5 = 0 ;
2350 PyObject * obj6 = 0 ;
2351 PyObject * obj7 = 0 ;
2352 PyObject * obj8 = 0 ;
2353 char *kwnames[] = {
2354 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2355 };
2356
2357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2360 {
2361 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 if (obj3) {
2365 {
2366 arg4 = &temp4;
2367 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2368 }
2369 }
2370 if (obj4) {
2371 {
2372 arg5 = &temp5;
2373 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2374 }
2375 }
2376 if (obj5) {
2377 {
2378 arg6 = PyList_Size(obj5);
2379 arg7 = wxString_LIST_helper(obj5);
2380 if (arg7 == NULL) SWIG_fail;
2381 }
2382 }
2383 if (obj6) {
2384 {
2385 arg8 = (long) SWIG_PyObj_AsLong(obj6);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
2388 }
2389 if (obj7) {
2390 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2391 if (arg9 == NULL) {
2392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2393 }
2394 }
2395 if (obj8) {
2396 {
2397 arg10 = wxString_in_helper(obj8);
2398 if (arg10 == NULL) SWIG_fail;
2399 temp9 = True;
2400 }
2401 }
2402 {
2403 PyThreadState* __tstate = wxPyBeginAllowThreads();
2404 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2405
2406 wxPyEndAllowThreads(__tstate);
2407 if (PyErr_Occurred()) SWIG_fail;
2408 }
2409 resultobj = SWIG_PyObj_FromBool((bool)result);
2410 {
2411 if (arg7) delete [] arg7;
2412 }
2413 {
2414 if (temp9)
2415 delete arg10;
2416 }
2417 return resultobj;
2418 fail:
2419 {
2420 if (arg7) delete [] arg7;
2421 }
2422 {
2423 if (temp9)
2424 delete arg10;
2425 }
2426 return NULL;
2427 }
2428
2429
2430 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2431 PyObject *resultobj;
2432 wxChoice *arg1 = (wxChoice *) 0 ;
2433 int result;
2434 PyObject * obj0 = 0 ;
2435 char *kwnames[] = {
2436 (char *) "self", NULL
2437 };
2438
2439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2441 {
2442 PyThreadState* __tstate = wxPyBeginAllowThreads();
2443 result = (int)(arg1)->GetColumns();
2444
2445 wxPyEndAllowThreads(__tstate);
2446 if (PyErr_Occurred()) SWIG_fail;
2447 }
2448 resultobj = SWIG_PyObj_FromInt((int)result);
2449 return resultobj;
2450 fail:
2451 return NULL;
2452 }
2453
2454
2455 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2456 PyObject *resultobj;
2457 wxChoice *arg1 = (wxChoice *) 0 ;
2458 int arg2 = (int) (int)1 ;
2459 PyObject * obj0 = 0 ;
2460 PyObject * obj1 = 0 ;
2461 char *kwnames[] = {
2462 (char *) "self",(char *) "n", NULL
2463 };
2464
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Choice_SetColumns",kwnames,&obj0,&obj1)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 if (obj1) {
2468 {
2469 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 }
2473 {
2474 PyThreadState* __tstate = wxPyBeginAllowThreads();
2475 (arg1)->SetColumns(arg2);
2476
2477 wxPyEndAllowThreads(__tstate);
2478 if (PyErr_Occurred()) SWIG_fail;
2479 }
2480 Py_INCREF(Py_None); resultobj = Py_None;
2481 return resultobj;
2482 fail:
2483 return NULL;
2484 }
2485
2486
2487 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 wxChoice *arg1 = (wxChoice *) 0 ;
2490 int arg2 ;
2491 PyObject * obj0 = 0 ;
2492 PyObject * obj1 = 0 ;
2493 char *kwnames[] = {
2494 (char *) "self",(char *) "n", NULL
2495 };
2496
2497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2499 {
2500 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 }
2503 {
2504 PyThreadState* __tstate = wxPyBeginAllowThreads();
2505 (arg1)->SetSelection(arg2);
2506
2507 wxPyEndAllowThreads(__tstate);
2508 if (PyErr_Occurred()) SWIG_fail;
2509 }
2510 Py_INCREF(Py_None); resultobj = Py_None;
2511 return resultobj;
2512 fail:
2513 return NULL;
2514 }
2515
2516
2517 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2518 PyObject *resultobj;
2519 wxChoice *arg1 = (wxChoice *) 0 ;
2520 wxString *arg2 = 0 ;
2521 bool temp2 = False ;
2522 PyObject * obj0 = 0 ;
2523 PyObject * obj1 = 0 ;
2524 char *kwnames[] = {
2525 (char *) "self",(char *) "string", NULL
2526 };
2527
2528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2530 {
2531 arg2 = wxString_in_helper(obj1);
2532 if (arg2 == NULL) SWIG_fail;
2533 temp2 = True;
2534 }
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 (arg1)->SetStringSelection((wxString const &)*arg2);
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) SWIG_fail;
2541 }
2542 Py_INCREF(Py_None); resultobj = Py_None;
2543 {
2544 if (temp2)
2545 delete arg2;
2546 }
2547 return resultobj;
2548 fail:
2549 {
2550 if (temp2)
2551 delete arg2;
2552 }
2553 return NULL;
2554 }
2555
2556
2557 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2558 PyObject *resultobj;
2559 wxChoice *arg1 = (wxChoice *) 0 ;
2560 int arg2 ;
2561 wxString *arg3 = 0 ;
2562 bool temp3 = False ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 PyObject * obj2 = 0 ;
2566 char *kwnames[] = {
2567 (char *) "self",(char *) "n",(char *) "s", NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2572 {
2573 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
2576 {
2577 arg3 = wxString_in_helper(obj2);
2578 if (arg3 == NULL) SWIG_fail;
2579 temp3 = True;
2580 }
2581 {
2582 PyThreadState* __tstate = wxPyBeginAllowThreads();
2583 (arg1)->SetString(arg2,(wxString const &)*arg3);
2584
2585 wxPyEndAllowThreads(__tstate);
2586 if (PyErr_Occurred()) SWIG_fail;
2587 }
2588 Py_INCREF(Py_None); resultobj = Py_None;
2589 {
2590 if (temp3)
2591 delete arg3;
2592 }
2593 return resultobj;
2594 fail:
2595 {
2596 if (temp3)
2597 delete arg3;
2598 }
2599 return NULL;
2600 }
2601
2602
2603 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2604 PyObject *obj;
2605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2606 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2607 Py_INCREF(obj);
2608 return Py_BuildValue((char *)"");
2609 }
2610 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2611 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2612 return 1;
2613 }
2614
2615
2616 static PyObject *_wrap_ComboBoxNameStr_get() {
2617 PyObject *pyobj;
2618
2619 {
2620 #if wxUSE_UNICODE
2621 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2622 #else
2623 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2624 #endif
2625 }
2626 return pyobj;
2627 }
2628
2629
2630 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2631 PyObject *resultobj;
2632 wxWindow *arg1 = (wxWindow *) 0 ;
2633 int arg2 ;
2634 wxString const &arg3_defvalue = wxPyEmptyString ;
2635 wxString *arg3 = (wxString *) &arg3_defvalue ;
2636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2638 wxSize const &arg5_defvalue = wxDefaultSize ;
2639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2640 int arg6 = (int) 0 ;
2641 wxString *arg7 = (wxString *) NULL ;
2642 long arg8 = (long) 0 ;
2643 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2644 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2645 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2646 wxString *arg10 = (wxString *) &arg10_defvalue ;
2647 wxComboBox *result;
2648 bool temp3 = False ;
2649 wxPoint temp4 ;
2650 wxSize temp5 ;
2651 bool temp9 = False ;
2652 PyObject * obj0 = 0 ;
2653 PyObject * obj1 = 0 ;
2654 PyObject * obj2 = 0 ;
2655 PyObject * obj3 = 0 ;
2656 PyObject * obj4 = 0 ;
2657 PyObject * obj5 = 0 ;
2658 PyObject * obj6 = 0 ;
2659 PyObject * obj7 = 0 ;
2660 PyObject * obj8 = 0 ;
2661 char *kwnames[] = {
2662 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2663 };
2664
2665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2667 {
2668 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2669 if (PyErr_Occurred()) SWIG_fail;
2670 }
2671 if (obj2) {
2672 {
2673 arg3 = wxString_in_helper(obj2);
2674 if (arg3 == NULL) SWIG_fail;
2675 temp3 = True;
2676 }
2677 }
2678 if (obj3) {
2679 {
2680 arg4 = &temp4;
2681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2682 }
2683 }
2684 if (obj4) {
2685 {
2686 arg5 = &temp5;
2687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2688 }
2689 }
2690 if (obj5) {
2691 {
2692 arg6 = PyList_Size(obj5);
2693 arg7 = wxString_LIST_helper(obj5);
2694 if (arg7 == NULL) SWIG_fail;
2695 }
2696 }
2697 if (obj6) {
2698 {
2699 arg8 = (long) SWIG_PyObj_AsLong(obj6);
2700 if (PyErr_Occurred()) SWIG_fail;
2701 }
2702 }
2703 if (obj7) {
2704 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2705 if (arg9 == NULL) {
2706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2707 }
2708 }
2709 if (obj8) {
2710 {
2711 arg10 = wxString_in_helper(obj8);
2712 if (arg10 == NULL) SWIG_fail;
2713 temp9 = True;
2714 }
2715 }
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2724 {
2725 if (temp3)
2726 delete arg3;
2727 }
2728 {
2729 if (arg7) delete [] arg7;
2730 }
2731 {
2732 if (temp9)
2733 delete arg10;
2734 }
2735 return resultobj;
2736 fail:
2737 {
2738 if (temp3)
2739 delete arg3;
2740 }
2741 {
2742 if (arg7) delete [] arg7;
2743 }
2744 {
2745 if (temp9)
2746 delete arg10;
2747 }
2748 return NULL;
2749 }
2750
2751
2752 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj;
2754 wxComboBox *result;
2755 char *kwnames[] = {
2756 NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2760 {
2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
2762 result = (wxComboBox *)new wxComboBox();
2763
2764 wxPyEndAllowThreads(__tstate);
2765 if (PyErr_Occurred()) SWIG_fail;
2766 }
2767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2768 return resultobj;
2769 fail:
2770 return NULL;
2771 }
2772
2773
2774 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2775 PyObject *resultobj;
2776 wxComboBox *arg1 = (wxComboBox *) 0 ;
2777 wxWindow *arg2 = (wxWindow *) 0 ;
2778 int arg3 ;
2779 wxString const &arg4_defvalue = wxPyEmptyString ;
2780 wxString *arg4 = (wxString *) &arg4_defvalue ;
2781 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2782 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2783 wxSize const &arg6_defvalue = wxDefaultSize ;
2784 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2785 int arg7 = (int) 0 ;
2786 wxString *arg8 = (wxString *) NULL ;
2787 long arg9 = (long) 0 ;
2788 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2789 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2790 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2791 wxString *arg11 = (wxString *) &arg11_defvalue ;
2792 bool result;
2793 bool temp4 = False ;
2794 wxPoint temp5 ;
2795 wxSize temp6 ;
2796 bool temp10 = False ;
2797 PyObject * obj0 = 0 ;
2798 PyObject * obj1 = 0 ;
2799 PyObject * obj2 = 0 ;
2800 PyObject * obj3 = 0 ;
2801 PyObject * obj4 = 0 ;
2802 PyObject * obj5 = 0 ;
2803 PyObject * obj6 = 0 ;
2804 PyObject * obj7 = 0 ;
2805 PyObject * obj8 = 0 ;
2806 PyObject * obj9 = 0 ;
2807 char *kwnames[] = {
2808 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2809 };
2810
2811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2814 {
2815 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2816 if (PyErr_Occurred()) SWIG_fail;
2817 }
2818 if (obj3) {
2819 {
2820 arg4 = wxString_in_helper(obj3);
2821 if (arg4 == NULL) SWIG_fail;
2822 temp4 = True;
2823 }
2824 }
2825 if (obj4) {
2826 {
2827 arg5 = &temp5;
2828 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2829 }
2830 }
2831 if (obj5) {
2832 {
2833 arg6 = &temp6;
2834 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2835 }
2836 }
2837 if (obj6) {
2838 {
2839 arg7 = PyList_Size(obj6);
2840 arg8 = wxString_LIST_helper(obj6);
2841 if (arg8 == NULL) SWIG_fail;
2842 }
2843 }
2844 if (obj7) {
2845 {
2846 arg9 = (long) SWIG_PyObj_AsLong(obj7);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 }
2850 if (obj8) {
2851 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2852 if (arg10 == NULL) {
2853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2854 }
2855 }
2856 if (obj9) {
2857 {
2858 arg11 = wxString_in_helper(obj9);
2859 if (arg11 == NULL) SWIG_fail;
2860 temp10 = True;
2861 }
2862 }
2863 {
2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
2865 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2866
2867 wxPyEndAllowThreads(__tstate);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 resultobj = SWIG_PyObj_FromBool((bool)result);
2871 {
2872 if (temp4)
2873 delete arg4;
2874 }
2875 {
2876 if (arg8) delete [] arg8;
2877 }
2878 {
2879 if (temp10)
2880 delete arg11;
2881 }
2882 return resultobj;
2883 fail:
2884 {
2885 if (temp4)
2886 delete arg4;
2887 }
2888 {
2889 if (arg8) delete [] arg8;
2890 }
2891 {
2892 if (temp10)
2893 delete arg11;
2894 }
2895 return NULL;
2896 }
2897
2898
2899 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2900 PyObject *resultobj;
2901 wxComboBox *arg1 = (wxComboBox *) 0 ;
2902 wxString result;
2903 PyObject * obj0 = 0 ;
2904 char *kwnames[] = {
2905 (char *) "self", NULL
2906 };
2907
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2910 {
2911 PyThreadState* __tstate = wxPyBeginAllowThreads();
2912 result = ((wxComboBox const *)arg1)->GetValue();
2913
2914 wxPyEndAllowThreads(__tstate);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 {
2918 #if wxUSE_UNICODE
2919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2920 #else
2921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2922 #endif
2923 }
2924 return resultobj;
2925 fail:
2926 return NULL;
2927 }
2928
2929
2930 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2931 PyObject *resultobj;
2932 wxComboBox *arg1 = (wxComboBox *) 0 ;
2933 wxString *arg2 = 0 ;
2934 bool temp2 = False ;
2935 PyObject * obj0 = 0 ;
2936 PyObject * obj1 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "self",(char *) "value", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2943 {
2944 arg2 = wxString_in_helper(obj1);
2945 if (arg2 == NULL) SWIG_fail;
2946 temp2 = True;
2947 }
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 (arg1)->SetValue((wxString const &)*arg2);
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 Py_INCREF(Py_None); resultobj = Py_None;
2956 {
2957 if (temp2)
2958 delete arg2;
2959 }
2960 return resultobj;
2961 fail:
2962 {
2963 if (temp2)
2964 delete arg2;
2965 }
2966 return NULL;
2967 }
2968
2969
2970 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject *resultobj;
2972 wxComboBox *arg1 = (wxComboBox *) 0 ;
2973 PyObject * obj0 = 0 ;
2974 char *kwnames[] = {
2975 (char *) "self", NULL
2976 };
2977
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 (arg1)->Copy();
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 Py_INCREF(Py_None); resultobj = Py_None;
2988 return resultobj;
2989 fail:
2990 return NULL;
2991 }
2992
2993
2994 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2995 PyObject *resultobj;
2996 wxComboBox *arg1 = (wxComboBox *) 0 ;
2997 PyObject * obj0 = 0 ;
2998 char *kwnames[] = {
2999 (char *) "self", NULL
3000 };
3001
3002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3004 {
3005 PyThreadState* __tstate = wxPyBeginAllowThreads();
3006 (arg1)->Cut();
3007
3008 wxPyEndAllowThreads(__tstate);
3009 if (PyErr_Occurred()) SWIG_fail;
3010 }
3011 Py_INCREF(Py_None); resultobj = Py_None;
3012 return resultobj;
3013 fail:
3014 return NULL;
3015 }
3016
3017
3018 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3019 PyObject *resultobj;
3020 wxComboBox *arg1 = (wxComboBox *) 0 ;
3021 PyObject * obj0 = 0 ;
3022 char *kwnames[] = {
3023 (char *) "self", NULL
3024 };
3025
3026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3028 {
3029 PyThreadState* __tstate = wxPyBeginAllowThreads();
3030 (arg1)->Paste();
3031
3032 wxPyEndAllowThreads(__tstate);
3033 if (PyErr_Occurred()) SWIG_fail;
3034 }
3035 Py_INCREF(Py_None); resultobj = Py_None;
3036 return resultobj;
3037 fail:
3038 return NULL;
3039 }
3040
3041
3042 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3043 PyObject *resultobj;
3044 wxComboBox *arg1 = (wxComboBox *) 0 ;
3045 long arg2 ;
3046 PyObject * obj0 = 0 ;
3047 PyObject * obj1 = 0 ;
3048 char *kwnames[] = {
3049 (char *) "self",(char *) "pos", NULL
3050 };
3051
3052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3054 {
3055 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 {
3059 PyThreadState* __tstate = wxPyBeginAllowThreads();
3060 (arg1)->SetInsertionPoint(arg2);
3061
3062 wxPyEndAllowThreads(__tstate);
3063 if (PyErr_Occurred()) SWIG_fail;
3064 }
3065 Py_INCREF(Py_None); resultobj = Py_None;
3066 return resultobj;
3067 fail:
3068 return NULL;
3069 }
3070
3071
3072 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3073 PyObject *resultobj;
3074 wxComboBox *arg1 = (wxComboBox *) 0 ;
3075 long result;
3076 PyObject * obj0 = 0 ;
3077 char *kwnames[] = {
3078 (char *) "self", NULL
3079 };
3080
3081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",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 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3086
3087 wxPyEndAllowThreads(__tstate);
3088 if (PyErr_Occurred()) SWIG_fail;
3089 }
3090 resultobj = SWIG_PyObj_FromLong((long)result);
3091 return resultobj;
3092 fail:
3093 return NULL;
3094 }
3095
3096
3097 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxComboBox *arg1 = (wxComboBox *) 0 ;
3100 long result;
3101 PyObject * obj0 = 0 ;
3102 char *kwnames[] = {
3103 (char *) "self", NULL
3104 };
3105
3106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3108 {
3109 PyThreadState* __tstate = wxPyBeginAllowThreads();
3110 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3111
3112 wxPyEndAllowThreads(__tstate);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 }
3115 resultobj = SWIG_PyObj_FromLong((long)result);
3116 return resultobj;
3117 fail:
3118 return NULL;
3119 }
3120
3121
3122 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject *resultobj;
3124 wxComboBox *arg1 = (wxComboBox *) 0 ;
3125 long arg2 ;
3126 long arg3 ;
3127 wxString *arg4 = 0 ;
3128 bool temp4 = False ;
3129 PyObject * obj0 = 0 ;
3130 PyObject * obj1 = 0 ;
3131 PyObject * obj2 = 0 ;
3132 PyObject * obj3 = 0 ;
3133 char *kwnames[] = {
3134 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3135 };
3136
3137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3139 {
3140 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 {
3144 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 }
3147 {
3148 arg4 = wxString_in_helper(obj3);
3149 if (arg4 == NULL) SWIG_fail;
3150 temp4 = True;
3151 }
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 {
3161 if (temp4)
3162 delete arg4;
3163 }
3164 return resultobj;
3165 fail:
3166 {
3167 if (temp4)
3168 delete arg4;
3169 }
3170 return NULL;
3171 }
3172
3173
3174 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj;
3176 wxComboBox *arg1 = (wxComboBox *) 0 ;
3177 int arg2 ;
3178 PyObject * obj0 = 0 ;
3179 PyObject * obj1 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self",(char *) "n", NULL
3182 };
3183
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3186 {
3187 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 (arg1)->SetSelection(arg2);
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 Py_INCREF(Py_None); resultobj = Py_None;
3198 return resultobj;
3199 fail:
3200 return NULL;
3201 }
3202
3203
3204 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3205 PyObject *resultobj;
3206 wxComboBox *arg1 = (wxComboBox *) 0 ;
3207 long arg2 ;
3208 long arg3 ;
3209 PyObject * obj0 = 0 ;
3210 PyObject * obj1 = 0 ;
3211 PyObject * obj2 = 0 ;
3212 char *kwnames[] = {
3213 (char *) "self",(char *) "from",(char *) "to", NULL
3214 };
3215
3216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3218 {
3219 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3220 if (PyErr_Occurred()) SWIG_fail;
3221 }
3222 {
3223 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3224 if (PyErr_Occurred()) SWIG_fail;
3225 }
3226 {
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 (arg1)->SetSelection(arg2,arg3);
3229
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 Py_INCREF(Py_None); resultobj = Py_None;
3234 return resultobj;
3235 fail:
3236 return NULL;
3237 }
3238
3239
3240 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject *resultobj;
3242 wxComboBox *arg1 = (wxComboBox *) 0 ;
3243 bool arg2 ;
3244 PyObject * obj0 = 0 ;
3245 PyObject * obj1 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self",(char *) "editable", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3252 {
3253 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 {
3257 PyThreadState* __tstate = wxPyBeginAllowThreads();
3258 (arg1)->SetEditable(arg2);
3259
3260 wxPyEndAllowThreads(__tstate);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 }
3263 Py_INCREF(Py_None); resultobj = Py_None;
3264 return resultobj;
3265 fail:
3266 return NULL;
3267 }
3268
3269
3270 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3271 PyObject *resultobj;
3272 wxComboBox *arg1 = (wxComboBox *) 0 ;
3273 PyObject * obj0 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 (arg1)->SetInsertionPointEnd();
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 Py_INCREF(Py_None); resultobj = Py_None;
3288 return resultobj;
3289 fail:
3290 return NULL;
3291 }
3292
3293
3294 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxComboBox *arg1 = (wxComboBox *) 0 ;
3297 long arg2 ;
3298 long arg3 ;
3299 PyObject * obj0 = 0 ;
3300 PyObject * obj1 = 0 ;
3301 PyObject * obj2 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self",(char *) "from",(char *) "to", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 {
3309 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 {
3313 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 (arg1)->Remove(arg2,arg3);
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
3323 Py_INCREF(Py_None); resultobj = Py_None;
3324 return resultobj;
3325 fail:
3326 return NULL;
3327 }
3328
3329
3330 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3331 PyObject *obj;
3332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3333 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3334 Py_INCREF(obj);
3335 return Py_BuildValue((char *)"");
3336 }
3337 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3338 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3339 return 1;
3340 }
3341
3342
3343 static PyObject *_wrap_GaugeNameStr_get() {
3344 PyObject *pyobj;
3345
3346 {
3347 #if wxUSE_UNICODE
3348 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3349 #else
3350 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3351 #endif
3352 }
3353 return pyobj;
3354 }
3355
3356
3357 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject *resultobj;
3359 wxWindow *arg1 = (wxWindow *) 0 ;
3360 int arg2 ;
3361 int arg3 ;
3362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3364 wxSize const &arg5_defvalue = wxDefaultSize ;
3365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3366 long arg6 = (long) wxGA_HORIZONTAL ;
3367 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3368 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3369 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3370 wxString *arg8 = (wxString *) &arg8_defvalue ;
3371 wxGauge *result;
3372 wxPoint temp4 ;
3373 wxSize temp5 ;
3374 bool temp8 = False ;
3375 PyObject * obj0 = 0 ;
3376 PyObject * obj1 = 0 ;
3377 PyObject * obj2 = 0 ;
3378 PyObject * obj3 = 0 ;
3379 PyObject * obj4 = 0 ;
3380 PyObject * obj5 = 0 ;
3381 PyObject * obj6 = 0 ;
3382 PyObject * obj7 = 0 ;
3383 char *kwnames[] = {
3384 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3385 };
3386
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3389 {
3390 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3391 if (PyErr_Occurred()) SWIG_fail;
3392 }
3393 {
3394 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 if (obj3) {
3398 {
3399 arg4 = &temp4;
3400 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3401 }
3402 }
3403 if (obj4) {
3404 {
3405 arg5 = &temp5;
3406 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3407 }
3408 }
3409 if (obj5) {
3410 {
3411 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 }
3414 }
3415 if (obj6) {
3416 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3417 if (arg7 == NULL) {
3418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3419 }
3420 }
3421 if (obj7) {
3422 {
3423 arg8 = wxString_in_helper(obj7);
3424 if (arg8 == NULL) SWIG_fail;
3425 temp8 = True;
3426 }
3427 }
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
3435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3436 {
3437 if (temp8)
3438 delete arg8;
3439 }
3440 return resultobj;
3441 fail:
3442 {
3443 if (temp8)
3444 delete arg8;
3445 }
3446 return NULL;
3447 }
3448
3449
3450 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxGauge *result;
3453 char *kwnames[] = {
3454 NULL
3455 };
3456
3457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3458 {
3459 PyThreadState* __tstate = wxPyBeginAllowThreads();
3460 result = (wxGauge *)new wxGauge();
3461
3462 wxPyEndAllowThreads(__tstate);
3463 if (PyErr_Occurred()) SWIG_fail;
3464 }
3465 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3466 return resultobj;
3467 fail:
3468 return NULL;
3469 }
3470
3471
3472 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject *resultobj;
3474 wxGauge *arg1 = (wxGauge *) 0 ;
3475 wxWindow *arg2 = (wxWindow *) 0 ;
3476 int arg3 ;
3477 int arg4 ;
3478 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3479 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3480 wxSize const &arg6_defvalue = wxDefaultSize ;
3481 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3482 long arg7 = (long) wxGA_HORIZONTAL ;
3483 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3484 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3485 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3486 wxString *arg9 = (wxString *) &arg9_defvalue ;
3487 bool result;
3488 wxPoint temp5 ;
3489 wxSize temp6 ;
3490 bool temp9 = False ;
3491 PyObject * obj0 = 0 ;
3492 PyObject * obj1 = 0 ;
3493 PyObject * obj2 = 0 ;
3494 PyObject * obj3 = 0 ;
3495 PyObject * obj4 = 0 ;
3496 PyObject * obj5 = 0 ;
3497 PyObject * obj6 = 0 ;
3498 PyObject * obj7 = 0 ;
3499 PyObject * obj8 = 0 ;
3500 char *kwnames[] = {
3501 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3502 };
3503
3504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3507 {
3508 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
3511 {
3512 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 if (obj4) {
3516 {
3517 arg5 = &temp5;
3518 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3519 }
3520 }
3521 if (obj5) {
3522 {
3523 arg6 = &temp6;
3524 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3525 }
3526 }
3527 if (obj6) {
3528 {
3529 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3530 if (PyErr_Occurred()) SWIG_fail;
3531 }
3532 }
3533 if (obj7) {
3534 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3535 if (arg8 == NULL) {
3536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3537 }
3538 }
3539 if (obj8) {
3540 {
3541 arg9 = wxString_in_helper(obj8);
3542 if (arg9 == NULL) SWIG_fail;
3543 temp9 = True;
3544 }
3545 }
3546 {
3547 PyThreadState* __tstate = wxPyBeginAllowThreads();
3548 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3549
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 resultobj = SWIG_PyObj_FromBool((bool)result);
3554 {
3555 if (temp9)
3556 delete arg9;
3557 }
3558 return resultobj;
3559 fail:
3560 {
3561 if (temp9)
3562 delete arg9;
3563 }
3564 return NULL;
3565 }
3566
3567
3568 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3569 PyObject *resultobj;
3570 wxGauge *arg1 = (wxGauge *) 0 ;
3571 int arg2 ;
3572 PyObject * obj0 = 0 ;
3573 PyObject * obj1 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self",(char *) "range", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3580 {
3581 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 (arg1)->SetRange(arg2);
3587
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 Py_INCREF(Py_None); resultobj = Py_None;
3592 return resultobj;
3593 fail:
3594 return NULL;
3595 }
3596
3597
3598 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj;
3600 wxGauge *arg1 = (wxGauge *) 0 ;
3601 int result;
3602 PyObject * obj0 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3609 {
3610 PyThreadState* __tstate = wxPyBeginAllowThreads();
3611 result = (int)((wxGauge const *)arg1)->GetRange();
3612
3613 wxPyEndAllowThreads(__tstate);
3614 if (PyErr_Occurred()) SWIG_fail;
3615 }
3616 resultobj = SWIG_PyObj_FromInt((int)result);
3617 return resultobj;
3618 fail:
3619 return NULL;
3620 }
3621
3622
3623 static PyObject *_wrap_Gauge_SetValue(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 *) "pos", NULL
3631 };
3632
3633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",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)->SetValue(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_GetValue(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_GetValue",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)->GetValue();
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_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3679 PyObject *resultobj;
3680 wxGauge *arg1 = (wxGauge *) 0 ;
3681 bool result;
3682 PyObject * obj0 = 0 ;
3683 char *kwnames[] = {
3684 (char *) "self", NULL
3685 };
3686
3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3689 {
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 result = (bool)((wxGauge const *)arg1)->IsVertical();
3692
3693 wxPyEndAllowThreads(__tstate);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 }
3696 resultobj = SWIG_PyObj_FromBool((bool)result);
3697 return resultobj;
3698 fail:
3699 return NULL;
3700 }
3701
3702
3703 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3704 PyObject *resultobj;
3705 wxGauge *arg1 = (wxGauge *) 0 ;
3706 int arg2 ;
3707 PyObject * obj0 = 0 ;
3708 PyObject * obj1 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "self",(char *) "w", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3715 {
3716 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 (arg1)->SetShadowWidth(arg2);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 Py_INCREF(Py_None); resultobj = Py_None;
3727 return resultobj;
3728 fail:
3729 return NULL;
3730 }
3731
3732
3733 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3734 PyObject *resultobj;
3735 wxGauge *arg1 = (wxGauge *) 0 ;
3736 int result;
3737 PyObject * obj0 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self", NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",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 = (int)((wxGauge const *)arg1)->GetShadowWidth();
3747
3748 wxPyEndAllowThreads(__tstate);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 resultobj = SWIG_PyObj_FromInt((int)result);
3752 return resultobj;
3753 fail:
3754 return NULL;
3755 }
3756
3757
3758 static PyObject *_wrap_Gauge_SetBezelFace(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_SetBezelFace",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)->SetBezelFace(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_GetBezelFace(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_GetBezelFace",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)->GetBezelFace();
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 * Gauge_swigregister(PyObject *self, PyObject *args) {
3814 PyObject *obj;
3815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3816 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3817 Py_INCREF(obj);
3818 return Py_BuildValue((char *)"");
3819 }
3820 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3821 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3822 return 1;
3823 }
3824
3825
3826 static PyObject *_wrap_StaticBitmapNameStr_get() {
3827 PyObject *pyobj;
3828
3829 {
3830 #if wxUSE_UNICODE
3831 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3832 #else
3833 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3834 #endif
3835 }
3836 return pyobj;
3837 }
3838
3839
3840 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3841 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3842 return 1;
3843 }
3844
3845
3846 static PyObject *_wrap_StaticBoxNameStr_get() {
3847 PyObject *pyobj;
3848
3849 {
3850 #if wxUSE_UNICODE
3851 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3852 #else
3853 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3854 #endif
3855 }
3856 return pyobj;
3857 }
3858
3859
3860 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3861 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3862 return 1;
3863 }
3864
3865
3866 static PyObject *_wrap_StaticTextNameStr_get() {
3867 PyObject *pyobj;
3868
3869 {
3870 #if wxUSE_UNICODE
3871 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3872 #else
3873 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3874 #endif
3875 }
3876 return pyobj;
3877 }
3878
3879
3880 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3881 PyObject *resultobj;
3882 wxWindow *arg1 = (wxWindow *) 0 ;
3883 int arg2 ;
3884 wxString *arg3 = 0 ;
3885 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3886 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3887 wxSize const &arg5_defvalue = wxDefaultSize ;
3888 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3889 long arg6 = (long) 0 ;
3890 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3891 wxString *arg7 = (wxString *) &arg7_defvalue ;
3892 wxStaticBox *result;
3893 bool temp3 = False ;
3894 wxPoint temp4 ;
3895 wxSize temp5 ;
3896 bool temp7 = False ;
3897 PyObject * obj0 = 0 ;
3898 PyObject * obj1 = 0 ;
3899 PyObject * obj2 = 0 ;
3900 PyObject * obj3 = 0 ;
3901 PyObject * obj4 = 0 ;
3902 PyObject * obj5 = 0 ;
3903 PyObject * obj6 = 0 ;
3904 char *kwnames[] = {
3905 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3906 };
3907
3908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3910 {
3911 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3912 if (PyErr_Occurred()) SWIG_fail;
3913 }
3914 {
3915 arg3 = wxString_in_helper(obj2);
3916 if (arg3 == NULL) SWIG_fail;
3917 temp3 = True;
3918 }
3919 if (obj3) {
3920 {
3921 arg4 = &temp4;
3922 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3923 }
3924 }
3925 if (obj4) {
3926 {
3927 arg5 = &temp5;
3928 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3929 }
3930 }
3931 if (obj5) {
3932 {
3933 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 }
3937 if (obj6) {
3938 {
3939 arg7 = wxString_in_helper(obj6);
3940 if (arg7 == NULL) SWIG_fail;
3941 temp7 = True;
3942 }
3943 }
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
3951 {
3952 resultobj = wxPyMake_wxObject(result);
3953 }
3954 {
3955 if (temp3)
3956 delete arg3;
3957 }
3958 {
3959 if (temp7)
3960 delete arg7;
3961 }
3962 return resultobj;
3963 fail:
3964 {
3965 if (temp3)
3966 delete arg3;
3967 }
3968 {
3969 if (temp7)
3970 delete arg7;
3971 }
3972 return NULL;
3973 }
3974
3975
3976 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3977 PyObject *resultobj;
3978 wxStaticBox *result;
3979 char *kwnames[] = {
3980 NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 result = (wxStaticBox *)new wxStaticBox();
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 {
3992 resultobj = wxPyMake_wxObject(result);
3993 }
3994 return resultobj;
3995 fail:
3996 return NULL;
3997 }
3998
3999
4000 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4001 PyObject *resultobj;
4002 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4003 wxWindow *arg2 = (wxWindow *) 0 ;
4004 int arg3 ;
4005 wxString *arg4 = 0 ;
4006 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4007 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4008 wxSize const &arg6_defvalue = wxDefaultSize ;
4009 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4010 long arg7 = (long) 0 ;
4011 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4012 wxString *arg8 = (wxString *) &arg8_defvalue ;
4013 bool result;
4014 bool temp4 = False ;
4015 wxPoint temp5 ;
4016 wxSize temp6 ;
4017 bool temp8 = False ;
4018 PyObject * obj0 = 0 ;
4019 PyObject * obj1 = 0 ;
4020 PyObject * obj2 = 0 ;
4021 PyObject * obj3 = 0 ;
4022 PyObject * obj4 = 0 ;
4023 PyObject * obj5 = 0 ;
4024 PyObject * obj6 = 0 ;
4025 PyObject * obj7 = 0 ;
4026 char *kwnames[] = {
4027 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4028 };
4029
4030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4033 {
4034 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 {
4038 arg4 = wxString_in_helper(obj3);
4039 if (arg4 == NULL) SWIG_fail;
4040 temp4 = True;
4041 }
4042 if (obj4) {
4043 {
4044 arg5 = &temp5;
4045 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4046 }
4047 }
4048 if (obj5) {
4049 {
4050 arg6 = &temp6;
4051 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4052 }
4053 }
4054 if (obj6) {
4055 {
4056 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4057 if (PyErr_Occurred()) SWIG_fail;
4058 }
4059 }
4060 if (obj7) {
4061 {
4062 arg8 = wxString_in_helper(obj7);
4063 if (arg8 == NULL) SWIG_fail;
4064 temp8 = True;
4065 }
4066 }
4067 {
4068 PyThreadState* __tstate = wxPyBeginAllowThreads();
4069 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4070
4071 wxPyEndAllowThreads(__tstate);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 }
4074 resultobj = SWIG_PyObj_FromBool((bool)result);
4075 {
4076 if (temp4)
4077 delete arg4;
4078 }
4079 {
4080 if (temp8)
4081 delete arg8;
4082 }
4083 return resultobj;
4084 fail:
4085 {
4086 if (temp4)
4087 delete arg4;
4088 }
4089 {
4090 if (temp8)
4091 delete arg8;
4092 }
4093 return NULL;
4094 }
4095
4096
4097 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4098 PyObject *obj;
4099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4100 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4101 Py_INCREF(obj);
4102 return Py_BuildValue((char *)"");
4103 }
4104 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj;
4106 wxWindow *arg1 = (wxWindow *) 0 ;
4107 int arg2 ;
4108 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4109 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4110 wxSize const &arg4_defvalue = wxDefaultSize ;
4111 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4112 long arg5 = (long) wxLI_HORIZONTAL ;
4113 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4114 wxString *arg6 = (wxString *) &arg6_defvalue ;
4115 wxStaticLine *result;
4116 wxPoint temp3 ;
4117 wxSize temp4 ;
4118 bool temp6 = False ;
4119 PyObject * obj0 = 0 ;
4120 PyObject * obj1 = 0 ;
4121 PyObject * obj2 = 0 ;
4122 PyObject * obj3 = 0 ;
4123 PyObject * obj4 = 0 ;
4124 PyObject * obj5 = 0 ;
4125 char *kwnames[] = {
4126 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4127 };
4128
4129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4131 {
4132 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
4135 if (obj2) {
4136 {
4137 arg3 = &temp3;
4138 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4139 }
4140 }
4141 if (obj3) {
4142 {
4143 arg4 = &temp4;
4144 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4145 }
4146 }
4147 if (obj4) {
4148 {
4149 arg5 = (long) SWIG_PyObj_AsLong(obj4);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 }
4153 if (obj5) {
4154 {
4155 arg6 = wxString_in_helper(obj5);
4156 if (arg6 == NULL) SWIG_fail;
4157 temp6 = True;
4158 }
4159 }
4160 {
4161 PyThreadState* __tstate = wxPyBeginAllowThreads();
4162 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4163
4164 wxPyEndAllowThreads(__tstate);
4165 if (PyErr_Occurred()) SWIG_fail;
4166 }
4167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4168 {
4169 if (temp6)
4170 delete arg6;
4171 }
4172 return resultobj;
4173 fail:
4174 {
4175 if (temp6)
4176 delete arg6;
4177 }
4178 return NULL;
4179 }
4180
4181
4182 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxStaticLine *result;
4185 char *kwnames[] = {
4186 NULL
4187 };
4188
4189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4190 {
4191 PyThreadState* __tstate = wxPyBeginAllowThreads();
4192 result = (wxStaticLine *)new wxStaticLine();
4193
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4198 return resultobj;
4199 fail:
4200 return NULL;
4201 }
4202
4203
4204 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj;
4206 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4207 wxWindow *arg2 = (wxWindow *) 0 ;
4208 int arg3 ;
4209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4211 wxSize const &arg5_defvalue = wxDefaultSize ;
4212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4213 long arg6 = (long) wxLI_HORIZONTAL ;
4214 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4215 wxString *arg7 = (wxString *) &arg7_defvalue ;
4216 bool result;
4217 wxPoint temp4 ;
4218 wxSize temp5 ;
4219 bool temp7 = False ;
4220 PyObject * obj0 = 0 ;
4221 PyObject * obj1 = 0 ;
4222 PyObject * obj2 = 0 ;
4223 PyObject * obj3 = 0 ;
4224 PyObject * obj4 = 0 ;
4225 PyObject * obj5 = 0 ;
4226 PyObject * obj6 = 0 ;
4227 char *kwnames[] = {
4228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4229 };
4230
4231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4234 {
4235 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
4238 if (obj3) {
4239 {
4240 arg4 = &temp4;
4241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4242 }
4243 }
4244 if (obj4) {
4245 {
4246 arg5 = &temp5;
4247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4248 }
4249 }
4250 if (obj5) {
4251 {
4252 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 }
4256 if (obj6) {
4257 {
4258 arg7 = wxString_in_helper(obj6);
4259 if (arg7 == NULL) SWIG_fail;
4260 temp7 = True;
4261 }
4262 }
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 resultobj = SWIG_PyObj_FromBool((bool)result);
4271 {
4272 if (temp7)
4273 delete arg7;
4274 }
4275 return resultobj;
4276 fail:
4277 {
4278 if (temp7)
4279 delete arg7;
4280 }
4281 return NULL;
4282 }
4283
4284
4285 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4286 PyObject *resultobj;
4287 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4288 bool result;
4289 PyObject * obj0 = 0 ;
4290 char *kwnames[] = {
4291 (char *) "self", NULL
4292 };
4293
4294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4303 resultobj = SWIG_PyObj_FromBool((bool)result);
4304 return resultobj;
4305 fail:
4306 return NULL;
4307 }
4308
4309
4310 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 int result;
4313 char *kwnames[] = {
4314 NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4318 {
4319 PyThreadState* __tstate = wxPyBeginAllowThreads();
4320 result = (int)wxStaticLine::GetDefaultSize();
4321
4322 wxPyEndAllowThreads(__tstate);
4323 if (PyErr_Occurred()) SWIG_fail;
4324 }
4325 resultobj = SWIG_PyObj_FromInt((int)result);
4326 return resultobj;
4327 fail:
4328 return NULL;
4329 }
4330
4331
4332 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4333 PyObject *obj;
4334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4335 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4336 Py_INCREF(obj);
4337 return Py_BuildValue((char *)"");
4338 }
4339 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4340 PyObject *resultobj;
4341 wxWindow *arg1 = (wxWindow *) 0 ;
4342 int arg2 ;
4343 wxString *arg3 = 0 ;
4344 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4345 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4346 wxSize const &arg5_defvalue = wxDefaultSize ;
4347 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4348 long arg6 = (long) 0 ;
4349 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4350 wxString *arg7 = (wxString *) &arg7_defvalue ;
4351 wxStaticText *result;
4352 bool temp3 = False ;
4353 wxPoint temp4 ;
4354 wxSize temp5 ;
4355 bool temp7 = False ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 PyObject * obj3 = 0 ;
4360 PyObject * obj4 = 0 ;
4361 PyObject * obj5 = 0 ;
4362 PyObject * obj6 = 0 ;
4363 char *kwnames[] = {
4364 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4369 {
4370 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 {
4374 arg3 = wxString_in_helper(obj2);
4375 if (arg3 == NULL) SWIG_fail;
4376 temp3 = True;
4377 }
4378 if (obj3) {
4379 {
4380 arg4 = &temp4;
4381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4382 }
4383 }
4384 if (obj4) {
4385 {
4386 arg5 = &temp5;
4387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4388 }
4389 }
4390 if (obj5) {
4391 {
4392 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4393 if (PyErr_Occurred()) SWIG_fail;
4394 }
4395 }
4396 if (obj6) {
4397 {
4398 arg7 = wxString_in_helper(obj6);
4399 if (arg7 == NULL) SWIG_fail;
4400 temp7 = True;
4401 }
4402 }
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4411 {
4412 if (temp3)
4413 delete arg3;
4414 }
4415 {
4416 if (temp7)
4417 delete arg7;
4418 }
4419 return resultobj;
4420 fail:
4421 {
4422 if (temp3)
4423 delete arg3;
4424 }
4425 {
4426 if (temp7)
4427 delete arg7;
4428 }
4429 return NULL;
4430 }
4431
4432
4433 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxStaticText *result;
4436 char *kwnames[] = {
4437 NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 result = (wxStaticText *)new wxStaticText();
4444
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4449 return resultobj;
4450 fail:
4451 return NULL;
4452 }
4453
4454
4455 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4456 PyObject *resultobj;
4457 wxStaticText *arg1 = (wxStaticText *) 0 ;
4458 wxWindow *arg2 = (wxWindow *) 0 ;
4459 int arg3 ;
4460 wxString *arg4 = 0 ;
4461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4463 wxSize const &arg6_defvalue = wxDefaultSize ;
4464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4465 long arg7 = (long) 0 ;
4466 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4467 wxString *arg8 = (wxString *) &arg8_defvalue ;
4468 bool result;
4469 bool temp4 = False ;
4470 wxPoint temp5 ;
4471 wxSize temp6 ;
4472 bool temp8 = False ;
4473 PyObject * obj0 = 0 ;
4474 PyObject * obj1 = 0 ;
4475 PyObject * obj2 = 0 ;
4476 PyObject * obj3 = 0 ;
4477 PyObject * obj4 = 0 ;
4478 PyObject * obj5 = 0 ;
4479 PyObject * obj6 = 0 ;
4480 PyObject * obj7 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4488 {
4489 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4490 if (PyErr_Occurred()) SWIG_fail;
4491 }
4492 {
4493 arg4 = wxString_in_helper(obj3);
4494 if (arg4 == NULL) SWIG_fail;
4495 temp4 = True;
4496 }
4497 if (obj4) {
4498 {
4499 arg5 = &temp5;
4500 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4501 }
4502 }
4503 if (obj5) {
4504 {
4505 arg6 = &temp6;
4506 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4507 }
4508 }
4509 if (obj6) {
4510 {
4511 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 }
4514 }
4515 if (obj7) {
4516 {
4517 arg8 = wxString_in_helper(obj7);
4518 if (arg8 == NULL) SWIG_fail;
4519 temp8 = True;
4520 }
4521 }
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4525
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 resultobj = SWIG_PyObj_FromBool((bool)result);
4530 {
4531 if (temp4)
4532 delete arg4;
4533 }
4534 {
4535 if (temp8)
4536 delete arg8;
4537 }
4538 return resultobj;
4539 fail:
4540 {
4541 if (temp4)
4542 delete arg4;
4543 }
4544 {
4545 if (temp8)
4546 delete arg8;
4547 }
4548 return NULL;
4549 }
4550
4551
4552 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4553 PyObject *obj;
4554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4555 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4556 Py_INCREF(obj);
4557 return Py_BuildValue((char *)"");
4558 }
4559 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4560 PyObject *resultobj;
4561 wxWindow *arg1 = (wxWindow *) 0 ;
4562 int arg2 ;
4563 wxBitmap *arg3 = 0 ;
4564 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4565 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4566 wxSize const &arg5_defvalue = wxDefaultSize ;
4567 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4568 long arg6 = (long) 0 ;
4569 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4570 wxString *arg7 = (wxString *) &arg7_defvalue ;
4571 wxStaticBitmap *result;
4572 wxPoint temp4 ;
4573 wxSize temp5 ;
4574 bool temp7 = False ;
4575 PyObject * obj0 = 0 ;
4576 PyObject * obj1 = 0 ;
4577 PyObject * obj2 = 0 ;
4578 PyObject * obj3 = 0 ;
4579 PyObject * obj4 = 0 ;
4580 PyObject * obj5 = 0 ;
4581 PyObject * obj6 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4588 {
4589 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4593 if (arg3 == NULL) {
4594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4595 }
4596 if (obj3) {
4597 {
4598 arg4 = &temp4;
4599 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4600 }
4601 }
4602 if (obj4) {
4603 {
4604 arg5 = &temp5;
4605 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4606 }
4607 }
4608 if (obj5) {
4609 {
4610 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 }
4614 if (obj6) {
4615 {
4616 arg7 = wxString_in_helper(obj6);
4617 if (arg7 == NULL) SWIG_fail;
4618 temp7 = True;
4619 }
4620 }
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4629 {
4630 if (temp7)
4631 delete arg7;
4632 }
4633 return resultobj;
4634 fail:
4635 {
4636 if (temp7)
4637 delete arg7;
4638 }
4639 return NULL;
4640 }
4641
4642
4643 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4644 PyObject *resultobj;
4645 wxStaticBitmap *result;
4646 char *kwnames[] = {
4647 NULL
4648 };
4649
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 result = (wxStaticBitmap *)new wxStaticBitmap();
4654
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj;
4667 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4668 wxWindow *arg2 = (wxWindow *) 0 ;
4669 int arg3 ;
4670 wxBitmap *arg4 = 0 ;
4671 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4672 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4673 wxSize const &arg6_defvalue = wxDefaultSize ;
4674 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4675 long arg7 = (long) 0 ;
4676 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4677 wxString *arg8 = (wxString *) &arg8_defvalue ;
4678 bool result;
4679 wxPoint temp5 ;
4680 wxSize temp6 ;
4681 bool temp8 = False ;
4682 PyObject * obj0 = 0 ;
4683 PyObject * obj1 = 0 ;
4684 PyObject * obj2 = 0 ;
4685 PyObject * obj3 = 0 ;
4686 PyObject * obj4 = 0 ;
4687 PyObject * obj5 = 0 ;
4688 PyObject * obj6 = 0 ;
4689 PyObject * obj7 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4692 };
4693
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4696 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4697 {
4698 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4702 if (arg4 == NULL) {
4703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4704 }
4705 if (obj4) {
4706 {
4707 arg5 = &temp5;
4708 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4709 }
4710 }
4711 if (obj5) {
4712 {
4713 arg6 = &temp6;
4714 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4715 }
4716 }
4717 if (obj6) {
4718 {
4719 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 }
4723 if (obj7) {
4724 {
4725 arg8 = wxString_in_helper(obj7);
4726 if (arg8 == NULL) SWIG_fail;
4727 temp8 = True;
4728 }
4729 }
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 resultobj = SWIG_PyObj_FromBool((bool)result);
4738 {
4739 if (temp8)
4740 delete arg8;
4741 }
4742 return resultobj;
4743 fail:
4744 {
4745 if (temp8)
4746 delete arg8;
4747 }
4748 return NULL;
4749 }
4750
4751
4752 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj;
4754 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4755 wxBitmap result;
4756 PyObject * obj0 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "self", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4763 {
4764 PyThreadState* __tstate = wxPyBeginAllowThreads();
4765 result = (arg1)->GetBitmap();
4766
4767 wxPyEndAllowThreads(__tstate);
4768 if (PyErr_Occurred()) SWIG_fail;
4769 }
4770 {
4771 wxBitmap * resultptr;
4772 resultptr = new wxBitmap((wxBitmap &) result);
4773 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4774 }
4775 return resultobj;
4776 fail:
4777 return NULL;
4778 }
4779
4780
4781 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4782 PyObject *resultobj;
4783 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4784 wxBitmap *arg2 = 0 ;
4785 PyObject * obj0 = 0 ;
4786 PyObject * obj1 = 0 ;
4787 char *kwnames[] = {
4788 (char *) "self",(char *) "bitmap", NULL
4789 };
4790
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4794 if (arg2 == NULL) {
4795 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4800
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 Py_INCREF(Py_None); resultobj = Py_None;
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4814 wxIcon *arg2 = 0 ;
4815 PyObject * obj0 = 0 ;
4816 PyObject * obj1 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self",(char *) "icon", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4824 if (arg2 == NULL) {
4825 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4826 }
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 (arg1)->SetIcon((wxIcon const &)*arg2);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 Py_INCREF(Py_None); resultobj = Py_None;
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4842 PyObject *obj;
4843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4844 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4845 Py_INCREF(obj);
4846 return Py_BuildValue((char *)"");
4847 }
4848 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4849 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4850 return 1;
4851 }
4852
4853
4854 static PyObject *_wrap_ListBoxNameStr_get() {
4855 PyObject *pyobj;
4856
4857 {
4858 #if wxUSE_UNICODE
4859 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4860 #else
4861 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4862 #endif
4863 }
4864 return pyobj;
4865 }
4866
4867
4868 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4869 PyObject *resultobj;
4870 wxWindow *arg1 = (wxWindow *) 0 ;
4871 int arg2 ;
4872 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4873 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4874 wxSize const &arg4_defvalue = wxDefaultSize ;
4875 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4876 int arg5 = (int) 0 ;
4877 wxString *arg6 = (wxString *) NULL ;
4878 long arg7 = (long) 0 ;
4879 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4880 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4881 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4882 wxString *arg9 = (wxString *) &arg9_defvalue ;
4883 wxListBox *result;
4884 wxPoint temp3 ;
4885 wxSize temp4 ;
4886 bool temp8 = False ;
4887 PyObject * obj0 = 0 ;
4888 PyObject * obj1 = 0 ;
4889 PyObject * obj2 = 0 ;
4890 PyObject * obj3 = 0 ;
4891 PyObject * obj4 = 0 ;
4892 PyObject * obj5 = 0 ;
4893 PyObject * obj6 = 0 ;
4894 PyObject * obj7 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4897 };
4898
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4901 {
4902 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 if (obj2) {
4906 {
4907 arg3 = &temp3;
4908 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4909 }
4910 }
4911 if (obj3) {
4912 {
4913 arg4 = &temp4;
4914 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4915 }
4916 }
4917 if (obj4) {
4918 {
4919 arg5 = PyList_Size(obj4);
4920 arg6 = wxString_LIST_helper(obj4);
4921 if (arg6 == NULL) SWIG_fail;
4922 }
4923 }
4924 if (obj5) {
4925 {
4926 arg7 = (long) SWIG_PyObj_AsLong(obj5);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 }
4930 if (obj6) {
4931 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4932 if (arg8 == NULL) {
4933 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4934 }
4935 }
4936 if (obj7) {
4937 {
4938 arg9 = wxString_in_helper(obj7);
4939 if (arg9 == NULL) SWIG_fail;
4940 temp8 = True;
4941 }
4942 }
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4951 {
4952 if (arg6) delete [] arg6;
4953 }
4954 {
4955 if (temp8)
4956 delete arg9;
4957 }
4958 return resultobj;
4959 fail:
4960 {
4961 if (arg6) delete [] arg6;
4962 }
4963 {
4964 if (temp8)
4965 delete arg9;
4966 }
4967 return NULL;
4968 }
4969
4970
4971 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj;
4973 wxListBox *result;
4974 char *kwnames[] = {
4975 NULL
4976 };
4977
4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 result = (wxListBox *)new wxListBox();
4982
4983 wxPyEndAllowThreads(__tstate);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4987 return resultobj;
4988 fail:
4989 return NULL;
4990 }
4991
4992
4993 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4994 PyObject *resultobj;
4995 wxListBox *arg1 = (wxListBox *) 0 ;
4996 wxWindow *arg2 = (wxWindow *) 0 ;
4997 int arg3 ;
4998 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4999 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5000 wxSize const &arg5_defvalue = wxDefaultSize ;
5001 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5002 int arg6 = (int) 0 ;
5003 wxString *arg7 = (wxString *) NULL ;
5004 long arg8 = (long) 0 ;
5005 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5006 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5007 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5008 wxString *arg10 = (wxString *) &arg10_defvalue ;
5009 bool result;
5010 wxPoint temp4 ;
5011 wxSize temp5 ;
5012 bool temp9 = False ;
5013 PyObject * obj0 = 0 ;
5014 PyObject * obj1 = 0 ;
5015 PyObject * obj2 = 0 ;
5016 PyObject * obj3 = 0 ;
5017 PyObject * obj4 = 0 ;
5018 PyObject * obj5 = 0 ;
5019 PyObject * obj6 = 0 ;
5020 PyObject * obj7 = 0 ;
5021 PyObject * obj8 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5029 {
5030 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 if (obj3) {
5034 {
5035 arg4 = &temp4;
5036 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5037 }
5038 }
5039 if (obj4) {
5040 {
5041 arg5 = &temp5;
5042 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5043 }
5044 }
5045 if (obj5) {
5046 {
5047 arg6 = PyList_Size(obj5);
5048 arg7 = wxString_LIST_helper(obj5);
5049 if (arg7 == NULL) SWIG_fail;
5050 }
5051 }
5052 if (obj6) {
5053 {
5054 arg8 = (long) SWIG_PyObj_AsLong(obj6);
5055 if (PyErr_Occurred()) SWIG_fail;
5056 }
5057 }
5058 if (obj7) {
5059 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5060 if (arg9 == NULL) {
5061 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5062 }
5063 }
5064 if (obj8) {
5065 {
5066 arg10 = wxString_in_helper(obj8);
5067 if (arg10 == NULL) SWIG_fail;
5068 temp9 = True;
5069 }
5070 }
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 resultobj = SWIG_PyObj_FromBool((bool)result);
5079 {
5080 if (arg7) delete [] arg7;
5081 }
5082 {
5083 if (temp9)
5084 delete arg10;
5085 }
5086 return resultobj;
5087 fail:
5088 {
5089 if (arg7) delete [] arg7;
5090 }
5091 {
5092 if (temp9)
5093 delete arg10;
5094 }
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxListBox *arg1 = (wxListBox *) 0 ;
5102 wxString *arg2 = 0 ;
5103 int arg3 ;
5104 PyObject *arg4 = (PyObject *) NULL ;
5105 bool temp2 = False ;
5106 PyObject * obj0 = 0 ;
5107 PyObject * obj1 = 0 ;
5108 PyObject * obj2 = 0 ;
5109 PyObject * obj3 = 0 ;
5110 char *kwnames[] = {
5111 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5112 };
5113
5114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5116 {
5117 arg2 = wxString_in_helper(obj1);
5118 if (arg2 == NULL) SWIG_fail;
5119 temp2 = True;
5120 }
5121 {
5122 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 if (obj3) {
5126 arg4 = obj3;
5127 }
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 Py_INCREF(Py_None); resultobj = Py_None;
5136 {
5137 if (temp2)
5138 delete arg2;
5139 }
5140 return resultobj;
5141 fail:
5142 {
5143 if (temp2)
5144 delete arg2;
5145 }
5146 return NULL;
5147 }
5148
5149
5150 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj;
5152 wxListBox *arg1 = (wxListBox *) 0 ;
5153 wxArrayString *arg2 = 0 ;
5154 int arg3 ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 PyObject * obj2 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "items",(char *) "pos", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5164 {
5165 if (! PySequence_Check(obj1)) {
5166 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5167 SWIG_fail;
5168 }
5169 arg2 = new wxArrayString;
5170 int i, len=PySequence_Length(obj1);
5171 for (i=0; i<len; i++) {
5172 PyObject* item = PySequence_GetItem(obj1, i);
5173 #if wxUSE_UNICODE
5174 PyObject* str = PyObject_Unicode(item);
5175 #else
5176 PyObject* str = PyObject_Str(item);
5177 #endif
5178 arg2->Add(Py2wxString(str));
5179 Py_DECREF(item);
5180 Py_DECREF(str);
5181 }
5182 }
5183 {
5184 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 {
5188 PyThreadState* __tstate = wxPyBeginAllowThreads();
5189 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5190
5191 wxPyEndAllowThreads(__tstate);
5192 if (PyErr_Occurred()) SWIG_fail;
5193 }
5194 Py_INCREF(Py_None); resultobj = Py_None;
5195 {
5196 if (arg2) delete arg2;
5197 }
5198 return resultobj;
5199 fail:
5200 {
5201 if (arg2) delete arg2;
5202 }
5203 return NULL;
5204 }
5205
5206
5207 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5208 PyObject *resultobj;
5209 wxListBox *arg1 = (wxListBox *) 0 ;
5210 wxArrayString *arg2 = 0 ;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "self",(char *) "items", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5219 {
5220 if (! PySequence_Check(obj1)) {
5221 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5222 SWIG_fail;
5223 }
5224 arg2 = new wxArrayString;
5225 int i, len=PySequence_Length(obj1);
5226 for (i=0; i<len; i++) {
5227 PyObject* item = PySequence_GetItem(obj1, i);
5228 #if wxUSE_UNICODE
5229 PyObject* str = PyObject_Unicode(item);
5230 #else
5231 PyObject* str = PyObject_Str(item);
5232 #endif
5233 arg2->Add(Py2wxString(str));
5234 Py_DECREF(item);
5235 Py_DECREF(str);
5236 }
5237 }
5238 {
5239 PyThreadState* __tstate = wxPyBeginAllowThreads();
5240 (arg1)->Set((wxArrayString const &)*arg2);
5241
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 Py_INCREF(Py_None); resultobj = Py_None;
5246 {
5247 if (arg2) delete arg2;
5248 }
5249 return resultobj;
5250 fail:
5251 {
5252 if (arg2) delete arg2;
5253 }
5254 return NULL;
5255 }
5256
5257
5258 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxListBox *arg1 = (wxListBox *) 0 ;
5261 int arg2 ;
5262 bool result;
5263 PyObject * obj0 = 0 ;
5264 PyObject * obj1 = 0 ;
5265 char *kwnames[] = {
5266 (char *) "self",(char *) "n", NULL
5267 };
5268
5269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5271 {
5272 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 resultobj = SWIG_PyObj_FromBool((bool)result);
5283 return resultobj;
5284 fail:
5285 return NULL;
5286 }
5287
5288
5289 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxListBox *arg1 = (wxListBox *) 0 ;
5292 int arg2 ;
5293 bool arg3 = (bool) True ;
5294 PyObject * obj0 = 0 ;
5295 PyObject * obj1 = 0 ;
5296 PyObject * obj2 = 0 ;
5297 char *kwnames[] = {
5298 (char *) "self",(char *) "n",(char *) "select", NULL
5299 };
5300
5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5303 {
5304 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 if (obj2) {
5308 {
5309 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 }
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 (arg1)->SetSelection(arg2,arg3);
5316
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 Py_INCREF(Py_None); resultobj = Py_None;
5321 return resultobj;
5322 fail:
5323 return NULL;
5324 }
5325
5326
5327 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5328 PyObject *resultobj;
5329 wxListBox *arg1 = (wxListBox *) 0 ;
5330 int arg2 ;
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self",(char *) "n", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 {
5340 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 (arg1)->Select(arg2);
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 Py_INCREF(Py_None); resultobj = Py_None;
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj;
5359 wxListBox *arg1 = (wxListBox *) 0 ;
5360 int arg2 ;
5361 PyObject * obj0 = 0 ;
5362 PyObject * obj1 = 0 ;
5363 char *kwnames[] = {
5364 (char *) "self",(char *) "n", NULL
5365 };
5366
5367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5369 {
5370 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 {
5374 PyThreadState* __tstate = wxPyBeginAllowThreads();
5375 (arg1)->Deselect(arg2);
5376
5377 wxPyEndAllowThreads(__tstate);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 Py_INCREF(Py_None); resultobj = Py_None;
5381 return resultobj;
5382 fail:
5383 return NULL;
5384 }
5385
5386
5387 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5388 PyObject *resultobj;
5389 wxListBox *arg1 = (wxListBox *) 0 ;
5390 int arg2 = (int) -1 ;
5391 PyObject * obj0 = 0 ;
5392 PyObject * obj1 = 0 ;
5393 char *kwnames[] = {
5394 (char *) "self",(char *) "itemToLeaveSelected", NULL
5395 };
5396
5397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5399 if (obj1) {
5400 {
5401 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 }
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 (arg1)->DeselectAll(arg2);
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 Py_INCREF(Py_None); resultobj = Py_None;
5413 return resultobj;
5414 fail:
5415 return NULL;
5416 }
5417
5418
5419 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5420 PyObject *resultobj;
5421 wxListBox *arg1 = (wxListBox *) 0 ;
5422 wxString *arg2 = 0 ;
5423 bool arg3 = (bool) True ;
5424 bool result;
5425 bool temp2 = False ;
5426 PyObject * obj0 = 0 ;
5427 PyObject * obj1 = 0 ;
5428 PyObject * obj2 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "s",(char *) "select", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5435 {
5436 arg2 = wxString_in_helper(obj1);
5437 if (arg2 == NULL) SWIG_fail;
5438 temp2 = True;
5439 }
5440 if (obj2) {
5441 {
5442 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 }
5446 {
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 resultobj = SWIG_PyObj_FromBool((bool)result);
5454 {
5455 if (temp2)
5456 delete arg2;
5457 }
5458 return resultobj;
5459 fail:
5460 {
5461 if (temp2)
5462 delete arg2;
5463 }
5464 return NULL;
5465 }
5466
5467
5468 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj;
5470 wxListBox *arg1 = (wxListBox *) 0 ;
5471 PyObject *result;
5472 PyObject * obj0 = 0 ;
5473 char *kwnames[] = {
5474 (char *) "self", NULL
5475 };
5476
5477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 result = (PyObject *)wxListBox_GetSelections(arg1);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 resultobj = result;
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxListBox *arg1 = (wxListBox *) 0 ;
5496 int arg2 ;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "n", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5505 {
5506 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 (arg1)->SetFirstItem(arg2);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 Py_INCREF(Py_None); resultobj = Py_None;
5517 return resultobj;
5518 fail:
5519 return NULL;
5520 }
5521
5522
5523 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5524 PyObject *resultobj;
5525 wxListBox *arg1 = (wxListBox *) 0 ;
5526 wxString *arg2 = 0 ;
5527 bool temp2 = False ;
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 char *kwnames[] = {
5531 (char *) "self",(char *) "s", NULL
5532 };
5533
5534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5536 {
5537 arg2 = wxString_in_helper(obj1);
5538 if (arg2 == NULL) SWIG_fail;
5539 temp2 = True;
5540 }
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 (arg1)->SetFirstItem((wxString const &)*arg2);
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 Py_INCREF(Py_None); resultobj = Py_None;
5549 {
5550 if (temp2)
5551 delete arg2;
5552 }
5553 return resultobj;
5554 fail:
5555 {
5556 if (temp2)
5557 delete arg2;
5558 }
5559 return NULL;
5560 }
5561
5562
5563 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject *resultobj;
5565 wxListBox *arg1 = (wxListBox *) 0 ;
5566 int arg2 ;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 char *kwnames[] = {
5570 (char *) "self",(char *) "n", NULL
5571 };
5572
5573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5575 {
5576 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5577 if (PyErr_Occurred()) SWIG_fail;
5578 }
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 (arg1)->EnsureVisible(arg2);
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 Py_INCREF(Py_None); resultobj = Py_None;
5587 return resultobj;
5588 fail:
5589 return NULL;
5590 }
5591
5592
5593 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj;
5595 wxListBox *arg1 = (wxListBox *) 0 ;
5596 wxString *arg2 = 0 ;
5597 bool temp2 = False ;
5598 PyObject * obj0 = 0 ;
5599 PyObject * obj1 = 0 ;
5600 char *kwnames[] = {
5601 (char *) "self",(char *) "s", NULL
5602 };
5603
5604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5606 {
5607 arg2 = wxString_in_helper(obj1);
5608 if (arg2 == NULL) SWIG_fail;
5609 temp2 = True;
5610 }
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5614
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 Py_INCREF(Py_None); resultobj = Py_None;
5619 {
5620 if (temp2)
5621 delete arg2;
5622 }
5623 return resultobj;
5624 fail:
5625 {
5626 if (temp2)
5627 delete arg2;
5628 }
5629 return NULL;
5630 }
5631
5632
5633 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5634 PyObject *resultobj;
5635 wxListBox *arg1 = (wxListBox *) 0 ;
5636 bool result;
5637 PyObject * obj0 = 0 ;
5638 char *kwnames[] = {
5639 (char *) "self", NULL
5640 };
5641
5642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5644 {
5645 PyThreadState* __tstate = wxPyBeginAllowThreads();
5646 result = (bool)((wxListBox const *)arg1)->IsSorted();
5647
5648 wxPyEndAllowThreads(__tstate);
5649 if (PyErr_Occurred()) SWIG_fail;
5650 }
5651 resultobj = SWIG_PyObj_FromBool((bool)result);
5652 return resultobj;
5653 fail:
5654 return NULL;
5655 }
5656
5657
5658 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5659 PyObject *obj;
5660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5661 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5662 Py_INCREF(obj);
5663 return Py_BuildValue((char *)"");
5664 }
5665 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj;
5667 wxWindow *arg1 = (wxWindow *) 0 ;
5668 int arg2 ;
5669 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5670 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5671 wxSize const &arg4_defvalue = wxDefaultSize ;
5672 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5673 int arg5 = (int) 0 ;
5674 wxString *arg6 = (wxString *) NULL ;
5675 long arg7 = (long) 0 ;
5676 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5677 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5678 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5679 wxString *arg9 = (wxString *) &arg9_defvalue ;
5680 wxCheckListBox *result;
5681 wxPoint temp3 ;
5682 wxSize temp4 ;
5683 bool temp8 = False ;
5684 PyObject * obj0 = 0 ;
5685 PyObject * obj1 = 0 ;
5686 PyObject * obj2 = 0 ;
5687 PyObject * obj3 = 0 ;
5688 PyObject * obj4 = 0 ;
5689 PyObject * obj5 = 0 ;
5690 PyObject * obj6 = 0 ;
5691 PyObject * obj7 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 {
5699 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 if (obj2) {
5703 {
5704 arg3 = &temp3;
5705 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5706 }
5707 }
5708 if (obj3) {
5709 {
5710 arg4 = &temp4;
5711 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5712 }
5713 }
5714 if (obj4) {
5715 {
5716 arg5 = PyList_Size(obj4);
5717 arg6 = wxString_LIST_helper(obj4);
5718 if (arg6 == NULL) SWIG_fail;
5719 }
5720 }
5721 if (obj5) {
5722 {
5723 arg7 = (long) SWIG_PyObj_AsLong(obj5);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 }
5727 if (obj6) {
5728 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5729 if (arg8 == NULL) {
5730 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5731 }
5732 }
5733 if (obj7) {
5734 {
5735 arg9 = wxString_in_helper(obj7);
5736 if (arg9 == NULL) SWIG_fail;
5737 temp8 = True;
5738 }
5739 }
5740 {
5741 PyThreadState* __tstate = wxPyBeginAllowThreads();
5742 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5743
5744 wxPyEndAllowThreads(__tstate);
5745 if (PyErr_Occurred()) SWIG_fail;
5746 }
5747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5748 {
5749 if (arg6) delete [] arg6;
5750 }
5751 {
5752 if (temp8)
5753 delete arg9;
5754 }
5755 return resultobj;
5756 fail:
5757 {
5758 if (arg6) delete [] arg6;
5759 }
5760 {
5761 if (temp8)
5762 delete arg9;
5763 }
5764 return NULL;
5765 }
5766
5767
5768 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5769 PyObject *resultobj;
5770 wxCheckListBox *result;
5771 char *kwnames[] = {
5772 NULL
5773 };
5774
5775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5776 {
5777 PyThreadState* __tstate = wxPyBeginAllowThreads();
5778 result = (wxCheckListBox *)new wxCheckListBox();
5779
5780 wxPyEndAllowThreads(__tstate);
5781 if (PyErr_Occurred()) SWIG_fail;
5782 }
5783 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5784 return resultobj;
5785 fail:
5786 return NULL;
5787 }
5788
5789
5790 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5791 PyObject *resultobj;
5792 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5793 wxWindow *arg2 = (wxWindow *) 0 ;
5794 int arg3 ;
5795 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5796 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5797 wxSize const &arg5_defvalue = wxDefaultSize ;
5798 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5799 int arg6 = (int) 0 ;
5800 wxString *arg7 = (wxString *) NULL ;
5801 long arg8 = (long) 0 ;
5802 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5803 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5804 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5805 wxString *arg10 = (wxString *) &arg10_defvalue ;
5806 bool result;
5807 wxPoint temp4 ;
5808 wxSize temp5 ;
5809 bool temp9 = False ;
5810 PyObject * obj0 = 0 ;
5811 PyObject * obj1 = 0 ;
5812 PyObject * obj2 = 0 ;
5813 PyObject * obj3 = 0 ;
5814 PyObject * obj4 = 0 ;
5815 PyObject * obj5 = 0 ;
5816 PyObject * obj6 = 0 ;
5817 PyObject * obj7 = 0 ;
5818 PyObject * obj8 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5826 {
5827 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 if (obj3) {
5831 {
5832 arg4 = &temp4;
5833 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5834 }
5835 }
5836 if (obj4) {
5837 {
5838 arg5 = &temp5;
5839 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5840 }
5841 }
5842 if (obj5) {
5843 {
5844 arg6 = PyList_Size(obj5);
5845 arg7 = wxString_LIST_helper(obj5);
5846 if (arg7 == NULL) SWIG_fail;
5847 }
5848 }
5849 if (obj6) {
5850 {
5851 arg8 = (long) SWIG_PyObj_AsLong(obj6);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 }
5855 if (obj7) {
5856 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5857 if (arg9 == NULL) {
5858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5859 }
5860 }
5861 if (obj8) {
5862 {
5863 arg10 = wxString_in_helper(obj8);
5864 if (arg10 == NULL) SWIG_fail;
5865 temp9 = True;
5866 }
5867 }
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 resultobj = SWIG_PyObj_FromBool((bool)result);
5876 {
5877 if (arg7) delete [] arg7;
5878 }
5879 {
5880 if (temp9)
5881 delete arg10;
5882 }
5883 return resultobj;
5884 fail:
5885 {
5886 if (arg7) delete [] arg7;
5887 }
5888 {
5889 if (temp9)
5890 delete arg10;
5891 }
5892 return NULL;
5893 }
5894
5895
5896 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5897 PyObject *resultobj;
5898 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5899 int arg2 ;
5900 bool result;
5901 PyObject * obj0 = 0 ;
5902 PyObject * obj1 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self",(char *) "index", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5909 {
5910 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5911 if (PyErr_Occurred()) SWIG_fail;
5912 }
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 result = (bool)(arg1)->IsChecked(arg2);
5916
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_PyObj_FromBool((bool)result);
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj;
5929 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5930 int arg2 ;
5931 int arg3 = (int) True ;
5932 PyObject * obj0 = 0 ;
5933 PyObject * obj1 = 0 ;
5934 PyObject * obj2 = 0 ;
5935 char *kwnames[] = {
5936 (char *) "self",(char *) "index",(char *) "check", NULL
5937 };
5938
5939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
5940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5941 {
5942 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 if (obj2) {
5946 {
5947 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 }
5951 {
5952 PyThreadState* __tstate = wxPyBeginAllowThreads();
5953 (arg1)->Check(arg2,arg3);
5954
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 Py_INCREF(Py_None); resultobj = Py_None;
5959 return resultobj;
5960 fail:
5961 return NULL;
5962 }
5963
5964
5965 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5966 PyObject *resultobj;
5967 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5968 int result;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 result = (int)(arg1)->GetItemHeight();
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 resultobj = SWIG_PyObj_FromInt((int)result);
5984 return resultobj;
5985 fail:
5986 return NULL;
5987 }
5988
5989
5990 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj;
5992 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5993 wxPoint *arg2 = 0 ;
5994 int result;
5995 wxPoint temp2 ;
5996 PyObject * obj0 = 0 ;
5997 PyObject * obj1 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self",(char *) "pt", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6004 {
6005 arg2 = &temp2;
6006 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6007 }
6008 {
6009 PyThreadState* __tstate = wxPyBeginAllowThreads();
6010 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6011
6012 wxPyEndAllowThreads(__tstate);
6013 if (PyErr_Occurred()) SWIG_fail;
6014 }
6015 resultobj = SWIG_PyObj_FromInt((int)result);
6016 return resultobj;
6017 fail:
6018 return NULL;
6019 }
6020
6021
6022 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6023 PyObject *resultobj;
6024 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6025 int arg2 ;
6026 int arg3 ;
6027 int result;
6028 PyObject * obj0 = 0 ;
6029 PyObject * obj1 = 0 ;
6030 PyObject * obj2 = 0 ;
6031 char *kwnames[] = {
6032 (char *) "self",(char *) "x",(char *) "y", NULL
6033 };
6034
6035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6037 {
6038 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 {
6042 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6048
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 resultobj = SWIG_PyObj_FromInt((int)result);
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6060 PyObject *obj;
6061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6062 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6063 Py_INCREF(obj);
6064 return Py_BuildValue((char *)"");
6065 }
6066 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6067 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6068 return 1;
6069 }
6070
6071
6072 static PyObject *_wrap_TextCtrlNameStr_get() {
6073 PyObject *pyobj;
6074
6075 {
6076 #if wxUSE_UNICODE
6077 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6078 #else
6079 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6080 #endif
6081 }
6082 return pyobj;
6083 }
6084
6085
6086 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6087 PyObject *resultobj;
6088 wxTextAttr *result;
6089
6090 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (wxTextAttr *)new wxTextAttr();
6094
6095 wxPyEndAllowThreads(__tstate);
6096 if (PyErr_Occurred()) SWIG_fail;
6097 }
6098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6106 PyObject *resultobj;
6107 wxColour *arg1 = 0 ;
6108 wxColour const &arg2_defvalue = wxNullColour ;
6109 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6110 wxFont const &arg3_defvalue = wxNullFont ;
6111 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6112 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6113 wxTextAttr *result;
6114 wxColour temp1 ;
6115 wxColour temp2 ;
6116 PyObject * obj0 = 0 ;
6117 PyObject * obj1 = 0 ;
6118 PyObject * obj2 = 0 ;
6119 PyObject * obj3 = 0 ;
6120
6121 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6122 {
6123 arg1 = &temp1;
6124 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6125 }
6126 if (obj1) {
6127 {
6128 arg2 = &temp2;
6129 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6130 }
6131 }
6132 if (obj2) {
6133 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6134 if (arg3 == NULL) {
6135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6136 }
6137 }
6138 if (obj3) {
6139 {
6140 arg4 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj3);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 }
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6152 return resultobj;
6153 fail:
6154 return NULL;
6155 }
6156
6157
6158 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6159 int argc;
6160 PyObject *argv[5];
6161 int ii;
6162
6163 argc = PyObject_Length(args);
6164 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6165 argv[ii] = PyTuple_GetItem(args,ii);
6166 }
6167 if (argc == 0) {
6168 return _wrap_new_TextAttr__SWIG_0(self,args);
6169 }
6170 if ((argc >= 1) && (argc <= 4)) {
6171 int _v;
6172 {
6173 _v = wxColour_typecheck(argv[0]);
6174 }
6175 if (_v) {
6176 if (argc <= 1) {
6177 return _wrap_new_TextAttr__SWIG_1(self,args);
6178 }
6179 {
6180 _v = wxColour_typecheck(argv[1]);
6181 }
6182 if (_v) {
6183 if (argc <= 2) {
6184 return _wrap_new_TextAttr__SWIG_1(self,args);
6185 }
6186 {
6187 void *ptr;
6188 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6189 _v = 0;
6190 PyErr_Clear();
6191 } else {
6192 _v = 1;
6193 }
6194 }
6195 if (_v) {
6196 if (argc <= 3) {
6197 return _wrap_new_TextAttr__SWIG_1(self,args);
6198 }
6199 {
6200 SWIG_PyObj_AsInt(argv[3]);
6201 if (PyErr_Occurred()) {
6202 _v = 0;
6203 PyErr_Clear();
6204 } else {
6205 _v = 1;
6206 }
6207 }
6208 if (_v) {
6209 return _wrap_new_TextAttr__SWIG_1(self,args);
6210 }
6211 }
6212 }
6213 }
6214 }
6215
6216 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6217 return NULL;
6218 }
6219
6220
6221 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6224 PyObject * obj0 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6231 {
6232 PyThreadState* __tstate = wxPyBeginAllowThreads();
6233 delete arg1;
6234
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 Py_INCREF(Py_None); resultobj = Py_None;
6239 return resultobj;
6240 fail:
6241 return NULL;
6242 }
6243
6244
6245 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj;
6247 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6248 PyObject * obj0 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 (arg1)->Init();
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 Py_INCREF(Py_None); resultobj = Py_None;
6263 return resultobj;
6264 fail:
6265 return NULL;
6266 }
6267
6268
6269 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6272 wxColour *arg2 = 0 ;
6273 wxColour temp2 ;
6274 PyObject * obj0 = 0 ;
6275 PyObject * obj1 = 0 ;
6276 char *kwnames[] = {
6277 (char *) "self",(char *) "colText", NULL
6278 };
6279
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6282 {
6283 arg2 = &temp2;
6284 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6285 }
6286 {
6287 PyThreadState* __tstate = wxPyBeginAllowThreads();
6288 (arg1)->SetTextColour((wxColour const &)*arg2);
6289
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 Py_INCREF(Py_None); resultobj = Py_None;
6294 return resultobj;
6295 fail:
6296 return NULL;
6297 }
6298
6299
6300 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj;
6302 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6303 wxColour *arg2 = 0 ;
6304 wxColour temp2 ;
6305 PyObject * obj0 = 0 ;
6306 PyObject * obj1 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "self",(char *) "colBack", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6313 {
6314 arg2 = &temp2;
6315 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6316 }
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 Py_INCREF(Py_None); resultobj = Py_None;
6325 return resultobj;
6326 fail:
6327 return NULL;
6328 }
6329
6330
6331 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6332 PyObject *resultobj;
6333 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6334 wxFont *arg2 = 0 ;
6335 long arg3 = (long) wxTEXT_ATTR_FONT ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338 PyObject * obj2 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "font",(char *) "flags", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6346 if (arg2 == NULL) {
6347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6348 }
6349 if (obj2) {
6350 {
6351 arg3 = (long) SWIG_PyObj_AsLong(obj2);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 }
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6358
6359 wxPyEndAllowThreads(__tstate);
6360 if (PyErr_Occurred()) SWIG_fail;
6361 }
6362 Py_INCREF(Py_None); resultobj = Py_None;
6363 return resultobj;
6364 fail:
6365 return NULL;
6366 }
6367
6368
6369 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6370 PyObject *resultobj;
6371 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6372 int arg2 ;
6373 PyObject * obj0 = 0 ;
6374 PyObject * obj1 = 0 ;
6375 char *kwnames[] = {
6376 (char *) "self",(char *) "alignment", NULL
6377 };
6378
6379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6381 {
6382 arg2 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj1);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 Py_INCREF(Py_None); resultobj = Py_None;
6393 return resultobj;
6394 fail:
6395 return NULL;
6396 }
6397
6398
6399 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6400 PyObject *resultobj;
6401 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6402 wxArrayInt *arg2 = 0 ;
6403 PyObject * obj0 = 0 ;
6404 PyObject * obj1 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self",(char *) "tabs", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6411 {
6412 if (! PySequence_Check(obj1)) {
6413 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6414 SWIG_fail;
6415 }
6416 arg2 = new wxArrayInt;
6417 int i, len=PySequence_Length(obj1);
6418 for (i=0; i<len; i++) {
6419 PyObject* item = PySequence_GetItem(obj1, i);
6420 PyObject* number = PyNumber_Int(item);
6421 arg2->Add(PyInt_AS_LONG(number));
6422 Py_DECREF(item);
6423 Py_DECREF(number);
6424 }
6425 }
6426 {
6427 PyThreadState* __tstate = wxPyBeginAllowThreads();
6428 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6429
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 Py_INCREF(Py_None); resultobj = Py_None;
6434 {
6435 if (arg2) delete arg2;
6436 }
6437 return resultobj;
6438 fail:
6439 {
6440 if (arg2) delete arg2;
6441 }
6442 return NULL;
6443 }
6444
6445
6446 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6447 PyObject *resultobj;
6448 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6449 int arg2 ;
6450 PyObject * obj0 = 0 ;
6451 PyObject * obj1 = 0 ;
6452 char *kwnames[] = {
6453 (char *) "self",(char *) "indent", NULL
6454 };
6455
6456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6458 {
6459 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 (arg1)->SetLeftIndent(arg2);
6465
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 Py_INCREF(Py_None); resultobj = Py_None;
6470 return resultobj;
6471 fail:
6472 return NULL;
6473 }
6474
6475
6476 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj;
6478 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6479 int arg2 ;
6480 PyObject * obj0 = 0 ;
6481 PyObject * obj1 = 0 ;
6482 char *kwnames[] = {
6483 (char *) "self",(char *) "indent", NULL
6484 };
6485
6486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6488 {
6489 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6490 if (PyErr_Occurred()) SWIG_fail;
6491 }
6492 {
6493 PyThreadState* __tstate = wxPyBeginAllowThreads();
6494 (arg1)->SetRightIndent(arg2);
6495
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 Py_INCREF(Py_None); resultobj = Py_None;
6500 return resultobj;
6501 fail:
6502 return NULL;
6503 }
6504
6505
6506 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject *resultobj;
6508 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6509 long arg2 ;
6510 PyObject * obj0 = 0 ;
6511 PyObject * obj1 = 0 ;
6512 char *kwnames[] = {
6513 (char *) "self",(char *) "flags", NULL
6514 };
6515
6516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6518 {
6519 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 (arg1)->SetFlags(arg2);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 Py_INCREF(Py_None); resultobj = Py_None;
6530 return resultobj;
6531 fail:
6532 return NULL;
6533 }
6534
6535
6536 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6537 PyObject *resultobj;
6538 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6539 bool result;
6540 PyObject * obj0 = 0 ;
6541 char *kwnames[] = {
6542 (char *) "self", NULL
6543 };
6544
6545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6550
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = SWIG_PyObj_FromBool((bool)result);
6555 return resultobj;
6556 fail:
6557 return NULL;
6558 }
6559
6560
6561 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6562 PyObject *resultobj;
6563 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6564 bool result;
6565 PyObject * obj0 = 0 ;
6566 char *kwnames[] = {
6567 (char *) "self", NULL
6568 };
6569
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 resultobj = SWIG_PyObj_FromBool((bool)result);
6580 return resultobj;
6581 fail:
6582 return NULL;
6583 }
6584
6585
6586 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6587 PyObject *resultobj;
6588 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6589 bool result;
6590 PyObject * obj0 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "self", NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6597 {
6598 PyThreadState* __tstate = wxPyBeginAllowThreads();
6599 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6600
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 resultobj = SWIG_PyObj_FromBool((bool)result);
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6612 PyObject *resultobj;
6613 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6614 bool result;
6615 PyObject * obj0 = 0 ;
6616 char *kwnames[] = {
6617 (char *) "self", NULL
6618 };
6619
6620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 resultobj = SWIG_PyObj_FromBool((bool)result);
6630 return resultobj;
6631 fail:
6632 return NULL;
6633 }
6634
6635
6636 static PyObject *_wrap_TextAttr_HasTabs(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_HasTabs",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)->HasTabs();
6650
6651 wxPyEndAllowThreads(__tstate);
6652 if (PyErr_Occurred()) SWIG_fail;
6653 }
6654 resultobj = SWIG_PyObj_FromBool((bool)result);
6655 return resultobj;
6656 fail:
6657 return NULL;
6658 }
6659
6660
6661 static PyObject *_wrap_TextAttr_HasLeftIndent(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_HasLeftIndent",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)->HasLeftIndent();
6675
6676 wxPyEndAllowThreads(__tstate);
6677 if (PyErr_Occurred()) SWIG_fail;
6678 }
6679 resultobj = SWIG_PyObj_FromBool((bool)result);
6680 return resultobj;
6681 fail:
6682 return NULL;
6683 }
6684
6685
6686 static PyObject *_wrap_TextAttr_HasRightIndent(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_HasRightIndent",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)->HasRightIndent();
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 resultobj = SWIG_PyObj_FromBool((bool)result);
6705 return resultobj;
6706 fail:
6707 return NULL;
6708 }
6709
6710
6711 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6714 long arg2 ;
6715 bool result;
6716 PyObject * obj0 = 0 ;
6717 PyObject * obj1 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self",(char *) "flag", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
6723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6724 {
6725 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 resultobj = SWIG_PyObj_FromBool((bool)result);
6736 return resultobj;
6737 fail:
6738 return NULL;
6739 }
6740
6741
6742 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6743 PyObject *resultobj;
6744 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6745 wxColour *result;
6746 PyObject * obj0 = 0 ;
6747 char *kwnames[] = {
6748 (char *) "self", NULL
6749 };
6750
6751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6753 {
6754 PyThreadState* __tstate = wxPyBeginAllowThreads();
6755 {
6756 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6757 result = (wxColour *) &_result_ref;
6758 }
6759
6760 wxPyEndAllowThreads(__tstate);
6761 if (PyErr_Occurred()) SWIG_fail;
6762 }
6763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6764 return resultobj;
6765 fail:
6766 return NULL;
6767 }
6768
6769
6770 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6771 PyObject *resultobj;
6772 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6773 wxColour *result;
6774 PyObject * obj0 = 0 ;
6775 char *kwnames[] = {
6776 (char *) "self", NULL
6777 };
6778
6779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 {
6784 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6785 result = (wxColour *) &_result_ref;
6786 }
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6801 wxFont *result;
6802 PyObject * obj0 = 0 ;
6803 char *kwnames[] = {
6804 (char *) "self", NULL
6805 };
6806
6807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 {
6812 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6813 result = (wxFont *) &_result_ref;
6814 }
6815
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6829 int result;
6830 PyObject * obj0 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "self", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 resultobj = SWIG_PyObj_FromInt((int)result);
6845 return resultobj;
6846 fail:
6847 return NULL;
6848 }
6849
6850
6851 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6852 PyObject *resultobj;
6853 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6854 wxArrayInt *result;
6855 PyObject * obj0 = 0 ;
6856 char *kwnames[] = {
6857 (char *) "self", NULL
6858 };
6859
6860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6862 {
6863 PyThreadState* __tstate = wxPyBeginAllowThreads();
6864 {
6865 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6866 result = (wxArrayInt *) &_result_ref;
6867 }
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 {
6873 resultobj = PyList_New(0);
6874 size_t idx;
6875 for (idx = 0; idx < result->GetCount(); idx += 1) {
6876 PyObject* val = PyInt_FromLong( result->Item(idx) );
6877 PyList_Append(resultobj, val);
6878 Py_DECREF(val);
6879 }
6880 }
6881 return resultobj;
6882 fail:
6883 return NULL;
6884 }
6885
6886
6887 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6888 PyObject *resultobj;
6889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6890 long result;
6891 PyObject * obj0 = 0 ;
6892 char *kwnames[] = {
6893 (char *) "self", NULL
6894 };
6895
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 resultobj = SWIG_PyObj_FromLong((long)result);
6906 return resultobj;
6907 fail:
6908 return NULL;
6909 }
6910
6911
6912 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj;
6914 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6915 long result;
6916 PyObject * obj0 = 0 ;
6917 char *kwnames[] = {
6918 (char *) "self", NULL
6919 };
6920
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 resultobj = SWIG_PyObj_FromLong((long)result);
6931 return resultobj;
6932 fail:
6933 return NULL;
6934 }
6935
6936
6937 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj;
6939 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6940 long result;
6941 PyObject * obj0 = 0 ;
6942 char *kwnames[] = {
6943 (char *) "self", NULL
6944 };
6945
6946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = SWIG_PyObj_FromLong((long)result);
6956 return resultobj;
6957 fail:
6958 return NULL;
6959 }
6960
6961
6962 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6963 PyObject *resultobj;
6964 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6965 bool result;
6966 PyObject * obj0 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 resultobj = SWIG_PyObj_FromBool((bool)result);
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj;
6989 wxTextAttr *arg1 = 0 ;
6990 wxTextAttr *arg2 = 0 ;
6991 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6992 wxTextAttr result;
6993 PyObject * obj0 = 0 ;
6994 PyObject * obj1 = 0 ;
6995 PyObject * obj2 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7002 if (arg1 == NULL) {
7003 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7004 }
7005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7006 if (arg2 == NULL) {
7007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7008 }
7009 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7010 {
7011 PyThreadState* __tstate = wxPyBeginAllowThreads();
7012 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7013
7014 wxPyEndAllowThreads(__tstate);
7015 if (PyErr_Occurred()) SWIG_fail;
7016 }
7017 {
7018 wxTextAttr * resultptr;
7019 resultptr = new wxTextAttr((wxTextAttr &) result);
7020 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
7021 }
7022 return resultobj;
7023 fail:
7024 return NULL;
7025 }
7026
7027
7028 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7029 PyObject *obj;
7030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7031 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7032 Py_INCREF(obj);
7033 return Py_BuildValue((char *)"");
7034 }
7035 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 wxWindow *arg1 = (wxWindow *) 0 ;
7038 int arg2 ;
7039 wxString const &arg3_defvalue = wxPyEmptyString ;
7040 wxString *arg3 = (wxString *) &arg3_defvalue ;
7041 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7042 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7043 wxSize const &arg5_defvalue = wxDefaultSize ;
7044 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7045 long arg6 = (long) 0 ;
7046 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7047 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7048 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7049 wxString *arg8 = (wxString *) &arg8_defvalue ;
7050 wxTextCtrl *result;
7051 bool temp3 = False ;
7052 wxPoint temp4 ;
7053 wxSize temp5 ;
7054 bool temp8 = False ;
7055 PyObject * obj0 = 0 ;
7056 PyObject * obj1 = 0 ;
7057 PyObject * obj2 = 0 ;
7058 PyObject * obj3 = 0 ;
7059 PyObject * obj4 = 0 ;
7060 PyObject * obj5 = 0 ;
7061 PyObject * obj6 = 0 ;
7062 PyObject * obj7 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7069 {
7070 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7071 if (PyErr_Occurred()) SWIG_fail;
7072 }
7073 if (obj2) {
7074 {
7075 arg3 = wxString_in_helper(obj2);
7076 if (arg3 == NULL) SWIG_fail;
7077 temp3 = True;
7078 }
7079 }
7080 if (obj3) {
7081 {
7082 arg4 = &temp4;
7083 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7084 }
7085 }
7086 if (obj4) {
7087 {
7088 arg5 = &temp5;
7089 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7090 }
7091 }
7092 if (obj5) {
7093 {
7094 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 }
7098 if (obj6) {
7099 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7100 if (arg7 == NULL) {
7101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7102 }
7103 }
7104 if (obj7) {
7105 {
7106 arg8 = wxString_in_helper(obj7);
7107 if (arg8 == NULL) SWIG_fail;
7108 temp8 = True;
7109 }
7110 }
7111 {
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7114
7115 wxPyEndAllowThreads(__tstate);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 {
7119 resultobj = wxPyMake_wxObject(result);
7120 }
7121 {
7122 if (temp3)
7123 delete arg3;
7124 }
7125 {
7126 if (temp8)
7127 delete arg8;
7128 }
7129 return resultobj;
7130 fail:
7131 {
7132 if (temp3)
7133 delete arg3;
7134 }
7135 {
7136 if (temp8)
7137 delete arg8;
7138 }
7139 return NULL;
7140 }
7141
7142
7143 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7144 PyObject *resultobj;
7145 wxTextCtrl *result;
7146 char *kwnames[] = {
7147 NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 result = (wxTextCtrl *)new wxTextCtrl();
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 {
7159 resultobj = wxPyMake_wxObject(result);
7160 }
7161 return resultobj;
7162 fail:
7163 return NULL;
7164 }
7165
7166
7167 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7168 PyObject *resultobj;
7169 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7170 wxWindow *arg2 = (wxWindow *) 0 ;
7171 int arg3 ;
7172 wxString const &arg4_defvalue = wxPyEmptyString ;
7173 wxString *arg4 = (wxString *) &arg4_defvalue ;
7174 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7175 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7176 wxSize const &arg6_defvalue = wxDefaultSize ;
7177 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7178 long arg7 = (long) 0 ;
7179 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7180 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7181 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7182 wxString *arg9 = (wxString *) &arg9_defvalue ;
7183 bool result;
7184 bool temp4 = False ;
7185 wxPoint temp5 ;
7186 wxSize temp6 ;
7187 bool temp9 = False ;
7188 PyObject * obj0 = 0 ;
7189 PyObject * obj1 = 0 ;
7190 PyObject * obj2 = 0 ;
7191 PyObject * obj3 = 0 ;
7192 PyObject * obj4 = 0 ;
7193 PyObject * obj5 = 0 ;
7194 PyObject * obj6 = 0 ;
7195 PyObject * obj7 = 0 ;
7196 PyObject * obj8 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7204 {
7205 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 if (obj3) {
7209 {
7210 arg4 = wxString_in_helper(obj3);
7211 if (arg4 == NULL) SWIG_fail;
7212 temp4 = True;
7213 }
7214 }
7215 if (obj4) {
7216 {
7217 arg5 = &temp5;
7218 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7219 }
7220 }
7221 if (obj5) {
7222 {
7223 arg6 = &temp6;
7224 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7225 }
7226 }
7227 if (obj6) {
7228 {
7229 arg7 = (long) SWIG_PyObj_AsLong(obj6);
7230 if (PyErr_Occurred()) SWIG_fail;
7231 }
7232 }
7233 if (obj7) {
7234 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7235 if (arg8 == NULL) {
7236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7237 }
7238 }
7239 if (obj8) {
7240 {
7241 arg9 = wxString_in_helper(obj8);
7242 if (arg9 == NULL) SWIG_fail;
7243 temp9 = True;
7244 }
7245 }
7246 {
7247 PyThreadState* __tstate = wxPyBeginAllowThreads();
7248 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7249
7250 wxPyEndAllowThreads(__tstate);
7251 if (PyErr_Occurred()) SWIG_fail;
7252 }
7253 resultobj = SWIG_PyObj_FromBool((bool)result);
7254 {
7255 if (temp4)
7256 delete arg4;
7257 }
7258 {
7259 if (temp9)
7260 delete arg9;
7261 }
7262 return resultobj;
7263 fail:
7264 {
7265 if (temp4)
7266 delete arg4;
7267 }
7268 {
7269 if (temp9)
7270 delete arg9;
7271 }
7272 return NULL;
7273 }
7274
7275
7276 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7277 PyObject *resultobj;
7278 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7279 wxString result;
7280 PyObject * obj0 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 result = ((wxTextCtrl const *)arg1)->GetValue();
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 {
7295 #if wxUSE_UNICODE
7296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7297 #else
7298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7299 #endif
7300 }
7301 return resultobj;
7302 fail:
7303 return NULL;
7304 }
7305
7306
7307 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7310 wxString *arg2 = 0 ;
7311 bool temp2 = False ;
7312 PyObject * obj0 = 0 ;
7313 PyObject * obj1 = 0 ;
7314 char *kwnames[] = {
7315 (char *) "self",(char *) "value", NULL
7316 };
7317
7318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7320 {
7321 arg2 = wxString_in_helper(obj1);
7322 if (arg2 == NULL) SWIG_fail;
7323 temp2 = True;
7324 }
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 (arg1)->SetValue((wxString const &)*arg2);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 Py_INCREF(Py_None); resultobj = Py_None;
7333 {
7334 if (temp2)
7335 delete arg2;
7336 }
7337 return resultobj;
7338 fail:
7339 {
7340 if (temp2)
7341 delete arg2;
7342 }
7343 return NULL;
7344 }
7345
7346
7347 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7350 long arg2 ;
7351 long arg3 ;
7352 wxString result;
7353 PyObject * obj0 = 0 ;
7354 PyObject * obj1 = 0 ;
7355 PyObject * obj2 = 0 ;
7356 char *kwnames[] = {
7357 (char *) "self",(char *) "from",(char *) "to", NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7362 {
7363 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 {
7367 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 {
7378 #if wxUSE_UNICODE
7379 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7380 #else
7381 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7382 #endif
7383 }
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj;
7392 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7393 long arg2 ;
7394 int result;
7395 PyObject * obj0 = 0 ;
7396 PyObject * obj1 = 0 ;
7397 char *kwnames[] = {
7398 (char *) "self",(char *) "lineNo", NULL
7399 };
7400
7401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7403 {
7404 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 resultobj = SWIG_PyObj_FromInt((int)result);
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7424 long arg2 ;
7425 wxString result;
7426 PyObject * obj0 = 0 ;
7427 PyObject * obj1 = 0 ;
7428 char *kwnames[] = {
7429 (char *) "self",(char *) "lineNo", NULL
7430 };
7431
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7434 {
7435 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7441
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 {
7446 #if wxUSE_UNICODE
7447 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7448 #else
7449 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7450 #endif
7451 }
7452 return resultobj;
7453 fail:
7454 return NULL;
7455 }
7456
7457
7458 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7459 PyObject *resultobj;
7460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7461 int result;
7462 PyObject * obj0 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7469 {
7470 PyThreadState* __tstate = wxPyBeginAllowThreads();
7471 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7472
7473 wxPyEndAllowThreads(__tstate);
7474 if (PyErr_Occurred()) SWIG_fail;
7475 }
7476 resultobj = SWIG_PyObj_FromInt((int)result);
7477 return resultobj;
7478 fail:
7479 return NULL;
7480 }
7481
7482
7483 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7484 PyObject *resultobj;
7485 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7486 bool result;
7487 PyObject * obj0 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "self", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 resultobj = SWIG_PyObj_FromBool((bool)result);
7502 return resultobj;
7503 fail:
7504 return NULL;
7505 }
7506
7507
7508 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj;
7510 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7511 bool result;
7512 PyObject * obj0 = 0 ;
7513 char *kwnames[] = {
7514 (char *) "self", NULL
7515 };
7516
7517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7519 {
7520 PyThreadState* __tstate = wxPyBeginAllowThreads();
7521 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7522
7523 wxPyEndAllowThreads(__tstate);
7524 if (PyErr_Occurred()) SWIG_fail;
7525 }
7526 resultobj = SWIG_PyObj_FromBool((bool)result);
7527 return resultobj;
7528 fail:
7529 return NULL;
7530 }
7531
7532
7533 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7534 PyObject *resultobj;
7535 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7536 bool result;
7537 PyObject * obj0 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self", NULL
7540 };
7541
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7547
7548 wxPyEndAllowThreads(__tstate);
7549 if (PyErr_Occurred()) SWIG_fail;
7550 }
7551 resultobj = SWIG_PyObj_FromBool((bool)result);
7552 return resultobj;
7553 fail:
7554 return NULL;
7555 }
7556
7557
7558 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7559 PyObject *resultobj;
7560 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7561 bool result;
7562 PyObject * obj0 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",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 = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7572
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 resultobj = SWIG_PyObj_FromBool((bool)result);
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj;
7585 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7586 long *arg2 = (long *) 0 ;
7587 long *arg3 = (long *) 0 ;
7588 long temp2 ;
7589 long temp3 ;
7590 PyObject * obj0 = 0 ;
7591 char *kwnames[] = {
7592 (char *) "self", NULL
7593 };
7594
7595 arg2 = &temp2;
7596 arg3 = &temp3;
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7602
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 Py_INCREF(Py_None); resultobj = Py_None;
7607 {
7608 PyObject *o = PyInt_FromLong((long) (*arg2));
7609 resultobj = t_output_helper(resultobj,o);
7610 }
7611 {
7612 PyObject *o = PyInt_FromLong((long) (*arg3));
7613 resultobj = t_output_helper(resultobj,o);
7614 }
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7624 wxString result;
7625 PyObject * obj0 = 0 ;
7626 char *kwnames[] = {
7627 (char *) "self", NULL
7628 };
7629
7630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7632 {
7633 PyThreadState* __tstate = wxPyBeginAllowThreads();
7634 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 {
7640 #if wxUSE_UNICODE
7641 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7642 #else
7643 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7644 #endif
7645 }
7646 return resultobj;
7647 fail:
7648 return NULL;
7649 }
7650
7651
7652 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7653 PyObject *resultobj;
7654 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7655 PyObject * obj0 = 0 ;
7656 char *kwnames[] = {
7657 (char *) "self", NULL
7658 };
7659
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7662 {
7663 PyThreadState* __tstate = wxPyBeginAllowThreads();
7664 (arg1)->Clear();
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 Py_INCREF(Py_None); resultobj = Py_None;
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7679 long arg2 ;
7680 long arg3 ;
7681 wxString *arg4 = 0 ;
7682 bool temp4 = False ;
7683 PyObject * obj0 = 0 ;
7684 PyObject * obj1 = 0 ;
7685 PyObject * obj2 = 0 ;
7686 PyObject * obj3 = 0 ;
7687 char *kwnames[] = {
7688 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7689 };
7690
7691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7693 {
7694 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 {
7698 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7699 if (PyErr_Occurred()) SWIG_fail;
7700 }
7701 {
7702 arg4 = wxString_in_helper(obj3);
7703 if (arg4 == NULL) SWIG_fail;
7704 temp4 = True;
7705 }
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7709
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 Py_INCREF(Py_None); resultobj = Py_None;
7714 {
7715 if (temp4)
7716 delete arg4;
7717 }
7718 return resultobj;
7719 fail:
7720 {
7721 if (temp4)
7722 delete arg4;
7723 }
7724 return NULL;
7725 }
7726
7727
7728 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7729 PyObject *resultobj;
7730 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7731 long arg2 ;
7732 long arg3 ;
7733 PyObject * obj0 = 0 ;
7734 PyObject * obj1 = 0 ;
7735 PyObject * obj2 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "from",(char *) "to", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
7741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7742 {
7743 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 {
7747 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 {
7751 PyThreadState* __tstate = wxPyBeginAllowThreads();
7752 (arg1)->Remove(arg2,arg3);
7753
7754 wxPyEndAllowThreads(__tstate);
7755 if (PyErr_Occurred()) SWIG_fail;
7756 }
7757 Py_INCREF(Py_None); resultobj = Py_None;
7758 return resultobj;
7759 fail:
7760 return NULL;
7761 }
7762
7763
7764 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7765 PyObject *resultobj;
7766 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7767 wxString *arg2 = 0 ;
7768 bool result;
7769 bool temp2 = False ;
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self",(char *) "file", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7778 {
7779 arg2 = wxString_in_helper(obj1);
7780 if (arg2 == NULL) SWIG_fail;
7781 temp2 = True;
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 resultobj = SWIG_PyObj_FromBool((bool)result);
7791 {
7792 if (temp2)
7793 delete arg2;
7794 }
7795 return resultobj;
7796 fail:
7797 {
7798 if (temp2)
7799 delete arg2;
7800 }
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7808 wxString const &arg2_defvalue = wxPyEmptyString ;
7809 wxString *arg2 = (wxString *) &arg2_defvalue ;
7810 bool result;
7811 bool temp2 = False ;
7812 PyObject * obj0 = 0 ;
7813 PyObject * obj1 = 0 ;
7814 char *kwnames[] = {
7815 (char *) "self",(char *) "file", NULL
7816 };
7817
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7820 if (obj1) {
7821 {
7822 arg2 = wxString_in_helper(obj1);
7823 if (arg2 == NULL) SWIG_fail;
7824 temp2 = True;
7825 }
7826 }
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 resultobj = SWIG_PyObj_FromBool((bool)result);
7835 {
7836 if (temp2)
7837 delete arg2;
7838 }
7839 return resultobj;
7840 fail:
7841 {
7842 if (temp2)
7843 delete arg2;
7844 }
7845 return NULL;
7846 }
7847
7848
7849 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj;
7851 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7852 PyObject * obj0 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 (arg1)->MarkDirty();
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 Py_INCREF(Py_None); resultobj = Py_None;
7867 return resultobj;
7868 fail:
7869 return NULL;
7870 }
7871
7872
7873 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj;
7875 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7876 PyObject * obj0 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self", NULL
7879 };
7880
7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 (arg1)->DiscardEdits();
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 Py_INCREF(Py_None); resultobj = Py_None;
7891 return resultobj;
7892 fail:
7893 return NULL;
7894 }
7895
7896
7897 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7898 PyObject *resultobj;
7899 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7900 unsigned long arg2 ;
7901 PyObject * obj0 = 0 ;
7902 PyObject * obj1 = 0 ;
7903 char *kwnames[] = {
7904 (char *) "self",(char *) "len", NULL
7905 };
7906
7907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7909 {
7910 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
7911 if (PyErr_Occurred()) SWIG_fail;
7912 }
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 (arg1)->SetMaxLength(arg2);
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 Py_INCREF(Py_None); resultobj = Py_None;
7921 return resultobj;
7922 fail:
7923 return NULL;
7924 }
7925
7926
7927 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7928 PyObject *resultobj;
7929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7930 wxString *arg2 = 0 ;
7931 bool temp2 = False ;
7932 PyObject * obj0 = 0 ;
7933 PyObject * obj1 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self",(char *) "text", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7940 {
7941 arg2 = wxString_in_helper(obj1);
7942 if (arg2 == NULL) SWIG_fail;
7943 temp2 = True;
7944 }
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 (arg1)->WriteText((wxString const &)*arg2);
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 Py_INCREF(Py_None); resultobj = Py_None;
7953 {
7954 if (temp2)
7955 delete arg2;
7956 }
7957 return resultobj;
7958 fail:
7959 {
7960 if (temp2)
7961 delete arg2;
7962 }
7963 return NULL;
7964 }
7965
7966
7967 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7968 PyObject *resultobj;
7969 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7970 wxString *arg2 = 0 ;
7971 bool temp2 = False ;
7972 PyObject * obj0 = 0 ;
7973 PyObject * obj1 = 0 ;
7974 char *kwnames[] = {
7975 (char *) "self",(char *) "text", NULL
7976 };
7977
7978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7980 {
7981 arg2 = wxString_in_helper(obj1);
7982 if (arg2 == NULL) SWIG_fail;
7983 temp2 = True;
7984 }
7985 {
7986 PyThreadState* __tstate = wxPyBeginAllowThreads();
7987 (arg1)->AppendText((wxString const &)*arg2);
7988
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 Py_INCREF(Py_None); resultobj = Py_None;
7993 {
7994 if (temp2)
7995 delete arg2;
7996 }
7997 return resultobj;
7998 fail:
7999 {
8000 if (temp2)
8001 delete arg2;
8002 }
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8010 wxKeyEvent *arg2 = 0 ;
8011 bool result;
8012 PyObject * obj0 = 0 ;
8013 PyObject * obj1 = 0 ;
8014 char *kwnames[] = {
8015 (char *) "self",(char *) "event", NULL
8016 };
8017
8018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8021 if (arg2 == NULL) {
8022 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_PyObj_FromBool((bool)result);
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8041 long arg2 ;
8042 long arg3 ;
8043 wxTextAttr *arg4 = 0 ;
8044 bool result;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 PyObject * obj2 = 0 ;
8048 PyObject * obj3 = 0 ;
8049 char *kwnames[] = {
8050 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8051 };
8052
8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8055 {
8056 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 {
8060 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8064 if (arg4 == NULL) {
8065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8066 }
8067 {
8068 PyThreadState* __tstate = wxPyBeginAllowThreads();
8069 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8070
8071 wxPyEndAllowThreads(__tstate);
8072 if (PyErr_Occurred()) SWIG_fail;
8073 }
8074 resultobj = SWIG_PyObj_FromBool((bool)result);
8075 return resultobj;
8076 fail:
8077 return NULL;
8078 }
8079
8080
8081 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8082 PyObject *resultobj;
8083 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8084 long arg2 ;
8085 wxTextAttr *arg3 = 0 ;
8086 bool result;
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 PyObject * obj2 = 0 ;
8090 char *kwnames[] = {
8091 (char *) "self",(char *) "position",(char *) "style", NULL
8092 };
8093
8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8096 {
8097 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8101 if (arg3 == NULL) {
8102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8103 }
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 resultobj = SWIG_PyObj_FromBool((bool)result);
8112 return resultobj;
8113 fail:
8114 return NULL;
8115 }
8116
8117
8118 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8121 wxTextAttr *arg2 = 0 ;
8122 bool result;
8123 PyObject * obj0 = 0 ;
8124 PyObject * obj1 = 0 ;
8125 char *kwnames[] = {
8126 (char *) "self",(char *) "style", NULL
8127 };
8128
8129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8132 if (arg2 == NULL) {
8133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8134 }
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 resultobj = SWIG_PyObj_FromBool((bool)result);
8143 return resultobj;
8144 fail:
8145 return NULL;
8146 }
8147
8148
8149 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject *resultobj;
8151 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8152 wxTextAttr *result;
8153 PyObject * obj0 = 0 ;
8154 char *kwnames[] = {
8155 (char *) "self", NULL
8156 };
8157
8158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8160 {
8161 PyThreadState* __tstate = wxPyBeginAllowThreads();
8162 {
8163 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8164 result = (wxTextAttr *) &_result_ref;
8165 }
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
8171 return resultobj;
8172 fail:
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8180 long arg2 ;
8181 long arg3 ;
8182 long result;
8183 PyObject * obj0 = 0 ;
8184 PyObject * obj1 = 0 ;
8185 PyObject * obj2 = 0 ;
8186 char *kwnames[] = {
8187 (char *) "self",(char *) "x",(char *) "y", NULL
8188 };
8189
8190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8192 {
8193 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 {
8197 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8203
8204 wxPyEndAllowThreads(__tstate);
8205 if (PyErr_Occurred()) SWIG_fail;
8206 }
8207 resultobj = SWIG_PyObj_FromLong((long)result);
8208 return resultobj;
8209 fail:
8210 return NULL;
8211 }
8212
8213
8214 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8215 PyObject *resultobj;
8216 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8217 long arg2 ;
8218 long *arg3 = (long *) 0 ;
8219 long *arg4 = (long *) 0 ;
8220 long temp3 ;
8221 long temp4 ;
8222 PyObject * obj0 = 0 ;
8223 PyObject * obj1 = 0 ;
8224 char *kwnames[] = {
8225 (char *) "self",(char *) "pos", NULL
8226 };
8227
8228 arg3 = &temp3;
8229 arg4 = &temp4;
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8232 {
8233 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 Py_INCREF(Py_None); resultobj = Py_None;
8244 {
8245 PyObject *o = PyInt_FromLong((long) (*arg3));
8246 resultobj = t_output_helper(resultobj,o);
8247 }
8248 {
8249 PyObject *o = PyInt_FromLong((long) (*arg4));
8250 resultobj = t_output_helper(resultobj,o);
8251 }
8252 return resultobj;
8253 fail:
8254 return NULL;
8255 }
8256
8257
8258 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8261 long arg2 ;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 char *kwnames[] = {
8265 (char *) "self",(char *) "pos", NULL
8266 };
8267
8268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8270 {
8271 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 (arg1)->ShowPosition(arg2);
8277
8278 wxPyEndAllowThreads(__tstate);
8279 if (PyErr_Occurred()) SWIG_fail;
8280 }
8281 Py_INCREF(Py_None); resultobj = Py_None;
8282 return resultobj;
8283 fail:
8284 return NULL;
8285 }
8286
8287
8288 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject *resultobj;
8290 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8291 PyObject * obj0 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 (arg1)->Copy();
8301
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 Py_INCREF(Py_None); resultobj = Py_None;
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj;
8314 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8315 PyObject * obj0 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8322 {
8323 PyThreadState* __tstate = wxPyBeginAllowThreads();
8324 (arg1)->Cut();
8325
8326 wxPyEndAllowThreads(__tstate);
8327 if (PyErr_Occurred()) SWIG_fail;
8328 }
8329 Py_INCREF(Py_None); resultobj = Py_None;
8330 return resultobj;
8331 fail:
8332 return NULL;
8333 }
8334
8335
8336 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8337 PyObject *resultobj;
8338 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8339 PyObject * obj0 = 0 ;
8340 char *kwnames[] = {
8341 (char *) "self", NULL
8342 };
8343
8344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8346 {
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8348 (arg1)->Paste();
8349
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 Py_INCREF(Py_None); resultobj = Py_None;
8354 return resultobj;
8355 fail:
8356 return NULL;
8357 }
8358
8359
8360 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj;
8362 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8363 bool result;
8364 PyObject * obj0 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 resultobj = SWIG_PyObj_FromBool((bool)result);
8379 return resultobj;
8380 fail:
8381 return NULL;
8382 }
8383
8384
8385 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8388 bool result;
8389 PyObject * obj0 = 0 ;
8390 char *kwnames[] = {
8391 (char *) "self", NULL
8392 };
8393
8394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8396 {
8397 PyThreadState* __tstate = wxPyBeginAllowThreads();
8398 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8399
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 resultobj = SWIG_PyObj_FromBool((bool)result);
8404 return resultobj;
8405 fail:
8406 return NULL;
8407 }
8408
8409
8410 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8411 PyObject *resultobj;
8412 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8413 bool result;
8414 PyObject * obj0 = 0 ;
8415 char *kwnames[] = {
8416 (char *) "self", NULL
8417 };
8418
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8424
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 resultobj = SWIG_PyObj_FromBool((bool)result);
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8438 PyObject * obj0 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 (arg1)->Undo();
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 Py_INCREF(Py_None); resultobj = Py_None;
8453 return resultobj;
8454 fail:
8455 return NULL;
8456 }
8457
8458
8459 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 (arg1)->Redo();
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 Py_INCREF(Py_None); resultobj = Py_None;
8477 return resultobj;
8478 fail:
8479 return NULL;
8480 }
8481
8482
8483 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8484 PyObject *resultobj;
8485 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8486 bool result;
8487 PyObject * obj0 = 0 ;
8488 char *kwnames[] = {
8489 (char *) "self", NULL
8490 };
8491
8492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 resultobj = SWIG_PyObj_FromBool((bool)result);
8502 return resultobj;
8503 fail:
8504 return NULL;
8505 }
8506
8507
8508 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8511 bool result;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8519 {
8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
8521 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8522
8523 wxPyEndAllowThreads(__tstate);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
8526 resultobj = SWIG_PyObj_FromBool((bool)result);
8527 return resultobj;
8528 fail:
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8536 long arg2 ;
8537 PyObject * obj0 = 0 ;
8538 PyObject * obj1 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self",(char *) "pos", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8545 {
8546 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 {
8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
8551 (arg1)->SetInsertionPoint(arg2);
8552
8553 wxPyEndAllowThreads(__tstate);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 Py_INCREF(Py_None); resultobj = Py_None;
8557 return resultobj;
8558 fail:
8559 return NULL;
8560 }
8561
8562
8563 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8564 PyObject *resultobj;
8565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8566 PyObject * obj0 = 0 ;
8567 char *kwnames[] = {
8568 (char *) "self", NULL
8569 };
8570
8571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 (arg1)->SetInsertionPointEnd();
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 Py_INCREF(Py_None); resultobj = Py_None;
8581 return resultobj;
8582 fail:
8583 return NULL;
8584 }
8585
8586
8587 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj;
8589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8590 long result;
8591 PyObject * obj0 = 0 ;
8592 char *kwnames[] = {
8593 (char *) "self", NULL
8594 };
8595
8596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
8605 resultobj = SWIG_PyObj_FromLong((long)result);
8606 return resultobj;
8607 fail:
8608 return NULL;
8609 }
8610
8611
8612 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8613 PyObject *resultobj;
8614 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8615 long result;
8616 PyObject * obj0 = 0 ;
8617 char *kwnames[] = {
8618 (char *) "self", NULL
8619 };
8620
8621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8626
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 resultobj = SWIG_PyObj_FromLong((long)result);
8631 return resultobj;
8632 fail:
8633 return NULL;
8634 }
8635
8636
8637 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8638 PyObject *resultobj;
8639 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8640 long arg2 ;
8641 long arg3 ;
8642 PyObject * obj0 = 0 ;
8643 PyObject * obj1 = 0 ;
8644 PyObject * obj2 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self",(char *) "from",(char *) "to", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8651 {
8652 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8653 if (PyErr_Occurred()) SWIG_fail;
8654 }
8655 {
8656 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 (arg1)->SetSelection(arg2,arg3);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 Py_INCREF(Py_None); resultobj = Py_None;
8667 return resultobj;
8668 fail:
8669 return NULL;
8670 }
8671
8672
8673 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8674 PyObject *resultobj;
8675 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8676 PyObject * obj0 = 0 ;
8677 char *kwnames[] = {
8678 (char *) "self", NULL
8679 };
8680
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 (arg1)->SelectAll();
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 Py_INCREF(Py_None); resultobj = Py_None;
8691 return resultobj;
8692 fail:
8693 return NULL;
8694 }
8695
8696
8697 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj;
8699 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8700 bool arg2 ;
8701 PyObject * obj0 = 0 ;
8702 PyObject * obj1 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self",(char *) "editable", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8709 {
8710 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->SetEditable(arg2);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8730 wxString *arg2 = 0 ;
8731 bool temp2 = False ;
8732 PyObject * obj0 = 0 ;
8733 PyObject * obj1 = 0 ;
8734 char *kwnames[] = {
8735 (char *) "self",(char *) "text", NULL
8736 };
8737
8738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8740 {
8741 arg2 = wxString_in_helper(obj1);
8742 if (arg2 == NULL) SWIG_fail;
8743 temp2 = True;
8744 }
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8748
8749 wxPyEndAllowThreads(__tstate);
8750 if (PyErr_Occurred()) SWIG_fail;
8751 }
8752 Py_INCREF(Py_None); resultobj = Py_None;
8753 {
8754 if (temp2)
8755 delete arg2;
8756 }
8757 return resultobj;
8758 fail:
8759 {
8760 if (temp2)
8761 delete arg2;
8762 }
8763 return NULL;
8764 }
8765
8766
8767 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8770 long arg2 ;
8771 long arg3 ;
8772 wxString result;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 PyObject * obj2 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self",(char *) "from",(char *) "to", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
8781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8782 {
8783 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 {
8787 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 {
8798 #if wxUSE_UNICODE
8799 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8800 #else
8801 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8802 #endif
8803 }
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8811 PyObject *obj;
8812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8813 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8814 Py_INCREF(obj);
8815 return Py_BuildValue((char *)"");
8816 }
8817 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8818 PyObject *resultobj;
8819 int arg1 ;
8820 wxMouseEvent *arg2 = 0 ;
8821 long arg3 ;
8822 long arg4 ;
8823 wxTextUrlEvent *result;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
8826 PyObject * obj2 = 0 ;
8827 PyObject * obj3 = 0 ;
8828 char *kwnames[] = {
8829 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8830 };
8831
8832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8833 {
8834 arg1 = (int) SWIG_PyObj_AsInt(obj0);
8835 if (PyErr_Occurred()) SWIG_fail;
8836 }
8837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8838 if (arg2 == NULL) {
8839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8840 }
8841 {
8842 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 {
8846 arg4 = (long) SWIG_PyObj_AsLong(obj3);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8857 return resultobj;
8858 fail:
8859 return NULL;
8860 }
8861
8862
8863 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj;
8865 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8866 wxMouseEvent *result;
8867 PyObject * obj0 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 {
8877 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8878 result = (wxMouseEvent *) &_result_ref;
8879 }
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8885 return resultobj;
8886 fail:
8887 return NULL;
8888 }
8889
8890
8891 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8892 PyObject *resultobj;
8893 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8894 long result;
8895 PyObject * obj0 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = SWIG_PyObj_FromLong((long)result);
8910 return resultobj;
8911 fail:
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8919 long result;
8920 PyObject * obj0 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 resultobj = SWIG_PyObj_FromLong((long)result);
8935 return resultobj;
8936 fail:
8937 return NULL;
8938 }
8939
8940
8941 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8942 PyObject *obj;
8943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8944 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8945 Py_INCREF(obj);
8946 return Py_BuildValue((char *)"");
8947 }
8948 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8949 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8950 return 1;
8951 }
8952
8953
8954 static PyObject *_wrap_ScrollBarNameStr_get() {
8955 PyObject *pyobj;
8956
8957 {
8958 #if wxUSE_UNICODE
8959 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8960 #else
8961 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8962 #endif
8963 }
8964 return pyobj;
8965 }
8966
8967
8968 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8969 PyObject *resultobj;
8970 wxWindow *arg1 = (wxWindow *) 0 ;
8971 int arg2 = (int) -1 ;
8972 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8973 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8974 wxSize const &arg4_defvalue = wxDefaultSize ;
8975 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8976 long arg5 = (long) wxSB_HORIZONTAL ;
8977 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8978 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8979 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8980 wxString *arg7 = (wxString *) &arg7_defvalue ;
8981 wxScrollBar *result;
8982 wxPoint temp3 ;
8983 wxSize temp4 ;
8984 bool temp7 = False ;
8985 PyObject * obj0 = 0 ;
8986 PyObject * obj1 = 0 ;
8987 PyObject * obj2 = 0 ;
8988 PyObject * obj3 = 0 ;
8989 PyObject * obj4 = 0 ;
8990 PyObject * obj5 = 0 ;
8991 PyObject * obj6 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8998 if (obj1) {
8999 {
9000 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9001 if (PyErr_Occurred()) SWIG_fail;
9002 }
9003 }
9004 if (obj2) {
9005 {
9006 arg3 = &temp3;
9007 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9008 }
9009 }
9010 if (obj3) {
9011 {
9012 arg4 = &temp4;
9013 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9014 }
9015 }
9016 if (obj4) {
9017 {
9018 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 }
9022 if (obj5) {
9023 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9024 if (arg6 == NULL) {
9025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9026 }
9027 }
9028 if (obj6) {
9029 {
9030 arg7 = wxString_in_helper(obj6);
9031 if (arg7 == NULL) SWIG_fail;
9032 temp7 = True;
9033 }
9034 }
9035 {
9036 PyThreadState* __tstate = wxPyBeginAllowThreads();
9037 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9038
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9043 {
9044 if (temp7)
9045 delete arg7;
9046 }
9047 return resultobj;
9048 fail:
9049 {
9050 if (temp7)
9051 delete arg7;
9052 }
9053 return NULL;
9054 }
9055
9056
9057 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9058 PyObject *resultobj;
9059 wxScrollBar *result;
9060 char *kwnames[] = {
9061 NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (wxScrollBar *)new wxScrollBar();
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9082 wxWindow *arg2 = (wxWindow *) 0 ;
9083 int arg3 = (int) -1 ;
9084 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9085 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9086 wxSize const &arg5_defvalue = wxDefaultSize ;
9087 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9088 long arg6 = (long) wxSB_HORIZONTAL ;
9089 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9090 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9091 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9092 wxString *arg8 = (wxString *) &arg8_defvalue ;
9093 bool result;
9094 wxPoint temp4 ;
9095 wxSize temp5 ;
9096 bool temp8 = False ;
9097 PyObject * obj0 = 0 ;
9098 PyObject * obj1 = 0 ;
9099 PyObject * obj2 = 0 ;
9100 PyObject * obj3 = 0 ;
9101 PyObject * obj4 = 0 ;
9102 PyObject * obj5 = 0 ;
9103 PyObject * obj6 = 0 ;
9104 PyObject * obj7 = 0 ;
9105 char *kwnames[] = {
9106 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9107 };
9108
9109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9111 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9112 if (obj2) {
9113 {
9114 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 }
9118 if (obj3) {
9119 {
9120 arg4 = &temp4;
9121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9122 }
9123 }
9124 if (obj4) {
9125 {
9126 arg5 = &temp5;
9127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9128 }
9129 }
9130 if (obj5) {
9131 {
9132 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 }
9136 if (obj6) {
9137 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9138 if (arg7 == NULL) {
9139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9140 }
9141 }
9142 if (obj7) {
9143 {
9144 arg8 = wxString_in_helper(obj7);
9145 if (arg8 == NULL) SWIG_fail;
9146 temp8 = True;
9147 }
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 resultobj = SWIG_PyObj_FromBool((bool)result);
9157 {
9158 if (temp8)
9159 delete arg8;
9160 }
9161 return resultobj;
9162 fail:
9163 {
9164 if (temp8)
9165 delete arg8;
9166 }
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9174 int result;
9175 PyObject * obj0 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 resultobj = SWIG_PyObj_FromInt((int)result);
9190 return resultobj;
9191 fail:
9192 return NULL;
9193 }
9194
9195
9196 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9199 int result;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 resultobj = SWIG_PyObj_FromInt((int)result);
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9224 int result;
9225 PyObject * obj0 = 0 ;
9226 char *kwnames[] = {
9227 (char *) "self", NULL
9228 };
9229
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 resultobj = SWIG_PyObj_FromInt((int)result);
9240 return resultobj;
9241 fail:
9242 return NULL;
9243 }
9244
9245
9246 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9249 int result;
9250 PyObject * obj0 = 0 ;
9251 char *kwnames[] = {
9252 (char *) "self", NULL
9253 };
9254
9255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 result = (int)((wxScrollBar const *)arg1)->GetRange();
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 resultobj = SWIG_PyObj_FromInt((int)result);
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9274 bool result;
9275 PyObject * obj0 = 0 ;
9276 char *kwnames[] = {
9277 (char *) "self", NULL
9278 };
9279
9280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 resultobj = SWIG_PyObj_FromBool((bool)result);
9290 return resultobj;
9291 fail:
9292 return NULL;
9293 }
9294
9295
9296 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9297 PyObject *resultobj;
9298 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9299 int arg2 ;
9300 PyObject * obj0 = 0 ;
9301 PyObject * obj1 = 0 ;
9302 char *kwnames[] = {
9303 (char *) "self",(char *) "viewStart", NULL
9304 };
9305
9306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9308 {
9309 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 }
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 (arg1)->SetThumbPosition(arg2);
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 Py_INCREF(Py_None); resultobj = Py_None;
9320 return resultobj;
9321 fail:
9322 return NULL;
9323 }
9324
9325
9326 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj;
9328 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9329 int arg2 ;
9330 int arg3 ;
9331 int arg4 ;
9332 int arg5 ;
9333 bool arg6 = (bool) True ;
9334 PyObject * obj0 = 0 ;
9335 PyObject * obj1 = 0 ;
9336 PyObject * obj2 = 0 ;
9337 PyObject * obj3 = 0 ;
9338 PyObject * obj4 = 0 ;
9339 PyObject * obj5 = 0 ;
9340 char *kwnames[] = {
9341 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 {
9347 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9348 if (PyErr_Occurred()) SWIG_fail;
9349 }
9350 {
9351 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 }
9354 {
9355 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 {
9359 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
9362 if (obj5) {
9363 {
9364 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
9367 }
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 return resultobj;
9377 fail:
9378 return NULL;
9379 }
9380
9381
9382 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9383 PyObject *obj;
9384 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9385 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9386 Py_INCREF(obj);
9387 return Py_BuildValue((char *)"");
9388 }
9389 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9390 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9391 return 1;
9392 }
9393
9394
9395 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9396 PyObject *pyobj;
9397
9398 {
9399 #if wxUSE_UNICODE
9400 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9401 #else
9402 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9403 #endif
9404 }
9405 return pyobj;
9406 }
9407
9408
9409 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9410 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9411 return 1;
9412 }
9413
9414
9415 static PyObject *_wrap_SpinCtrlNameStr_get() {
9416 PyObject *pyobj;
9417
9418 {
9419 #if wxUSE_UNICODE
9420 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9421 #else
9422 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9423 #endif
9424 }
9425 return pyobj;
9426 }
9427
9428
9429 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9430 PyObject *resultobj;
9431 wxWindow *arg1 = (wxWindow *) 0 ;
9432 int arg2 = (int) -1 ;
9433 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9434 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9435 wxSize const &arg4_defvalue = wxDefaultSize ;
9436 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9437 long arg5 = (long) wxSP_HORIZONTAL ;
9438 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9439 wxString *arg6 = (wxString *) &arg6_defvalue ;
9440 wxSpinButton *result;
9441 wxPoint temp3 ;
9442 wxSize temp4 ;
9443 bool temp6 = False ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9446 PyObject * obj2 = 0 ;
9447 PyObject * obj3 = 0 ;
9448 PyObject * obj4 = 0 ;
9449 PyObject * obj5 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 if (obj1) {
9457 {
9458 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
9461 }
9462 if (obj2) {
9463 {
9464 arg3 = &temp3;
9465 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9466 }
9467 }
9468 if (obj3) {
9469 {
9470 arg4 = &temp4;
9471 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9472 }
9473 }
9474 if (obj4) {
9475 {
9476 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9477 if (PyErr_Occurred()) SWIG_fail;
9478 }
9479 }
9480 if (obj5) {
9481 {
9482 arg6 = wxString_in_helper(obj5);
9483 if (arg6 == NULL) SWIG_fail;
9484 temp6 = True;
9485 }
9486 }
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9495 {
9496 if (temp6)
9497 delete arg6;
9498 }
9499 return resultobj;
9500 fail:
9501 {
9502 if (temp6)
9503 delete arg6;
9504 }
9505 return NULL;
9506 }
9507
9508
9509 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject *resultobj;
9511 wxSpinButton *result;
9512 char *kwnames[] = {
9513 NULL
9514 };
9515
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9517 {
9518 PyThreadState* __tstate = wxPyBeginAllowThreads();
9519 result = (wxSpinButton *)new wxSpinButton();
9520
9521 wxPyEndAllowThreads(__tstate);
9522 if (PyErr_Occurred()) SWIG_fail;
9523 }
9524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9534 wxWindow *arg2 = (wxWindow *) 0 ;
9535 int arg3 = (int) -1 ;
9536 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9537 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9538 wxSize const &arg5_defvalue = wxDefaultSize ;
9539 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9540 long arg6 = (long) wxSP_HORIZONTAL ;
9541 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9542 wxString *arg7 = (wxString *) &arg7_defvalue ;
9543 bool result;
9544 wxPoint temp4 ;
9545 wxSize temp5 ;
9546 bool temp7 = False ;
9547 PyObject * obj0 = 0 ;
9548 PyObject * obj1 = 0 ;
9549 PyObject * obj2 = 0 ;
9550 PyObject * obj3 = 0 ;
9551 PyObject * obj4 = 0 ;
9552 PyObject * obj5 = 0 ;
9553 PyObject * obj6 = 0 ;
9554 char *kwnames[] = {
9555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9556 };
9557
9558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9561 if (obj2) {
9562 {
9563 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 }
9567 if (obj3) {
9568 {
9569 arg4 = &temp4;
9570 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9571 }
9572 }
9573 if (obj4) {
9574 {
9575 arg5 = &temp5;
9576 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9577 }
9578 }
9579 if (obj5) {
9580 {
9581 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9582 if (PyErr_Occurred()) SWIG_fail;
9583 }
9584 }
9585 if (obj6) {
9586 {
9587 arg7 = wxString_in_helper(obj6);
9588 if (arg7 == NULL) SWIG_fail;
9589 temp7 = True;
9590 }
9591 }
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
9599 resultobj = SWIG_PyObj_FromBool((bool)result);
9600 {
9601 if (temp7)
9602 delete arg7;
9603 }
9604 return resultobj;
9605 fail:
9606 {
9607 if (temp7)
9608 delete arg7;
9609 }
9610 return NULL;
9611 }
9612
9613
9614 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9615 PyObject *resultobj;
9616 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9617 int result;
9618 PyObject * obj0 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (int)((wxSpinButton const *)arg1)->GetValue();
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
9632 resultobj = SWIG_PyObj_FromInt((int)result);
9633 return resultobj;
9634 fail:
9635 return NULL;
9636 }
9637
9638
9639 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9640 PyObject *resultobj;
9641 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9642 int result;
9643 PyObject * obj0 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "self", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 result = (int)((wxSpinButton const *)arg1)->GetMin();
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 resultobj = SWIG_PyObj_FromInt((int)result);
9658 return resultobj;
9659 fail:
9660 return NULL;
9661 }
9662
9663
9664 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj;
9666 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9667 int result;
9668 PyObject * obj0 = 0 ;
9669 char *kwnames[] = {
9670 (char *) "self", NULL
9671 };
9672
9673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 result = (int)((wxSpinButton const *)arg1)->GetMax();
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 resultobj = SWIG_PyObj_FromInt((int)result);
9683 return resultobj;
9684 fail:
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9692 int arg2 ;
9693 PyObject * obj0 = 0 ;
9694 PyObject * obj1 = 0 ;
9695 char *kwnames[] = {
9696 (char *) "self",(char *) "val", NULL
9697 };
9698
9699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9701 {
9702 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 {
9706 PyThreadState* __tstate = wxPyBeginAllowThreads();
9707 (arg1)->SetValue(arg2);
9708
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 Py_INCREF(Py_None); resultobj = Py_None;
9713 return resultobj;
9714 fail:
9715 return NULL;
9716 }
9717
9718
9719 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9722 int arg2 ;
9723 PyObject * obj0 = 0 ;
9724 PyObject * obj1 = 0 ;
9725 char *kwnames[] = {
9726 (char *) "self",(char *) "minVal", NULL
9727 };
9728
9729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
9730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9731 {
9732 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 (arg1)->SetMin(arg2);
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 Py_INCREF(Py_None); resultobj = Py_None;
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj;
9751 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9752 int arg2 ;
9753 PyObject * obj0 = 0 ;
9754 PyObject * obj1 = 0 ;
9755 char *kwnames[] = {
9756 (char *) "self",(char *) "maxVal", NULL
9757 };
9758
9759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
9760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9761 {
9762 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 (arg1)->SetMax(arg2);
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 Py_INCREF(Py_None); resultobj = Py_None;
9773 return resultobj;
9774 fail:
9775 return NULL;
9776 }
9777
9778
9779 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9780 PyObject *resultobj;
9781 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9782 int arg2 ;
9783 int arg3 ;
9784 PyObject * obj0 = 0 ;
9785 PyObject * obj1 = 0 ;
9786 PyObject * obj2 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9793 {
9794 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 {
9798 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 (arg1)->SetRange(arg2,arg3);
9804
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 Py_INCREF(Py_None); resultobj = Py_None;
9809 return resultobj;
9810 fail:
9811 return NULL;
9812 }
9813
9814
9815 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9816 PyObject *resultobj;
9817 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9818 bool result;
9819 PyObject * obj0 = 0 ;
9820 char *kwnames[] = {
9821 (char *) "self", NULL
9822 };
9823
9824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
9833 resultobj = SWIG_PyObj_FromBool((bool)result);
9834 return resultobj;
9835 fail:
9836 return NULL;
9837 }
9838
9839
9840 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9841 PyObject *obj;
9842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9843 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9844 Py_INCREF(obj);
9845 return Py_BuildValue((char *)"");
9846 }
9847 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9848 PyObject *resultobj;
9849 wxWindow *arg1 = (wxWindow *) 0 ;
9850 int arg2 = (int) -1 ;
9851 wxString const &arg3_defvalue = wxPyEmptyString ;
9852 wxString *arg3 = (wxString *) &arg3_defvalue ;
9853 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9854 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9855 wxSize const &arg5_defvalue = wxDefaultSize ;
9856 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9857 long arg6 = (long) wxSP_ARROW_KEYS ;
9858 int arg7 = (int) 0 ;
9859 int arg8 = (int) 100 ;
9860 int arg9 = (int) 0 ;
9861 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9862 wxString *arg10 = (wxString *) &arg10_defvalue ;
9863 wxSpinCtrl *result;
9864 bool temp3 = False ;
9865 wxPoint temp4 ;
9866 wxSize temp5 ;
9867 bool temp10 = False ;
9868 PyObject * obj0 = 0 ;
9869 PyObject * obj1 = 0 ;
9870 PyObject * obj2 = 0 ;
9871 PyObject * obj3 = 0 ;
9872 PyObject * obj4 = 0 ;
9873 PyObject * obj5 = 0 ;
9874 PyObject * obj6 = 0 ;
9875 PyObject * obj7 = 0 ;
9876 PyObject * obj8 = 0 ;
9877 PyObject * obj9 = 0 ;
9878 char *kwnames[] = {
9879 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9880 };
9881
9882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
9883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9884 if (obj1) {
9885 {
9886 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
9889 }
9890 if (obj2) {
9891 {
9892 arg3 = wxString_in_helper(obj2);
9893 if (arg3 == NULL) SWIG_fail;
9894 temp3 = True;
9895 }
9896 }
9897 if (obj3) {
9898 {
9899 arg4 = &temp4;
9900 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9901 }
9902 }
9903 if (obj4) {
9904 {
9905 arg5 = &temp5;
9906 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9907 }
9908 }
9909 if (obj5) {
9910 {
9911 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 }
9915 if (obj6) {
9916 {
9917 arg7 = (int) SWIG_PyObj_AsInt(obj6);
9918 if (PyErr_Occurred()) SWIG_fail;
9919 }
9920 }
9921 if (obj7) {
9922 {
9923 arg8 = (int) SWIG_PyObj_AsInt(obj7);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 }
9927 if (obj8) {
9928 {
9929 arg9 = (int) SWIG_PyObj_AsInt(obj8);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 }
9932 }
9933 if (obj9) {
9934 {
9935 arg10 = wxString_in_helper(obj9);
9936 if (arg10 == NULL) SWIG_fail;
9937 temp10 = True;
9938 }
9939 }
9940 {
9941 PyThreadState* __tstate = wxPyBeginAllowThreads();
9942 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9943
9944 wxPyEndAllowThreads(__tstate);
9945 if (PyErr_Occurred()) SWIG_fail;
9946 }
9947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9948 {
9949 if (temp3)
9950 delete arg3;
9951 }
9952 {
9953 if (temp10)
9954 delete arg10;
9955 }
9956 return resultobj;
9957 fail:
9958 {
9959 if (temp3)
9960 delete arg3;
9961 }
9962 {
9963 if (temp10)
9964 delete arg10;
9965 }
9966 return NULL;
9967 }
9968
9969
9970 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxSpinCtrl *result;
9973 char *kwnames[] = {
9974 NULL
9975 };
9976
9977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 result = (wxSpinCtrl *)new wxSpinCtrl();
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9986 return resultobj;
9987 fail:
9988 return NULL;
9989 }
9990
9991
9992 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9995 wxWindow *arg2 = (wxWindow *) 0 ;
9996 int arg3 = (int) -1 ;
9997 wxString const &arg4_defvalue = wxPyEmptyString ;
9998 wxString *arg4 = (wxString *) &arg4_defvalue ;
9999 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10000 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10001 wxSize const &arg6_defvalue = wxDefaultSize ;
10002 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10003 long arg7 = (long) wxSP_ARROW_KEYS ;
10004 int arg8 = (int) 0 ;
10005 int arg9 = (int) 100 ;
10006 int arg10 = (int) 0 ;
10007 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10008 wxString *arg11 = (wxString *) &arg11_defvalue ;
10009 bool result;
10010 bool temp4 = False ;
10011 wxPoint temp5 ;
10012 wxSize temp6 ;
10013 bool temp11 = 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 PyObject * obj10 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10032 if (obj2) {
10033 {
10034 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 }
10038 if (obj3) {
10039 {
10040 arg4 = wxString_in_helper(obj3);
10041 if (arg4 == NULL) SWIG_fail;
10042 temp4 = True;
10043 }
10044 }
10045 if (obj4) {
10046 {
10047 arg5 = &temp5;
10048 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10049 }
10050 }
10051 if (obj5) {
10052 {
10053 arg6 = &temp6;
10054 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10055 }
10056 }
10057 if (obj6) {
10058 {
10059 arg7 = (long) SWIG_PyObj_AsLong(obj6);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 }
10063 if (obj7) {
10064 {
10065 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 }
10069 if (obj8) {
10070 {
10071 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 }
10075 if (obj9) {
10076 {
10077 arg10 = (int) SWIG_PyObj_AsInt(obj9);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 }
10080 }
10081 if (obj10) {
10082 {
10083 arg11 = wxString_in_helper(obj10);
10084 if (arg11 == NULL) SWIG_fail;
10085 temp11 = True;
10086 }
10087 }
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 resultobj = SWIG_PyObj_FromBool((bool)result);
10096 {
10097 if (temp4)
10098 delete arg4;
10099 }
10100 {
10101 if (temp11)
10102 delete arg11;
10103 }
10104 return resultobj;
10105 fail:
10106 {
10107 if (temp4)
10108 delete arg4;
10109 }
10110 {
10111 if (temp11)
10112 delete arg11;
10113 }
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10121 int result;
10122 PyObject * obj0 = 0 ;
10123 char *kwnames[] = {
10124 (char *) "self", NULL
10125 };
10126
10127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10132
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_PyObj_FromInt((int)result);
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj;
10145 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10146 int arg2 ;
10147 PyObject * obj0 = 0 ;
10148 PyObject * obj1 = 0 ;
10149 char *kwnames[] = {
10150 (char *) "self",(char *) "value", NULL
10151 };
10152
10153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10155 {
10156 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10157 if (PyErr_Occurred()) SWIG_fail;
10158 }
10159 {
10160 PyThreadState* __tstate = wxPyBeginAllowThreads();
10161 (arg1)->SetValue(arg2);
10162
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 Py_INCREF(Py_None); resultobj = Py_None;
10167 return resultobj;
10168 fail:
10169 return NULL;
10170 }
10171
10172
10173 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10174 PyObject *resultobj;
10175 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10176 wxString *arg2 = 0 ;
10177 bool temp2 = False ;
10178 PyObject * obj0 = 0 ;
10179 PyObject * obj1 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "self",(char *) "text", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10186 {
10187 arg2 = wxString_in_helper(obj1);
10188 if (arg2 == NULL) SWIG_fail;
10189 temp2 = True;
10190 }
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 (arg1)->SetValue((wxString const &)*arg2);
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 Py_INCREF(Py_None); resultobj = Py_None;
10199 {
10200 if (temp2)
10201 delete arg2;
10202 }
10203 return resultobj;
10204 fail:
10205 {
10206 if (temp2)
10207 delete arg2;
10208 }
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10216 int arg2 ;
10217 int arg3 ;
10218 PyObject * obj0 = 0 ;
10219 PyObject * obj1 = 0 ;
10220 PyObject * obj2 = 0 ;
10221 char *kwnames[] = {
10222 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10223 };
10224
10225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10227 {
10228 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 {
10232 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 (arg1)->SetRange(arg2,arg3);
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 Py_INCREF(Py_None); resultobj = Py_None;
10243 return resultobj;
10244 fail:
10245 return NULL;
10246 }
10247
10248
10249 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10250 PyObject *resultobj;
10251 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10252 int result;
10253 PyObject * obj0 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10260 {
10261 PyThreadState* __tstate = wxPyBeginAllowThreads();
10262 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10263
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 resultobj = SWIG_PyObj_FromInt((int)result);
10268 return resultobj;
10269 fail:
10270 return NULL;
10271 }
10272
10273
10274 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10275 PyObject *resultobj;
10276 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10277 int result;
10278 PyObject * obj0 = 0 ;
10279 char *kwnames[] = {
10280 (char *) "self", NULL
10281 };
10282
10283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 resultobj = SWIG_PyObj_FromInt((int)result);
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10302 long arg2 ;
10303 long arg3 ;
10304 PyObject * obj0 = 0 ;
10305 PyObject * obj1 = 0 ;
10306 PyObject * obj2 = 0 ;
10307 char *kwnames[] = {
10308 (char *) "self",(char *) "from",(char *) "to", NULL
10309 };
10310
10311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10313 {
10314 arg2 = (long) SWIG_PyObj_AsLong(obj1);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 {
10318 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10319 if (PyErr_Occurred()) SWIG_fail;
10320 }
10321 {
10322 PyThreadState* __tstate = wxPyBeginAllowThreads();
10323 (arg1)->SetSelection(arg2,arg3);
10324
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 Py_INCREF(Py_None); resultobj = Py_None;
10329 return resultobj;
10330 fail:
10331 return NULL;
10332 }
10333
10334
10335 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10336 PyObject *obj;
10337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10338 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10339 Py_INCREF(obj);
10340 return Py_BuildValue((char *)"");
10341 }
10342 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj;
10344 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10345 int arg2 = (int) 0 ;
10346 wxSpinEvent *result;
10347 PyObject * obj0 = 0 ;
10348 PyObject * obj1 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "commandType",(char *) "winid", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10354 if (obj0) {
10355 {
10356 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10357 if (PyErr_Occurred()) SWIG_fail;
10358 }
10359 }
10360 if (obj1) {
10361 {
10362 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 }
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
10374 return resultobj;
10375 fail:
10376 return NULL;
10377 }
10378
10379
10380 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10381 PyObject *resultobj;
10382 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10383 int result;
10384 PyObject * obj0 = 0 ;
10385 char *kwnames[] = {
10386 (char *) "self", NULL
10387 };
10388
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 resultobj = SWIG_PyObj_FromInt((int)result);
10399 return resultobj;
10400 fail:
10401 return NULL;
10402 }
10403
10404
10405 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj;
10407 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10408 int arg2 ;
10409 PyObject * obj0 = 0 ;
10410 PyObject * obj1 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self",(char *) "pos", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10417 {
10418 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10419 if (PyErr_Occurred()) SWIG_fail;
10420 }
10421 {
10422 PyThreadState* __tstate = wxPyBeginAllowThreads();
10423 (arg1)->SetPosition(arg2);
10424
10425 wxPyEndAllowThreads(__tstate);
10426 if (PyErr_Occurred()) SWIG_fail;
10427 }
10428 Py_INCREF(Py_None); resultobj = Py_None;
10429 return resultobj;
10430 fail:
10431 return NULL;
10432 }
10433
10434
10435 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10436 PyObject *obj;
10437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10438 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10439 Py_INCREF(obj);
10440 return Py_BuildValue((char *)"");
10441 }
10442 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10443 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10444 return 1;
10445 }
10446
10447
10448 static PyObject *_wrap_RadioBoxNameStr_get() {
10449 PyObject *pyobj;
10450
10451 {
10452 #if wxUSE_UNICODE
10453 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10454 #else
10455 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10456 #endif
10457 }
10458 return pyobj;
10459 }
10460
10461
10462 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
10463 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10464 return 1;
10465 }
10466
10467
10468 static PyObject *_wrap_RadioButtonNameStr_get() {
10469 PyObject *pyobj;
10470
10471 {
10472 #if wxUSE_UNICODE
10473 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10474 #else
10475 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10476 #endif
10477 }
10478 return pyobj;
10479 }
10480
10481
10482 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxWindow *arg1 = (wxWindow *) 0 ;
10485 int arg2 ;
10486 wxString *arg3 = 0 ;
10487 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10488 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10489 wxSize const &arg5_defvalue = wxDefaultSize ;
10490 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10491 int arg6 = (int) 0 ;
10492 wxString *arg7 = (wxString *) NULL ;
10493 int arg8 = (int) 0 ;
10494 long arg9 = (long) wxRA_HORIZONTAL ;
10495 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10496 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10497 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
10498 wxString *arg11 = (wxString *) &arg11_defvalue ;
10499 wxRadioBox *result;
10500 bool temp3 = False ;
10501 wxPoint temp4 ;
10502 wxSize temp5 ;
10503 bool temp10 = False ;
10504 PyObject * obj0 = 0 ;
10505 PyObject * obj1 = 0 ;
10506 PyObject * obj2 = 0 ;
10507 PyObject * obj3 = 0 ;
10508 PyObject * obj4 = 0 ;
10509 PyObject * obj5 = 0 ;
10510 PyObject * obj6 = 0 ;
10511 PyObject * obj7 = 0 ;
10512 PyObject * obj8 = 0 ;
10513 PyObject * obj9 = 0 ;
10514 char *kwnames[] = {
10515 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10516 };
10517
10518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10520 {
10521 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 }
10524 {
10525 arg3 = wxString_in_helper(obj2);
10526 if (arg3 == NULL) SWIG_fail;
10527 temp3 = True;
10528 }
10529 if (obj3) {
10530 {
10531 arg4 = &temp4;
10532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10533 }
10534 }
10535 if (obj4) {
10536 {
10537 arg5 = &temp5;
10538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10539 }
10540 }
10541 if (obj5) {
10542 {
10543 arg6 = PyList_Size(obj5);
10544 arg7 = wxString_LIST_helper(obj5);
10545 if (arg7 == NULL) SWIG_fail;
10546 }
10547 }
10548 if (obj6) {
10549 {
10550 arg8 = (int) SWIG_PyObj_AsInt(obj6);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 }
10554 if (obj7) {
10555 {
10556 arg9 = (long) SWIG_PyObj_AsLong(obj7);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 }
10560 if (obj8) {
10561 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10562 if (arg10 == NULL) {
10563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10564 }
10565 }
10566 if (obj9) {
10567 {
10568 arg11 = wxString_in_helper(obj9);
10569 if (arg11 == NULL) SWIG_fail;
10570 temp10 = True;
10571 }
10572 }
10573 {
10574 PyThreadState* __tstate = wxPyBeginAllowThreads();
10575 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10576
10577 wxPyEndAllowThreads(__tstate);
10578 if (PyErr_Occurred()) SWIG_fail;
10579 }
10580 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10581 {
10582 if (temp3)
10583 delete arg3;
10584 }
10585 {
10586 if (arg7) delete [] arg7;
10587 }
10588 {
10589 if (temp10)
10590 delete arg11;
10591 }
10592 return resultobj;
10593 fail:
10594 {
10595 if (temp3)
10596 delete arg3;
10597 }
10598 {
10599 if (arg7) delete [] arg7;
10600 }
10601 {
10602 if (temp10)
10603 delete arg11;
10604 }
10605 return NULL;
10606 }
10607
10608
10609 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj;
10611 wxRadioBox *result;
10612 char *kwnames[] = {
10613 NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 result = (wxRadioBox *)new wxRadioBox();
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10625 return resultobj;
10626 fail:
10627 return NULL;
10628 }
10629
10630
10631 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10632 PyObject *resultobj;
10633 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10634 wxWindow *arg2 = (wxWindow *) 0 ;
10635 int arg3 ;
10636 wxString *arg4 = 0 ;
10637 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10638 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10639 wxSize const &arg6_defvalue = wxDefaultSize ;
10640 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10641 int arg7 = (int) 0 ;
10642 wxString *arg8 = (wxString *) NULL ;
10643 int arg9 = (int) 0 ;
10644 long arg10 = (long) wxRA_HORIZONTAL ;
10645 wxValidator const &arg11_defvalue = wxDefaultValidator ;
10646 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
10647 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
10648 wxString *arg12 = (wxString *) &arg12_defvalue ;
10649 bool result;
10650 bool temp4 = False ;
10651 wxPoint temp5 ;
10652 wxSize temp6 ;
10653 bool temp11 = False ;
10654 PyObject * obj0 = 0 ;
10655 PyObject * obj1 = 0 ;
10656 PyObject * obj2 = 0 ;
10657 PyObject * obj3 = 0 ;
10658 PyObject * obj4 = 0 ;
10659 PyObject * obj5 = 0 ;
10660 PyObject * obj6 = 0 ;
10661 PyObject * obj7 = 0 ;
10662 PyObject * obj8 = 0 ;
10663 PyObject * obj9 = 0 ;
10664 PyObject * obj10 = 0 ;
10665 char *kwnames[] = {
10666 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10667 };
10668
10669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10672 {
10673 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 {
10677 arg4 = wxString_in_helper(obj3);
10678 if (arg4 == NULL) SWIG_fail;
10679 temp4 = True;
10680 }
10681 if (obj4) {
10682 {
10683 arg5 = &temp5;
10684 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10685 }
10686 }
10687 if (obj5) {
10688 {
10689 arg6 = &temp6;
10690 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10691 }
10692 }
10693 if (obj6) {
10694 {
10695 arg7 = PyList_Size(obj6);
10696 arg8 = wxString_LIST_helper(obj6);
10697 if (arg8 == NULL) SWIG_fail;
10698 }
10699 }
10700 if (obj7) {
10701 {
10702 arg9 = (int) SWIG_PyObj_AsInt(obj7);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 }
10706 if (obj8) {
10707 {
10708 arg10 = (long) SWIG_PyObj_AsLong(obj8);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 }
10712 if (obj9) {
10713 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10714 if (arg11 == NULL) {
10715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10716 }
10717 }
10718 if (obj10) {
10719 {
10720 arg12 = wxString_in_helper(obj10);
10721 if (arg12 == NULL) SWIG_fail;
10722 temp11 = True;
10723 }
10724 }
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxValidator const &)*arg11,(wxString const &)*arg12);
10728
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 resultobj = SWIG_PyObj_FromBool((bool)result);
10733 {
10734 if (temp4)
10735 delete arg4;
10736 }
10737 {
10738 if (arg8) delete [] arg8;
10739 }
10740 {
10741 if (temp11)
10742 delete arg12;
10743 }
10744 return resultobj;
10745 fail:
10746 {
10747 if (temp4)
10748 delete arg4;
10749 }
10750 {
10751 if (arg8) delete [] arg8;
10752 }
10753 {
10754 if (temp11)
10755 delete arg12;
10756 }
10757 return NULL;
10758 }
10759
10760
10761 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10762 PyObject *resultobj;
10763 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10764 int arg2 ;
10765 PyObject * obj0 = 0 ;
10766 PyObject * obj1 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self",(char *) "n", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10773 {
10774 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 (arg1)->SetSelection(arg2);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 Py_INCREF(Py_None); resultobj = Py_None;
10785 return resultobj;
10786 fail:
10787 return NULL;
10788 }
10789
10790
10791 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10794 int result;
10795 PyObject * obj0 = 0 ;
10796 char *kwnames[] = {
10797 (char *) "self", NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
10801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10802 {
10803 PyThreadState* __tstate = wxPyBeginAllowThreads();
10804 result = (int)((wxRadioBox const *)arg1)->GetSelection();
10805
10806 wxPyEndAllowThreads(__tstate);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 resultobj = SWIG_PyObj_FromInt((int)result);
10810 return resultobj;
10811 fail:
10812 return NULL;
10813 }
10814
10815
10816 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10817 PyObject *resultobj;
10818 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10819 wxString result;
10820 PyObject * obj0 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
10826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10827 {
10828 PyThreadState* __tstate = wxPyBeginAllowThreads();
10829 result = ((wxRadioBox const *)arg1)->GetStringSelection();
10830
10831 wxPyEndAllowThreads(__tstate);
10832 if (PyErr_Occurred()) SWIG_fail;
10833 }
10834 {
10835 #if wxUSE_UNICODE
10836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10837 #else
10838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10839 #endif
10840 }
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10850 wxString *arg2 = 0 ;
10851 bool result;
10852 bool temp2 = False ;
10853 PyObject * obj0 = 0 ;
10854 PyObject * obj1 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self",(char *) "s", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
10860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10861 {
10862 arg2 = wxString_in_helper(obj1);
10863 if (arg2 == NULL) SWIG_fail;
10864 temp2 = True;
10865 }
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
10873 resultobj = SWIG_PyObj_FromBool((bool)result);
10874 {
10875 if (temp2)
10876 delete arg2;
10877 }
10878 return resultobj;
10879 fail:
10880 {
10881 if (temp2)
10882 delete arg2;
10883 }
10884 return NULL;
10885 }
10886
10887
10888 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj;
10890 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10891 int result;
10892 PyObject * obj0 = 0 ;
10893 char *kwnames[] = {
10894 (char *) "self", NULL
10895 };
10896
10897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
10898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 result = (int)((wxRadioBox const *)arg1)->GetCount();
10902
10903 wxPyEndAllowThreads(__tstate);
10904 if (PyErr_Occurred()) SWIG_fail;
10905 }
10906 resultobj = SWIG_PyObj_FromInt((int)result);
10907 return resultobj;
10908 fail:
10909 return NULL;
10910 }
10911
10912
10913 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
10914 PyObject *resultobj;
10915 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10916 wxString *arg2 = 0 ;
10917 int result;
10918 bool temp2 = False ;
10919 PyObject * obj0 = 0 ;
10920 PyObject * obj1 = 0 ;
10921 char *kwnames[] = {
10922 (char *) "self",(char *) "s", NULL
10923 };
10924
10925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
10926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10927 {
10928 arg2 = wxString_in_helper(obj1);
10929 if (arg2 == NULL) SWIG_fail;
10930 temp2 = True;
10931 }
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 resultobj = SWIG_PyObj_FromInt((int)result);
10940 {
10941 if (temp2)
10942 delete arg2;
10943 }
10944 return resultobj;
10945 fail:
10946 {
10947 if (temp2)
10948 delete arg2;
10949 }
10950 return NULL;
10951 }
10952
10953
10954 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj;
10956 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10957 int arg2 ;
10958 wxString result;
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self",(char *) "n", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10967 {
10968 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 {
10972 PyThreadState* __tstate = wxPyBeginAllowThreads();
10973 result = ((wxRadioBox const *)arg1)->GetString(arg2);
10974
10975 wxPyEndAllowThreads(__tstate);
10976 if (PyErr_Occurred()) SWIG_fail;
10977 }
10978 {
10979 #if wxUSE_UNICODE
10980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10981 #else
10982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10983 #endif
10984 }
10985 return resultobj;
10986 fail:
10987 return NULL;
10988 }
10989
10990
10991 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10992 PyObject *resultobj;
10993 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10994 int arg2 ;
10995 wxString *arg3 = 0 ;
10996 bool temp3 = False ;
10997 PyObject * obj0 = 0 ;
10998 PyObject * obj1 = 0 ;
10999 PyObject * obj2 = 0 ;
11000 char *kwnames[] = {
11001 (char *) "self",(char *) "n",(char *) "label", NULL
11002 };
11003
11004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11006 {
11007 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 {
11011 arg3 = wxString_in_helper(obj2);
11012 if (arg3 == NULL) SWIG_fail;
11013 temp3 = True;
11014 }
11015 {
11016 PyThreadState* __tstate = wxPyBeginAllowThreads();
11017 (arg1)->SetString(arg2,(wxString const &)*arg3);
11018
11019 wxPyEndAllowThreads(__tstate);
11020 if (PyErr_Occurred()) SWIG_fail;
11021 }
11022 Py_INCREF(Py_None); resultobj = Py_None;
11023 {
11024 if (temp3)
11025 delete arg3;
11026 }
11027 return resultobj;
11028 fail:
11029 {
11030 if (temp3)
11031 delete arg3;
11032 }
11033 return NULL;
11034 }
11035
11036
11037 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11038 PyObject *resultobj;
11039 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11040 int arg2 ;
11041 bool arg3 = (bool) True ;
11042 PyObject * obj0 = 0 ;
11043 PyObject * obj1 = 0 ;
11044 PyObject * obj2 = 0 ;
11045 char *kwnames[] = {
11046 (char *) "self",(char *) "n",(char *) "enable", NULL
11047 };
11048
11049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11051 {
11052 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 if (obj2) {
11056 {
11057 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11058 if (PyErr_Occurred()) SWIG_fail;
11059 }
11060 }
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 (arg1)->Enable(arg2,arg3);
11064
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 return resultobj;
11070 fail:
11071 return NULL;
11072 }
11073
11074
11075 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj;
11077 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11078 int arg2 ;
11079 bool arg3 = (bool) True ;
11080 PyObject * obj0 = 0 ;
11081 PyObject * obj1 = 0 ;
11082 PyObject * obj2 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "self",(char *) "n",(char *) "show", NULL
11085 };
11086
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11089 {
11090 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 if (obj2) {
11094 {
11095 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 }
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 (arg1)->Show(arg2,arg3);
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 Py_INCREF(Py_None); resultobj = Py_None;
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11116 int result;
11117 PyObject * obj0 = 0 ;
11118 char *kwnames[] = {
11119 (char *) "self", NULL
11120 };
11121
11122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11124 {
11125 PyThreadState* __tstate = wxPyBeginAllowThreads();
11126 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11127
11128 wxPyEndAllowThreads(__tstate);
11129 if (PyErr_Occurred()) SWIG_fail;
11130 }
11131 resultobj = SWIG_PyObj_FromInt((int)result);
11132 return resultobj;
11133 fail:
11134 return NULL;
11135 }
11136
11137
11138 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11139 PyObject *resultobj;
11140 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11141 int result;
11142 PyObject * obj0 = 0 ;
11143 char *kwnames[] = {
11144 (char *) "self", NULL
11145 };
11146
11147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11152
11153 wxPyEndAllowThreads(__tstate);
11154 if (PyErr_Occurred()) SWIG_fail;
11155 }
11156 resultobj = SWIG_PyObj_FromInt((int)result);
11157 return resultobj;
11158 fail:
11159 return NULL;
11160 }
11161
11162
11163 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11164 PyObject *resultobj;
11165 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11166 int arg2 ;
11167 int arg3 ;
11168 long arg4 ;
11169 int result;
11170 PyObject * obj0 = 0 ;
11171 PyObject * obj1 = 0 ;
11172 PyObject * obj2 = 0 ;
11173 PyObject * obj3 = 0 ;
11174 char *kwnames[] = {
11175 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11176 };
11177
11178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11180 {
11181 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 {
11185 arg3 = (wxDirection) SWIG_PyObj_AsInt(obj2);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 {
11189 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11190 if (PyErr_Occurred()) SWIG_fail;
11191 }
11192 {
11193 PyThreadState* __tstate = wxPyBeginAllowThreads();
11194 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11195
11196 wxPyEndAllowThreads(__tstate);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
11199 resultobj = SWIG_PyObj_FromInt((int)result);
11200 return resultobj;
11201 fail:
11202 return NULL;
11203 }
11204
11205
11206 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11207 PyObject *obj;
11208 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11209 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11210 Py_INCREF(obj);
11211 return Py_BuildValue((char *)"");
11212 }
11213 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11214 PyObject *resultobj;
11215 wxWindow *arg1 = (wxWindow *) 0 ;
11216 int arg2 ;
11217 wxString *arg3 = 0 ;
11218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11220 wxSize const &arg5_defvalue = wxDefaultSize ;
11221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11222 long arg6 = (long) 0 ;
11223 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11224 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11225 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11226 wxString *arg8 = (wxString *) &arg8_defvalue ;
11227 wxRadioButton *result;
11228 bool temp3 = False ;
11229 wxPoint temp4 ;
11230 wxSize temp5 ;
11231 bool temp8 = False ;
11232 PyObject * obj0 = 0 ;
11233 PyObject * obj1 = 0 ;
11234 PyObject * obj2 = 0 ;
11235 PyObject * obj3 = 0 ;
11236 PyObject * obj4 = 0 ;
11237 PyObject * obj5 = 0 ;
11238 PyObject * obj6 = 0 ;
11239 PyObject * obj7 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11246 {
11247 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 {
11251 arg3 = wxString_in_helper(obj2);
11252 if (arg3 == NULL) SWIG_fail;
11253 temp3 = True;
11254 }
11255 if (obj3) {
11256 {
11257 arg4 = &temp4;
11258 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11259 }
11260 }
11261 if (obj4) {
11262 {
11263 arg5 = &temp5;
11264 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11265 }
11266 }
11267 if (obj5) {
11268 {
11269 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 }
11273 if (obj6) {
11274 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11275 if (arg7 == NULL) {
11276 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11277 }
11278 }
11279 if (obj7) {
11280 {
11281 arg8 = wxString_in_helper(obj7);
11282 if (arg8 == NULL) SWIG_fail;
11283 temp8 = True;
11284 }
11285 }
11286 {
11287 PyThreadState* __tstate = wxPyBeginAllowThreads();
11288 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11289
11290 wxPyEndAllowThreads(__tstate);
11291 if (PyErr_Occurred()) SWIG_fail;
11292 }
11293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11294 {
11295 if (temp3)
11296 delete arg3;
11297 }
11298 {
11299 if (temp8)
11300 delete arg8;
11301 }
11302 return resultobj;
11303 fail:
11304 {
11305 if (temp3)
11306 delete arg3;
11307 }
11308 {
11309 if (temp8)
11310 delete arg8;
11311 }
11312 return NULL;
11313 }
11314
11315
11316 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11317 PyObject *resultobj;
11318 wxRadioButton *result;
11319 char *kwnames[] = {
11320 NULL
11321 };
11322
11323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 result = (wxRadioButton *)new wxRadioButton();
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11332 return resultobj;
11333 fail:
11334 return NULL;
11335 }
11336
11337
11338 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11341 wxWindow *arg2 = (wxWindow *) 0 ;
11342 int arg3 ;
11343 wxString *arg4 = 0 ;
11344 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11345 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11346 wxSize const &arg6_defvalue = wxDefaultSize ;
11347 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11348 long arg7 = (long) 0 ;
11349 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11350 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11351 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11352 wxString *arg9 = (wxString *) &arg9_defvalue ;
11353 bool result;
11354 bool temp4 = False ;
11355 wxPoint temp5 ;
11356 wxSize temp6 ;
11357 bool temp9 = False ;
11358 PyObject * obj0 = 0 ;
11359 PyObject * obj1 = 0 ;
11360 PyObject * obj2 = 0 ;
11361 PyObject * obj3 = 0 ;
11362 PyObject * obj4 = 0 ;
11363 PyObject * obj5 = 0 ;
11364 PyObject * obj6 = 0 ;
11365 PyObject * obj7 = 0 ;
11366 PyObject * obj8 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11374 {
11375 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11376 if (PyErr_Occurred()) SWIG_fail;
11377 }
11378 {
11379 arg4 = wxString_in_helper(obj3);
11380 if (arg4 == NULL) SWIG_fail;
11381 temp4 = True;
11382 }
11383 if (obj4) {
11384 {
11385 arg5 = &temp5;
11386 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11387 }
11388 }
11389 if (obj5) {
11390 {
11391 arg6 = &temp6;
11392 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11393 }
11394 }
11395 if (obj6) {
11396 {
11397 arg7 = (long) SWIG_PyObj_AsLong(obj6);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 }
11400 }
11401 if (obj7) {
11402 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11403 if (arg8 == NULL) {
11404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11405 }
11406 }
11407 if (obj8) {
11408 {
11409 arg9 = wxString_in_helper(obj8);
11410 if (arg9 == NULL) SWIG_fail;
11411 temp9 = True;
11412 }
11413 }
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11417
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = SWIG_PyObj_FromBool((bool)result);
11422 {
11423 if (temp4)
11424 delete arg4;
11425 }
11426 {
11427 if (temp9)
11428 delete arg9;
11429 }
11430 return resultobj;
11431 fail:
11432 {
11433 if (temp4)
11434 delete arg4;
11435 }
11436 {
11437 if (temp9)
11438 delete arg9;
11439 }
11440 return NULL;
11441 }
11442
11443
11444 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11445 PyObject *resultobj;
11446 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11447 bool result;
11448 PyObject * obj0 = 0 ;
11449 char *kwnames[] = {
11450 (char *) "self", NULL
11451 };
11452
11453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (bool)(arg1)->GetValue();
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 resultobj = SWIG_PyObj_FromBool((bool)result);
11463 return resultobj;
11464 fail:
11465 return NULL;
11466 }
11467
11468
11469 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11470 PyObject *resultobj;
11471 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11472 bool arg2 ;
11473 PyObject * obj0 = 0 ;
11474 PyObject * obj1 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "value", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11481 {
11482 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 {
11486 PyThreadState* __tstate = wxPyBeginAllowThreads();
11487 (arg1)->SetValue(arg2);
11488
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 Py_INCREF(Py_None); resultobj = Py_None;
11493 return resultobj;
11494 fail:
11495 return NULL;
11496 }
11497
11498
11499 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11500 PyObject *obj;
11501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11502 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11503 Py_INCREF(obj);
11504 return Py_BuildValue((char *)"");
11505 }
11506 static int _wrap_SliderNameStr_set(PyObject *_val) {
11507 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11508 return 1;
11509 }
11510
11511
11512 static PyObject *_wrap_SliderNameStr_get() {
11513 PyObject *pyobj;
11514
11515 {
11516 #if wxUSE_UNICODE
11517 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11518 #else
11519 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11520 #endif
11521 }
11522 return pyobj;
11523 }
11524
11525
11526 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj;
11528 wxWindow *arg1 = (wxWindow *) 0 ;
11529 int arg2 ;
11530 int arg3 ;
11531 int arg4 ;
11532 int arg5 ;
11533 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11534 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11535 wxSize const &arg7_defvalue = wxDefaultSize ;
11536 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11537 long arg8 = (long) wxSL_HORIZONTAL ;
11538 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11539 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11540 wxString const &arg10_defvalue = wxPySliderNameStr ;
11541 wxString *arg10 = (wxString *) &arg10_defvalue ;
11542 wxSlider *result;
11543 wxPoint temp6 ;
11544 wxSize temp7 ;
11545 bool temp10 = False ;
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 PyObject * obj2 = 0 ;
11549 PyObject * obj3 = 0 ;
11550 PyObject * obj4 = 0 ;
11551 PyObject * obj5 = 0 ;
11552 PyObject * obj6 = 0 ;
11553 PyObject * obj7 = 0 ;
11554 PyObject * obj8 = 0 ;
11555 PyObject * obj9 = 0 ;
11556 char *kwnames[] = {
11557 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11558 };
11559
11560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11562 {
11563 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 {
11567 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 }
11570 {
11571 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 {
11575 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 if (obj5) {
11579 {
11580 arg6 = &temp6;
11581 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11582 }
11583 }
11584 if (obj6) {
11585 {
11586 arg7 = &temp7;
11587 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11588 }
11589 }
11590 if (obj7) {
11591 {
11592 arg8 = (long) SWIG_PyObj_AsLong(obj7);
11593 if (PyErr_Occurred()) SWIG_fail;
11594 }
11595 }
11596 if (obj8) {
11597 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11598 if (arg9 == NULL) {
11599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11600 }
11601 }
11602 if (obj9) {
11603 {
11604 arg10 = wxString_in_helper(obj9);
11605 if (arg10 == NULL) SWIG_fail;
11606 temp10 = True;
11607 }
11608 }
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11612
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11617 {
11618 if (temp10)
11619 delete arg10;
11620 }
11621 return resultobj;
11622 fail:
11623 {
11624 if (temp10)
11625 delete arg10;
11626 }
11627 return NULL;
11628 }
11629
11630
11631 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11632 PyObject *resultobj;
11633 wxSlider *result;
11634 char *kwnames[] = {
11635 NULL
11636 };
11637
11638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 result = (wxSlider *)new wxSlider();
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11647 return resultobj;
11648 fail:
11649 return NULL;
11650 }
11651
11652
11653 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11654 PyObject *resultobj;
11655 wxSlider *arg1 = (wxSlider *) 0 ;
11656 wxWindow *arg2 = (wxWindow *) 0 ;
11657 int arg3 ;
11658 int arg4 ;
11659 int arg5 ;
11660 int arg6 ;
11661 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11662 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11663 wxSize const &arg8_defvalue = wxDefaultSize ;
11664 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
11665 long arg9 = (long) wxSL_HORIZONTAL ;
11666 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11667 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11668 wxString const &arg11_defvalue = wxPySliderNameStr ;
11669 wxString *arg11 = (wxString *) &arg11_defvalue ;
11670 bool result;
11671 wxPoint temp7 ;
11672 wxSize temp8 ;
11673 bool temp11 = False ;
11674 PyObject * obj0 = 0 ;
11675 PyObject * obj1 = 0 ;
11676 PyObject * obj2 = 0 ;
11677 PyObject * obj3 = 0 ;
11678 PyObject * obj4 = 0 ;
11679 PyObject * obj5 = 0 ;
11680 PyObject * obj6 = 0 ;
11681 PyObject * obj7 = 0 ;
11682 PyObject * obj8 = 0 ;
11683 PyObject * obj9 = 0 ;
11684 PyObject * obj10 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11692 {
11693 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 {
11697 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 {
11701 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11702 if (PyErr_Occurred()) SWIG_fail;
11703 }
11704 {
11705 arg6 = (int) SWIG_PyObj_AsInt(obj5);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 if (obj6) {
11709 {
11710 arg7 = &temp7;
11711 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11712 }
11713 }
11714 if (obj7) {
11715 {
11716 arg8 = &temp8;
11717 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
11718 }
11719 }
11720 if (obj8) {
11721 {
11722 arg9 = (long) SWIG_PyObj_AsLong(obj8);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 }
11726 if (obj9) {
11727 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11728 if (arg10 == NULL) {
11729 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11730 }
11731 }
11732 if (obj10) {
11733 {
11734 arg11 = wxString_in_helper(obj10);
11735 if (arg11 == NULL) SWIG_fail;
11736 temp11 = True;
11737 }
11738 }
11739 {
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 resultobj = SWIG_PyObj_FromBool((bool)result);
11747 {
11748 if (temp11)
11749 delete arg11;
11750 }
11751 return resultobj;
11752 fail:
11753 {
11754 if (temp11)
11755 delete arg11;
11756 }
11757 return NULL;
11758 }
11759
11760
11761 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj;
11763 wxSlider *arg1 = (wxSlider *) 0 ;
11764 int result;
11765 PyObject * obj0 = 0 ;
11766 char *kwnames[] = {
11767 (char *) "self", NULL
11768 };
11769
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
11771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 result = (int)((wxSlider const *)arg1)->GetValue();
11775
11776 wxPyEndAllowThreads(__tstate);
11777 if (PyErr_Occurred()) SWIG_fail;
11778 }
11779 resultobj = SWIG_PyObj_FromInt((int)result);
11780 return resultobj;
11781 fail:
11782 return NULL;
11783 }
11784
11785
11786 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11787 PyObject *resultobj;
11788 wxSlider *arg1 = (wxSlider *) 0 ;
11789 int arg2 ;
11790 PyObject * obj0 = 0 ;
11791 PyObject * obj1 = 0 ;
11792 char *kwnames[] = {
11793 (char *) "self",(char *) "value", NULL
11794 };
11795
11796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
11797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11798 {
11799 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11800 if (PyErr_Occurred()) SWIG_fail;
11801 }
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->SetValue(arg2);
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 return resultobj;
11811 fail:
11812 return NULL;
11813 }
11814
11815
11816 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj;
11818 wxSlider *arg1 = (wxSlider *) 0 ;
11819 int arg2 ;
11820 int arg3 ;
11821 PyObject * obj0 = 0 ;
11822 PyObject * obj1 = 0 ;
11823 PyObject * obj2 = 0 ;
11824 char *kwnames[] = {
11825 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
11826 };
11827
11828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11830 {
11831 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11832 if (PyErr_Occurred()) SWIG_fail;
11833 }
11834 {
11835 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 {
11839 PyThreadState* __tstate = wxPyBeginAllowThreads();
11840 (arg1)->SetRange(arg2,arg3);
11841
11842 wxPyEndAllowThreads(__tstate);
11843 if (PyErr_Occurred()) SWIG_fail;
11844 }
11845 Py_INCREF(Py_None); resultobj = Py_None;
11846 return resultobj;
11847 fail:
11848 return NULL;
11849 }
11850
11851
11852 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11853 PyObject *resultobj;
11854 wxSlider *arg1 = (wxSlider *) 0 ;
11855 int result;
11856 PyObject * obj0 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "self", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
11862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 result = (int)((wxSlider const *)arg1)->GetMin();
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 resultobj = SWIG_PyObj_FromInt((int)result);
11871 return resultobj;
11872 fail:
11873 return NULL;
11874 }
11875
11876
11877 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxSlider *arg1 = (wxSlider *) 0 ;
11880 int result;
11881 PyObject * obj0 = 0 ;
11882 char *kwnames[] = {
11883 (char *) "self", NULL
11884 };
11885
11886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
11887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11888 {
11889 PyThreadState* __tstate = wxPyBeginAllowThreads();
11890 result = (int)((wxSlider const *)arg1)->GetMax();
11891
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 resultobj = SWIG_PyObj_FromInt((int)result);
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11903 PyObject *resultobj;
11904 wxSlider *arg1 = (wxSlider *) 0 ;
11905 int arg2 ;
11906 PyObject * obj0 = 0 ;
11907 PyObject * obj1 = 0 ;
11908 char *kwnames[] = {
11909 (char *) "self",(char *) "minValue", NULL
11910 };
11911
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
11913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11914 {
11915 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 (arg1)->SetMin(arg2);
11921
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 Py_INCREF(Py_None); resultobj = Py_None;
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxSlider *arg1 = (wxSlider *) 0 ;
11935 int arg2 ;
11936 PyObject * obj0 = 0 ;
11937 PyObject * obj1 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "self",(char *) "maxValue", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
11943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11944 {
11945 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 (arg1)->SetMax(arg2);
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
11955 Py_INCREF(Py_None); resultobj = Py_None;
11956 return resultobj;
11957 fail:
11958 return NULL;
11959 }
11960
11961
11962 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11963 PyObject *resultobj;
11964 wxSlider *arg1 = (wxSlider *) 0 ;
11965 int arg2 ;
11966 PyObject * obj0 = 0 ;
11967 PyObject * obj1 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self",(char *) "lineSize", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11974 {
11975 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 (arg1)->SetLineSize(arg2);
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 Py_INCREF(Py_None); resultobj = Py_None;
11986 return resultobj;
11987 fail:
11988 return NULL;
11989 }
11990
11991
11992 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11993 PyObject *resultobj;
11994 wxSlider *arg1 = (wxSlider *) 0 ;
11995 int arg2 ;
11996 PyObject * obj0 = 0 ;
11997 PyObject * obj1 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self",(char *) "pageSize", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12004 {
12005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12006 if (PyErr_Occurred()) SWIG_fail;
12007 }
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 (arg1)->SetPageSize(arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 Py_INCREF(Py_None); resultobj = Py_None;
12016 return resultobj;
12017 fail:
12018 return NULL;
12019 }
12020
12021
12022 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxSlider *arg1 = (wxSlider *) 0 ;
12025 int result;
12026 PyObject * obj0 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (int)((wxSlider const *)arg1)->GetLineSize();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = SWIG_PyObj_FromInt((int)result);
12041 return resultobj;
12042 fail:
12043 return NULL;
12044 }
12045
12046
12047 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12048 PyObject *resultobj;
12049 wxSlider *arg1 = (wxSlider *) 0 ;
12050 int result;
12051 PyObject * obj0 = 0 ;
12052 char *kwnames[] = {
12053 (char *) "self", NULL
12054 };
12055
12056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
12060 result = (int)((wxSlider const *)arg1)->GetPageSize();
12061
12062 wxPyEndAllowThreads(__tstate);
12063 if (PyErr_Occurred()) SWIG_fail;
12064 }
12065 resultobj = SWIG_PyObj_FromInt((int)result);
12066 return resultobj;
12067 fail:
12068 return NULL;
12069 }
12070
12071
12072 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12073 PyObject *resultobj;
12074 wxSlider *arg1 = (wxSlider *) 0 ;
12075 int arg2 ;
12076 PyObject * obj0 = 0 ;
12077 PyObject * obj1 = 0 ;
12078 char *kwnames[] = {
12079 (char *) "self",(char *) "lenPixels", NULL
12080 };
12081
12082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12084 {
12085 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12086 if (PyErr_Occurred()) SWIG_fail;
12087 }
12088 {
12089 PyThreadState* __tstate = wxPyBeginAllowThreads();
12090 (arg1)->SetThumbLength(arg2);
12091
12092 wxPyEndAllowThreads(__tstate);
12093 if (PyErr_Occurred()) SWIG_fail;
12094 }
12095 Py_INCREF(Py_None); resultobj = Py_None;
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxSlider *arg1 = (wxSlider *) 0 ;
12105 int result;
12106 PyObject * obj0 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12116
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 resultobj = SWIG_PyObj_FromInt((int)result);
12121 return resultobj;
12122 fail:
12123 return NULL;
12124 }
12125
12126
12127 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj;
12129 wxSlider *arg1 = (wxSlider *) 0 ;
12130 int arg2 ;
12131 int arg3 = (int) 1 ;
12132 PyObject * obj0 = 0 ;
12133 PyObject * obj1 = 0 ;
12134 PyObject * obj2 = 0 ;
12135 char *kwnames[] = {
12136 (char *) "self",(char *) "n",(char *) "pos", NULL
12137 };
12138
12139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12141 {
12142 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12143 if (PyErr_Occurred()) SWIG_fail;
12144 }
12145 if (obj2) {
12146 {
12147 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
12150 }
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->SetTickFreq(arg2,arg3);
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 Py_INCREF(Py_None); resultobj = Py_None;
12159 return resultobj;
12160 fail:
12161 return NULL;
12162 }
12163
12164
12165 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxSlider *arg1 = (wxSlider *) 0 ;
12168 int result;
12169 PyObject * obj0 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12176 {
12177 PyThreadState* __tstate = wxPyBeginAllowThreads();
12178 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12179
12180 wxPyEndAllowThreads(__tstate);
12181 if (PyErr_Occurred()) SWIG_fail;
12182 }
12183 resultobj = SWIG_PyObj_FromInt((int)result);
12184 return resultobj;
12185 fail:
12186 return NULL;
12187 }
12188
12189
12190 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxSlider *arg1 = (wxSlider *) 0 ;
12193 PyObject * obj0 = 0 ;
12194 char *kwnames[] = {
12195 (char *) "self", NULL
12196 };
12197
12198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12200 {
12201 PyThreadState* __tstate = wxPyBeginAllowThreads();
12202 (arg1)->ClearTicks();
12203
12204 wxPyEndAllowThreads(__tstate);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 }
12207 Py_INCREF(Py_None); resultobj = Py_None;
12208 return resultobj;
12209 fail:
12210 return NULL;
12211 }
12212
12213
12214 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxSlider *arg1 = (wxSlider *) 0 ;
12217 int arg2 ;
12218 PyObject * obj0 = 0 ;
12219 PyObject * obj1 = 0 ;
12220 char *kwnames[] = {
12221 (char *) "self",(char *) "tickPos", NULL
12222 };
12223
12224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12226 {
12227 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 (arg1)->SetTick(arg2);
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 Py_INCREF(Py_None); resultobj = Py_None;
12238 return resultobj;
12239 fail:
12240 return NULL;
12241 }
12242
12243
12244 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12245 PyObject *resultobj;
12246 wxSlider *arg1 = (wxSlider *) 0 ;
12247 PyObject * obj0 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12254 {
12255 PyThreadState* __tstate = wxPyBeginAllowThreads();
12256 (arg1)->ClearSel();
12257
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 Py_INCREF(Py_None); resultobj = Py_None;
12262 return resultobj;
12263 fail:
12264 return NULL;
12265 }
12266
12267
12268 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj;
12270 wxSlider *arg1 = (wxSlider *) 0 ;
12271 int result;
12272 PyObject * obj0 = 0 ;
12273 char *kwnames[] = {
12274 (char *) "self", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 resultobj = SWIG_PyObj_FromInt((int)result);
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxSlider *arg1 = (wxSlider *) 0 ;
12296 int result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "self", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (int)((wxSlider const *)arg1)->GetSelStart();
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 resultobj = SWIG_PyObj_FromInt((int)result);
12312 return resultobj;
12313 fail:
12314 return NULL;
12315 }
12316
12317
12318 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxSlider *arg1 = (wxSlider *) 0 ;
12321 int arg2 ;
12322 int arg3 ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 PyObject * obj2 = 0 ;
12326 char *kwnames[] = {
12327 (char *) "self",(char *) "min",(char *) "max", NULL
12328 };
12329
12330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12332 {
12333 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 }
12336 {
12337 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 (arg1)->SetSelection(arg2,arg3);
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 Py_INCREF(Py_None); resultobj = Py_None;
12348 return resultobj;
12349 fail:
12350 return NULL;
12351 }
12352
12353
12354 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12355 PyObject *obj;
12356 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12357 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12358 Py_INCREF(obj);
12359 return Py_BuildValue((char *)"");
12360 }
12361 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12362 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12363 return 1;
12364 }
12365
12366
12367 static PyObject *_wrap_ToggleButtonNameStr_get() {
12368 PyObject *pyobj;
12369
12370 {
12371 #if wxUSE_UNICODE
12372 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12373 #else
12374 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12375 #endif
12376 }
12377 return pyobj;
12378 }
12379
12380
12381 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12382 PyObject *resultobj;
12383 wxWindow *arg1 = (wxWindow *) 0 ;
12384 int arg2 ;
12385 wxString *arg3 = 0 ;
12386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12388 wxSize const &arg5_defvalue = wxDefaultSize ;
12389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12390 long arg6 = (long) 0 ;
12391 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12392 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12393 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12394 wxString *arg8 = (wxString *) &arg8_defvalue ;
12395 wxToggleButton *result;
12396 bool temp3 = False ;
12397 wxPoint temp4 ;
12398 wxSize temp5 ;
12399 bool temp8 = False ;
12400 PyObject * obj0 = 0 ;
12401 PyObject * obj1 = 0 ;
12402 PyObject * obj2 = 0 ;
12403 PyObject * obj3 = 0 ;
12404 PyObject * obj4 = 0 ;
12405 PyObject * obj5 = 0 ;
12406 PyObject * obj6 = 0 ;
12407 PyObject * obj7 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12414 {
12415 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
12418 {
12419 arg3 = wxString_in_helper(obj2);
12420 if (arg3 == NULL) SWIG_fail;
12421 temp3 = True;
12422 }
12423 if (obj3) {
12424 {
12425 arg4 = &temp4;
12426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12427 }
12428 }
12429 if (obj4) {
12430 {
12431 arg5 = &temp5;
12432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12433 }
12434 }
12435 if (obj5) {
12436 {
12437 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12438 if (PyErr_Occurred()) SWIG_fail;
12439 }
12440 }
12441 if (obj6) {
12442 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12443 if (arg7 == NULL) {
12444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12445 }
12446 }
12447 if (obj7) {
12448 {
12449 arg8 = wxString_in_helper(obj7);
12450 if (arg8 == NULL) SWIG_fail;
12451 temp8 = True;
12452 }
12453 }
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12462 {
12463 if (temp3)
12464 delete arg3;
12465 }
12466 {
12467 if (temp8)
12468 delete arg8;
12469 }
12470 return resultobj;
12471 fail:
12472 {
12473 if (temp3)
12474 delete arg3;
12475 }
12476 {
12477 if (temp8)
12478 delete arg8;
12479 }
12480 return NULL;
12481 }
12482
12483
12484 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12485 PyObject *resultobj;
12486 wxToggleButton *result;
12487 char *kwnames[] = {
12488 NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 result = (wxToggleButton *)new wxToggleButton();
12495
12496 wxPyEndAllowThreads(__tstate);
12497 if (PyErr_Occurred()) SWIG_fail;
12498 }
12499 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12500 return resultobj;
12501 fail:
12502 return NULL;
12503 }
12504
12505
12506 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12507 PyObject *resultobj;
12508 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12509 wxWindow *arg2 = (wxWindow *) 0 ;
12510 int arg3 ;
12511 wxString *arg4 = 0 ;
12512 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12513 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12514 wxSize const &arg6_defvalue = wxDefaultSize ;
12515 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12516 long arg7 = (long) 0 ;
12517 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12518 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12519 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
12520 wxString *arg9 = (wxString *) &arg9_defvalue ;
12521 bool result;
12522 bool temp4 = False ;
12523 wxPoint temp5 ;
12524 wxSize temp6 ;
12525 bool temp9 = False ;
12526 PyObject * obj0 = 0 ;
12527 PyObject * obj1 = 0 ;
12528 PyObject * obj2 = 0 ;
12529 PyObject * obj3 = 0 ;
12530 PyObject * obj4 = 0 ;
12531 PyObject * obj5 = 0 ;
12532 PyObject * obj6 = 0 ;
12533 PyObject * obj7 = 0 ;
12534 PyObject * obj8 = 0 ;
12535 char *kwnames[] = {
12536 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12537 };
12538
12539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12542 {
12543 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12544 if (PyErr_Occurred()) SWIG_fail;
12545 }
12546 {
12547 arg4 = wxString_in_helper(obj3);
12548 if (arg4 == NULL) SWIG_fail;
12549 temp4 = True;
12550 }
12551 if (obj4) {
12552 {
12553 arg5 = &temp5;
12554 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12555 }
12556 }
12557 if (obj5) {
12558 {
12559 arg6 = &temp6;
12560 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12561 }
12562 }
12563 if (obj6) {
12564 {
12565 arg7 = (long) SWIG_PyObj_AsLong(obj6);
12566 if (PyErr_Occurred()) SWIG_fail;
12567 }
12568 }
12569 if (obj7) {
12570 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12571 if (arg8 == NULL) {
12572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12573 }
12574 }
12575 if (obj8) {
12576 {
12577 arg9 = wxString_in_helper(obj8);
12578 if (arg9 == NULL) SWIG_fail;
12579 temp9 = True;
12580 }
12581 }
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 resultobj = SWIG_PyObj_FromBool((bool)result);
12590 {
12591 if (temp4)
12592 delete arg4;
12593 }
12594 {
12595 if (temp9)
12596 delete arg9;
12597 }
12598 return resultobj;
12599 fail:
12600 {
12601 if (temp4)
12602 delete arg4;
12603 }
12604 {
12605 if (temp9)
12606 delete arg9;
12607 }
12608 return NULL;
12609 }
12610
12611
12612 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12613 PyObject *resultobj;
12614 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12615 bool arg2 ;
12616 PyObject * obj0 = 0 ;
12617 PyObject * obj1 = 0 ;
12618 char *kwnames[] = {
12619 (char *) "self",(char *) "value", NULL
12620 };
12621
12622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12624 {
12625 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12626 if (PyErr_Occurred()) SWIG_fail;
12627 }
12628 {
12629 PyThreadState* __tstate = wxPyBeginAllowThreads();
12630 (arg1)->SetValue(arg2);
12631
12632 wxPyEndAllowThreads(__tstate);
12633 if (PyErr_Occurred()) SWIG_fail;
12634 }
12635 Py_INCREF(Py_None); resultobj = Py_None;
12636 return resultobj;
12637 fail:
12638 return NULL;
12639 }
12640
12641
12642 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12643 PyObject *resultobj;
12644 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12645 bool result;
12646 PyObject * obj0 = 0 ;
12647 char *kwnames[] = {
12648 (char *) "self", NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
12652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 result = (bool)((wxToggleButton const *)arg1)->GetValue();
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 resultobj = SWIG_PyObj_FromBool((bool)result);
12661 return resultobj;
12662 fail:
12663 return NULL;
12664 }
12665
12666
12667 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12670 wxString *arg2 = 0 ;
12671 bool temp2 = False ;
12672 PyObject * obj0 = 0 ;
12673 PyObject * obj1 = 0 ;
12674 char *kwnames[] = {
12675 (char *) "self",(char *) "label", NULL
12676 };
12677
12678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
12679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12680 {
12681 arg2 = wxString_in_helper(obj1);
12682 if (arg2 == NULL) SWIG_fail;
12683 temp2 = True;
12684 }
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->SetLabel((wxString const &)*arg2);
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 Py_INCREF(Py_None); resultobj = Py_None;
12693 {
12694 if (temp2)
12695 delete arg2;
12696 }
12697 return resultobj;
12698 fail:
12699 {
12700 if (temp2)
12701 delete arg2;
12702 }
12703 return NULL;
12704 }
12705
12706
12707 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
12708 PyObject *obj;
12709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12710 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
12711 Py_INCREF(obj);
12712 return Py_BuildValue((char *)"");
12713 }
12714 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
12715 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
12716 return 1;
12717 }
12718
12719
12720 static PyObject *_wrap_NOTEBOOK_NAME_get() {
12721 PyObject *pyobj;
12722
12723 {
12724 #if wxUSE_UNICODE
12725 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12726 #else
12727 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
12728 #endif
12729 }
12730 return pyobj;
12731 }
12732
12733
12734 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12735 PyObject *resultobj;
12736 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12737 size_t result;
12738 PyObject * obj0 = 0 ;
12739 char *kwnames[] = {
12740 (char *) "self", NULL
12741 };
12742
12743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
12744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
12748
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
12753 return resultobj;
12754 fail:
12755 return NULL;
12756 }
12757
12758
12759 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12760 PyObject *resultobj;
12761 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12762 size_t arg2 ;
12763 wxWindow *result;
12764 PyObject * obj0 = 0 ;
12765 PyObject * obj1 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self",(char *) "n", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
12771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12772 {
12773 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 }
12776 {
12777 PyThreadState* __tstate = wxPyBeginAllowThreads();
12778 result = (wxWindow *)(arg1)->GetPage(arg2);
12779
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 {
12784 resultobj = wxPyMake_wxObject(result);
12785 }
12786 return resultobj;
12787 fail:
12788 return NULL;
12789 }
12790
12791
12792 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj;
12794 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12795 int result;
12796 PyObject * obj0 = 0 ;
12797 char *kwnames[] = {
12798 (char *) "self", NULL
12799 };
12800
12801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
12802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = SWIG_PyObj_FromInt((int)result);
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj;
12819 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12820 size_t arg2 ;
12821 wxString *arg3 = 0 ;
12822 bool result;
12823 bool temp3 = False ;
12824 PyObject * obj0 = 0 ;
12825 PyObject * obj1 = 0 ;
12826 PyObject * obj2 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self",(char *) "n",(char *) "strText", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
12832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12833 {
12834 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12835 if (PyErr_Occurred()) SWIG_fail;
12836 }
12837 {
12838 arg3 = wxString_in_helper(obj2);
12839 if (arg3 == NULL) SWIG_fail;
12840 temp3 = True;
12841 }
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 resultobj = SWIG_PyObj_FromBool((bool)result);
12850 {
12851 if (temp3)
12852 delete arg3;
12853 }
12854 return resultobj;
12855 fail:
12856 {
12857 if (temp3)
12858 delete arg3;
12859 }
12860 return NULL;
12861 }
12862
12863
12864 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
12865 PyObject *resultobj;
12866 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12867 size_t arg2 ;
12868 wxString result;
12869 PyObject * obj0 = 0 ;
12870 PyObject * obj1 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "self",(char *) "n", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
12876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12877 {
12878 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
12884
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 {
12889 #if wxUSE_UNICODE
12890 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12891 #else
12892 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12893 #endif
12894 }
12895 return resultobj;
12896 fail:
12897 return NULL;
12898 }
12899
12900
12901 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
12902 PyObject *resultobj;
12903 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12904 wxImageList *arg2 = (wxImageList *) 0 ;
12905 PyObject * obj0 = 0 ;
12906 PyObject * obj1 = 0 ;
12907 char *kwnames[] = {
12908 (char *) "self",(char *) "imageList", NULL
12909 };
12910
12911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
12912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12913 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 (arg1)->SetImageList(arg2);
12917
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 Py_INCREF(Py_None); resultobj = Py_None;
12922 return resultobj;
12923 fail:
12924 return NULL;
12925 }
12926
12927
12928 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj;
12930 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12931 wxImageList *arg2 = (wxImageList *) 0 ;
12932 PyObject * obj0 = 0 ;
12933 PyObject * obj1 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self",(char *) "imageList", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
12939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 (arg1)->AssignImageList(arg2);
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 Py_INCREF(Py_None); resultobj = Py_None;
12949 return resultobj;
12950 fail:
12951 return NULL;
12952 }
12953
12954
12955 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj;
12957 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12958 wxImageList *result;
12959 PyObject * obj0 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "self", NULL
12962 };
12963
12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
12965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12966 {
12967 PyThreadState* __tstate = wxPyBeginAllowThreads();
12968 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
12969
12970 wxPyEndAllowThreads(__tstate);
12971 if (PyErr_Occurred()) SWIG_fail;
12972 }
12973 {
12974 resultobj = wxPyMake_wxObject(result);
12975 }
12976 return resultobj;
12977 fail:
12978 return NULL;
12979 }
12980
12981
12982 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
12983 PyObject *resultobj;
12984 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12985 size_t arg2 ;
12986 int result;
12987 PyObject * obj0 = 0 ;
12988 PyObject * obj1 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self",(char *) "n", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
12994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12995 {
12996 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
12997 if (PyErr_Occurred()) SWIG_fail;
12998 }
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 resultobj = SWIG_PyObj_FromInt((int)result);
13007 return resultobj;
13008 fail:
13009 return NULL;
13010 }
13011
13012
13013 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13014 PyObject *resultobj;
13015 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13016 size_t arg2 ;
13017 int arg3 ;
13018 bool result;
13019 PyObject * obj0 = 0 ;
13020 PyObject * obj1 = 0 ;
13021 PyObject * obj2 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self",(char *) "n",(char *) "imageId", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13030 if (PyErr_Occurred()) SWIG_fail;
13031 }
13032 {
13033 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13034 if (PyErr_Occurred()) SWIG_fail;
13035 }
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 resultobj = SWIG_PyObj_FromBool((bool)result);
13044 return resultobj;
13045 fail:
13046 return NULL;
13047 }
13048
13049
13050 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj;
13052 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13053 wxSize *arg2 = 0 ;
13054 wxSize temp2 ;
13055 PyObject * obj0 = 0 ;
13056 PyObject * obj1 = 0 ;
13057 char *kwnames[] = {
13058 (char *) "self",(char *) "size", NULL
13059 };
13060
13061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13063 {
13064 arg2 = &temp2;
13065 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13066 }
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 (arg1)->SetPageSize((wxSize const &)*arg2);
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 Py_INCREF(Py_None); resultobj = Py_None;
13075 return resultobj;
13076 fail:
13077 return NULL;
13078 }
13079
13080
13081 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13082 PyObject *resultobj;
13083 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13084 wxSize *arg2 = 0 ;
13085 wxSize result;
13086 wxSize temp2 ;
13087 PyObject * obj0 = 0 ;
13088 PyObject * obj1 = 0 ;
13089 char *kwnames[] = {
13090 (char *) "self",(char *) "sizePage", NULL
13091 };
13092
13093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13095 {
13096 arg2 = &temp2;
13097 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13098 }
13099 {
13100 PyThreadState* __tstate = wxPyBeginAllowThreads();
13101 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13102
13103 wxPyEndAllowThreads(__tstate);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 {
13107 wxSize * resultptr;
13108 resultptr = new wxSize((wxSize &) result);
13109 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13110 }
13111 return resultobj;
13112 fail:
13113 return NULL;
13114 }
13115
13116
13117 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13118 PyObject *resultobj;
13119 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13120 size_t arg2 ;
13121 bool result;
13122 PyObject * obj0 = 0 ;
13123 PyObject * obj1 = 0 ;
13124 char *kwnames[] = {
13125 (char *) "self",(char *) "n", NULL
13126 };
13127
13128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13130 {
13131 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (bool)(arg1)->DeletePage(arg2);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 resultobj = SWIG_PyObj_FromBool((bool)result);
13142 return resultobj;
13143 fail:
13144 return NULL;
13145 }
13146
13147
13148 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13151 size_t arg2 ;
13152 bool result;
13153 PyObject * obj0 = 0 ;
13154 PyObject * obj1 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self",(char *) "n", NULL
13157 };
13158
13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13161 {
13162 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13163 if (PyErr_Occurred()) SWIG_fail;
13164 }
13165 {
13166 PyThreadState* __tstate = wxPyBeginAllowThreads();
13167 result = (bool)(arg1)->RemovePage(arg2);
13168
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 resultobj = SWIG_PyObj_FromBool((bool)result);
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj;
13181 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13182 bool result;
13183 PyObject * obj0 = 0 ;
13184 char *kwnames[] = {
13185 (char *) "self", NULL
13186 };
13187
13188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13190 {
13191 PyThreadState* __tstate = wxPyBeginAllowThreads();
13192 result = (bool)(arg1)->DeleteAllPages();
13193
13194 wxPyEndAllowThreads(__tstate);
13195 if (PyErr_Occurred()) SWIG_fail;
13196 }
13197 resultobj = SWIG_PyObj_FromBool((bool)result);
13198 return resultobj;
13199 fail:
13200 return NULL;
13201 }
13202
13203
13204 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13207 wxWindow *arg2 = (wxWindow *) 0 ;
13208 wxString *arg3 = 0 ;
13209 bool arg4 = (bool) False ;
13210 int arg5 = (int) -1 ;
13211 bool result;
13212 bool temp3 = False ;
13213 PyObject * obj0 = 0 ;
13214 PyObject * obj1 = 0 ;
13215 PyObject * obj2 = 0 ;
13216 PyObject * obj3 = 0 ;
13217 PyObject * obj4 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13225 {
13226 arg3 = wxString_in_helper(obj2);
13227 if (arg3 == NULL) SWIG_fail;
13228 temp3 = True;
13229 }
13230 if (obj3) {
13231 {
13232 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13233 if (PyErr_Occurred()) SWIG_fail;
13234 }
13235 }
13236 if (obj4) {
13237 {
13238 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 }
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 resultobj = SWIG_PyObj_FromBool((bool)result);
13250 {
13251 if (temp3)
13252 delete arg3;
13253 }
13254 return resultobj;
13255 fail:
13256 {
13257 if (temp3)
13258 delete arg3;
13259 }
13260 return NULL;
13261 }
13262
13263
13264 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj;
13266 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13267 size_t arg2 ;
13268 wxWindow *arg3 = (wxWindow *) 0 ;
13269 wxString *arg4 = 0 ;
13270 bool arg5 = (bool) False ;
13271 int arg6 = (int) -1 ;
13272 bool result;
13273 bool temp4 = False ;
13274 PyObject * obj0 = 0 ;
13275 PyObject * obj1 = 0 ;
13276 PyObject * obj2 = 0 ;
13277 PyObject * obj3 = 0 ;
13278 PyObject * obj4 = 0 ;
13279 PyObject * obj5 = 0 ;
13280 char *kwnames[] = {
13281 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13282 };
13283
13284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13286 {
13287 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13291 {
13292 arg4 = wxString_in_helper(obj3);
13293 if (arg4 == NULL) SWIG_fail;
13294 temp4 = True;
13295 }
13296 if (obj4) {
13297 {
13298 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 }
13302 if (obj5) {
13303 {
13304 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 }
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13311
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 resultobj = SWIG_PyObj_FromBool((bool)result);
13316 {
13317 if (temp4)
13318 delete arg4;
13319 }
13320 return resultobj;
13321 fail:
13322 {
13323 if (temp4)
13324 delete arg4;
13325 }
13326 return NULL;
13327 }
13328
13329
13330 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13333 size_t arg2 ;
13334 int result;
13335 PyObject * obj0 = 0 ;
13336 PyObject * obj1 = 0 ;
13337 char *kwnames[] = {
13338 (char *) "self",(char *) "n", NULL
13339 };
13340
13341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13343 {
13344 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 result = (int)(arg1)->SetSelection(arg2);
13350
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 resultobj = SWIG_PyObj_FromInt((int)result);
13355 return resultobj;
13356 fail:
13357 return NULL;
13358 }
13359
13360
13361 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13362 PyObject *resultobj;
13363 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13364 bool arg2 = (bool) True ;
13365 PyObject * obj0 = 0 ;
13366 PyObject * obj1 = 0 ;
13367 char *kwnames[] = {
13368 (char *) "self",(char *) "forward", NULL
13369 };
13370
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13373 if (obj1) {
13374 {
13375 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
13376 if (PyErr_Occurred()) SWIG_fail;
13377 }
13378 }
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 (arg1)->AdvanceSelection(arg2);
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 Py_INCREF(Py_None); resultobj = Py_None;
13387 return resultobj;
13388 fail:
13389 return NULL;
13390 }
13391
13392
13393 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13394 PyObject *obj;
13395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13396 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13397 Py_INCREF(obj);
13398 return Py_BuildValue((char *)"");
13399 }
13400 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13403 int arg2 = (int) 0 ;
13404 int arg3 = (int) -1 ;
13405 int arg4 = (int) -1 ;
13406 wxBookCtrlEvent *result;
13407 PyObject * obj0 = 0 ;
13408 PyObject * obj1 = 0 ;
13409 PyObject * obj2 = 0 ;
13410 PyObject * obj3 = 0 ;
13411 char *kwnames[] = {
13412 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13413 };
13414
13415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13416 if (obj0) {
13417 {
13418 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 }
13422 if (obj1) {
13423 {
13424 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 }
13428 if (obj2) {
13429 {
13430 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 }
13434 if (obj3) {
13435 {
13436 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
13439 }
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13457 int result;
13458 PyObject * obj0 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
13467 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13468
13469 wxPyEndAllowThreads(__tstate);
13470 if (PyErr_Occurred()) SWIG_fail;
13471 }
13472 resultobj = SWIG_PyObj_FromInt((int)result);
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13482 int arg2 ;
13483 PyObject * obj0 = 0 ;
13484 PyObject * obj1 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self",(char *) "nSel", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13491 {
13492 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 (arg1)->SetSelection(arg2);
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 Py_INCREF(Py_None); resultobj = Py_None;
13503 return resultobj;
13504 fail:
13505 return NULL;
13506 }
13507
13508
13509 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13510 PyObject *resultobj;
13511 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13512 int result;
13513 PyObject * obj0 = 0 ;
13514 char *kwnames[] = {
13515 (char *) "self", NULL
13516 };
13517
13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 resultobj = SWIG_PyObj_FromInt((int)result);
13528 return resultobj;
13529 fail:
13530 return NULL;
13531 }
13532
13533
13534 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13535 PyObject *resultobj;
13536 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13537 int arg2 ;
13538 PyObject * obj0 = 0 ;
13539 PyObject * obj1 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self",(char *) "nOldSel", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13546 {
13547 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 (arg1)->SetOldSelection(arg2);
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 Py_INCREF(Py_None); resultobj = Py_None;
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13565 PyObject *obj;
13566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13567 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13568 Py_INCREF(obj);
13569 return Py_BuildValue((char *)"");
13570 }
13571 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13572 PyObject *resultobj;
13573 wxWindow *arg1 = (wxWindow *) 0 ;
13574 int arg2 ;
13575 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13576 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13577 wxSize const &arg4_defvalue = wxDefaultSize ;
13578 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13579 long arg5 = (long) 0 ;
13580 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13581 wxString *arg6 = (wxString *) &arg6_defvalue ;
13582 wxNotebook *result;
13583 wxPoint temp3 ;
13584 wxSize temp4 ;
13585 bool temp6 = False ;
13586 PyObject * obj0 = 0 ;
13587 PyObject * obj1 = 0 ;
13588 PyObject * obj2 = 0 ;
13589 PyObject * obj3 = 0 ;
13590 PyObject * obj4 = 0 ;
13591 PyObject * obj5 = 0 ;
13592 char *kwnames[] = {
13593 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13594 };
13595
13596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13598 {
13599 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 if (obj2) {
13603 {
13604 arg3 = &temp3;
13605 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13606 }
13607 }
13608 if (obj3) {
13609 {
13610 arg4 = &temp4;
13611 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13612 }
13613 }
13614 if (obj4) {
13615 {
13616 arg5 = (long) SWIG_PyObj_AsLong(obj4);
13617 if (PyErr_Occurred()) SWIG_fail;
13618 }
13619 }
13620 if (obj5) {
13621 {
13622 arg6 = wxString_in_helper(obj5);
13623 if (arg6 == NULL) SWIG_fail;
13624 temp6 = True;
13625 }
13626 }
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
13634 {
13635 resultobj = wxPyMake_wxObject(result);
13636 }
13637 {
13638 if (temp6)
13639 delete arg6;
13640 }
13641 return resultobj;
13642 fail:
13643 {
13644 if (temp6)
13645 delete arg6;
13646 }
13647 return NULL;
13648 }
13649
13650
13651 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxNotebook *result;
13654 char *kwnames[] = {
13655 NULL
13656 };
13657
13658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 result = (wxNotebook *)new wxNotebook();
13662
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 {
13667 resultobj = wxPyMake_wxObject(result);
13668 }
13669 return resultobj;
13670 fail:
13671 return NULL;
13672 }
13673
13674
13675 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13676 PyObject *resultobj;
13677 wxNotebook *arg1 = (wxNotebook *) 0 ;
13678 wxWindow *arg2 = (wxWindow *) 0 ;
13679 int arg3 ;
13680 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13681 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13682 wxSize const &arg5_defvalue = wxDefaultSize ;
13683 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13684 long arg6 = (long) 0 ;
13685 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13686 wxString *arg7 = (wxString *) &arg7_defvalue ;
13687 bool result;
13688 wxPoint temp4 ;
13689 wxSize temp5 ;
13690 bool temp7 = False ;
13691 PyObject * obj0 = 0 ;
13692 PyObject * obj1 = 0 ;
13693 PyObject * obj2 = 0 ;
13694 PyObject * obj3 = 0 ;
13695 PyObject * obj4 = 0 ;
13696 PyObject * obj5 = 0 ;
13697 PyObject * obj6 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705 {
13706 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 if (obj3) {
13710 {
13711 arg4 = &temp4;
13712 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13713 }
13714 }
13715 if (obj4) {
13716 {
13717 arg5 = &temp5;
13718 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13719 }
13720 }
13721 if (obj5) {
13722 {
13723 arg6 = (long) SWIG_PyObj_AsLong(obj5);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 }
13727 if (obj6) {
13728 {
13729 arg7 = wxString_in_helper(obj6);
13730 if (arg7 == NULL) SWIG_fail;
13731 temp7 = True;
13732 }
13733 }
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13737
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 resultobj = SWIG_PyObj_FromBool((bool)result);
13742 {
13743 if (temp7)
13744 delete arg7;
13745 }
13746 return resultobj;
13747 fail:
13748 {
13749 if (temp7)
13750 delete arg7;
13751 }
13752 return NULL;
13753 }
13754
13755
13756 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj;
13758 wxNotebook *arg1 = (wxNotebook *) 0 ;
13759 int result;
13760 PyObject * obj0 = 0 ;
13761 char *kwnames[] = {
13762 (char *) "self", NULL
13763 };
13764
13765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
13766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 result = (int)((wxNotebook const *)arg1)->GetRowCount();
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 resultobj = SWIG_PyObj_FromInt((int)result);
13775 return resultobj;
13776 fail:
13777 return NULL;
13778 }
13779
13780
13781 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
13782 PyObject *resultobj;
13783 wxNotebook *arg1 = (wxNotebook *) 0 ;
13784 wxSize *arg2 = 0 ;
13785 wxSize temp2 ;
13786 PyObject * obj0 = 0 ;
13787 PyObject * obj1 = 0 ;
13788 char *kwnames[] = {
13789 (char *) "self",(char *) "padding", NULL
13790 };
13791
13792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
13793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13794 {
13795 arg2 = &temp2;
13796 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13797 }
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 (arg1)->SetPadding((wxSize const &)*arg2);
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 Py_INCREF(Py_None); resultobj = Py_None;
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj;
13814 wxNotebook *arg1 = (wxNotebook *) 0 ;
13815 wxSize *arg2 = 0 ;
13816 wxSize temp2 ;
13817 PyObject * obj0 = 0 ;
13818 PyObject * obj1 = 0 ;
13819 char *kwnames[] = {
13820 (char *) "self",(char *) "sz", NULL
13821 };
13822
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
13824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13825 {
13826 arg2 = &temp2;
13827 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13828 }
13829 {
13830 PyThreadState* __tstate = wxPyBeginAllowThreads();
13831 (arg1)->SetTabSize((wxSize const &)*arg2);
13832
13833 wxPyEndAllowThreads(__tstate);
13834 if (PyErr_Occurred()) SWIG_fail;
13835 }
13836 Py_INCREF(Py_None); resultobj = Py_None;
13837 return resultobj;
13838 fail:
13839 return NULL;
13840 }
13841
13842
13843 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
13844 PyObject *resultobj;
13845 wxNotebook *arg1 = (wxNotebook *) 0 ;
13846 wxPoint *arg2 = 0 ;
13847 long *arg3 = (long *) 0 ;
13848 int result;
13849 wxPoint temp2 ;
13850 long temp3 ;
13851 PyObject * obj0 = 0 ;
13852 PyObject * obj1 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "self",(char *) "pt", NULL
13855 };
13856
13857 arg3 = &temp3;
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
13859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13860 {
13861 arg2 = &temp2;
13862 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13863 }
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
13867
13868 wxPyEndAllowThreads(__tstate);
13869 if (PyErr_Occurred()) SWIG_fail;
13870 }
13871 resultobj = SWIG_PyObj_FromInt((int)result);
13872 {
13873 PyObject *o = PyInt_FromLong((long) (*arg3));
13874 resultobj = t_output_helper(resultobj,o);
13875 }
13876 return resultobj;
13877 fail:
13878 return NULL;
13879 }
13880
13881
13882 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxNotebook *arg1 = (wxNotebook *) 0 ;
13885 wxSize *arg2 = 0 ;
13886 wxSize result;
13887 wxSize temp2 ;
13888 PyObject * obj0 = 0 ;
13889 PyObject * obj1 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self",(char *) "sizePage", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13896 {
13897 arg2 = &temp2;
13898 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13899 }
13900 {
13901 PyThreadState* __tstate = wxPyBeginAllowThreads();
13902 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13903
13904 wxPyEndAllowThreads(__tstate);
13905 if (PyErr_Occurred()) SWIG_fail;
13906 }
13907 {
13908 wxSize * resultptr;
13909 resultptr = new wxSize((wxSize &) result);
13910 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13911 }
13912 return resultobj;
13913 fail:
13914 return NULL;
13915 }
13916
13917
13918 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
13919 PyObject *obj;
13920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13921 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
13922 Py_INCREF(obj);
13923 return Py_BuildValue((char *)"");
13924 }
13925 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj;
13927 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13928 int arg2 = (int) 0 ;
13929 int arg3 = (int) -1 ;
13930 int arg4 = (int) -1 ;
13931 wxNotebookEvent *result;
13932 PyObject * obj0 = 0 ;
13933 PyObject * obj1 = 0 ;
13934 PyObject * obj2 = 0 ;
13935 PyObject * obj3 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13941 if (obj0) {
13942 {
13943 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 }
13947 if (obj1) {
13948 {
13949 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13950 if (PyErr_Occurred()) SWIG_fail;
13951 }
13952 }
13953 if (obj2) {
13954 {
13955 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 }
13959 if (obj3) {
13960 {
13961 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 }
13965 {
13966 PyThreadState* __tstate = wxPyBeginAllowThreads();
13967 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
13968
13969 wxPyEndAllowThreads(__tstate);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
13972 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
13973 return resultobj;
13974 fail:
13975 return NULL;
13976 }
13977
13978
13979 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
13980 PyObject *obj;
13981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13982 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
13983 Py_INCREF(obj);
13984 return Py_BuildValue((char *)"");
13985 }
13986 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
13987 PyObject *resultobj;
13988 wxWindow *arg1 = (wxWindow *) 0 ;
13989 int arg2 ;
13990 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13991 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13992 wxSize const &arg4_defvalue = wxDefaultSize ;
13993 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13994 long arg5 = (long) 0 ;
13995 wxString const &arg6_defvalue = wxPyEmptyString ;
13996 wxString *arg6 = (wxString *) &arg6_defvalue ;
13997 wxListbook *result;
13998 wxPoint temp3 ;
13999 wxSize temp4 ;
14000 bool temp6 = False ;
14001 PyObject * obj0 = 0 ;
14002 PyObject * obj1 = 0 ;
14003 PyObject * obj2 = 0 ;
14004 PyObject * obj3 = 0 ;
14005 PyObject * obj4 = 0 ;
14006 PyObject * obj5 = 0 ;
14007 char *kwnames[] = {
14008 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14009 };
14010
14011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14013 {
14014 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
14017 if (obj2) {
14018 {
14019 arg3 = &temp3;
14020 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14021 }
14022 }
14023 if (obj3) {
14024 {
14025 arg4 = &temp4;
14026 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14027 }
14028 }
14029 if (obj4) {
14030 {
14031 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 }
14035 if (obj5) {
14036 {
14037 arg6 = wxString_in_helper(obj5);
14038 if (arg6 == NULL) SWIG_fail;
14039 temp6 = True;
14040 }
14041 }
14042 {
14043 PyThreadState* __tstate = wxPyBeginAllowThreads();
14044 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14045
14046 wxPyEndAllowThreads(__tstate);
14047 if (PyErr_Occurred()) SWIG_fail;
14048 }
14049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14050 {
14051 if (temp6)
14052 delete arg6;
14053 }
14054 return resultobj;
14055 fail:
14056 {
14057 if (temp6)
14058 delete arg6;
14059 }
14060 return NULL;
14061 }
14062
14063
14064 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14065 PyObject *resultobj;
14066 wxListbook *result;
14067 char *kwnames[] = {
14068 NULL
14069 };
14070
14071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 result = (wxListbook *)new wxListbook();
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14080 return resultobj;
14081 fail:
14082 return NULL;
14083 }
14084
14085
14086 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj;
14088 wxListbook *arg1 = (wxListbook *) 0 ;
14089 wxWindow *arg2 = (wxWindow *) 0 ;
14090 int arg3 ;
14091 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14092 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14093 wxSize const &arg5_defvalue = wxDefaultSize ;
14094 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14095 long arg6 = (long) 0 ;
14096 wxString const &arg7_defvalue = wxPyEmptyString ;
14097 wxString *arg7 = (wxString *) &arg7_defvalue ;
14098 bool result;
14099 wxPoint temp4 ;
14100 wxSize temp5 ;
14101 bool temp7 = False ;
14102 PyObject * obj0 = 0 ;
14103 PyObject * obj1 = 0 ;
14104 PyObject * obj2 = 0 ;
14105 PyObject * obj3 = 0 ;
14106 PyObject * obj4 = 0 ;
14107 PyObject * obj5 = 0 ;
14108 PyObject * obj6 = 0 ;
14109 char *kwnames[] = {
14110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14111 };
14112
14113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14116 {
14117 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 }
14120 if (obj3) {
14121 {
14122 arg4 = &temp4;
14123 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14124 }
14125 }
14126 if (obj4) {
14127 {
14128 arg5 = &temp5;
14129 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14130 }
14131 }
14132 if (obj5) {
14133 {
14134 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 }
14138 if (obj6) {
14139 {
14140 arg7 = wxString_in_helper(obj6);
14141 if (arg7 == NULL) SWIG_fail;
14142 temp7 = True;
14143 }
14144 }
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14148
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 resultobj = SWIG_PyObj_FromBool((bool)result);
14153 {
14154 if (temp7)
14155 delete arg7;
14156 }
14157 return resultobj;
14158 fail:
14159 {
14160 if (temp7)
14161 delete arg7;
14162 }
14163 return NULL;
14164 }
14165
14166
14167 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14168 PyObject *resultobj;
14169 wxListbook *arg1 = (wxListbook *) 0 ;
14170 bool result;
14171 PyObject * obj0 = 0 ;
14172 char *kwnames[] = {
14173 (char *) "self", NULL
14174 };
14175
14176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14178 {
14179 PyThreadState* __tstate = wxPyBeginAllowThreads();
14180 result = (bool)((wxListbook const *)arg1)->IsVertical();
14181
14182 wxPyEndAllowThreads(__tstate);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
14185 resultobj = SWIG_PyObj_FromBool((bool)result);
14186 return resultobj;
14187 fail:
14188 return NULL;
14189 }
14190
14191
14192 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14193 PyObject *obj;
14194 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14195 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14196 Py_INCREF(obj);
14197 return Py_BuildValue((char *)"");
14198 }
14199 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14202 int arg2 = (int) 0 ;
14203 int arg3 = (int) -1 ;
14204 int arg4 = (int) -1 ;
14205 wxListbookEvent *result;
14206 PyObject * obj0 = 0 ;
14207 PyObject * obj1 = 0 ;
14208 PyObject * obj2 = 0 ;
14209 PyObject * obj3 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14215 if (obj0) {
14216 {
14217 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 }
14221 if (obj1) {
14222 {
14223 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 }
14227 if (obj2) {
14228 {
14229 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14230 if (PyErr_Occurred()) SWIG_fail;
14231 }
14232 }
14233 if (obj3) {
14234 {
14235 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 }
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
14247 return resultobj;
14248 fail:
14249 return NULL;
14250 }
14251
14252
14253 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14254 PyObject *obj;
14255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14256 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14257 Py_INCREF(obj);
14258 return Py_BuildValue((char *)"");
14259 }
14260 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14263 wxBookCtrlSizer *result;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "nb", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
14279 return resultobj;
14280 fail:
14281 return NULL;
14282 }
14283
14284
14285 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14288 PyObject * obj0 = 0 ;
14289 char *kwnames[] = {
14290 (char *) "self", NULL
14291 };
14292
14293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14295 {
14296 PyThreadState* __tstate = wxPyBeginAllowThreads();
14297 (arg1)->RecalcSizes();
14298
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 Py_INCREF(Py_None); resultobj = Py_None;
14303 return resultobj;
14304 fail:
14305 return NULL;
14306 }
14307
14308
14309 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14310 PyObject *resultobj;
14311 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14312 wxSize result;
14313 PyObject * obj0 = 0 ;
14314 char *kwnames[] = {
14315 (char *) "self", NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 result = (arg1)->CalcMin();
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 {
14328 wxSize * resultptr;
14329 resultptr = new wxSize((wxSize &) result);
14330 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14331 }
14332 return resultobj;
14333 fail:
14334 return NULL;
14335 }
14336
14337
14338 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14339 PyObject *resultobj;
14340 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14341 wxBookCtrl *result;
14342 PyObject * obj0 = 0 ;
14343 char *kwnames[] = {
14344 (char *) "self", NULL
14345 };
14346
14347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14349 {
14350 PyThreadState* __tstate = wxPyBeginAllowThreads();
14351 result = (wxBookCtrl *)(arg1)->GetControl();
14352
14353 wxPyEndAllowThreads(__tstate);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
14357 return resultobj;
14358 fail:
14359 return NULL;
14360 }
14361
14362
14363 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14364 PyObject *obj;
14365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14366 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14367 Py_INCREF(obj);
14368 return Py_BuildValue((char *)"");
14369 }
14370 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj;
14372 wxNotebook *arg1 = (wxNotebook *) 0 ;
14373 wxNotebookSizer *result;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "nb", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14384
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
14389 return resultobj;
14390 fail:
14391 return NULL;
14392 }
14393
14394
14395 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14396 PyObject *resultobj;
14397 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14398 PyObject * obj0 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14405 {
14406 PyThreadState* __tstate = wxPyBeginAllowThreads();
14407 (arg1)->RecalcSizes();
14408
14409 wxPyEndAllowThreads(__tstate);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 Py_INCREF(Py_None); resultobj = Py_None;
14413 return resultobj;
14414 fail:
14415 return NULL;
14416 }
14417
14418
14419 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14420 PyObject *resultobj;
14421 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14422 wxSize result;
14423 PyObject * obj0 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self", NULL
14426 };
14427
14428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14430 {
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 result = (arg1)->CalcMin();
14433
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 {
14438 wxSize * resultptr;
14439 resultptr = new wxSize((wxSize &) result);
14440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14441 }
14442 return resultobj;
14443 fail:
14444 return NULL;
14445 }
14446
14447
14448 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14451 wxNotebook *result;
14452 PyObject * obj0 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "self", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14459 {
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (wxNotebook *)(arg1)->GetNotebook();
14462
14463 wxPyEndAllowThreads(__tstate);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 {
14467 resultobj = wxPyMake_wxObject(result);
14468 }
14469 return resultobj;
14470 fail:
14471 return NULL;
14472 }
14473
14474
14475 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14476 PyObject *obj;
14477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14478 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14479 Py_INCREF(obj);
14480 return Py_BuildValue((char *)"");
14481 }
14482 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14483 PyObject *resultobj;
14484 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14485 int result;
14486 PyObject * obj0 = 0 ;
14487 char *kwnames[] = {
14488 (char *) "self", NULL
14489 };
14490
14491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 result = (int)(arg1)->GetId();
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 resultobj = SWIG_PyObj_FromInt((int)result);
14501 return resultobj;
14502 fail:
14503 return NULL;
14504 }
14505
14506
14507 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj;
14509 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14510 wxControl *result;
14511 PyObject * obj0 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 {
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 result = (wxControl *)(arg1)->GetControl();
14521
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 {
14526 resultobj = wxPyMake_wxObject(result);
14527 }
14528 return resultobj;
14529 fail:
14530 return NULL;
14531 }
14532
14533
14534 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj;
14536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14537 wxToolBarBase *result;
14538 PyObject * obj0 = 0 ;
14539 char *kwnames[] = {
14540 (char *) "self", NULL
14541 };
14542
14543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14545 {
14546 PyThreadState* __tstate = wxPyBeginAllowThreads();
14547 result = (wxToolBarBase *)(arg1)->GetToolBar();
14548
14549 wxPyEndAllowThreads(__tstate);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 {
14553 resultobj = wxPyMake_wxObject(result);
14554 }
14555 return resultobj;
14556 fail:
14557 return NULL;
14558 }
14559
14560
14561 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14564 int result;
14565 PyObject * obj0 = 0 ;
14566 char *kwnames[] = {
14567 (char *) "self", NULL
14568 };
14569
14570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14572 {
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 result = (int)(arg1)->IsButton();
14575
14576 wxPyEndAllowThreads(__tstate);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 resultobj = SWIG_PyObj_FromInt((int)result);
14580 return resultobj;
14581 fail:
14582 return NULL;
14583 }
14584
14585
14586 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14587 PyObject *resultobj;
14588 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14589 int result;
14590 PyObject * obj0 = 0 ;
14591 char *kwnames[] = {
14592 (char *) "self", NULL
14593 };
14594
14595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14597 {
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 result = (int)(arg1)->IsControl();
14600
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 resultobj = SWIG_PyObj_FromInt((int)result);
14605 return resultobj;
14606 fail:
14607 return NULL;
14608 }
14609
14610
14611 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj;
14613 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14614 int result;
14615 PyObject * obj0 = 0 ;
14616 char *kwnames[] = {
14617 (char *) "self", NULL
14618 };
14619
14620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14622 {
14623 PyThreadState* __tstate = wxPyBeginAllowThreads();
14624 result = (int)(arg1)->IsSeparator();
14625
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 resultobj = SWIG_PyObj_FromInt((int)result);
14630 return resultobj;
14631 fail:
14632 return NULL;
14633 }
14634
14635
14636 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14637 PyObject *resultobj;
14638 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14639 int result;
14640 PyObject * obj0 = 0 ;
14641 char *kwnames[] = {
14642 (char *) "self", NULL
14643 };
14644
14645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 result = (int)(arg1)->GetStyle();
14650
14651 wxPyEndAllowThreads(__tstate);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 resultobj = SWIG_PyObj_FromInt((int)result);
14655 return resultobj;
14656 fail:
14657 return NULL;
14658 }
14659
14660
14661 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
14662 PyObject *resultobj;
14663 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14664 int result;
14665 PyObject * obj0 = 0 ;
14666 char *kwnames[] = {
14667 (char *) "self", NULL
14668 };
14669
14670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
14671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14672 {
14673 PyThreadState* __tstate = wxPyBeginAllowThreads();
14674 result = (int)(arg1)->GetKind();
14675
14676 wxPyEndAllowThreads(__tstate);
14677 if (PyErr_Occurred()) SWIG_fail;
14678 }
14679 resultobj = SWIG_PyObj_FromInt((int)result);
14680 return resultobj;
14681 fail:
14682 return NULL;
14683 }
14684
14685
14686 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14687 PyObject *resultobj;
14688 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14689 bool result;
14690 PyObject * obj0 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 result = (bool)(arg1)->IsEnabled();
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 resultobj = SWIG_PyObj_FromBool((bool)result);
14705 return resultobj;
14706 fail:
14707 return NULL;
14708 }
14709
14710
14711 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14712 PyObject *resultobj;
14713 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14714 bool result;
14715 PyObject * obj0 = 0 ;
14716 char *kwnames[] = {
14717 (char *) "self", NULL
14718 };
14719
14720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
14721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14722 {
14723 PyThreadState* __tstate = wxPyBeginAllowThreads();
14724 result = (bool)(arg1)->IsToggled();
14725
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 resultobj = SWIG_PyObj_FromBool((bool)result);
14730 return resultobj;
14731 fail:
14732 return NULL;
14733 }
14734
14735
14736 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14739 bool result;
14740 PyObject * obj0 = 0 ;
14741 char *kwnames[] = {
14742 (char *) "self", NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
14746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 result = (bool)(arg1)->CanBeToggled();
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 resultobj = SWIG_PyObj_FromBool((bool)result);
14755 return resultobj;
14756 fail:
14757 return NULL;
14758 }
14759
14760
14761 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14762 PyObject *resultobj;
14763 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14764 wxBitmap *result;
14765 PyObject * obj0 = 0 ;
14766 char *kwnames[] = {
14767 (char *) "self", NULL
14768 };
14769
14770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
14771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14772 {
14773 PyThreadState* __tstate = wxPyBeginAllowThreads();
14774 {
14775 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
14776 result = (wxBitmap *) &_result_ref;
14777 }
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14783 return resultobj;
14784 fail:
14785 return NULL;
14786 }
14787
14788
14789 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14790 PyObject *resultobj;
14791 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14792 wxBitmap *result;
14793 PyObject * obj0 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "self", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 {
14803 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
14804 result = (wxBitmap *) &_result_ref;
14805 }
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14820 wxBitmap result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (arg1)->GetBitmap();
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 {
14836 wxBitmap * resultptr;
14837 resultptr = new wxBitmap((wxBitmap &) result);
14838 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
14839 }
14840 return resultobj;
14841 fail:
14842 return NULL;
14843 }
14844
14845
14846 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14847 PyObject *resultobj;
14848 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14849 wxString result;
14850 PyObject * obj0 = 0 ;
14851 char *kwnames[] = {
14852 (char *) "self", NULL
14853 };
14854
14855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
14856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 result = (arg1)->GetLabel();
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 {
14865 #if wxUSE_UNICODE
14866 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14867 #else
14868 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14869 #endif
14870 }
14871 return resultobj;
14872 fail:
14873 return NULL;
14874 }
14875
14876
14877 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14878 PyObject *resultobj;
14879 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14880 wxString result;
14881 PyObject * obj0 = 0 ;
14882 char *kwnames[] = {
14883 (char *) "self", NULL
14884 };
14885
14886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
14887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 result = (arg1)->GetShortHelp();
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 {
14896 #if wxUSE_UNICODE
14897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14898 #else
14899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14900 #endif
14901 }
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj;
14910 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14911 wxString result;
14912 PyObject * obj0 = 0 ;
14913 char *kwnames[] = {
14914 (char *) "self", NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
14918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (arg1)->GetLongHelp();
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 {
14927 #if wxUSE_UNICODE
14928 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14929 #else
14930 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14931 #endif
14932 }
14933 return resultobj;
14934 fail:
14935 return NULL;
14936 }
14937
14938
14939 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
14940 PyObject *resultobj;
14941 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14942 bool arg2 ;
14943 bool result;
14944 PyObject * obj0 = 0 ;
14945 PyObject * obj1 = 0 ;
14946 char *kwnames[] = {
14947 (char *) "self",(char *) "enable", NULL
14948 };
14949
14950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
14951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14952 {
14953 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 {
14957 PyThreadState* __tstate = wxPyBeginAllowThreads();
14958 result = (bool)(arg1)->Enable(arg2);
14959
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 resultobj = SWIG_PyObj_FromBool((bool)result);
14964 return resultobj;
14965 fail:
14966 return NULL;
14967 }
14968
14969
14970 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14971 PyObject *resultobj;
14972 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14973 PyObject * obj0 = 0 ;
14974 char *kwnames[] = {
14975 (char *) "self", NULL
14976 };
14977
14978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
14979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14980 {
14981 PyThreadState* __tstate = wxPyBeginAllowThreads();
14982 (arg1)->Toggle();
14983
14984 wxPyEndAllowThreads(__tstate);
14985 if (PyErr_Occurred()) SWIG_fail;
14986 }
14987 Py_INCREF(Py_None); resultobj = Py_None;
14988 return resultobj;
14989 fail:
14990 return NULL;
14991 }
14992
14993
14994 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14995 PyObject *resultobj;
14996 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14997 bool arg2 ;
14998 bool result;
14999 PyObject * obj0 = 0 ;
15000 PyObject * obj1 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self",(char *) "toggle", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15007 {
15008 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 {
15012 PyThreadState* __tstate = wxPyBeginAllowThreads();
15013 result = (bool)(arg1)->SetToggle(arg2);
15014
15015 wxPyEndAllowThreads(__tstate);
15016 if (PyErr_Occurred()) SWIG_fail;
15017 }
15018 resultobj = SWIG_PyObj_FromBool((bool)result);
15019 return resultobj;
15020 fail:
15021 return NULL;
15022 }
15023
15024
15025 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15028 wxString *arg2 = 0 ;
15029 bool result;
15030 bool temp2 = False ;
15031 PyObject * obj0 = 0 ;
15032 PyObject * obj1 = 0 ;
15033 char *kwnames[] = {
15034 (char *) "self",(char *) "help", NULL
15035 };
15036
15037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15039 {
15040 arg2 = wxString_in_helper(obj1);
15041 if (arg2 == NULL) SWIG_fail;
15042 temp2 = True;
15043 }
15044 {
15045 PyThreadState* __tstate = wxPyBeginAllowThreads();
15046 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15047
15048 wxPyEndAllowThreads(__tstate);
15049 if (PyErr_Occurred()) SWIG_fail;
15050 }
15051 resultobj = SWIG_PyObj_FromBool((bool)result);
15052 {
15053 if (temp2)
15054 delete arg2;
15055 }
15056 return resultobj;
15057 fail:
15058 {
15059 if (temp2)
15060 delete arg2;
15061 }
15062 return NULL;
15063 }
15064
15065
15066 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15067 PyObject *resultobj;
15068 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15069 wxString *arg2 = 0 ;
15070 bool result;
15071 bool temp2 = False ;
15072 PyObject * obj0 = 0 ;
15073 PyObject * obj1 = 0 ;
15074 char *kwnames[] = {
15075 (char *) "self",(char *) "help", NULL
15076 };
15077
15078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15080 {
15081 arg2 = wxString_in_helper(obj1);
15082 if (arg2 == NULL) SWIG_fail;
15083 temp2 = True;
15084 }
15085 {
15086 PyThreadState* __tstate = wxPyBeginAllowThreads();
15087 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15088
15089 wxPyEndAllowThreads(__tstate);
15090 if (PyErr_Occurred()) SWIG_fail;
15091 }
15092 resultobj = SWIG_PyObj_FromBool((bool)result);
15093 {
15094 if (temp2)
15095 delete arg2;
15096 }
15097 return resultobj;
15098 fail:
15099 {
15100 if (temp2)
15101 delete arg2;
15102 }
15103 return NULL;
15104 }
15105
15106
15107 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15108 PyObject *resultobj;
15109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15110 wxBitmap *arg2 = 0 ;
15111 PyObject * obj0 = 0 ;
15112 PyObject * obj1 = 0 ;
15113 char *kwnames[] = {
15114 (char *) "self",(char *) "bmp", NULL
15115 };
15116
15117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15120 if (arg2 == NULL) {
15121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15122 }
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15126
15127 wxPyEndAllowThreads(__tstate);
15128 if (PyErr_Occurred()) SWIG_fail;
15129 }
15130 Py_INCREF(Py_None); resultobj = Py_None;
15131 return resultobj;
15132 fail:
15133 return NULL;
15134 }
15135
15136
15137 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15138 PyObject *resultobj;
15139 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15140 wxBitmap *arg2 = 0 ;
15141 PyObject * obj0 = 0 ;
15142 PyObject * obj1 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self",(char *) "bmp", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15150 if (arg2 == NULL) {
15151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15152 }
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 Py_INCREF(Py_None); resultobj = Py_None;
15161 return resultobj;
15162 fail:
15163 return NULL;
15164 }
15165
15166
15167 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15170 wxString *arg2 = 0 ;
15171 bool temp2 = False ;
15172 PyObject * obj0 = 0 ;
15173 PyObject * obj1 = 0 ;
15174 char *kwnames[] = {
15175 (char *) "self",(char *) "label", NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15180 {
15181 arg2 = wxString_in_helper(obj1);
15182 if (arg2 == NULL) SWIG_fail;
15183 temp2 = True;
15184 }
15185 {
15186 PyThreadState* __tstate = wxPyBeginAllowThreads();
15187 (arg1)->SetLabel((wxString const &)*arg2);
15188
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 Py_INCREF(Py_None); resultobj = Py_None;
15193 {
15194 if (temp2)
15195 delete arg2;
15196 }
15197 return resultobj;
15198 fail:
15199 {
15200 if (temp2)
15201 delete arg2;
15202 }
15203 return NULL;
15204 }
15205
15206
15207 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj;
15209 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15217 {
15218 PyThreadState* __tstate = wxPyBeginAllowThreads();
15219 (arg1)->Detach();
15220
15221 wxPyEndAllowThreads(__tstate);
15222 if (PyErr_Occurred()) SWIG_fail;
15223 }
15224 Py_INCREF(Py_None); resultobj = Py_None;
15225 return resultobj;
15226 fail:
15227 return NULL;
15228 }
15229
15230
15231 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15232 PyObject *resultobj;
15233 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15234 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15235 PyObject * obj0 = 0 ;
15236 PyObject * obj1 = 0 ;
15237 char *kwnames[] = {
15238 (char *) "self",(char *) "tbar", NULL
15239 };
15240
15241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 (arg1)->Attach(arg2);
15247
15248 wxPyEndAllowThreads(__tstate);
15249 if (PyErr_Occurred()) SWIG_fail;
15250 }
15251 Py_INCREF(Py_None); resultobj = Py_None;
15252 return resultobj;
15253 fail:
15254 return NULL;
15255 }
15256
15257
15258 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15259 PyObject *resultobj;
15260 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15261 PyObject *result;
15262 PyObject * obj0 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 resultobj = result;
15277 return resultobj;
15278 fail:
15279 return NULL;
15280 }
15281
15282
15283 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15286 PyObject *arg2 = (PyObject *) 0 ;
15287 PyObject * obj0 = 0 ;
15288 PyObject * obj1 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self",(char *) "clientData", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15295 arg2 = obj1;
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
15298 wxToolBarToolBase_SetClientData(arg1,arg2);
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
15303 Py_INCREF(Py_None); resultobj = Py_None;
15304 return resultobj;
15305 fail:
15306 return NULL;
15307 }
15308
15309
15310 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15311 PyObject *obj;
15312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15313 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15314 Py_INCREF(obj);
15315 return Py_BuildValue((char *)"");
15316 }
15317 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15318 PyObject *resultobj;
15319 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15320 int arg2 ;
15321 wxString *arg3 = 0 ;
15322 wxBitmap *arg4 = 0 ;
15323 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15324 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15325 int arg6 = (int) wxITEM_NORMAL ;
15326 wxString const &arg7_defvalue = wxPyEmptyString ;
15327 wxString *arg7 = (wxString *) &arg7_defvalue ;
15328 wxString const &arg8_defvalue = wxPyEmptyString ;
15329 wxString *arg8 = (wxString *) &arg8_defvalue ;
15330 PyObject *arg9 = (PyObject *) NULL ;
15331 wxToolBarToolBase *result;
15332 bool temp3 = False ;
15333 bool temp7 = False ;
15334 bool temp8 = False ;
15335 PyObject * obj0 = 0 ;
15336 PyObject * obj1 = 0 ;
15337 PyObject * obj2 = 0 ;
15338 PyObject * obj3 = 0 ;
15339 PyObject * obj4 = 0 ;
15340 PyObject * obj5 = 0 ;
15341 PyObject * obj6 = 0 ;
15342 PyObject * obj7 = 0 ;
15343 PyObject * obj8 = 0 ;
15344 char *kwnames[] = {
15345 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15350 {
15351 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 {
15355 arg3 = wxString_in_helper(obj2);
15356 if (arg3 == NULL) SWIG_fail;
15357 temp3 = True;
15358 }
15359 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15360 if (arg4 == NULL) {
15361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15362 }
15363 if (obj4) {
15364 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15365 if (arg5 == NULL) {
15366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15367 }
15368 }
15369 if (obj5) {
15370 {
15371 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 }
15375 if (obj6) {
15376 {
15377 arg7 = wxString_in_helper(obj6);
15378 if (arg7 == NULL) SWIG_fail;
15379 temp7 = True;
15380 }
15381 }
15382 if (obj7) {
15383 {
15384 arg8 = wxString_in_helper(obj7);
15385 if (arg8 == NULL) SWIG_fail;
15386 temp8 = True;
15387 }
15388 }
15389 if (obj8) {
15390 arg9 = obj8;
15391 }
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15395
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 {
15400 resultobj = wxPyMake_wxObject(result);
15401 }
15402 {
15403 if (temp3)
15404 delete arg3;
15405 }
15406 {
15407 if (temp7)
15408 delete arg7;
15409 }
15410 {
15411 if (temp8)
15412 delete arg8;
15413 }
15414 return resultobj;
15415 fail:
15416 {
15417 if (temp3)
15418 delete arg3;
15419 }
15420 {
15421 if (temp7)
15422 delete arg7;
15423 }
15424 {
15425 if (temp8)
15426 delete arg8;
15427 }
15428 return NULL;
15429 }
15430
15431
15432 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15435 size_t arg2 ;
15436 int arg3 ;
15437 wxString *arg4 = 0 ;
15438 wxBitmap *arg5 = 0 ;
15439 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15440 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15441 int arg7 = (int) wxITEM_NORMAL ;
15442 wxString const &arg8_defvalue = wxPyEmptyString ;
15443 wxString *arg8 = (wxString *) &arg8_defvalue ;
15444 wxString const &arg9_defvalue = wxPyEmptyString ;
15445 wxString *arg9 = (wxString *) &arg9_defvalue ;
15446 PyObject *arg10 = (PyObject *) NULL ;
15447 wxToolBarToolBase *result;
15448 bool temp4 = False ;
15449 bool temp8 = False ;
15450 bool temp9 = False ;
15451 PyObject * obj0 = 0 ;
15452 PyObject * obj1 = 0 ;
15453 PyObject * obj2 = 0 ;
15454 PyObject * obj3 = 0 ;
15455 PyObject * obj4 = 0 ;
15456 PyObject * obj5 = 0 ;
15457 PyObject * obj6 = 0 ;
15458 PyObject * obj7 = 0 ;
15459 PyObject * obj8 = 0 ;
15460 PyObject * obj9 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15467 {
15468 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 {
15472 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 {
15476 arg4 = wxString_in_helper(obj3);
15477 if (arg4 == NULL) SWIG_fail;
15478 temp4 = True;
15479 }
15480 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15481 if (arg5 == NULL) {
15482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15483 }
15484 if (obj5) {
15485 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15486 if (arg6 == NULL) {
15487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15488 }
15489 }
15490 if (obj6) {
15491 {
15492 arg7 = (wxItemKind) SWIG_PyObj_AsInt(obj6);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 }
15496 if (obj7) {
15497 {
15498 arg8 = wxString_in_helper(obj7);
15499 if (arg8 == NULL) SWIG_fail;
15500 temp8 = True;
15501 }
15502 }
15503 if (obj8) {
15504 {
15505 arg9 = wxString_in_helper(obj8);
15506 if (arg9 == NULL) SWIG_fail;
15507 temp9 = True;
15508 }
15509 }
15510 if (obj9) {
15511 arg10 = obj9;
15512 }
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 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);
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 {
15521 resultobj = wxPyMake_wxObject(result);
15522 }
15523 {
15524 if (temp4)
15525 delete arg4;
15526 }
15527 {
15528 if (temp8)
15529 delete arg8;
15530 }
15531 {
15532 if (temp9)
15533 delete arg9;
15534 }
15535 return resultobj;
15536 fail:
15537 {
15538 if (temp4)
15539 delete arg4;
15540 }
15541 {
15542 if (temp8)
15543 delete arg8;
15544 }
15545 {
15546 if (temp9)
15547 delete arg9;
15548 }
15549 return NULL;
15550 }
15551
15552
15553 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj;
15555 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15556 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15557 wxToolBarToolBase *result;
15558 PyObject * obj0 = 0 ;
15559 PyObject * obj1 = 0 ;
15560 char *kwnames[] = {
15561 (char *) "self",(char *) "tool", NULL
15562 };
15563
15564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15570
15571 wxPyEndAllowThreads(__tstate);
15572 if (PyErr_Occurred()) SWIG_fail;
15573 }
15574 {
15575 resultobj = wxPyMake_wxObject(result);
15576 }
15577 return resultobj;
15578 fail:
15579 return NULL;
15580 }
15581
15582
15583 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15584 PyObject *resultobj;
15585 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15586 size_t arg2 ;
15587 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15588 wxToolBarToolBase *result;
15589 PyObject * obj0 = 0 ;
15590 PyObject * obj1 = 0 ;
15591 PyObject * obj2 = 0 ;
15592 char *kwnames[] = {
15593 (char *) "self",(char *) "pos",(char *) "tool", NULL
15594 };
15595
15596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15598 {
15599 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15600 if (PyErr_Occurred()) SWIG_fail;
15601 }
15602 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 {
15611 resultobj = wxPyMake_wxObject(result);
15612 }
15613 return resultobj;
15614 fail:
15615 return NULL;
15616 }
15617
15618
15619 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15620 PyObject *resultobj;
15621 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15622 wxControl *arg2 = (wxControl *) 0 ;
15623 wxToolBarToolBase *result;
15624 PyObject * obj0 = 0 ;
15625 PyObject * obj1 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self",(char *) "control", NULL
15628 };
15629
15630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
15635 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15636
15637 wxPyEndAllowThreads(__tstate);
15638 if (PyErr_Occurred()) SWIG_fail;
15639 }
15640 {
15641 resultobj = wxPyMake_wxObject(result);
15642 }
15643 return resultobj;
15644 fail:
15645 return NULL;
15646 }
15647
15648
15649 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15650 PyObject *resultobj;
15651 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15652 size_t arg2 ;
15653 wxControl *arg3 = (wxControl *) 0 ;
15654 wxToolBarToolBase *result;
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 PyObject * obj2 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self",(char *) "pos",(char *) "control", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15664 {
15665 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
15668 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 {
15677 resultobj = wxPyMake_wxObject(result);
15678 }
15679 return resultobj;
15680 fail:
15681 return NULL;
15682 }
15683
15684
15685 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15686 PyObject *resultobj;
15687 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15688 int arg2 ;
15689 wxControl *result;
15690 PyObject * obj0 = 0 ;
15691 PyObject * obj1 = 0 ;
15692 char *kwnames[] = {
15693 (char *) "self",(char *) "id", NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15698 {
15699 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 {
15703 PyThreadState* __tstate = wxPyBeginAllowThreads();
15704 result = (wxControl *)(arg1)->FindControl(arg2);
15705
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 {
15710 resultobj = wxPyMake_wxObject(result);
15711 }
15712 return resultobj;
15713 fail:
15714 return NULL;
15715 }
15716
15717
15718 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj;
15720 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15721 wxToolBarToolBase *result;
15722 PyObject * obj0 = 0 ;
15723 char *kwnames[] = {
15724 (char *) "self", NULL
15725 };
15726
15727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15729 {
15730 PyThreadState* __tstate = wxPyBeginAllowThreads();
15731 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
15732
15733 wxPyEndAllowThreads(__tstate);
15734 if (PyErr_Occurred()) SWIG_fail;
15735 }
15736 {
15737 resultobj = wxPyMake_wxObject(result);
15738 }
15739 return resultobj;
15740 fail:
15741 return NULL;
15742 }
15743
15744
15745 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15748 size_t arg2 ;
15749 wxToolBarToolBase *result;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self",(char *) "pos", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15758 {
15759 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15760 if (PyErr_Occurred()) SWIG_fail;
15761 }
15762 {
15763 PyThreadState* __tstate = wxPyBeginAllowThreads();
15764 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
15765
15766 wxPyEndAllowThreads(__tstate);
15767 if (PyErr_Occurred()) SWIG_fail;
15768 }
15769 {
15770 resultobj = wxPyMake_wxObject(result);
15771 }
15772 return resultobj;
15773 fail:
15774 return NULL;
15775 }
15776
15777
15778 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15781 int arg2 ;
15782 wxToolBarToolBase *result;
15783 PyObject * obj0 = 0 ;
15784 PyObject * obj1 = 0 ;
15785 char *kwnames[] = {
15786 (char *) "self",(char *) "id", NULL
15787 };
15788
15789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15791 {
15792 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15793 if (PyErr_Occurred()) SWIG_fail;
15794 }
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 {
15803 resultobj = wxPyMake_wxObject(result);
15804 }
15805 return resultobj;
15806 fail:
15807 return NULL;
15808 }
15809
15810
15811 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
15812 PyObject *resultobj;
15813 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15814 size_t arg2 ;
15815 bool result;
15816 PyObject * obj0 = 0 ;
15817 PyObject * obj1 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self",(char *) "pos", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15824 {
15825 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15826 if (PyErr_Occurred()) SWIG_fail;
15827 }
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 result = (bool)(arg1)->DeleteToolByPos(arg2);
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 resultobj = SWIG_PyObj_FromBool((bool)result);
15836 return resultobj;
15837 fail:
15838 return NULL;
15839 }
15840
15841
15842 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15845 int arg2 ;
15846 bool result;
15847 PyObject * obj0 = 0 ;
15848 PyObject * obj1 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self",(char *) "id", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
15854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15855 {
15856 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 result = (bool)(arg1)->DeleteTool(arg2);
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 resultobj = SWIG_PyObj_FromBool((bool)result);
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 (arg1)->ClearTools();
15886
15887 wxPyEndAllowThreads(__tstate);
15888 if (PyErr_Occurred()) SWIG_fail;
15889 }
15890 Py_INCREF(Py_None); resultobj = Py_None;
15891 return resultobj;
15892 fail:
15893 return NULL;
15894 }
15895
15896
15897 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
15898 PyObject *resultobj;
15899 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15900 bool result;
15901 PyObject * obj0 = 0 ;
15902 char *kwnames[] = {
15903 (char *) "self", NULL
15904 };
15905
15906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
15907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15908 {
15909 PyThreadState* __tstate = wxPyBeginAllowThreads();
15910 result = (bool)(arg1)->Realize();
15911
15912 wxPyEndAllowThreads(__tstate);
15913 if (PyErr_Occurred()) SWIG_fail;
15914 }
15915 resultobj = SWIG_PyObj_FromBool((bool)result);
15916 return resultobj;
15917 fail:
15918 return NULL;
15919 }
15920
15921
15922 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15923 PyObject *resultobj;
15924 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15925 int arg2 ;
15926 bool arg3 ;
15927 PyObject * obj0 = 0 ;
15928 PyObject * obj1 = 0 ;
15929 PyObject * obj2 = 0 ;
15930 char *kwnames[] = {
15931 (char *) "self",(char *) "id",(char *) "enable", NULL
15932 };
15933
15934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15936 {
15937 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 {
15941 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 {
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 (arg1)->EnableTool(arg2,arg3);
15947
15948 wxPyEndAllowThreads(__tstate);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
15951 Py_INCREF(Py_None); resultobj = Py_None;
15952 return resultobj;
15953 fail:
15954 return NULL;
15955 }
15956
15957
15958 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj;
15960 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15961 int arg2 ;
15962 bool arg3 ;
15963 PyObject * obj0 = 0 ;
15964 PyObject * obj1 = 0 ;
15965 PyObject * obj2 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "self",(char *) "id",(char *) "toggle", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15972 {
15973 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 {
15977 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 {
15981 PyThreadState* __tstate = wxPyBeginAllowThreads();
15982 (arg1)->ToggleTool(arg2,arg3);
15983
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 Py_INCREF(Py_None); resultobj = Py_None;
15988 return resultobj;
15989 fail:
15990 return NULL;
15991 }
15992
15993
15994 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15995 PyObject *resultobj;
15996 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15997 int arg2 ;
15998 bool arg3 ;
15999 PyObject * obj0 = 0 ;
16000 PyObject * obj1 = 0 ;
16001 PyObject * obj2 = 0 ;
16002 char *kwnames[] = {
16003 (char *) "self",(char *) "id",(char *) "toggle", NULL
16004 };
16005
16006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16008 {
16009 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 {
16013 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 {
16017 PyThreadState* __tstate = wxPyBeginAllowThreads();
16018 (arg1)->SetToggle(arg2,arg3);
16019
16020 wxPyEndAllowThreads(__tstate);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 }
16023 Py_INCREF(Py_None); resultobj = Py_None;
16024 return resultobj;
16025 fail:
16026 return NULL;
16027 }
16028
16029
16030 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj;
16032 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16033 int arg2 ;
16034 PyObject *result;
16035 PyObject * obj0 = 0 ;
16036 PyObject * obj1 = 0 ;
16037 char *kwnames[] = {
16038 (char *) "self",(char *) "id", NULL
16039 };
16040
16041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16043 {
16044 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = result;
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16064 int arg2 ;
16065 PyObject *arg3 = (PyObject *) 0 ;
16066 PyObject * obj0 = 0 ;
16067 PyObject * obj1 = 0 ;
16068 PyObject * obj2 = 0 ;
16069 char *kwnames[] = {
16070 (char *) "self",(char *) "id",(char *) "clientData", NULL
16071 };
16072
16073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16075 {
16076 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 arg3 = obj2;
16080 {
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16083
16084 wxPyEndAllowThreads(__tstate);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 }
16087 Py_INCREF(Py_None); resultobj = Py_None;
16088 return resultobj;
16089 fail:
16090 return NULL;
16091 }
16092
16093
16094 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16097 int arg2 ;
16098 int result;
16099 PyObject * obj0 = 0 ;
16100 PyObject * obj1 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self",(char *) "id", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16107 {
16108 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 {
16112 PyThreadState* __tstate = wxPyBeginAllowThreads();
16113 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16114
16115 wxPyEndAllowThreads(__tstate);
16116 if (PyErr_Occurred()) SWIG_fail;
16117 }
16118 resultobj = SWIG_PyObj_FromInt((int)result);
16119 return resultobj;
16120 fail:
16121 return NULL;
16122 }
16123
16124
16125 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16126 PyObject *resultobj;
16127 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16128 int arg2 ;
16129 bool result;
16130 PyObject * obj0 = 0 ;
16131 PyObject * obj1 = 0 ;
16132 char *kwnames[] = {
16133 (char *) "self",(char *) "id", NULL
16134 };
16135
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16138 {
16139 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 }
16142 {
16143 PyThreadState* __tstate = wxPyBeginAllowThreads();
16144 result = (bool)(arg1)->GetToolState(arg2);
16145
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 resultobj = SWIG_PyObj_FromBool((bool)result);
16150 return resultobj;
16151 fail:
16152 return NULL;
16153 }
16154
16155
16156 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16157 PyObject *resultobj;
16158 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16159 int arg2 ;
16160 bool result;
16161 PyObject * obj0 = 0 ;
16162 PyObject * obj1 = 0 ;
16163 char *kwnames[] = {
16164 (char *) "self",(char *) "id", NULL
16165 };
16166
16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16169 {
16170 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16171 if (PyErr_Occurred()) SWIG_fail;
16172 }
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (bool)(arg1)->GetToolEnabled(arg2);
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 resultobj = SWIG_PyObj_FromBool((bool)result);
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16190 int arg2 ;
16191 wxString *arg3 = 0 ;
16192 bool temp3 = False ;
16193 PyObject * obj0 = 0 ;
16194 PyObject * obj1 = 0 ;
16195 PyObject * obj2 = 0 ;
16196 char *kwnames[] = {
16197 (char *) "self",(char *) "id",(char *) "helpString", NULL
16198 };
16199
16200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16202 {
16203 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 arg3 = wxString_in_helper(obj2);
16208 if (arg3 == NULL) SWIG_fail;
16209 temp3 = True;
16210 }
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 Py_INCREF(Py_None); resultobj = Py_None;
16219 {
16220 if (temp3)
16221 delete arg3;
16222 }
16223 return resultobj;
16224 fail:
16225 {
16226 if (temp3)
16227 delete arg3;
16228 }
16229 return NULL;
16230 }
16231
16232
16233 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16234 PyObject *resultobj;
16235 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16236 int arg2 ;
16237 wxString result;
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self",(char *) "id", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16246 {
16247 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 result = (arg1)->GetToolShortHelp(arg2);
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 {
16258 #if wxUSE_UNICODE
16259 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16260 #else
16261 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16262 #endif
16263 }
16264 return resultobj;
16265 fail:
16266 return NULL;
16267 }
16268
16269
16270 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16271 PyObject *resultobj;
16272 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16273 int arg2 ;
16274 wxString *arg3 = 0 ;
16275 bool temp3 = False ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj1 = 0 ;
16278 PyObject * obj2 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "id",(char *) "helpString", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 {
16286 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 }
16289 {
16290 arg3 = wxString_in_helper(obj2);
16291 if (arg3 == NULL) SWIG_fail;
16292 temp3 = True;
16293 }
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 Py_INCREF(Py_None); resultobj = Py_None;
16302 {
16303 if (temp3)
16304 delete arg3;
16305 }
16306 return resultobj;
16307 fail:
16308 {
16309 if (temp3)
16310 delete arg3;
16311 }
16312 return NULL;
16313 }
16314
16315
16316 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16317 PyObject *resultobj;
16318 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16319 int arg2 ;
16320 wxString result;
16321 PyObject * obj0 = 0 ;
16322 PyObject * obj1 = 0 ;
16323 char *kwnames[] = {
16324 (char *) "self",(char *) "id", NULL
16325 };
16326
16327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16329 {
16330 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16331 if (PyErr_Occurred()) SWIG_fail;
16332 }
16333 {
16334 PyThreadState* __tstate = wxPyBeginAllowThreads();
16335 result = (arg1)->GetToolLongHelp(arg2);
16336
16337 wxPyEndAllowThreads(__tstate);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
16340 {
16341 #if wxUSE_UNICODE
16342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16343 #else
16344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16345 #endif
16346 }
16347 return resultobj;
16348 fail:
16349 return NULL;
16350 }
16351
16352
16353 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16354 PyObject *resultobj;
16355 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16356 int arg2 ;
16357 int arg3 ;
16358 PyObject * obj0 = 0 ;
16359 PyObject * obj1 = 0 ;
16360 PyObject * obj2 = 0 ;
16361 char *kwnames[] = {
16362 (char *) "self",(char *) "x",(char *) "y", NULL
16363 };
16364
16365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16367 {
16368 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 {
16372 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 {
16376 PyThreadState* __tstate = wxPyBeginAllowThreads();
16377 (arg1)->SetMargins(arg2,arg3);
16378
16379 wxPyEndAllowThreads(__tstate);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 Py_INCREF(Py_None); resultobj = Py_None;
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16392 wxSize *arg2 = 0 ;
16393 wxSize temp2 ;
16394 PyObject * obj0 = 0 ;
16395 PyObject * obj1 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self",(char *) "size", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16402 {
16403 arg2 = &temp2;
16404 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16405 }
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 (arg1)->SetMargins((wxSize const &)*arg2);
16409
16410 wxPyEndAllowThreads(__tstate);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 Py_INCREF(Py_None); resultobj = Py_None;
16414 return resultobj;
16415 fail:
16416 return NULL;
16417 }
16418
16419
16420 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16423 int arg2 ;
16424 PyObject * obj0 = 0 ;
16425 PyObject * obj1 = 0 ;
16426 char *kwnames[] = {
16427 (char *) "self",(char *) "packing", NULL
16428 };
16429
16430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16432 {
16433 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 (arg1)->SetToolPacking(arg2);
16439
16440 wxPyEndAllowThreads(__tstate);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 Py_INCREF(Py_None); resultobj = Py_None;
16444 return resultobj;
16445 fail:
16446 return NULL;
16447 }
16448
16449
16450 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16451 PyObject *resultobj;
16452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16453 int arg2 ;
16454 PyObject * obj0 = 0 ;
16455 PyObject * obj1 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self",(char *) "separation", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16462 {
16463 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16464 if (PyErr_Occurred()) SWIG_fail;
16465 }
16466 {
16467 PyThreadState* __tstate = wxPyBeginAllowThreads();
16468 (arg1)->SetToolSeparation(arg2);
16469
16470 wxPyEndAllowThreads(__tstate);
16471 if (PyErr_Occurred()) SWIG_fail;
16472 }
16473 Py_INCREF(Py_None); resultobj = Py_None;
16474 return resultobj;
16475 fail:
16476 return NULL;
16477 }
16478
16479
16480 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj;
16482 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16483 wxSize result;
16484 PyObject * obj0 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 result = (arg1)->GetToolMargins();
16494
16495 wxPyEndAllowThreads(__tstate);
16496 if (PyErr_Occurred()) SWIG_fail;
16497 }
16498 {
16499 wxSize * resultptr;
16500 resultptr = new wxSize((wxSize &) result);
16501 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16502 }
16503 return resultobj;
16504 fail:
16505 return NULL;
16506 }
16507
16508
16509 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16510 PyObject *resultobj;
16511 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16512 wxSize result;
16513 PyObject * obj0 = 0 ;
16514 char *kwnames[] = {
16515 (char *) "self", NULL
16516 };
16517
16518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16520 {
16521 PyThreadState* __tstate = wxPyBeginAllowThreads();
16522 result = (arg1)->GetMargins();
16523
16524 wxPyEndAllowThreads(__tstate);
16525 if (PyErr_Occurred()) SWIG_fail;
16526 }
16527 {
16528 wxSize * resultptr;
16529 resultptr = new wxSize((wxSize &) result);
16530 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16531 }
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj;
16540 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16541 int result;
16542 PyObject * obj0 = 0 ;
16543 char *kwnames[] = {
16544 (char *) "self", NULL
16545 };
16546
16547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16549 {
16550 PyThreadState* __tstate = wxPyBeginAllowThreads();
16551 result = (int)(arg1)->GetToolPacking();
16552
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 resultobj = SWIG_PyObj_FromInt((int)result);
16557 return resultobj;
16558 fail:
16559 return NULL;
16560 }
16561
16562
16563 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16564 PyObject *resultobj;
16565 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16566 int result;
16567 PyObject * obj0 = 0 ;
16568 char *kwnames[] = {
16569 (char *) "self", NULL
16570 };
16571
16572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 result = (int)(arg1)->GetToolSeparation();
16577
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 resultobj = SWIG_PyObj_FromInt((int)result);
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16591 int arg2 ;
16592 PyObject * obj0 = 0 ;
16593 PyObject * obj1 = 0 ;
16594 char *kwnames[] = {
16595 (char *) "self",(char *) "nRows", NULL
16596 };
16597
16598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16600 {
16601 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 {
16605 PyThreadState* __tstate = wxPyBeginAllowThreads();
16606 (arg1)->SetRows(arg2);
16607
16608 wxPyEndAllowThreads(__tstate);
16609 if (PyErr_Occurred()) SWIG_fail;
16610 }
16611 Py_INCREF(Py_None); resultobj = Py_None;
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16621 int arg2 ;
16622 int arg3 ;
16623 PyObject * obj0 = 0 ;
16624 PyObject * obj1 = 0 ;
16625 PyObject * obj2 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self",(char *) "rows",(char *) "cols", NULL
16628 };
16629
16630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16632 {
16633 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 {
16637 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 {
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 (arg1)->SetMaxRowsCols(arg2,arg3);
16643
16644 wxPyEndAllowThreads(__tstate);
16645 if (PyErr_Occurred()) SWIG_fail;
16646 }
16647 Py_INCREF(Py_None); resultobj = Py_None;
16648 return resultobj;
16649 fail:
16650 return NULL;
16651 }
16652
16653
16654 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16655 PyObject *resultobj;
16656 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16657 int result;
16658 PyObject * obj0 = 0 ;
16659 char *kwnames[] = {
16660 (char *) "self", NULL
16661 };
16662
16663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16665 {
16666 PyThreadState* __tstate = wxPyBeginAllowThreads();
16667 result = (int)(arg1)->GetMaxRows();
16668
16669 wxPyEndAllowThreads(__tstate);
16670 if (PyErr_Occurred()) SWIG_fail;
16671 }
16672 resultobj = SWIG_PyObj_FromInt((int)result);
16673 return resultobj;
16674 fail:
16675 return NULL;
16676 }
16677
16678
16679 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16680 PyObject *resultobj;
16681 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16682 int result;
16683 PyObject * obj0 = 0 ;
16684 char *kwnames[] = {
16685 (char *) "self", NULL
16686 };
16687
16688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
16689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 result = (int)(arg1)->GetMaxCols();
16693
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 resultobj = SWIG_PyObj_FromInt((int)result);
16698 return resultobj;
16699 fail:
16700 return NULL;
16701 }
16702
16703
16704 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj;
16706 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16707 wxSize *arg2 = 0 ;
16708 wxSize temp2 ;
16709 PyObject * obj0 = 0 ;
16710 PyObject * obj1 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self",(char *) "size", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
16716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16717 {
16718 arg2 = &temp2;
16719 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16720 }
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
16724
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 Py_INCREF(Py_None); resultobj = Py_None;
16729 return resultobj;
16730 fail:
16731 return NULL;
16732 }
16733
16734
16735 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16738 wxSize result;
16739 PyObject * obj0 = 0 ;
16740 char *kwnames[] = {
16741 (char *) "self", NULL
16742 };
16743
16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
16745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16746 {
16747 PyThreadState* __tstate = wxPyBeginAllowThreads();
16748 result = (arg1)->GetToolBitmapSize();
16749
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
16753 {
16754 wxSize * resultptr;
16755 resultptr = new wxSize((wxSize &) result);
16756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16757 }
16758 return resultobj;
16759 fail:
16760 return NULL;
16761 }
16762
16763
16764 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj;
16766 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16767 wxSize result;
16768 PyObject * obj0 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
16774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16775 {
16776 PyThreadState* __tstate = wxPyBeginAllowThreads();
16777 result = (arg1)->GetToolSize();
16778
16779 wxPyEndAllowThreads(__tstate);
16780 if (PyErr_Occurred()) SWIG_fail;
16781 }
16782 {
16783 wxSize * resultptr;
16784 resultptr = new wxSize((wxSize &) result);
16785 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16786 }
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj;
16795 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16796 int arg2 ;
16797 int arg3 ;
16798 wxToolBarToolBase *result;
16799 PyObject * obj0 = 0 ;
16800 PyObject * obj1 = 0 ;
16801 PyObject * obj2 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self",(char *) "x",(char *) "y", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
16807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16808 {
16809 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 {
16813 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16814 if (PyErr_Occurred()) SWIG_fail;
16815 }
16816 {
16817 PyThreadState* __tstate = wxPyBeginAllowThreads();
16818 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
16819
16820 wxPyEndAllowThreads(__tstate);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 }
16823 {
16824 resultobj = wxPyMake_wxObject(result);
16825 }
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16835 int arg2 ;
16836 wxToolBarToolBase *result;
16837 PyObject * obj0 = 0 ;
16838 PyObject * obj1 = 0 ;
16839 char *kwnames[] = {
16840 (char *) "self",(char *) "toolid", NULL
16841 };
16842
16843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
16844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16845 {
16846 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16847 if (PyErr_Occurred()) SWIG_fail;
16848 }
16849 {
16850 PyThreadState* __tstate = wxPyBeginAllowThreads();
16851 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
16852
16853 wxPyEndAllowThreads(__tstate);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 }
16856 {
16857 resultobj = wxPyMake_wxObject(result);
16858 }
16859 return resultobj;
16860 fail:
16861 return NULL;
16862 }
16863
16864
16865 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16868 bool result;
16869 PyObject * obj0 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 result = (bool)(arg1)->IsVertical();
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 resultobj = SWIG_PyObj_FromBool((bool)result);
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
16891 PyObject *obj;
16892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16893 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
16894 Py_INCREF(obj);
16895 return Py_BuildValue((char *)"");
16896 }
16897 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16898 PyObject *resultobj;
16899 wxWindow *arg1 = (wxWindow *) 0 ;
16900 int arg2 ;
16901 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16902 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16903 wxSize const &arg4_defvalue = wxDefaultSize ;
16904 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16905 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
16906 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
16907 wxString *arg6 = (wxString *) &arg6_defvalue ;
16908 wxToolBar *result;
16909 wxPoint temp3 ;
16910 wxSize temp4 ;
16911 bool temp6 = False ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 PyObject * obj2 = 0 ;
16915 PyObject * obj3 = 0 ;
16916 PyObject * obj4 = 0 ;
16917 PyObject * obj5 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16924 {
16925 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 if (obj2) {
16929 {
16930 arg3 = &temp3;
16931 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16932 }
16933 }
16934 if (obj3) {
16935 {
16936 arg4 = &temp4;
16937 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16938 }
16939 }
16940 if (obj4) {
16941 {
16942 arg5 = (long) SWIG_PyObj_AsLong(obj4);
16943 if (PyErr_Occurred()) SWIG_fail;
16944 }
16945 }
16946 if (obj5) {
16947 {
16948 arg6 = wxString_in_helper(obj5);
16949 if (arg6 == NULL) SWIG_fail;
16950 temp6 = True;
16951 }
16952 }
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 {
16961 resultobj = wxPyMake_wxObject(result);
16962 }
16963 {
16964 if (temp6)
16965 delete arg6;
16966 }
16967 return resultobj;
16968 fail:
16969 {
16970 if (temp6)
16971 delete arg6;
16972 }
16973 return NULL;
16974 }
16975
16976
16977 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxToolBar *result;
16980 char *kwnames[] = {
16981 NULL
16982 };
16983
16984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (wxToolBar *)new wxToolBar();
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
16992 {
16993 resultobj = wxPyMake_wxObject(result);
16994 }
16995 return resultobj;
16996 fail:
16997 return NULL;
16998 }
16999
17000
17001 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17002 PyObject *resultobj;
17003 wxToolBar *arg1 = (wxToolBar *) 0 ;
17004 wxWindow *arg2 = (wxWindow *) 0 ;
17005 int arg3 ;
17006 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17007 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17008 wxSize const &arg5_defvalue = wxDefaultSize ;
17009 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17010 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17011 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17012 wxString *arg7 = (wxString *) &arg7_defvalue ;
17013 bool result;
17014 wxPoint temp4 ;
17015 wxSize temp5 ;
17016 bool temp7 = False ;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 PyObject * obj2 = 0 ;
17020 PyObject * obj3 = 0 ;
17021 PyObject * obj4 = 0 ;
17022 PyObject * obj5 = 0 ;
17023 PyObject * obj6 = 0 ;
17024 char *kwnames[] = {
17025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17026 };
17027
17028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17031 {
17032 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 if (obj3) {
17036 {
17037 arg4 = &temp4;
17038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17039 }
17040 }
17041 if (obj4) {
17042 {
17043 arg5 = &temp5;
17044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17045 }
17046 }
17047 if (obj5) {
17048 {
17049 arg6 = (long) SWIG_PyObj_AsLong(obj5);
17050 if (PyErr_Occurred()) SWIG_fail;
17051 }
17052 }
17053 if (obj6) {
17054 {
17055 arg7 = wxString_in_helper(obj6);
17056 if (arg7 == NULL) SWIG_fail;
17057 temp7 = True;
17058 }
17059 }
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 resultobj = SWIG_PyObj_FromBool((bool)result);
17068 {
17069 if (temp7)
17070 delete arg7;
17071 }
17072 return resultobj;
17073 fail:
17074 {
17075 if (temp7)
17076 delete arg7;
17077 }
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxToolBar *arg1 = (wxToolBar *) 0 ;
17085 int arg2 ;
17086 int arg3 ;
17087 wxToolBarToolBase *result;
17088 PyObject * obj0 = 0 ;
17089 PyObject * obj1 = 0 ;
17090 PyObject * obj2 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self",(char *) "x",(char *) "y", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17097 {
17098 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 {
17102 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17103 if (PyErr_Occurred()) SWIG_fail;
17104 }
17105 {
17106 PyThreadState* __tstate = wxPyBeginAllowThreads();
17107 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17108
17109 wxPyEndAllowThreads(__tstate);
17110 if (PyErr_Occurred()) SWIG_fail;
17111 }
17112 {
17113 resultobj = wxPyMake_wxObject(result);
17114 }
17115 return resultobj;
17116 fail:
17117 return NULL;
17118 }
17119
17120
17121 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17122 PyObject *obj;
17123 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17124 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17125 Py_INCREF(obj);
17126 return Py_BuildValue((char *)"");
17127 }
17128 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17129 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17130 return 1;
17131 }
17132
17133
17134 static PyObject *_wrap_ListCtrlNameStr_get() {
17135 PyObject *pyobj;
17136
17137 {
17138 #if wxUSE_UNICODE
17139 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17140 #else
17141 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17142 #endif
17143 }
17144 return pyobj;
17145 }
17146
17147
17148 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 wxColour const &arg1_defvalue = wxNullColour ;
17151 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17152 wxColour const &arg2_defvalue = wxNullColour ;
17153 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17154 wxFont const &arg3_defvalue = wxNullFont ;
17155 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17156 wxListItemAttr *result;
17157 wxColour temp1 ;
17158 wxColour temp2 ;
17159 PyObject * obj0 = 0 ;
17160 PyObject * obj1 = 0 ;
17161 PyObject * obj2 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17167 if (obj0) {
17168 {
17169 arg1 = &temp1;
17170 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17171 }
17172 }
17173 if (obj1) {
17174 {
17175 arg2 = &temp2;
17176 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17177 }
17178 }
17179 if (obj2) {
17180 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17181 if (arg3 == NULL) {
17182 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17183 }
17184 }
17185 {
17186 PyThreadState* __tstate = wxPyBeginAllowThreads();
17187 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17188
17189 wxPyEndAllowThreads(__tstate);
17190 if (PyErr_Occurred()) SWIG_fail;
17191 }
17192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
17193 return resultobj;
17194 fail:
17195 return NULL;
17196 }
17197
17198
17199 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17200 PyObject *resultobj;
17201 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17202 wxColour *arg2 = 0 ;
17203 wxColour temp2 ;
17204 PyObject * obj0 = 0 ;
17205 PyObject * obj1 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self",(char *) "colText", NULL
17208 };
17209
17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17212 {
17213 arg2 = &temp2;
17214 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17215 }
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 (arg1)->SetTextColour((wxColour const &)*arg2);
17219
17220 wxPyEndAllowThreads(__tstate);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 Py_INCREF(Py_None); resultobj = Py_None;
17224 return resultobj;
17225 fail:
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17233 wxColour *arg2 = 0 ;
17234 wxColour temp2 ;
17235 PyObject * obj0 = 0 ;
17236 PyObject * obj1 = 0 ;
17237 char *kwnames[] = {
17238 (char *) "self",(char *) "colBack", NULL
17239 };
17240
17241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17243 {
17244 arg2 = &temp2;
17245 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17246 }
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
17254 Py_INCREF(Py_None); resultobj = Py_None;
17255 return resultobj;
17256 fail:
17257 return NULL;
17258 }
17259
17260
17261 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17264 wxFont *arg2 = 0 ;
17265 PyObject * obj0 = 0 ;
17266 PyObject * obj1 = 0 ;
17267 char *kwnames[] = {
17268 (char *) "self",(char *) "font", NULL
17269 };
17270
17271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17274 if (arg2 == NULL) {
17275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17276 }
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 (arg1)->SetFont((wxFont const &)*arg2);
17280
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 Py_INCREF(Py_None); resultobj = Py_None;
17285 return resultobj;
17286 fail:
17287 return NULL;
17288 }
17289
17290
17291 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17292 PyObject *resultobj;
17293 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17294 bool result;
17295 PyObject * obj0 = 0 ;
17296 char *kwnames[] = {
17297 (char *) "self", NULL
17298 };
17299
17300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17302 {
17303 PyThreadState* __tstate = wxPyBeginAllowThreads();
17304 result = (bool)(arg1)->HasTextColour();
17305
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 resultobj = SWIG_PyObj_FromBool((bool)result);
17310 return resultobj;
17311 fail:
17312 return NULL;
17313 }
17314
17315
17316 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17317 PyObject *resultobj;
17318 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17319 bool result;
17320 PyObject * obj0 = 0 ;
17321 char *kwnames[] = {
17322 (char *) "self", NULL
17323 };
17324
17325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 result = (bool)(arg1)->HasBackgroundColour();
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 resultobj = SWIG_PyObj_FromBool((bool)result);
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17344 bool result;
17345 PyObject * obj0 = 0 ;
17346 char *kwnames[] = {
17347 (char *) "self", NULL
17348 };
17349
17350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 result = (bool)(arg1)->HasFont();
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 resultobj = SWIG_PyObj_FromBool((bool)result);
17360 return resultobj;
17361 fail:
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17369 wxColour result;
17370 PyObject * obj0 = 0 ;
17371 char *kwnames[] = {
17372 (char *) "self", NULL
17373 };
17374
17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 result = (arg1)->GetTextColour();
17380
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 {
17385 wxColour * resultptr;
17386 resultptr = new wxColour((wxColour &) result);
17387 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17388 }
17389 return resultobj;
17390 fail:
17391 return NULL;
17392 }
17393
17394
17395 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17398 wxColour result;
17399 PyObject * obj0 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17406 {
17407 PyThreadState* __tstate = wxPyBeginAllowThreads();
17408 result = (arg1)->GetBackgroundColour();
17409
17410 wxPyEndAllowThreads(__tstate);
17411 if (PyErr_Occurred()) SWIG_fail;
17412 }
17413 {
17414 wxColour * resultptr;
17415 resultptr = new wxColour((wxColour &) result);
17416 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17417 }
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17427 wxFont result;
17428 PyObject * obj0 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17435 {
17436 PyThreadState* __tstate = wxPyBeginAllowThreads();
17437 result = (arg1)->GetFont();
17438
17439 wxPyEndAllowThreads(__tstate);
17440 if (PyErr_Occurred()) SWIG_fail;
17441 }
17442 {
17443 wxFont * resultptr;
17444 resultptr = new wxFont((wxFont &) result);
17445 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17446 }
17447 return resultobj;
17448 fail:
17449 return NULL;
17450 }
17451
17452
17453 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17456 PyObject * obj0 = 0 ;
17457 char *kwnames[] = {
17458 (char *) "self", NULL
17459 };
17460
17461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17463 {
17464 PyThreadState* __tstate = wxPyBeginAllowThreads();
17465 wxListItemAttr_Destroy(arg1);
17466
17467 wxPyEndAllowThreads(__tstate);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 }
17470 Py_INCREF(Py_None); resultobj = Py_None;
17471 return resultobj;
17472 fail:
17473 return NULL;
17474 }
17475
17476
17477 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17478 PyObject *obj;
17479 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17480 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17481 Py_INCREF(obj);
17482 return Py_BuildValue((char *)"");
17483 }
17484 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxListItem *result;
17487 char *kwnames[] = {
17488 NULL
17489 };
17490
17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17492 {
17493 PyThreadState* __tstate = wxPyBeginAllowThreads();
17494 result = (wxListItem *)new wxListItem();
17495
17496 wxPyEndAllowThreads(__tstate);
17497 if (PyErr_Occurred()) SWIG_fail;
17498 }
17499 {
17500 resultobj = wxPyMake_wxObject(result);
17501 }
17502 return resultobj;
17503 fail:
17504 return NULL;
17505 }
17506
17507
17508 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj;
17510 wxListItem *arg1 = (wxListItem *) 0 ;
17511 PyObject * obj0 = 0 ;
17512 char *kwnames[] = {
17513 (char *) "self", NULL
17514 };
17515
17516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
17520 delete arg1;
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 Py_INCREF(Py_None); resultobj = Py_None;
17526 return resultobj;
17527 fail:
17528 return NULL;
17529 }
17530
17531
17532 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17533 PyObject *resultobj;
17534 wxListItem *arg1 = (wxListItem *) 0 ;
17535 PyObject * obj0 = 0 ;
17536 char *kwnames[] = {
17537 (char *) "self", NULL
17538 };
17539
17540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17542 {
17543 PyThreadState* __tstate = wxPyBeginAllowThreads();
17544 (arg1)->Clear();
17545
17546 wxPyEndAllowThreads(__tstate);
17547 if (PyErr_Occurred()) SWIG_fail;
17548 }
17549 Py_INCREF(Py_None); resultobj = Py_None;
17550 return resultobj;
17551 fail:
17552 return NULL;
17553 }
17554
17555
17556 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17557 PyObject *resultobj;
17558 wxListItem *arg1 = (wxListItem *) 0 ;
17559 PyObject * obj0 = 0 ;
17560 char *kwnames[] = {
17561 (char *) "self", NULL
17562 };
17563
17564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17566 {
17567 PyThreadState* __tstate = wxPyBeginAllowThreads();
17568 (arg1)->ClearAttributes();
17569
17570 wxPyEndAllowThreads(__tstate);
17571 if (PyErr_Occurred()) SWIG_fail;
17572 }
17573 Py_INCREF(Py_None); resultobj = Py_None;
17574 return resultobj;
17575 fail:
17576 return NULL;
17577 }
17578
17579
17580 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxListItem *arg1 = (wxListItem *) 0 ;
17583 long arg2 ;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self",(char *) "mask", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17592 {
17593 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 (arg1)->SetMask(arg2);
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 Py_INCREF(Py_None); resultobj = Py_None;
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17611 PyObject *resultobj;
17612 wxListItem *arg1 = (wxListItem *) 0 ;
17613 long arg2 ;
17614 PyObject * obj0 = 0 ;
17615 PyObject * obj1 = 0 ;
17616 char *kwnames[] = {
17617 (char *) "self",(char *) "id", NULL
17618 };
17619
17620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17622 {
17623 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 (arg1)->SetId(arg2);
17629
17630 wxPyEndAllowThreads(__tstate);
17631 if (PyErr_Occurred()) SWIG_fail;
17632 }
17633 Py_INCREF(Py_None); resultobj = Py_None;
17634 return resultobj;
17635 fail:
17636 return NULL;
17637 }
17638
17639
17640 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17641 PyObject *resultobj;
17642 wxListItem *arg1 = (wxListItem *) 0 ;
17643 int arg2 ;
17644 PyObject * obj0 = 0 ;
17645 PyObject * obj1 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "self",(char *) "col", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17652 {
17653 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17654 if (PyErr_Occurred()) SWIG_fail;
17655 }
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 (arg1)->SetColumn(arg2);
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 Py_INCREF(Py_None); resultobj = Py_None;
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxListItem *arg1 = (wxListItem *) 0 ;
17673 long arg2 ;
17674 PyObject * obj0 = 0 ;
17675 PyObject * obj1 = 0 ;
17676 char *kwnames[] = {
17677 (char *) "self",(char *) "state", NULL
17678 };
17679
17680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
17681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17682 {
17683 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 {
17687 PyThreadState* __tstate = wxPyBeginAllowThreads();
17688 (arg1)->SetState(arg2);
17689
17690 wxPyEndAllowThreads(__tstate);
17691 if (PyErr_Occurred()) SWIG_fail;
17692 }
17693 Py_INCREF(Py_None); resultobj = Py_None;
17694 return resultobj;
17695 fail:
17696 return NULL;
17697 }
17698
17699
17700 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17701 PyObject *resultobj;
17702 wxListItem *arg1 = (wxListItem *) 0 ;
17703 long arg2 ;
17704 PyObject * obj0 = 0 ;
17705 PyObject * obj1 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self",(char *) "stateMask", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
17711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17712 {
17713 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17714 if (PyErr_Occurred()) SWIG_fail;
17715 }
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 (arg1)->SetStateMask(arg2);
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 Py_INCREF(Py_None); resultobj = Py_None;
17724 return resultobj;
17725 fail:
17726 return NULL;
17727 }
17728
17729
17730 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxListItem *arg1 = (wxListItem *) 0 ;
17733 wxString *arg2 = 0 ;
17734 bool temp2 = False ;
17735 PyObject * obj0 = 0 ;
17736 PyObject * obj1 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self",(char *) "text", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
17742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17743 {
17744 arg2 = wxString_in_helper(obj1);
17745 if (arg2 == NULL) SWIG_fail;
17746 temp2 = True;
17747 }
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 (arg1)->SetText((wxString const &)*arg2);
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 Py_INCREF(Py_None); resultobj = Py_None;
17756 {
17757 if (temp2)
17758 delete arg2;
17759 }
17760 return resultobj;
17761 fail:
17762 {
17763 if (temp2)
17764 delete arg2;
17765 }
17766 return NULL;
17767 }
17768
17769
17770 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17771 PyObject *resultobj;
17772 wxListItem *arg1 = (wxListItem *) 0 ;
17773 int arg2 ;
17774 PyObject * obj0 = 0 ;
17775 PyObject * obj1 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self",(char *) "image", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
17781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17782 {
17783 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 }
17786 {
17787 PyThreadState* __tstate = wxPyBeginAllowThreads();
17788 (arg1)->SetImage(arg2);
17789
17790 wxPyEndAllowThreads(__tstate);
17791 if (PyErr_Occurred()) SWIG_fail;
17792 }
17793 Py_INCREF(Py_None); resultobj = Py_None;
17794 return resultobj;
17795 fail:
17796 return NULL;
17797 }
17798
17799
17800 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17801 PyObject *resultobj;
17802 wxListItem *arg1 = (wxListItem *) 0 ;
17803 long arg2 ;
17804 PyObject * obj0 = 0 ;
17805 PyObject * obj1 = 0 ;
17806 char *kwnames[] = {
17807 (char *) "self",(char *) "data", NULL
17808 };
17809
17810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
17811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17812 {
17813 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17814 if (PyErr_Occurred()) SWIG_fail;
17815 }
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 (arg1)->SetData(arg2);
17819
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 Py_INCREF(Py_None); resultobj = Py_None;
17824 return resultobj;
17825 fail:
17826 return NULL;
17827 }
17828
17829
17830 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17831 PyObject *resultobj;
17832 wxListItem *arg1 = (wxListItem *) 0 ;
17833 int arg2 ;
17834 PyObject * obj0 = 0 ;
17835 PyObject * obj1 = 0 ;
17836 char *kwnames[] = {
17837 (char *) "self",(char *) "width", NULL
17838 };
17839
17840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
17841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17842 {
17843 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17844 if (PyErr_Occurred()) SWIG_fail;
17845 }
17846 {
17847 PyThreadState* __tstate = wxPyBeginAllowThreads();
17848 (arg1)->SetWidth(arg2);
17849
17850 wxPyEndAllowThreads(__tstate);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 }
17853 Py_INCREF(Py_None); resultobj = Py_None;
17854 return resultobj;
17855 fail:
17856 return NULL;
17857 }
17858
17859
17860 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
17861 PyObject *resultobj;
17862 wxListItem *arg1 = (wxListItem *) 0 ;
17863 int arg2 ;
17864 PyObject * obj0 = 0 ;
17865 PyObject * obj1 = 0 ;
17866 char *kwnames[] = {
17867 (char *) "self",(char *) "align", NULL
17868 };
17869
17870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
17871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17872 {
17873 arg2 = (wxListColumnFormat) SWIG_PyObj_AsInt(obj1);
17874 if (PyErr_Occurred()) SWIG_fail;
17875 }
17876 {
17877 PyThreadState* __tstate = wxPyBeginAllowThreads();
17878 (arg1)->SetAlign((wxListColumnFormat )arg2);
17879
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 Py_INCREF(Py_None); resultobj = Py_None;
17884 return resultobj;
17885 fail:
17886 return NULL;
17887 }
17888
17889
17890 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17891 PyObject *resultobj;
17892 wxListItem *arg1 = (wxListItem *) 0 ;
17893 wxColour *arg2 = 0 ;
17894 wxColour temp2 ;
17895 PyObject * obj0 = 0 ;
17896 PyObject * obj1 = 0 ;
17897 char *kwnames[] = {
17898 (char *) "self",(char *) "colText", NULL
17899 };
17900
17901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17903 {
17904 arg2 = &temp2;
17905 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17906 }
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 (arg1)->SetTextColour((wxColour const &)*arg2);
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 Py_INCREF(Py_None); resultobj = Py_None;
17915 return resultobj;
17916 fail:
17917 return NULL;
17918 }
17919
17920
17921 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxListItem *arg1 = (wxListItem *) 0 ;
17924 wxColour *arg2 = 0 ;
17925 wxColour temp2 ;
17926 PyObject * obj0 = 0 ;
17927 PyObject * obj1 = 0 ;
17928 char *kwnames[] = {
17929 (char *) "self",(char *) "colBack", NULL
17930 };
17931
17932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17934 {
17935 arg2 = &temp2;
17936 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17937 }
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17941
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 Py_INCREF(Py_None); resultobj = Py_None;
17946 return resultobj;
17947 fail:
17948 return NULL;
17949 }
17950
17951
17952 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17953 PyObject *resultobj;
17954 wxListItem *arg1 = (wxListItem *) 0 ;
17955 wxFont *arg2 = 0 ;
17956 PyObject * obj0 = 0 ;
17957 PyObject * obj1 = 0 ;
17958 char *kwnames[] = {
17959 (char *) "self",(char *) "font", NULL
17960 };
17961
17962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
17963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17965 if (arg2 == NULL) {
17966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17967 }
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 (arg1)->SetFont((wxFont const &)*arg2);
17971
17972 wxPyEndAllowThreads(__tstate);
17973 if (PyErr_Occurred()) SWIG_fail;
17974 }
17975 Py_INCREF(Py_None); resultobj = Py_None;
17976 return resultobj;
17977 fail:
17978 return NULL;
17979 }
17980
17981
17982 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj;
17984 wxListItem *arg1 = (wxListItem *) 0 ;
17985 long result;
17986 PyObject * obj0 = 0 ;
17987 char *kwnames[] = {
17988 (char *) "self", NULL
17989 };
17990
17991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
17992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17993 {
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 result = (long)(arg1)->GetMask();
17996
17997 wxPyEndAllowThreads(__tstate);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 }
18000 resultobj = SWIG_PyObj_FromLong((long)result);
18001 return resultobj;
18002 fail:
18003 return NULL;
18004 }
18005
18006
18007 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxListItem *arg1 = (wxListItem *) 0 ;
18010 long result;
18011 PyObject * obj0 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 result = (long)(arg1)->GetId();
18021
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 resultobj = SWIG_PyObj_FromLong((long)result);
18026 return resultobj;
18027 fail:
18028 return NULL;
18029 }
18030
18031
18032 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18033 PyObject *resultobj;
18034 wxListItem *arg1 = (wxListItem *) 0 ;
18035 int result;
18036 PyObject * obj0 = 0 ;
18037 char *kwnames[] = {
18038 (char *) "self", NULL
18039 };
18040
18041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (int)(arg1)->GetColumn();
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 resultobj = SWIG_PyObj_FromInt((int)result);
18051 return resultobj;
18052 fail:
18053 return NULL;
18054 }
18055
18056
18057 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18058 PyObject *resultobj;
18059 wxListItem *arg1 = (wxListItem *) 0 ;
18060 long result;
18061 PyObject * obj0 = 0 ;
18062 char *kwnames[] = {
18063 (char *) "self", NULL
18064 };
18065
18066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 result = (long)(arg1)->GetState();
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 resultobj = SWIG_PyObj_FromLong((long)result);
18076 return resultobj;
18077 fail:
18078 return NULL;
18079 }
18080
18081
18082 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18083 PyObject *resultobj;
18084 wxListItem *arg1 = (wxListItem *) 0 ;
18085 wxString *result;
18086 PyObject * obj0 = 0 ;
18087 char *kwnames[] = {
18088 (char *) "self", NULL
18089 };
18090
18091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18093 {
18094 PyThreadState* __tstate = wxPyBeginAllowThreads();
18095 {
18096 wxString const &_result_ref = (arg1)->GetText();
18097 result = (wxString *) &_result_ref;
18098 }
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 {
18104 #if wxUSE_UNICODE
18105 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18106 #else
18107 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18108 #endif
18109 }
18110 return resultobj;
18111 fail:
18112 return NULL;
18113 }
18114
18115
18116 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxListItem *arg1 = (wxListItem *) 0 ;
18119 int result;
18120 PyObject * obj0 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 result = (int)(arg1)->GetImage();
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 resultobj = SWIG_PyObj_FromInt((int)result);
18135 return resultobj;
18136 fail:
18137 return NULL;
18138 }
18139
18140
18141 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxListItem *arg1 = (wxListItem *) 0 ;
18144 long result;
18145 PyObject * obj0 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (long)(arg1)->GetData();
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = SWIG_PyObj_FromLong((long)result);
18160 return resultobj;
18161 fail:
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxListItem *arg1 = (wxListItem *) 0 ;
18169 int result;
18170 PyObject * obj0 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (int)(arg1)->GetWidth();
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 resultobj = SWIG_PyObj_FromInt((int)result);
18185 return resultobj;
18186 fail:
18187 return NULL;
18188 }
18189
18190
18191 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj;
18193 wxListItem *arg1 = (wxListItem *) 0 ;
18194 int result;
18195 PyObject * obj0 = 0 ;
18196 char *kwnames[] = {
18197 (char *) "self", NULL
18198 };
18199
18200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 result = (int)(arg1)->GetAlign();
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 resultobj = SWIG_PyObj_FromInt((int)result);
18210 return resultobj;
18211 fail:
18212 return NULL;
18213 }
18214
18215
18216 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
18218 wxListItem *arg1 = (wxListItem *) 0 ;
18219 wxListItemAttr *result;
18220 PyObject * obj0 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 result = (wxListItemAttr *)(arg1)->GetAttributes();
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
18235 return resultobj;
18236 fail:
18237 return NULL;
18238 }
18239
18240
18241 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18242 PyObject *resultobj;
18243 wxListItem *arg1 = (wxListItem *) 0 ;
18244 bool result;
18245 PyObject * obj0 = 0 ;
18246 char *kwnames[] = {
18247 (char *) "self", NULL
18248 };
18249
18250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 result = (bool)(arg1)->HasAttributes();
18255
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 resultobj = SWIG_PyObj_FromBool((bool)result);
18260 return resultobj;
18261 fail:
18262 return NULL;
18263 }
18264
18265
18266 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj;
18268 wxListItem *arg1 = (wxListItem *) 0 ;
18269 wxColour result;
18270 PyObject * obj0 = 0 ;
18271 char *kwnames[] = {
18272 (char *) "self", NULL
18273 };
18274
18275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18277 {
18278 PyThreadState* __tstate = wxPyBeginAllowThreads();
18279 result = ((wxListItem const *)arg1)->GetTextColour();
18280
18281 wxPyEndAllowThreads(__tstate);
18282 if (PyErr_Occurred()) SWIG_fail;
18283 }
18284 {
18285 wxColour * resultptr;
18286 resultptr = new wxColour((wxColour &) result);
18287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18288 }
18289 return resultobj;
18290 fail:
18291 return NULL;
18292 }
18293
18294
18295 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 wxListItem *arg1 = (wxListItem *) 0 ;
18298 wxColour result;
18299 PyObject * obj0 = 0 ;
18300 char *kwnames[] = {
18301 (char *) "self", NULL
18302 };
18303
18304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18309
18310 wxPyEndAllowThreads(__tstate);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 }
18313 {
18314 wxColour * resultptr;
18315 resultptr = new wxColour((wxColour &) result);
18316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18317 }
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxListItem *arg1 = (wxListItem *) 0 ;
18327 wxFont result;
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = ((wxListItem const *)arg1)->GetFont();
18338
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 {
18343 wxFont * resultptr;
18344 resultptr = new wxFont((wxFont &) result);
18345 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
18346 }
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxListItem *arg1 = (wxListItem *) 0 ;
18356 long arg2 ;
18357 PyObject * obj0 = 0 ;
18358 PyObject * obj1 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self",(char *) "m_mask", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18365 {
18366 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 if (arg1) (arg1)->m_mask = arg2;
18370
18371 Py_INCREF(Py_None); resultobj = Py_None;
18372 return resultobj;
18373 fail:
18374 return NULL;
18375 }
18376
18377
18378 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18379 PyObject *resultobj;
18380 wxListItem *arg1 = (wxListItem *) 0 ;
18381 long result;
18382 PyObject * obj0 = 0 ;
18383 char *kwnames[] = {
18384 (char *) "self", NULL
18385 };
18386
18387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18389 result = (long) ((arg1)->m_mask);
18390
18391 resultobj = SWIG_PyObj_FromLong((long)result);
18392 return resultobj;
18393 fail:
18394 return NULL;
18395 }
18396
18397
18398 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj;
18400 wxListItem *arg1 = (wxListItem *) 0 ;
18401 long arg2 ;
18402 PyObject * obj0 = 0 ;
18403 PyObject * obj1 = 0 ;
18404 char *kwnames[] = {
18405 (char *) "self",(char *) "m_itemId", NULL
18406 };
18407
18408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18410 {
18411 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 if (arg1) (arg1)->m_itemId = arg2;
18415
18416 Py_INCREF(Py_None); resultobj = Py_None;
18417 return resultobj;
18418 fail:
18419 return NULL;
18420 }
18421
18422
18423 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 wxListItem *arg1 = (wxListItem *) 0 ;
18426 long result;
18427 PyObject * obj0 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18434 result = (long) ((arg1)->m_itemId);
18435
18436 resultobj = SWIG_PyObj_FromLong((long)result);
18437 return resultobj;
18438 fail:
18439 return NULL;
18440 }
18441
18442
18443 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18444 PyObject *resultobj;
18445 wxListItem *arg1 = (wxListItem *) 0 ;
18446 int arg2 ;
18447 PyObject * obj0 = 0 ;
18448 PyObject * obj1 = 0 ;
18449 char *kwnames[] = {
18450 (char *) "self",(char *) "m_col", NULL
18451 };
18452
18453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18455 {
18456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 if (arg1) (arg1)->m_col = arg2;
18460
18461 Py_INCREF(Py_None); resultobj = Py_None;
18462 return resultobj;
18463 fail:
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxListItem *arg1 = (wxListItem *) 0 ;
18471 int result;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18479 result = (int) ((arg1)->m_col);
18480
18481 resultobj = SWIG_PyObj_FromInt((int)result);
18482 return resultobj;
18483 fail:
18484 return NULL;
18485 }
18486
18487
18488 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18489 PyObject *resultobj;
18490 wxListItem *arg1 = (wxListItem *) 0 ;
18491 long arg2 ;
18492 PyObject * obj0 = 0 ;
18493 PyObject * obj1 = 0 ;
18494 char *kwnames[] = {
18495 (char *) "self",(char *) "m_state", NULL
18496 };
18497
18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18500 {
18501 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18502 if (PyErr_Occurred()) SWIG_fail;
18503 }
18504 if (arg1) (arg1)->m_state = arg2;
18505
18506 Py_INCREF(Py_None); resultobj = Py_None;
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj;
18515 wxListItem *arg1 = (wxListItem *) 0 ;
18516 long result;
18517 PyObject * obj0 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18524 result = (long) ((arg1)->m_state);
18525
18526 resultobj = SWIG_PyObj_FromLong((long)result);
18527 return resultobj;
18528 fail:
18529 return NULL;
18530 }
18531
18532
18533 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18534 PyObject *resultobj;
18535 wxListItem *arg1 = (wxListItem *) 0 ;
18536 long arg2 ;
18537 PyObject * obj0 = 0 ;
18538 PyObject * obj1 = 0 ;
18539 char *kwnames[] = {
18540 (char *) "self",(char *) "m_stateMask", NULL
18541 };
18542
18543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18545 {
18546 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 if (arg1) (arg1)->m_stateMask = arg2;
18550
18551 Py_INCREF(Py_None); resultobj = Py_None;
18552 return resultobj;
18553 fail:
18554 return NULL;
18555 }
18556
18557
18558 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18559 PyObject *resultobj;
18560 wxListItem *arg1 = (wxListItem *) 0 ;
18561 long result;
18562 PyObject * obj0 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "self", NULL
18565 };
18566
18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18569 result = (long) ((arg1)->m_stateMask);
18570
18571 resultobj = SWIG_PyObj_FromLong((long)result);
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxListItem *arg1 = (wxListItem *) 0 ;
18581 wxString *arg2 = (wxString *) 0 ;
18582 bool temp2 = False ;
18583 PyObject * obj0 = 0 ;
18584 PyObject * obj1 = 0 ;
18585 char *kwnames[] = {
18586 (char *) "self",(char *) "m_text", NULL
18587 };
18588
18589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18591 {
18592 arg2 = wxString_in_helper(obj1);
18593 if (arg2 == NULL) SWIG_fail;
18594 temp2 = True;
18595 }
18596 if (arg1) (arg1)->m_text = *arg2;
18597
18598 Py_INCREF(Py_None); resultobj = Py_None;
18599 {
18600 if (temp2)
18601 delete arg2;
18602 }
18603 return resultobj;
18604 fail:
18605 {
18606 if (temp2)
18607 delete arg2;
18608 }
18609 return NULL;
18610 }
18611
18612
18613 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj;
18615 wxListItem *arg1 = (wxListItem *) 0 ;
18616 wxString *result;
18617 PyObject * obj0 = 0 ;
18618 char *kwnames[] = {
18619 (char *) "self", NULL
18620 };
18621
18622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18624 result = (wxString *)& ((arg1)->m_text);
18625
18626 {
18627 #if wxUSE_UNICODE
18628 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18629 #else
18630 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18631 #endif
18632 }
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxListItem *arg1 = (wxListItem *) 0 ;
18642 int arg2 ;
18643 PyObject * obj0 = 0 ;
18644 PyObject * obj1 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "m_image", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18651 {
18652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 if (arg1) (arg1)->m_image = arg2;
18656
18657 Py_INCREF(Py_None); resultobj = Py_None;
18658 return resultobj;
18659 fail:
18660 return NULL;
18661 }
18662
18663
18664 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18665 PyObject *resultobj;
18666 wxListItem *arg1 = (wxListItem *) 0 ;
18667 int result;
18668 PyObject * obj0 = 0 ;
18669 char *kwnames[] = {
18670 (char *) "self", NULL
18671 };
18672
18673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
18674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18675 result = (int) ((arg1)->m_image);
18676
18677 resultobj = SWIG_PyObj_FromInt((int)result);
18678 return resultobj;
18679 fail:
18680 return NULL;
18681 }
18682
18683
18684 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18685 PyObject *resultobj;
18686 wxListItem *arg1 = (wxListItem *) 0 ;
18687 long arg2 ;
18688 PyObject * obj0 = 0 ;
18689 PyObject * obj1 = 0 ;
18690 char *kwnames[] = {
18691 (char *) "self",(char *) "m_data", NULL
18692 };
18693
18694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
18695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18696 {
18697 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 if (arg1) (arg1)->m_data = arg2;
18701
18702 Py_INCREF(Py_None); resultobj = Py_None;
18703 return resultobj;
18704 fail:
18705 return NULL;
18706 }
18707
18708
18709 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18710 PyObject *resultobj;
18711 wxListItem *arg1 = (wxListItem *) 0 ;
18712 long result;
18713 PyObject * obj0 = 0 ;
18714 char *kwnames[] = {
18715 (char *) "self", NULL
18716 };
18717
18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
18719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18720 result = (long) ((arg1)->m_data);
18721
18722 resultobj = SWIG_PyObj_FromLong((long)result);
18723 return resultobj;
18724 fail:
18725 return NULL;
18726 }
18727
18728
18729 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxListItem *arg1 = (wxListItem *) 0 ;
18732 int arg2 ;
18733 PyObject * obj0 = 0 ;
18734 PyObject * obj1 = 0 ;
18735 char *kwnames[] = {
18736 (char *) "self",(char *) "m_format", NULL
18737 };
18738
18739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
18740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18741 {
18742 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 if (arg1) (arg1)->m_format = arg2;
18746
18747 Py_INCREF(Py_None); resultobj = Py_None;
18748 return resultobj;
18749 fail:
18750 return NULL;
18751 }
18752
18753
18754 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18755 PyObject *resultobj;
18756 wxListItem *arg1 = (wxListItem *) 0 ;
18757 int result;
18758 PyObject * obj0 = 0 ;
18759 char *kwnames[] = {
18760 (char *) "self", NULL
18761 };
18762
18763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
18764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18765 result = (int) ((arg1)->m_format);
18766
18767 resultobj = SWIG_PyObj_FromInt((int)result);
18768 return resultobj;
18769 fail:
18770 return NULL;
18771 }
18772
18773
18774 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxListItem *arg1 = (wxListItem *) 0 ;
18777 int arg2 ;
18778 PyObject * obj0 = 0 ;
18779 PyObject * obj1 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self",(char *) "m_width", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18786 {
18787 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 if (arg1) (arg1)->m_width = arg2;
18791
18792 Py_INCREF(Py_None); resultobj = Py_None;
18793 return resultobj;
18794 fail:
18795 return NULL;
18796 }
18797
18798
18799 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj;
18801 wxListItem *arg1 = (wxListItem *) 0 ;
18802 int result;
18803 PyObject * obj0 = 0 ;
18804 char *kwnames[] = {
18805 (char *) "self", NULL
18806 };
18807
18808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
18809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18810 result = (int) ((arg1)->m_width);
18811
18812 resultobj = SWIG_PyObj_FromInt((int)result);
18813 return resultobj;
18814 fail:
18815 return NULL;
18816 }
18817
18818
18819 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
18820 PyObject *obj;
18821 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18822 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
18823 Py_INCREF(obj);
18824 return Py_BuildValue((char *)"");
18825 }
18826 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18827 PyObject *resultobj;
18828 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18829 int arg2 = (int) 0 ;
18830 wxListEvent *result;
18831 PyObject * obj0 = 0 ;
18832 PyObject * obj1 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "commandType",(char *) "id", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
18838 if (obj0) {
18839 {
18840 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
18841 if (PyErr_Occurred()) SWIG_fail;
18842 }
18843 }
18844 if (obj1) {
18845 {
18846 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 }
18850 {
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 result = (wxListEvent *)new wxListEvent(arg1,arg2);
18853
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
18858 return resultobj;
18859 fail:
18860 return NULL;
18861 }
18862
18863
18864 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18865 PyObject *resultobj;
18866 wxListEvent *arg1 = (wxListEvent *) 0 ;
18867 int arg2 ;
18868 PyObject * obj0 = 0 ;
18869 PyObject * obj1 = 0 ;
18870 char *kwnames[] = {
18871 (char *) "self",(char *) "m_code", NULL
18872 };
18873
18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
18875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18876 {
18877 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18878 if (PyErr_Occurred()) SWIG_fail;
18879 }
18880 if (arg1) (arg1)->m_code = arg2;
18881
18882 Py_INCREF(Py_None); resultobj = Py_None;
18883 return resultobj;
18884 fail:
18885 return NULL;
18886 }
18887
18888
18889 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18890 PyObject *resultobj;
18891 wxListEvent *arg1 = (wxListEvent *) 0 ;
18892 int result;
18893 PyObject * obj0 = 0 ;
18894 char *kwnames[] = {
18895 (char *) "self", NULL
18896 };
18897
18898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
18899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18900 result = (int) ((arg1)->m_code);
18901
18902 resultobj = SWIG_PyObj_FromInt((int)result);
18903 return resultobj;
18904 fail:
18905 return NULL;
18906 }
18907
18908
18909 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18910 PyObject *resultobj;
18911 wxListEvent *arg1 = (wxListEvent *) 0 ;
18912 long arg2 ;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self",(char *) "m_oldItemIndex", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
18920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18921 {
18922 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18923 if (PyErr_Occurred()) SWIG_fail;
18924 }
18925 if (arg1) (arg1)->m_oldItemIndex = arg2;
18926
18927 Py_INCREF(Py_None); resultobj = Py_None;
18928 return resultobj;
18929 fail:
18930 return NULL;
18931 }
18932
18933
18934 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18935 PyObject *resultobj;
18936 wxListEvent *arg1 = (wxListEvent *) 0 ;
18937 long result;
18938 PyObject * obj0 = 0 ;
18939 char *kwnames[] = {
18940 (char *) "self", NULL
18941 };
18942
18943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
18944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18945 result = (long) ((arg1)->m_oldItemIndex);
18946
18947 resultobj = SWIG_PyObj_FromLong((long)result);
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxListEvent *arg1 = (wxListEvent *) 0 ;
18957 long arg2 ;
18958 PyObject * obj0 = 0 ;
18959 PyObject * obj1 = 0 ;
18960 char *kwnames[] = {
18961 (char *) "self",(char *) "m_itemIndex", NULL
18962 };
18963
18964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
18965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18966 {
18967 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 if (arg1) (arg1)->m_itemIndex = arg2;
18971
18972 Py_INCREF(Py_None); resultobj = Py_None;
18973 return resultobj;
18974 fail:
18975 return NULL;
18976 }
18977
18978
18979 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxListEvent *arg1 = (wxListEvent *) 0 ;
18982 long result;
18983 PyObject * obj0 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self", NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
18989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18990 result = (long) ((arg1)->m_itemIndex);
18991
18992 resultobj = SWIG_PyObj_FromLong((long)result);
18993 return resultobj;
18994 fail:
18995 return NULL;
18996 }
18997
18998
18999 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj;
19001 wxListEvent *arg1 = (wxListEvent *) 0 ;
19002 int arg2 ;
19003 PyObject * obj0 = 0 ;
19004 PyObject * obj1 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self",(char *) "m_col", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19011 {
19012 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 if (arg1) (arg1)->m_col = arg2;
19016
19017 Py_INCREF(Py_None); resultobj = Py_None;
19018 return resultobj;
19019 fail:
19020 return NULL;
19021 }
19022
19023
19024 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19025 PyObject *resultobj;
19026 wxListEvent *arg1 = (wxListEvent *) 0 ;
19027 int result;
19028 PyObject * obj0 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 result = (int) ((arg1)->m_col);
19036
19037 resultobj = SWIG_PyObj_FromInt((int)result);
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxListEvent *arg1 = (wxListEvent *) 0 ;
19047 wxPoint *arg2 = (wxPoint *) 0 ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self",(char *) "m_pointDrag", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19056 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19057 if (arg1) (arg1)->m_pointDrag = *arg2;
19058
19059 Py_INCREF(Py_None); resultobj = Py_None;
19060 return resultobj;
19061 fail:
19062 return NULL;
19063 }
19064
19065
19066 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxListEvent *arg1 = (wxListEvent *) 0 ;
19069 wxPoint *result;
19070 PyObject * obj0 = 0 ;
19071 char *kwnames[] = {
19072 (char *) "self", NULL
19073 };
19074
19075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19077 result = (wxPoint *)& ((arg1)->m_pointDrag);
19078
19079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
19080 return resultobj;
19081 fail:
19082 return NULL;
19083 }
19084
19085
19086 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19087 PyObject *resultobj;
19088 wxListEvent *arg1 = (wxListEvent *) 0 ;
19089 wxListItem *result;
19090 PyObject * obj0 = 0 ;
19091 char *kwnames[] = {
19092 (char *) "self", NULL
19093 };
19094
19095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19097 result = (wxListItem *)& ((arg1)->m_item);
19098
19099 {
19100 resultobj = wxPyMake_wxObject(result);
19101 }
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxListEvent *arg1 = (wxListEvent *) 0 ;
19111 int result;
19112 PyObject * obj0 = 0 ;
19113 char *kwnames[] = {
19114 (char *) "self", NULL
19115 };
19116
19117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19119 {
19120 PyThreadState* __tstate = wxPyBeginAllowThreads();
19121 result = (int)(arg1)->GetKeyCode();
19122
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 resultobj = SWIG_PyObj_FromInt((int)result);
19127 return resultobj;
19128 fail:
19129 return NULL;
19130 }
19131
19132
19133 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 wxListEvent *arg1 = (wxListEvent *) 0 ;
19136 long result;
19137 PyObject * obj0 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self", NULL
19140 };
19141
19142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19144 {
19145 PyThreadState* __tstate = wxPyBeginAllowThreads();
19146 result = (long)(arg1)->GetIndex();
19147
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 resultobj = SWIG_PyObj_FromLong((long)result);
19152 return resultobj;
19153 fail:
19154 return NULL;
19155 }
19156
19157
19158 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19159 PyObject *resultobj;
19160 wxListEvent *arg1 = (wxListEvent *) 0 ;
19161 int result;
19162 PyObject * obj0 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 result = (int)(arg1)->GetColumn();
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 resultobj = SWIG_PyObj_FromInt((int)result);
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxListEvent *arg1 = (wxListEvent *) 0 ;
19186 wxPoint result;
19187 PyObject * obj0 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "self", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 result = (arg1)->GetPoint();
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 {
19202 wxPoint * resultptr;
19203 resultptr = new wxPoint((wxPoint &) result);
19204 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19205 }
19206 return resultobj;
19207 fail:
19208 return NULL;
19209 }
19210
19211
19212 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19213 PyObject *resultobj;
19214 wxListEvent *arg1 = (wxListEvent *) 0 ;
19215 wxString *result;
19216 PyObject * obj0 = 0 ;
19217 char *kwnames[] = {
19218 (char *) "self", NULL
19219 };
19220
19221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19223 {
19224 PyThreadState* __tstate = wxPyBeginAllowThreads();
19225 {
19226 wxString const &_result_ref = (arg1)->GetLabel();
19227 result = (wxString *) &_result_ref;
19228 }
19229
19230 wxPyEndAllowThreads(__tstate);
19231 if (PyErr_Occurred()) SWIG_fail;
19232 }
19233 {
19234 #if wxUSE_UNICODE
19235 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19236 #else
19237 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19238 #endif
19239 }
19240 return resultobj;
19241 fail:
19242 return NULL;
19243 }
19244
19245
19246 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxListEvent *arg1 = (wxListEvent *) 0 ;
19249 wxString *result;
19250 PyObject * obj0 = 0 ;
19251 char *kwnames[] = {
19252 (char *) "self", NULL
19253 };
19254
19255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 {
19260 wxString const &_result_ref = (arg1)->GetText();
19261 result = (wxString *) &_result_ref;
19262 }
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 {
19268 #if wxUSE_UNICODE
19269 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19270 #else
19271 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19272 #endif
19273 }
19274 return resultobj;
19275 fail:
19276 return NULL;
19277 }
19278
19279
19280 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19281 PyObject *resultobj;
19282 wxListEvent *arg1 = (wxListEvent *) 0 ;
19283 int result;
19284 PyObject * obj0 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self", NULL
19287 };
19288
19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 result = (int)(arg1)->GetImage();
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 resultobj = SWIG_PyObj_FromInt((int)result);
19299 return resultobj;
19300 fail:
19301 return NULL;
19302 }
19303
19304
19305 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxListEvent *arg1 = (wxListEvent *) 0 ;
19308 long result;
19309 PyObject * obj0 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19316 {
19317 PyThreadState* __tstate = wxPyBeginAllowThreads();
19318 result = (long)(arg1)->GetData();
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 resultobj = SWIG_PyObj_FromLong((long)result);
19324 return resultobj;
19325 fail:
19326 return NULL;
19327 }
19328
19329
19330 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19331 PyObject *resultobj;
19332 wxListEvent *arg1 = (wxListEvent *) 0 ;
19333 long result;
19334 PyObject * obj0 = 0 ;
19335 char *kwnames[] = {
19336 (char *) "self", NULL
19337 };
19338
19339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19341 {
19342 PyThreadState* __tstate = wxPyBeginAllowThreads();
19343 result = (long)(arg1)->GetMask();
19344
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
19348 resultobj = SWIG_PyObj_FromLong((long)result);
19349 return resultobj;
19350 fail:
19351 return NULL;
19352 }
19353
19354
19355 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxListEvent *arg1 = (wxListEvent *) 0 ;
19358 wxListItem *result;
19359 PyObject * obj0 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 {
19369 wxListItem const &_result_ref = (arg1)->GetItem();
19370 result = (wxListItem *) &_result_ref;
19371 }
19372
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
19377 return resultobj;
19378 fail:
19379 return NULL;
19380 }
19381
19382
19383 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19384 PyObject *resultobj;
19385 wxListEvent *arg1 = (wxListEvent *) 0 ;
19386 long result;
19387 PyObject * obj0 = 0 ;
19388 char *kwnames[] = {
19389 (char *) "self", NULL
19390 };
19391
19392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 result = (long)(arg1)->GetCacheFrom();
19397
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
19401 resultobj = SWIG_PyObj_FromLong((long)result);
19402 return resultobj;
19403 fail:
19404 return NULL;
19405 }
19406
19407
19408 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19409 PyObject *resultobj;
19410 wxListEvent *arg1 = (wxListEvent *) 0 ;
19411 long result;
19412 PyObject * obj0 = 0 ;
19413 char *kwnames[] = {
19414 (char *) "self", NULL
19415 };
19416
19417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 result = (long)(arg1)->GetCacheTo();
19422
19423 wxPyEndAllowThreads(__tstate);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 resultobj = SWIG_PyObj_FromLong((long)result);
19427 return resultobj;
19428 fail:
19429 return NULL;
19430 }
19431
19432
19433 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj;
19435 wxListEvent *arg1 = (wxListEvent *) 0 ;
19436 bool result;
19437 PyObject * obj0 = 0 ;
19438 char *kwnames[] = {
19439 (char *) "self", NULL
19440 };
19441
19442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19444 {
19445 PyThreadState* __tstate = wxPyBeginAllowThreads();
19446 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19447
19448 wxPyEndAllowThreads(__tstate);
19449 if (PyErr_Occurred()) SWIG_fail;
19450 }
19451 resultobj = SWIG_PyObj_FromBool((bool)result);
19452 return resultobj;
19453 fail:
19454 return NULL;
19455 }
19456
19457
19458 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19459 PyObject *resultobj;
19460 wxListEvent *arg1 = (wxListEvent *) 0 ;
19461 bool arg2 ;
19462 PyObject * obj0 = 0 ;
19463 PyObject * obj1 = 0 ;
19464 char *kwnames[] = {
19465 (char *) "self",(char *) "editCancelled", NULL
19466 };
19467
19468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19470 {
19471 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 (arg1)->SetEditCanceled(arg2);
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 Py_INCREF(Py_None); resultobj = Py_None;
19482 return resultobj;
19483 fail:
19484 return NULL;
19485 }
19486
19487
19488 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19489 PyObject *obj;
19490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19491 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19492 Py_INCREF(obj);
19493 return Py_BuildValue((char *)"");
19494 }
19495 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxWindow *arg1 = (wxWindow *) 0 ;
19498 int arg2 = (int) -1 ;
19499 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19500 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19501 wxSize const &arg4_defvalue = wxDefaultSize ;
19502 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19503 long arg5 = (long) wxLC_ICON ;
19504 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19505 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19506 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19507 wxString *arg7 = (wxString *) &arg7_defvalue ;
19508 wxPyListCtrl *result;
19509 wxPoint temp3 ;
19510 wxSize temp4 ;
19511 bool temp7 = False ;
19512 PyObject * obj0 = 0 ;
19513 PyObject * obj1 = 0 ;
19514 PyObject * obj2 = 0 ;
19515 PyObject * obj3 = 0 ;
19516 PyObject * obj4 = 0 ;
19517 PyObject * obj5 = 0 ;
19518 PyObject * obj6 = 0 ;
19519 char *kwnames[] = {
19520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19521 };
19522
19523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19525 if (obj1) {
19526 {
19527 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 }
19531 if (obj2) {
19532 {
19533 arg3 = &temp3;
19534 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19535 }
19536 }
19537 if (obj3) {
19538 {
19539 arg4 = &temp4;
19540 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19541 }
19542 }
19543 if (obj4) {
19544 {
19545 arg5 = (long) SWIG_PyObj_AsLong(obj4);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 }
19548 }
19549 if (obj5) {
19550 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 if (arg6 == NULL) {
19552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19553 }
19554 }
19555 if (obj6) {
19556 {
19557 arg7 = wxString_in_helper(obj6);
19558 if (arg7 == NULL) SWIG_fail;
19559 temp7 = True;
19560 }
19561 }
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19570 {
19571 if (temp7)
19572 delete arg7;
19573 }
19574 return resultobj;
19575 fail:
19576 {
19577 if (temp7)
19578 delete arg7;
19579 }
19580 return NULL;
19581 }
19582
19583
19584 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19585 PyObject *resultobj;
19586 wxPyListCtrl *result;
19587 char *kwnames[] = {
19588 NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 result = (wxPyListCtrl *)new wxPyListCtrl();
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19600 return resultobj;
19601 fail:
19602 return NULL;
19603 }
19604
19605
19606 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj;
19608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19609 wxWindow *arg2 = (wxWindow *) 0 ;
19610 int arg3 = (int) -1 ;
19611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19613 wxSize const &arg5_defvalue = wxDefaultSize ;
19614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19615 long arg6 = (long) wxLC_ICON ;
19616 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19617 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19618 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19619 wxString *arg8 = (wxString *) &arg8_defvalue ;
19620 bool result;
19621 wxPoint temp4 ;
19622 wxSize temp5 ;
19623 bool temp8 = False ;
19624 PyObject * obj0 = 0 ;
19625 PyObject * obj1 = 0 ;
19626 PyObject * obj2 = 0 ;
19627 PyObject * obj3 = 0 ;
19628 PyObject * obj4 = 0 ;
19629 PyObject * obj5 = 0 ;
19630 PyObject * obj6 = 0 ;
19631 PyObject * obj7 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19639 if (obj2) {
19640 {
19641 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19642 if (PyErr_Occurred()) SWIG_fail;
19643 }
19644 }
19645 if (obj3) {
19646 {
19647 arg4 = &temp4;
19648 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19649 }
19650 }
19651 if (obj4) {
19652 {
19653 arg5 = &temp5;
19654 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19655 }
19656 }
19657 if (obj5) {
19658 {
19659 arg6 = (long) SWIG_PyObj_AsLong(obj5);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 }
19663 if (obj6) {
19664 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19665 if (arg7 == NULL) {
19666 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19667 }
19668 }
19669 if (obj7) {
19670 {
19671 arg8 = wxString_in_helper(obj7);
19672 if (arg8 == NULL) SWIG_fail;
19673 temp8 = True;
19674 }
19675 }
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 resultobj = SWIG_PyObj_FromBool((bool)result);
19684 {
19685 if (temp8)
19686 delete arg8;
19687 }
19688 return resultobj;
19689 fail:
19690 {
19691 if (temp8)
19692 delete arg8;
19693 }
19694 return NULL;
19695 }
19696
19697
19698 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19699 PyObject *resultobj;
19700 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19701 PyObject *arg2 = (PyObject *) 0 ;
19702 PyObject *arg3 = (PyObject *) 0 ;
19703 PyObject * obj0 = 0 ;
19704 PyObject * obj1 = 0 ;
19705 PyObject * obj2 = 0 ;
19706 char *kwnames[] = {
19707 (char *) "self",(char *) "self",(char *) "_class", NULL
19708 };
19709
19710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19712 arg2 = obj1;
19713 arg3 = obj2;
19714 {
19715 PyThreadState* __tstate = wxPyBeginAllowThreads();
19716 (arg1)->_setCallbackInfo(arg2,arg3);
19717
19718 wxPyEndAllowThreads(__tstate);
19719 if (PyErr_Occurred()) SWIG_fail;
19720 }
19721 Py_INCREF(Py_None); resultobj = Py_None;
19722 return resultobj;
19723 fail:
19724 return NULL;
19725 }
19726
19727
19728 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19729 PyObject *resultobj;
19730 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19731 wxColour *arg2 = 0 ;
19732 bool result;
19733 wxColour temp2 ;
19734 PyObject * obj0 = 0 ;
19735 PyObject * obj1 = 0 ;
19736 char *kwnames[] = {
19737 (char *) "self",(char *) "col", NULL
19738 };
19739
19740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
19741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19742 {
19743 arg2 = &temp2;
19744 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19745 }
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 resultobj = SWIG_PyObj_FromBool((bool)result);
19754 return resultobj;
19755 fail:
19756 return NULL;
19757 }
19758
19759
19760 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19761 PyObject *resultobj;
19762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19763 wxColour *arg2 = 0 ;
19764 bool result;
19765 wxColour temp2 ;
19766 PyObject * obj0 = 0 ;
19767 PyObject * obj1 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "self",(char *) "col", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19774 {
19775 arg2 = &temp2;
19776 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19777 }
19778 {
19779 PyThreadState* __tstate = wxPyBeginAllowThreads();
19780 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
19781
19782 wxPyEndAllowThreads(__tstate);
19783 if (PyErr_Occurred()) SWIG_fail;
19784 }
19785 resultobj = SWIG_PyObj_FromBool((bool)result);
19786 return resultobj;
19787 fail:
19788 return NULL;
19789 }
19790
19791
19792 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19793 PyObject *resultobj;
19794 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19795 int arg2 ;
19796 wxListItem *result;
19797 PyObject * obj0 = 0 ;
19798 PyObject * obj1 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "col", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 {
19806 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 {
19817 resultobj = wxPyMake_wxObject(result);
19818 }
19819 return resultobj;
19820 fail:
19821 return NULL;
19822 }
19823
19824
19825 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19826 PyObject *resultobj;
19827 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19828 int arg2 ;
19829 wxListItem *arg3 = 0 ;
19830 bool result;
19831 PyObject * obj0 = 0 ;
19832 PyObject * obj1 = 0 ;
19833 PyObject * obj2 = 0 ;
19834 char *kwnames[] = {
19835 (char *) "self",(char *) "col",(char *) "item", NULL
19836 };
19837
19838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
19839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19840 {
19841 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19842 if (PyErr_Occurred()) SWIG_fail;
19843 }
19844 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19845 if (arg3 == NULL) {
19846 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19847 }
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (bool)(arg1)->SetColumn(arg2,*arg3);
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
19855 resultobj = SWIG_PyObj_FromBool((bool)result);
19856 return resultobj;
19857 fail:
19858 return NULL;
19859 }
19860
19861
19862 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19863 PyObject *resultobj;
19864 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19865 int arg2 ;
19866 int result;
19867 PyObject * obj0 = 0 ;
19868 PyObject * obj1 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self",(char *) "col", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19875 {
19876 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 {
19880 PyThreadState* __tstate = wxPyBeginAllowThreads();
19881 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
19882
19883 wxPyEndAllowThreads(__tstate);
19884 if (PyErr_Occurred()) SWIG_fail;
19885 }
19886 resultobj = SWIG_PyObj_FromInt((int)result);
19887 return resultobj;
19888 fail:
19889 return NULL;
19890 }
19891
19892
19893 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19894 PyObject *resultobj;
19895 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19896 int arg2 ;
19897 int arg3 ;
19898 bool result;
19899 PyObject * obj0 = 0 ;
19900 PyObject * obj1 = 0 ;
19901 PyObject * obj2 = 0 ;
19902 char *kwnames[] = {
19903 (char *) "self",(char *) "col",(char *) "width", NULL
19904 };
19905
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
19907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19908 {
19909 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 {
19913 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 resultobj = SWIG_PyObj_FromBool((bool)result);
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19933 int result;
19934 PyObject * obj0 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19941 {
19942 PyThreadState* __tstate = wxPyBeginAllowThreads();
19943 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
19944
19945 wxPyEndAllowThreads(__tstate);
19946 if (PyErr_Occurred()) SWIG_fail;
19947 }
19948 resultobj = SWIG_PyObj_FromInt((int)result);
19949 return resultobj;
19950 fail:
19951 return NULL;
19952 }
19953
19954
19955 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19958 wxRect result;
19959 PyObject * obj0 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "self", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
19965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 {
19974 wxRect * resultptr;
19975 resultptr = new wxRect((wxRect &) result);
19976 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
19977 }
19978 return resultobj;
19979 fail:
19980 return NULL;
19981 }
19982
19983
19984 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj;
19986 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19987 long arg2 ;
19988 int arg3 = (int) 0 ;
19989 wxListItem *result;
19990 PyObject * obj0 = 0 ;
19991 PyObject * obj1 = 0 ;
19992 PyObject * obj2 = 0 ;
19993 char *kwnames[] = {
19994 (char *) "self",(char *) "itemId",(char *) "col", NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19999 {
20000 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 if (obj2) {
20004 {
20005 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 }
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20012
20013 wxPyEndAllowThreads(__tstate);
20014 if (PyErr_Occurred()) SWIG_fail;
20015 }
20016 {
20017 resultobj = wxPyMake_wxObject(result);
20018 }
20019 return resultobj;
20020 fail:
20021 return NULL;
20022 }
20023
20024
20025 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20026 PyObject *resultobj;
20027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20028 wxListItem *arg2 = 0 ;
20029 bool result;
20030 PyObject * obj0 = 0 ;
20031 PyObject * obj1 = 0 ;
20032 char *kwnames[] = {
20033 (char *) "self",(char *) "info", NULL
20034 };
20035
20036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20039 if (arg2 == NULL) {
20040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20041 }
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 result = (bool)(arg1)->SetItem(*arg2);
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 resultobj = SWIG_PyObj_FromBool((bool)result);
20050 return resultobj;
20051 fail:
20052 return NULL;
20053 }
20054
20055
20056 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20059 long arg2 ;
20060 int arg3 ;
20061 wxString *arg4 = 0 ;
20062 int arg5 = (int) -1 ;
20063 long result;
20064 bool temp4 = False ;
20065 PyObject * obj0 = 0 ;
20066 PyObject * obj1 = 0 ;
20067 PyObject * obj2 = 0 ;
20068 PyObject * obj3 = 0 ;
20069 PyObject * obj4 = 0 ;
20070 char *kwnames[] = {
20071 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20072 };
20073
20074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20076 {
20077 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20078 if (PyErr_Occurred()) SWIG_fail;
20079 }
20080 {
20081 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 {
20085 arg4 = wxString_in_helper(obj3);
20086 if (arg4 == NULL) SWIG_fail;
20087 temp4 = True;
20088 }
20089 if (obj4) {
20090 {
20091 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20092 if (PyErr_Occurred()) SWIG_fail;
20093 }
20094 }
20095 {
20096 PyThreadState* __tstate = wxPyBeginAllowThreads();
20097 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20098
20099 wxPyEndAllowThreads(__tstate);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 }
20102 resultobj = SWIG_PyObj_FromLong((long)result);
20103 {
20104 if (temp4)
20105 delete arg4;
20106 }
20107 return resultobj;
20108 fail:
20109 {
20110 if (temp4)
20111 delete arg4;
20112 }
20113 return NULL;
20114 }
20115
20116
20117 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj;
20119 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20120 long arg2 ;
20121 long arg3 ;
20122 int result;
20123 PyObject * obj0 = 0 ;
20124 PyObject * obj1 = 0 ;
20125 PyObject * obj2 = 0 ;
20126 char *kwnames[] = {
20127 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20128 };
20129
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20132 {
20133 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 {
20137 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 {
20141 PyThreadState* __tstate = wxPyBeginAllowThreads();
20142 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20143
20144 wxPyEndAllowThreads(__tstate);
20145 if (PyErr_Occurred()) SWIG_fail;
20146 }
20147 resultobj = SWIG_PyObj_FromInt((int)result);
20148 return resultobj;
20149 fail:
20150 return NULL;
20151 }
20152
20153
20154 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20155 PyObject *resultobj;
20156 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20157 long arg2 ;
20158 long arg3 ;
20159 long arg4 ;
20160 bool result;
20161 PyObject * obj0 = 0 ;
20162 PyObject * obj1 = 0 ;
20163 PyObject * obj2 = 0 ;
20164 PyObject * obj3 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20171 {
20172 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 {
20176 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 {
20180 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 resultobj = SWIG_PyObj_FromBool((bool)result);
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20200 long arg2 ;
20201 int arg3 ;
20202 int arg4 ;
20203 bool result;
20204 PyObject * obj0 = 0 ;
20205 PyObject * obj1 = 0 ;
20206 PyObject * obj2 = 0 ;
20207 PyObject * obj3 = 0 ;
20208 char *kwnames[] = {
20209 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20210 };
20211
20212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20214 {
20215 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 {
20219 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 {
20223 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
20226 {
20227 PyThreadState* __tstate = wxPyBeginAllowThreads();
20228 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20229
20230 wxPyEndAllowThreads(__tstate);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 }
20233 resultobj = SWIG_PyObj_FromBool((bool)result);
20234 return resultobj;
20235 fail:
20236 return NULL;
20237 }
20238
20239
20240 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20241 PyObject *resultobj;
20242 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20243 long arg2 ;
20244 wxString result;
20245 PyObject * obj0 = 0 ;
20246 PyObject * obj1 = 0 ;
20247 char *kwnames[] = {
20248 (char *) "self",(char *) "item", NULL
20249 };
20250
20251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20253 {
20254 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
20257 {
20258 PyThreadState* __tstate = wxPyBeginAllowThreads();
20259 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20260
20261 wxPyEndAllowThreads(__tstate);
20262 if (PyErr_Occurred()) SWIG_fail;
20263 }
20264 {
20265 #if wxUSE_UNICODE
20266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20267 #else
20268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20269 #endif
20270 }
20271 return resultobj;
20272 fail:
20273 return NULL;
20274 }
20275
20276
20277 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20278 PyObject *resultobj;
20279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20280 long arg2 ;
20281 wxString *arg3 = 0 ;
20282 bool temp3 = False ;
20283 PyObject * obj0 = 0 ;
20284 PyObject * obj1 = 0 ;
20285 PyObject * obj2 = 0 ;
20286 char *kwnames[] = {
20287 (char *) "self",(char *) "item",(char *) "str", NULL
20288 };
20289
20290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20292 {
20293 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20294 if (PyErr_Occurred()) SWIG_fail;
20295 }
20296 {
20297 arg3 = wxString_in_helper(obj2);
20298 if (arg3 == NULL) SWIG_fail;
20299 temp3 = True;
20300 }
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 Py_INCREF(Py_None); resultobj = Py_None;
20309 {
20310 if (temp3)
20311 delete arg3;
20312 }
20313 return resultobj;
20314 fail:
20315 {
20316 if (temp3)
20317 delete arg3;
20318 }
20319 return NULL;
20320 }
20321
20322
20323 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20324 PyObject *resultobj;
20325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20326 long arg2 ;
20327 long result;
20328 PyObject * obj0 = 0 ;
20329 PyObject * obj1 = 0 ;
20330 char *kwnames[] = {
20331 (char *) "self",(char *) "item", NULL
20332 };
20333
20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20336 {
20337 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 {
20341 PyThreadState* __tstate = wxPyBeginAllowThreads();
20342 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20343
20344 wxPyEndAllowThreads(__tstate);
20345 if (PyErr_Occurred()) SWIG_fail;
20346 }
20347 resultobj = SWIG_PyObj_FromLong((long)result);
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20357 long arg2 ;
20358 long arg3 ;
20359 bool result;
20360 PyObject * obj0 = 0 ;
20361 PyObject * obj1 = 0 ;
20362 PyObject * obj2 = 0 ;
20363 char *kwnames[] = {
20364 (char *) "self",(char *) "item",(char *) "data", NULL
20365 };
20366
20367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20369 {
20370 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 {
20374 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20375 if (PyErr_Occurred()) SWIG_fail;
20376 }
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 result = (bool)(arg1)->SetItemData(arg2,arg3);
20380
20381 wxPyEndAllowThreads(__tstate);
20382 if (PyErr_Occurred()) SWIG_fail;
20383 }
20384 resultobj = SWIG_PyObj_FromBool((bool)result);
20385 return resultobj;
20386 fail:
20387 return NULL;
20388 }
20389
20390
20391 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20392 PyObject *resultobj;
20393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20394 long arg2 ;
20395 wxPoint result;
20396 PyObject * obj0 = 0 ;
20397 PyObject * obj1 = 0 ;
20398 char *kwnames[] = {
20399 (char *) "self",(char *) "item", NULL
20400 };
20401
20402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20404 {
20405 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 {
20409 PyThreadState* __tstate = wxPyBeginAllowThreads();
20410 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20411
20412 wxPyEndAllowThreads(__tstate);
20413 if (PyErr_Occurred()) SWIG_fail;
20414 }
20415 {
20416 wxPoint * resultptr;
20417 resultptr = new wxPoint((wxPoint &) result);
20418 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20419 }
20420 return resultobj;
20421 fail:
20422 return NULL;
20423 }
20424
20425
20426 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20427 PyObject *resultobj;
20428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20429 long arg2 ;
20430 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20431 wxRect result;
20432 PyObject * obj0 = 0 ;
20433 PyObject * obj1 = 0 ;
20434 PyObject * obj2 = 0 ;
20435 char *kwnames[] = {
20436 (char *) "self",(char *) "item",(char *) "code", NULL
20437 };
20438
20439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20441 {
20442 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 if (obj2) {
20446 {
20447 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20448 if (PyErr_Occurred()) SWIG_fail;
20449 }
20450 }
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 {
20459 wxRect * resultptr;
20460 resultptr = new wxRect((wxRect &) result);
20461 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20462 }
20463 return resultobj;
20464 fail:
20465 return NULL;
20466 }
20467
20468
20469 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20472 long arg2 ;
20473 wxPoint *arg3 = 0 ;
20474 bool result;
20475 wxPoint temp3 ;
20476 PyObject * obj0 = 0 ;
20477 PyObject * obj1 = 0 ;
20478 PyObject * obj2 = 0 ;
20479 char *kwnames[] = {
20480 (char *) "self",(char *) "item",(char *) "pos", NULL
20481 };
20482
20483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20485 {
20486 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20487 if (PyErr_Occurred()) SWIG_fail;
20488 }
20489 {
20490 arg3 = &temp3;
20491 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20492 }
20493 {
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 resultobj = SWIG_PyObj_FromBool((bool)result);
20501 return resultobj;
20502 fail:
20503 return NULL;
20504 }
20505
20506
20507 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj;
20509 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20510 int result;
20511 PyObject * obj0 = 0 ;
20512 char *kwnames[] = {
20513 (char *) "self", NULL
20514 };
20515
20516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20518 {
20519 PyThreadState* __tstate = wxPyBeginAllowThreads();
20520 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20521
20522 wxPyEndAllowThreads(__tstate);
20523 if (PyErr_Occurred()) SWIG_fail;
20524 }
20525 resultobj = SWIG_PyObj_FromInt((int)result);
20526 return resultobj;
20527 fail:
20528 return NULL;
20529 }
20530
20531
20532 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20533 PyObject *resultobj;
20534 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20535 int result;
20536 PyObject * obj0 = 0 ;
20537 char *kwnames[] = {
20538 (char *) "self", NULL
20539 };
20540
20541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20543 {
20544 PyThreadState* __tstate = wxPyBeginAllowThreads();
20545 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20546
20547 wxPyEndAllowThreads(__tstate);
20548 if (PyErr_Occurred()) SWIG_fail;
20549 }
20550 resultobj = SWIG_PyObj_FromInt((int)result);
20551 return resultobj;
20552 fail:
20553 return NULL;
20554 }
20555
20556
20557 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20558 PyObject *resultobj;
20559 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20560 wxSize result;
20561 PyObject * obj0 = 0 ;
20562 char *kwnames[] = {
20563 (char *) "self", NULL
20564 };
20565
20566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20568 {
20569 PyThreadState* __tstate = wxPyBeginAllowThreads();
20570 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20571
20572 wxPyEndAllowThreads(__tstate);
20573 if (PyErr_Occurred()) SWIG_fail;
20574 }
20575 {
20576 wxSize * resultptr;
20577 resultptr = new wxSize((wxSize &) result);
20578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20579 }
20580 return resultobj;
20581 fail:
20582 return NULL;
20583 }
20584
20585
20586 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20587 PyObject *resultobj;
20588 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20589 int arg2 ;
20590 bool arg3 = (bool) False ;
20591 PyObject * obj0 = 0 ;
20592 PyObject * obj1 = 0 ;
20593 PyObject * obj2 = 0 ;
20594 char *kwnames[] = {
20595 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20596 };
20597
20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
20599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20600 {
20601 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20602 if (PyErr_Occurred()) SWIG_fail;
20603 }
20604 if (obj2) {
20605 {
20606 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 }
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 (arg1)->SetItemSpacing(arg2,arg3);
20613
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 Py_INCREF(Py_None); resultobj = Py_None;
20618 return resultobj;
20619 fail:
20620 return NULL;
20621 }
20622
20623
20624 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20627 int result;
20628 PyObject * obj0 = 0 ;
20629 char *kwnames[] = {
20630 (char *) "self", NULL
20631 };
20632
20633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 resultobj = SWIG_PyObj_FromInt((int)result);
20643 return resultobj;
20644 fail:
20645 return NULL;
20646 }
20647
20648
20649 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20650 PyObject *resultobj;
20651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20652 wxColour result;
20653 PyObject * obj0 = 0 ;
20654 char *kwnames[] = {
20655 (char *) "self", NULL
20656 };
20657
20658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20663
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 {
20668 wxColour * resultptr;
20669 resultptr = new wxColour((wxColour &) result);
20670 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20671 }
20672 return resultobj;
20673 fail:
20674 return NULL;
20675 }
20676
20677
20678 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20679 PyObject *resultobj;
20680 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20681 wxColour *arg2 = 0 ;
20682 wxColour temp2 ;
20683 PyObject * obj0 = 0 ;
20684 PyObject * obj1 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "self",(char *) "col", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
20690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20691 {
20692 arg2 = &temp2;
20693 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20694 }
20695 {
20696 PyThreadState* __tstate = wxPyBeginAllowThreads();
20697 (arg1)->SetTextColour((wxColour const &)*arg2);
20698
20699 wxPyEndAllowThreads(__tstate);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
20702 Py_INCREF(Py_None); resultobj = Py_None;
20703 return resultobj;
20704 fail:
20705 return NULL;
20706 }
20707
20708
20709 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20710 PyObject *resultobj;
20711 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20712 long result;
20713 PyObject * obj0 = 0 ;
20714 char *kwnames[] = {
20715 (char *) "self", NULL
20716 };
20717
20718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
20719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
20723
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 resultobj = SWIG_PyObj_FromLong((long)result);
20728 return resultobj;
20729 fail:
20730 return NULL;
20731 }
20732
20733
20734 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
20735 PyObject *resultobj;
20736 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20737 long arg2 ;
20738 bool arg3 = (bool) True ;
20739 PyObject * obj0 = 0 ;
20740 PyObject * obj1 = 0 ;
20741 PyObject * obj2 = 0 ;
20742 char *kwnames[] = {
20743 (char *) "self",(char *) "style",(char *) "add", NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
20747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20748 {
20749 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20750 if (PyErr_Occurred()) SWIG_fail;
20751 }
20752 if (obj2) {
20753 {
20754 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
20755 if (PyErr_Occurred()) SWIG_fail;
20756 }
20757 }
20758 {
20759 PyThreadState* __tstate = wxPyBeginAllowThreads();
20760 (arg1)->SetSingleStyle(arg2,arg3);
20761
20762 wxPyEndAllowThreads(__tstate);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 }
20765 Py_INCREF(Py_None); resultobj = Py_None;
20766 return resultobj;
20767 fail:
20768 return NULL;
20769 }
20770
20771
20772 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
20773 PyObject *resultobj;
20774 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20775 long arg2 ;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778 char *kwnames[] = {
20779 (char *) "self",(char *) "style", NULL
20780 };
20781
20782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
20783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20784 {
20785 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20786 if (PyErr_Occurred()) SWIG_fail;
20787 }
20788 {
20789 PyThreadState* __tstate = wxPyBeginAllowThreads();
20790 (arg1)->SetWindowStyleFlag(arg2);
20791
20792 wxPyEndAllowThreads(__tstate);
20793 if (PyErr_Occurred()) SWIG_fail;
20794 }
20795 Py_INCREF(Py_None); resultobj = Py_None;
20796 return resultobj;
20797 fail:
20798 return NULL;
20799 }
20800
20801
20802 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20803 PyObject *resultobj;
20804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20805 long arg2 ;
20806 int arg3 = (int) wxLIST_NEXT_ALL ;
20807 int arg4 = (int) wxLIST_STATE_DONTCARE ;
20808 long result;
20809 PyObject * obj0 = 0 ;
20810 PyObject * obj1 = 0 ;
20811 PyObject * obj2 = 0 ;
20812 PyObject * obj3 = 0 ;
20813 char *kwnames[] = {
20814 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20815 };
20816
20817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20819 {
20820 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 if (obj2) {
20824 {
20825 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 }
20829 if (obj3) {
20830 {
20831 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 }
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 resultobj = SWIG_PyObj_FromLong((long)result);
20843 return resultobj;
20844 fail:
20845 return NULL;
20846 }
20847
20848
20849 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20850 PyObject *resultobj;
20851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20852 int arg2 ;
20853 wxImageList *result;
20854 PyObject * obj0 = 0 ;
20855 PyObject * obj1 = 0 ;
20856 char *kwnames[] = {
20857 (char *) "self",(char *) "which", NULL
20858 };
20859
20860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
20861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20862 {
20863 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20864 if (PyErr_Occurred()) SWIG_fail;
20865 }
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 {
20874 resultobj = wxPyMake_wxObject(result);
20875 }
20876 return resultobj;
20877 fail:
20878 return NULL;
20879 }
20880
20881
20882 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20883 PyObject *resultobj;
20884 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20885 wxImageList *arg2 = (wxImageList *) 0 ;
20886 int arg3 ;
20887 PyObject * obj0 = 0 ;
20888 PyObject * obj1 = 0 ;
20889 PyObject * obj2 = 0 ;
20890 char *kwnames[] = {
20891 (char *) "self",(char *) "imageList",(char *) "which", NULL
20892 };
20893
20894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
20895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20897 {
20898 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 {
20902 PyThreadState* __tstate = wxPyBeginAllowThreads();
20903 (arg1)->SetImageList(arg2,arg3);
20904
20905 wxPyEndAllowThreads(__tstate);
20906 if (PyErr_Occurred()) SWIG_fail;
20907 }
20908 Py_INCREF(Py_None); resultobj = Py_None;
20909 return resultobj;
20910 fail:
20911 return NULL;
20912 }
20913
20914
20915 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20916 PyObject *resultobj;
20917 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20918 wxImageList *arg2 = (wxImageList *) 0 ;
20919 int arg3 ;
20920 PyObject * obj0 = 0 ;
20921 PyObject * obj1 = 0 ;
20922 PyObject * obj2 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self",(char *) "imageList",(char *) "which", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20930 {
20931 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20932 if (PyErr_Occurred()) SWIG_fail;
20933 }
20934 {
20935 PyThreadState* __tstate = wxPyBeginAllowThreads();
20936 (arg1)->AssignImageList(arg2,arg3);
20937
20938 wxPyEndAllowThreads(__tstate);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 }
20941 Py_INCREF(Py_None); resultobj = Py_None;
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20951 bool result;
20952 PyObject * obj0 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
20958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20959 {
20960 PyThreadState* __tstate = wxPyBeginAllowThreads();
20961 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
20962
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 resultobj = SWIG_PyObj_FromBool((bool)result);
20967 return resultobj;
20968 fail:
20969 return NULL;
20970 }
20971
20972
20973 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20974 PyObject *resultobj;
20975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20976 long arg2 ;
20977 PyObject * obj0 = 0 ;
20978 PyObject * obj1 = 0 ;
20979 char *kwnames[] = {
20980 (char *) "self",(char *) "item", NULL
20981 };
20982
20983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
20984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20985 {
20986 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20987 if (PyErr_Occurred()) SWIG_fail;
20988 }
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 (arg1)->RefreshItem(arg2);
20992
20993 wxPyEndAllowThreads(__tstate);
20994 if (PyErr_Occurred()) SWIG_fail;
20995 }
20996 Py_INCREF(Py_None); resultobj = Py_None;
20997 return resultobj;
20998 fail:
20999 return NULL;
21000 }
21001
21002
21003 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21004 PyObject *resultobj;
21005 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21006 long arg2 ;
21007 long arg3 ;
21008 PyObject * obj0 = 0 ;
21009 PyObject * obj1 = 0 ;
21010 PyObject * obj2 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21017 {
21018 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21019 if (PyErr_Occurred()) SWIG_fail;
21020 }
21021 {
21022 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21023 if (PyErr_Occurred()) SWIG_fail;
21024 }
21025 {
21026 PyThreadState* __tstate = wxPyBeginAllowThreads();
21027 (arg1)->RefreshItems(arg2,arg3);
21028
21029 wxPyEndAllowThreads(__tstate);
21030 if (PyErr_Occurred()) SWIG_fail;
21031 }
21032 Py_INCREF(Py_None); resultobj = Py_None;
21033 return resultobj;
21034 fail:
21035 return NULL;
21036 }
21037
21038
21039 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21040 PyObject *resultobj;
21041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21042 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21043 bool result;
21044 PyObject * obj0 = 0 ;
21045 PyObject * obj1 = 0 ;
21046 char *kwnames[] = {
21047 (char *) "self",(char *) "flag", NULL
21048 };
21049
21050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21052 if (obj1) {
21053 {
21054 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
21057 }
21058 {
21059 PyThreadState* __tstate = wxPyBeginAllowThreads();
21060 result = (bool)(arg1)->Arrange(arg2);
21061
21062 wxPyEndAllowThreads(__tstate);
21063 if (PyErr_Occurred()) SWIG_fail;
21064 }
21065 resultobj = SWIG_PyObj_FromBool((bool)result);
21066 return resultobj;
21067 fail:
21068 return NULL;
21069 }
21070
21071
21072 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21073 PyObject *resultobj;
21074 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21075 long arg2 ;
21076 bool result;
21077 PyObject * obj0 = 0 ;
21078 PyObject * obj1 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self",(char *) "item", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21085 {
21086 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 result = (bool)(arg1)->DeleteItem(arg2);
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 resultobj = SWIG_PyObj_FromBool((bool)result);
21097 return resultobj;
21098 fail:
21099 return NULL;
21100 }
21101
21102
21103 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21104 PyObject *resultobj;
21105 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21106 bool result;
21107 PyObject * obj0 = 0 ;
21108 char *kwnames[] = {
21109 (char *) "self", NULL
21110 };
21111
21112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21114 {
21115 PyThreadState* __tstate = wxPyBeginAllowThreads();
21116 result = (bool)(arg1)->DeleteAllItems();
21117
21118 wxPyEndAllowThreads(__tstate);
21119 if (PyErr_Occurred()) SWIG_fail;
21120 }
21121 resultobj = SWIG_PyObj_FromBool((bool)result);
21122 return resultobj;
21123 fail:
21124 return NULL;
21125 }
21126
21127
21128 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21129 PyObject *resultobj;
21130 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21131 int arg2 ;
21132 bool result;
21133 PyObject * obj0 = 0 ;
21134 PyObject * obj1 = 0 ;
21135 char *kwnames[] = {
21136 (char *) "self",(char *) "col", NULL
21137 };
21138
21139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21141 {
21142 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 {
21146 PyThreadState* __tstate = wxPyBeginAllowThreads();
21147 result = (bool)(arg1)->DeleteColumn(arg2);
21148
21149 wxPyEndAllowThreads(__tstate);
21150 if (PyErr_Occurred()) SWIG_fail;
21151 }
21152 resultobj = SWIG_PyObj_FromBool((bool)result);
21153 return resultobj;
21154 fail:
21155 return NULL;
21156 }
21157
21158
21159 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21160 PyObject *resultobj;
21161 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21162 bool result;
21163 PyObject * obj0 = 0 ;
21164 char *kwnames[] = {
21165 (char *) "self", NULL
21166 };
21167
21168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 result = (bool)(arg1)->DeleteAllColumns();
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 resultobj = SWIG_PyObj_FromBool((bool)result);
21178 return resultobj;
21179 fail:
21180 return NULL;
21181 }
21182
21183
21184 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21185 PyObject *resultobj;
21186 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21187 PyObject * obj0 = 0 ;
21188 char *kwnames[] = {
21189 (char *) "self", NULL
21190 };
21191
21192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21194 {
21195 PyThreadState* __tstate = wxPyBeginAllowThreads();
21196 (arg1)->ClearAll();
21197
21198 wxPyEndAllowThreads(__tstate);
21199 if (PyErr_Occurred()) SWIG_fail;
21200 }
21201 Py_INCREF(Py_None); resultobj = Py_None;
21202 return resultobj;
21203 fail:
21204 return NULL;
21205 }
21206
21207
21208 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21209 PyObject *resultobj;
21210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21211 long arg2 ;
21212 PyObject * obj0 = 0 ;
21213 PyObject * obj1 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "self",(char *) "item", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21220 {
21221 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21222 if (PyErr_Occurred()) SWIG_fail;
21223 }
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 (arg1)->EditLabel(arg2);
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 Py_INCREF(Py_None); resultobj = Py_None;
21232 return resultobj;
21233 fail:
21234 return NULL;
21235 }
21236
21237
21238 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21239 PyObject *resultobj;
21240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21241 long arg2 ;
21242 bool result;
21243 PyObject * obj0 = 0 ;
21244 PyObject * obj1 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "self",(char *) "item", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21251 {
21252 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 result = (bool)(arg1)->EnsureVisible(arg2);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 resultobj = SWIG_PyObj_FromBool((bool)result);
21263 return resultobj;
21264 fail:
21265 return NULL;
21266 }
21267
21268
21269 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21270 PyObject *resultobj;
21271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21272 long arg2 ;
21273 wxString *arg3 = 0 ;
21274 bool arg4 = (bool) False ;
21275 long result;
21276 bool temp3 = False ;
21277 PyObject * obj0 = 0 ;
21278 PyObject * obj1 = 0 ;
21279 PyObject * obj2 = 0 ;
21280 PyObject * obj3 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21287 {
21288 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21289 if (PyErr_Occurred()) SWIG_fail;
21290 }
21291 {
21292 arg3 = wxString_in_helper(obj2);
21293 if (arg3 == NULL) SWIG_fail;
21294 temp3 = True;
21295 }
21296 if (obj3) {
21297 {
21298 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
21299 if (PyErr_Occurred()) SWIG_fail;
21300 }
21301 }
21302 {
21303 PyThreadState* __tstate = wxPyBeginAllowThreads();
21304 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21305
21306 wxPyEndAllowThreads(__tstate);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 }
21309 resultobj = SWIG_PyObj_FromLong((long)result);
21310 {
21311 if (temp3)
21312 delete arg3;
21313 }
21314 return resultobj;
21315 fail:
21316 {
21317 if (temp3)
21318 delete arg3;
21319 }
21320 return NULL;
21321 }
21322
21323
21324 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21325 PyObject *resultobj;
21326 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21327 long arg2 ;
21328 long arg3 ;
21329 long result;
21330 PyObject * obj0 = 0 ;
21331 PyObject * obj1 = 0 ;
21332 PyObject * obj2 = 0 ;
21333 char *kwnames[] = {
21334 (char *) "self",(char *) "start",(char *) "data", NULL
21335 };
21336
21337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21339 {
21340 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 }
21343 {
21344 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 result = (long)(arg1)->FindItem(arg2,arg3);
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 resultobj = SWIG_PyObj_FromLong((long)result);
21355 return resultobj;
21356 fail:
21357 return NULL;
21358 }
21359
21360
21361 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21364 long arg2 ;
21365 wxPoint *arg3 = 0 ;
21366 int arg4 ;
21367 long result;
21368 wxPoint temp3 ;
21369 PyObject * obj0 = 0 ;
21370 PyObject * obj1 = 0 ;
21371 PyObject * obj2 = 0 ;
21372 PyObject * obj3 = 0 ;
21373 char *kwnames[] = {
21374 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21375 };
21376
21377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21379 {
21380 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21381 if (PyErr_Occurred()) SWIG_fail;
21382 }
21383 {
21384 arg3 = &temp3;
21385 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21386 }
21387 {
21388 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21389 if (PyErr_Occurred()) SWIG_fail;
21390 }
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 resultobj = SWIG_PyObj_FromLong((long)result);
21399 return resultobj;
21400 fail:
21401 return NULL;
21402 }
21403
21404
21405 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj;
21407 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21408 wxPoint *arg2 = 0 ;
21409 int *arg3 = 0 ;
21410 long result;
21411 wxPoint temp2 ;
21412 int temp3 ;
21413 PyObject * obj0 = 0 ;
21414 PyObject * obj1 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "point", NULL
21417 };
21418
21419 arg3 = &temp3;
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21422 {
21423 arg2 = &temp2;
21424 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21425 }
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = SWIG_PyObj_FromLong((long)result);
21434 {
21435 PyObject *o = PyInt_FromLong((long) (*arg3));
21436 resultobj = t_output_helper(resultobj,o);
21437 }
21438 return resultobj;
21439 fail:
21440 return NULL;
21441 }
21442
21443
21444 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21447 wxListItem *arg2 = 0 ;
21448 long result;
21449 PyObject * obj0 = 0 ;
21450 PyObject * obj1 = 0 ;
21451 char *kwnames[] = {
21452 (char *) "self",(char *) "info", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21457 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21458 if (arg2 == NULL) {
21459 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21460 }
21461 {
21462 PyThreadState* __tstate = wxPyBeginAllowThreads();
21463 result = (long)(arg1)->InsertItem(*arg2);
21464
21465 wxPyEndAllowThreads(__tstate);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 }
21468 resultobj = SWIG_PyObj_FromLong((long)result);
21469 return resultobj;
21470 fail:
21471 return NULL;
21472 }
21473
21474
21475 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj;
21477 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21478 long arg2 ;
21479 wxString *arg3 = 0 ;
21480 long result;
21481 bool temp3 = False ;
21482 PyObject * obj0 = 0 ;
21483 PyObject * obj1 = 0 ;
21484 PyObject * obj2 = 0 ;
21485 char *kwnames[] = {
21486 (char *) "self",(char *) "index",(char *) "label", NULL
21487 };
21488
21489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21491 {
21492 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21493 if (PyErr_Occurred()) SWIG_fail;
21494 }
21495 {
21496 arg3 = wxString_in_helper(obj2);
21497 if (arg3 == NULL) SWIG_fail;
21498 temp3 = True;
21499 }
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 resultobj = SWIG_PyObj_FromLong((long)result);
21508 {
21509 if (temp3)
21510 delete arg3;
21511 }
21512 return resultobj;
21513 fail:
21514 {
21515 if (temp3)
21516 delete arg3;
21517 }
21518 return NULL;
21519 }
21520
21521
21522 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21523 PyObject *resultobj;
21524 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21525 long arg2 ;
21526 int arg3 ;
21527 long result;
21528 PyObject * obj0 = 0 ;
21529 PyObject * obj1 = 0 ;
21530 PyObject * obj2 = 0 ;
21531 char *kwnames[] = {
21532 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21533 };
21534
21535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21537 {
21538 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 {
21542 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21543 if (PyErr_Occurred()) SWIG_fail;
21544 }
21545 {
21546 PyThreadState* __tstate = wxPyBeginAllowThreads();
21547 result = (long)(arg1)->InsertItem(arg2,arg3);
21548
21549 wxPyEndAllowThreads(__tstate);
21550 if (PyErr_Occurred()) SWIG_fail;
21551 }
21552 resultobj = SWIG_PyObj_FromLong((long)result);
21553 return resultobj;
21554 fail:
21555 return NULL;
21556 }
21557
21558
21559 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj;
21561 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21562 long arg2 ;
21563 wxString *arg3 = 0 ;
21564 int arg4 ;
21565 long result;
21566 bool temp3 = False ;
21567 PyObject * obj0 = 0 ;
21568 PyObject * obj1 = 0 ;
21569 PyObject * obj2 = 0 ;
21570 PyObject * obj3 = 0 ;
21571 char *kwnames[] = {
21572 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21573 };
21574
21575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21577 {
21578 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21579 if (PyErr_Occurred()) SWIG_fail;
21580 }
21581 {
21582 arg3 = wxString_in_helper(obj2);
21583 if (arg3 == NULL) SWIG_fail;
21584 temp3 = True;
21585 }
21586 {
21587 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21593
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 resultobj = SWIG_PyObj_FromLong((long)result);
21598 {
21599 if (temp3)
21600 delete arg3;
21601 }
21602 return resultobj;
21603 fail:
21604 {
21605 if (temp3)
21606 delete arg3;
21607 }
21608 return NULL;
21609 }
21610
21611
21612 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21613 PyObject *resultobj;
21614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21615 long arg2 ;
21616 wxListItem *arg3 = 0 ;
21617 long result;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 PyObject * obj2 = 0 ;
21621 char *kwnames[] = {
21622 (char *) "self",(char *) "col",(char *) "info", NULL
21623 };
21624
21625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21627 {
21628 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21632 if (arg3 == NULL) {
21633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21634 }
21635 {
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
21642 resultobj = SWIG_PyObj_FromLong((long)result);
21643 return resultobj;
21644 fail:
21645 return NULL;
21646 }
21647
21648
21649 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21650 PyObject *resultobj;
21651 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21652 long arg2 ;
21653 wxString *arg3 = 0 ;
21654 int arg4 = (int) wxLIST_FORMAT_LEFT ;
21655 int arg5 = (int) -1 ;
21656 long result;
21657 bool temp3 = False ;
21658 PyObject * obj0 = 0 ;
21659 PyObject * obj1 = 0 ;
21660 PyObject * obj2 = 0 ;
21661 PyObject * obj3 = 0 ;
21662 PyObject * obj4 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21669 {
21670 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 {
21674 arg3 = wxString_in_helper(obj2);
21675 if (arg3 == NULL) SWIG_fail;
21676 temp3 = True;
21677 }
21678 if (obj3) {
21679 {
21680 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 }
21684 if (obj4) {
21685 {
21686 arg5 = (int) SWIG_PyObj_AsInt(obj4);
21687 if (PyErr_Occurred()) SWIG_fail;
21688 }
21689 }
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 resultobj = SWIG_PyObj_FromLong((long)result);
21698 {
21699 if (temp3)
21700 delete arg3;
21701 }
21702 return resultobj;
21703 fail:
21704 {
21705 if (temp3)
21706 delete arg3;
21707 }
21708 return NULL;
21709 }
21710
21711
21712 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21713 PyObject *resultobj;
21714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21715 long arg2 ;
21716 PyObject * obj0 = 0 ;
21717 PyObject * obj1 = 0 ;
21718 char *kwnames[] = {
21719 (char *) "self",(char *) "count", NULL
21720 };
21721
21722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
21723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21724 {
21725 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 (arg1)->SetItemCount(arg2);
21731
21732 wxPyEndAllowThreads(__tstate);
21733 if (PyErr_Occurred()) SWIG_fail;
21734 }
21735 Py_INCREF(Py_None); resultobj = Py_None;
21736 return resultobj;
21737 fail:
21738 return NULL;
21739 }
21740
21741
21742 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
21743 PyObject *resultobj;
21744 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21745 int arg2 ;
21746 int arg3 ;
21747 bool result;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 PyObject * obj2 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self",(char *) "dx",(char *) "dy", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21757 {
21758 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 {
21762 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 {
21766 PyThreadState* __tstate = wxPyBeginAllowThreads();
21767 result = (bool)(arg1)->ScrollList(arg2,arg3);
21768
21769 wxPyEndAllowThreads(__tstate);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 resultobj = SWIG_PyObj_FromBool((bool)result);
21773 return resultobj;
21774 fail:
21775 return NULL;
21776 }
21777
21778
21779 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj;
21781 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21782 long arg2 ;
21783 wxColour *arg3 = 0 ;
21784 wxColour temp3 ;
21785 PyObject * obj0 = 0 ;
21786 PyObject * obj1 = 0 ;
21787 PyObject * obj2 = 0 ;
21788 char *kwnames[] = {
21789 (char *) "self",(char *) "item",(char *) "col", NULL
21790 };
21791
21792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21794 {
21795 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 {
21799 arg3 = &temp3;
21800 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21801 }
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 Py_INCREF(Py_None); resultobj = Py_None;
21810 return resultobj;
21811 fail:
21812 return NULL;
21813 }
21814
21815
21816 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21817 PyObject *resultobj;
21818 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21819 long arg2 ;
21820 wxColour result;
21821 PyObject * obj0 = 0 ;
21822 PyObject * obj1 = 0 ;
21823 char *kwnames[] = {
21824 (char *) "self",(char *) "item", NULL
21825 };
21826
21827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21829 {
21830 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21831 if (PyErr_Occurred()) SWIG_fail;
21832 }
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 {
21841 wxColour * resultptr;
21842 resultptr = new wxColour((wxColour &) result);
21843 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21844 }
21845 return resultobj;
21846 fail:
21847 return NULL;
21848 }
21849
21850
21851 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21852 PyObject *resultobj;
21853 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21854 long arg2 ;
21855 wxColour *arg3 = 0 ;
21856 wxColour temp3 ;
21857 PyObject * obj0 = 0 ;
21858 PyObject * obj1 = 0 ;
21859 PyObject * obj2 = 0 ;
21860 char *kwnames[] = {
21861 (char *) "self",(char *) "item",(char *) "col", NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21866 {
21867 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 {
21871 arg3 = &temp3;
21872 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21873 }
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 Py_INCREF(Py_None); resultobj = Py_None;
21882 return resultobj;
21883 fail:
21884 return NULL;
21885 }
21886
21887
21888 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21891 long arg2 ;
21892 wxColour result;
21893 PyObject * obj0 = 0 ;
21894 PyObject * obj1 = 0 ;
21895 char *kwnames[] = {
21896 (char *) "self",(char *) "item", NULL
21897 };
21898
21899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21901 {
21902 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 {
21913 wxColour * resultptr;
21914 resultptr = new wxColour((wxColour &) result);
21915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21916 }
21917 return resultobj;
21918 fail:
21919 return NULL;
21920 }
21921
21922
21923 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21924 PyObject *resultobj;
21925 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21926 PyObject *arg2 = (PyObject *) 0 ;
21927 bool result;
21928 PyObject * obj0 = 0 ;
21929 PyObject * obj1 = 0 ;
21930 char *kwnames[] = {
21931 (char *) "self",(char *) "func", NULL
21932 };
21933
21934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
21935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21936 arg2 = obj1;
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
21940
21941 wxPyEndAllowThreads(__tstate);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 }
21944 resultobj = SWIG_PyObj_FromBool((bool)result);
21945 return resultobj;
21946 fail:
21947 return NULL;
21948 }
21949
21950
21951 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21952 PyObject *resultobj;
21953 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21954 wxWindow *result;
21955 PyObject * obj0 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
21961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21962 {
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 {
21970 resultobj = wxPyMake_wxObject(result);
21971 }
21972 return resultobj;
21973 fail:
21974 return NULL;
21975 }
21976
21977
21978 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
21979 PyObject *obj;
21980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21981 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
21982 Py_INCREF(obj);
21983 return Py_BuildValue((char *)"");
21984 }
21985 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
21986 PyObject *resultobj;
21987 wxWindow *arg1 = (wxWindow *) 0 ;
21988 int arg2 = (int) -1 ;
21989 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21990 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21991 wxSize const &arg4_defvalue = wxDefaultSize ;
21992 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21993 long arg5 = (long) wxLC_REPORT ;
21994 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21995 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21996 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21997 wxString *arg7 = (wxString *) &arg7_defvalue ;
21998 wxListView *result;
21999 wxPoint temp3 ;
22000 wxSize temp4 ;
22001 bool temp7 = False ;
22002 PyObject * obj0 = 0 ;
22003 PyObject * obj1 = 0 ;
22004 PyObject * obj2 = 0 ;
22005 PyObject * obj3 = 0 ;
22006 PyObject * obj4 = 0 ;
22007 PyObject * obj5 = 0 ;
22008 PyObject * obj6 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22015 if (obj1) {
22016 {
22017 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 }
22021 if (obj2) {
22022 {
22023 arg3 = &temp3;
22024 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22025 }
22026 }
22027 if (obj3) {
22028 {
22029 arg4 = &temp4;
22030 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22031 }
22032 }
22033 if (obj4) {
22034 {
22035 arg5 = (long) SWIG_PyObj_AsLong(obj4);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 }
22038 }
22039 if (obj5) {
22040 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22041 if (arg6 == NULL) {
22042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22043 }
22044 }
22045 if (obj6) {
22046 {
22047 arg7 = wxString_in_helper(obj6);
22048 if (arg7 == NULL) SWIG_fail;
22049 temp7 = True;
22050 }
22051 }
22052 {
22053 PyThreadState* __tstate = wxPyBeginAllowThreads();
22054 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22055
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22060 {
22061 if (temp7)
22062 delete arg7;
22063 }
22064 return resultobj;
22065 fail:
22066 {
22067 if (temp7)
22068 delete arg7;
22069 }
22070 return NULL;
22071 }
22072
22073
22074 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22075 PyObject *resultobj;
22076 wxListView *result;
22077 char *kwnames[] = {
22078 NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22082 {
22083 PyThreadState* __tstate = wxPyBeginAllowThreads();
22084 result = (wxListView *)new wxListView();
22085
22086 wxPyEndAllowThreads(__tstate);
22087 if (PyErr_Occurred()) SWIG_fail;
22088 }
22089 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22090 return resultobj;
22091 fail:
22092 return NULL;
22093 }
22094
22095
22096 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22097 PyObject *resultobj;
22098 wxListView *arg1 = (wxListView *) 0 ;
22099 wxWindow *arg2 = (wxWindow *) 0 ;
22100 int arg3 = (int) -1 ;
22101 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22102 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22103 wxSize const &arg5_defvalue = wxDefaultSize ;
22104 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22105 long arg6 = (long) wxLC_REPORT ;
22106 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22107 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22108 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22109 wxString *arg8 = (wxString *) &arg8_defvalue ;
22110 bool result;
22111 wxPoint temp4 ;
22112 wxSize temp5 ;
22113 bool temp8 = False ;
22114 PyObject * obj0 = 0 ;
22115 PyObject * obj1 = 0 ;
22116 PyObject * obj2 = 0 ;
22117 PyObject * obj3 = 0 ;
22118 PyObject * obj4 = 0 ;
22119 PyObject * obj5 = 0 ;
22120 PyObject * obj6 = 0 ;
22121 PyObject * obj7 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22129 if (obj2) {
22130 {
22131 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22132 if (PyErr_Occurred()) SWIG_fail;
22133 }
22134 }
22135 if (obj3) {
22136 {
22137 arg4 = &temp4;
22138 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22139 }
22140 }
22141 if (obj4) {
22142 {
22143 arg5 = &temp5;
22144 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22145 }
22146 }
22147 if (obj5) {
22148 {
22149 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22150 if (PyErr_Occurred()) SWIG_fail;
22151 }
22152 }
22153 if (obj6) {
22154 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22155 if (arg7 == NULL) {
22156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22157 }
22158 }
22159 if (obj7) {
22160 {
22161 arg8 = wxString_in_helper(obj7);
22162 if (arg8 == NULL) SWIG_fail;
22163 temp8 = True;
22164 }
22165 }
22166 {
22167 PyThreadState* __tstate = wxPyBeginAllowThreads();
22168 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22169
22170 wxPyEndAllowThreads(__tstate);
22171 if (PyErr_Occurred()) SWIG_fail;
22172 }
22173 resultobj = SWIG_PyObj_FromBool((bool)result);
22174 {
22175 if (temp8)
22176 delete arg8;
22177 }
22178 return resultobj;
22179 fail:
22180 {
22181 if (temp8)
22182 delete arg8;
22183 }
22184 return NULL;
22185 }
22186
22187
22188 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22189 PyObject *resultobj;
22190 wxListView *arg1 = (wxListView *) 0 ;
22191 long arg2 ;
22192 bool arg3 = (bool) True ;
22193 PyObject * obj0 = 0 ;
22194 PyObject * obj1 = 0 ;
22195 PyObject * obj2 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self",(char *) "n",(char *) "on", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22202 {
22203 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22204 if (PyErr_Occurred()) SWIG_fail;
22205 }
22206 if (obj2) {
22207 {
22208 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22209 if (PyErr_Occurred()) SWIG_fail;
22210 }
22211 }
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 (arg1)->Select(arg2,arg3);
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 Py_INCREF(Py_None); resultobj = Py_None;
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxListView *arg1 = (wxListView *) 0 ;
22229 long arg2 ;
22230 PyObject * obj0 = 0 ;
22231 PyObject * obj1 = 0 ;
22232 char *kwnames[] = {
22233 (char *) "self",(char *) "index", NULL
22234 };
22235
22236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22238 {
22239 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22240 if (PyErr_Occurred()) SWIG_fail;
22241 }
22242 {
22243 PyThreadState* __tstate = wxPyBeginAllowThreads();
22244 (arg1)->Focus(arg2);
22245
22246 wxPyEndAllowThreads(__tstate);
22247 if (PyErr_Occurred()) SWIG_fail;
22248 }
22249 Py_INCREF(Py_None); resultobj = Py_None;
22250 return resultobj;
22251 fail:
22252 return NULL;
22253 }
22254
22255
22256 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22257 PyObject *resultobj;
22258 wxListView *arg1 = (wxListView *) 0 ;
22259 long result;
22260 PyObject * obj0 = 0 ;
22261 char *kwnames[] = {
22262 (char *) "self", NULL
22263 };
22264
22265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22267 {
22268 PyThreadState* __tstate = wxPyBeginAllowThreads();
22269 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22270
22271 wxPyEndAllowThreads(__tstate);
22272 if (PyErr_Occurred()) SWIG_fail;
22273 }
22274 resultobj = SWIG_PyObj_FromLong((long)result);
22275 return resultobj;
22276 fail:
22277 return NULL;
22278 }
22279
22280
22281 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxListView *arg1 = (wxListView *) 0 ;
22284 long arg2 ;
22285 long result;
22286 PyObject * obj0 = 0 ;
22287 PyObject * obj1 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self",(char *) "item", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22294 {
22295 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 {
22299 PyThreadState* __tstate = wxPyBeginAllowThreads();
22300 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22301
22302 wxPyEndAllowThreads(__tstate);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 resultobj = SWIG_PyObj_FromLong((long)result);
22306 return resultobj;
22307 fail:
22308 return NULL;
22309 }
22310
22311
22312 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxListView *arg1 = (wxListView *) 0 ;
22315 long result;
22316 PyObject * obj0 = 0 ;
22317 char *kwnames[] = {
22318 (char *) "self", NULL
22319 };
22320
22321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 resultobj = SWIG_PyObj_FromLong((long)result);
22331 return resultobj;
22332 fail:
22333 return NULL;
22334 }
22335
22336
22337 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj;
22339 wxListView *arg1 = (wxListView *) 0 ;
22340 long arg2 ;
22341 bool result;
22342 PyObject * obj0 = 0 ;
22343 PyObject * obj1 = 0 ;
22344 char *kwnames[] = {
22345 (char *) "self",(char *) "index", NULL
22346 };
22347
22348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22350 {
22351 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 result = (bool)(arg1)->IsSelected(arg2);
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 resultobj = SWIG_PyObj_FromBool((bool)result);
22362 return resultobj;
22363 fail:
22364 return NULL;
22365 }
22366
22367
22368 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 wxListView *arg1 = (wxListView *) 0 ;
22371 int arg2 ;
22372 int arg3 ;
22373 PyObject * obj0 = 0 ;
22374 PyObject * obj1 = 0 ;
22375 PyObject * obj2 = 0 ;
22376 char *kwnames[] = {
22377 (char *) "self",(char *) "col",(char *) "image", NULL
22378 };
22379
22380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22382 {
22383 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 {
22387 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22388 if (PyErr_Occurred()) SWIG_fail;
22389 }
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 (arg1)->SetColumnImage(arg2,arg3);
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 Py_INCREF(Py_None); resultobj = Py_None;
22398 return resultobj;
22399 fail:
22400 return NULL;
22401 }
22402
22403
22404 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxListView *arg1 = (wxListView *) 0 ;
22407 int arg2 ;
22408 PyObject * obj0 = 0 ;
22409 PyObject * obj1 = 0 ;
22410 char *kwnames[] = {
22411 (char *) "self",(char *) "col", NULL
22412 };
22413
22414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22416 {
22417 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22418 if (PyErr_Occurred()) SWIG_fail;
22419 }
22420 {
22421 PyThreadState* __tstate = wxPyBeginAllowThreads();
22422 (arg1)->ClearColumnImage(arg2);
22423
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 Py_INCREF(Py_None); resultobj = Py_None;
22428 return resultobj;
22429 fail:
22430 return NULL;
22431 }
22432
22433
22434 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22435 PyObject *obj;
22436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22437 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22438 Py_INCREF(obj);
22439 return Py_BuildValue((char *)"");
22440 }
22441 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
22442 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22443 return 1;
22444 }
22445
22446
22447 static PyObject *_wrap_TreeCtrlNameStr_get() {
22448 PyObject *pyobj;
22449
22450 {
22451 #if wxUSE_UNICODE
22452 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22453 #else
22454 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22455 #endif
22456 }
22457 return pyobj;
22458 }
22459
22460
22461 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj;
22463 wxTreeItemId *result;
22464 char *kwnames[] = {
22465 NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 result = (wxTreeItemId *)new wxTreeItemId();
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
22477 return resultobj;
22478 fail:
22479 return NULL;
22480 }
22481
22482
22483 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22484 PyObject *resultobj;
22485 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22486 PyObject * obj0 = 0 ;
22487 char *kwnames[] = {
22488 (char *) "self", NULL
22489 };
22490
22491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22493 {
22494 PyThreadState* __tstate = wxPyBeginAllowThreads();
22495 delete arg1;
22496
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 Py_INCREF(Py_None); resultobj = Py_None;
22501 return resultobj;
22502 fail:
22503 return NULL;
22504 }
22505
22506
22507 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22508 PyObject *resultobj;
22509 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22510 bool result;
22511 PyObject * obj0 = 0 ;
22512 char *kwnames[] = {
22513 (char *) "self", NULL
22514 };
22515
22516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 resultobj = SWIG_PyObj_FromBool((bool)result);
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj;
22534 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22535 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22536 bool result;
22537 PyObject * obj0 = 0 ;
22538 PyObject * obj1 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self",(char *) "other", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 resultobj = SWIG_PyObj_FromBool((bool)result);
22554 return resultobj;
22555 fail:
22556 return NULL;
22557 }
22558
22559
22560 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22561 PyObject *resultobj;
22562 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22563 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22564 bool result;
22565 PyObject * obj0 = 0 ;
22566 PyObject * obj1 = 0 ;
22567 char *kwnames[] = {
22568 (char *) "self",(char *) "other", NULL
22569 };
22570
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22573 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
22577
22578 wxPyEndAllowThreads(__tstate);
22579 if (PyErr_Occurred()) SWIG_fail;
22580 }
22581 resultobj = SWIG_PyObj_FromBool((bool)result);
22582 return resultobj;
22583 fail:
22584 return NULL;
22585 }
22586
22587
22588 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22589 PyObject *resultobj;
22590 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22591 void *arg2 = (void *) 0 ;
22592 PyObject * obj0 = 0 ;
22593 PyObject * obj1 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "m_pItem", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
22601 if (arg1) (arg1)->m_pItem = arg2;
22602
22603 Py_INCREF(Py_None); resultobj = Py_None;
22604 return resultobj;
22605 fail:
22606 return NULL;
22607 }
22608
22609
22610 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
22611 PyObject *resultobj;
22612 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22613 void *result;
22614 PyObject * obj0 = 0 ;
22615 char *kwnames[] = {
22616 (char *) "self", NULL
22617 };
22618
22619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22621 result = (void *) ((arg1)->m_pItem);
22622
22623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
22624 return resultobj;
22625 fail:
22626 return NULL;
22627 }
22628
22629
22630 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
22631 PyObject *obj;
22632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22633 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22634 Py_INCREF(obj);
22635 return Py_BuildValue((char *)"");
22636 }
22637 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22638 PyObject *resultobj;
22639 PyObject *arg1 = (PyObject *) NULL ;
22640 wxPyTreeItemData *result;
22641 PyObject * obj0 = 0 ;
22642 char *kwnames[] = {
22643 (char *) "obj", NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
22647 if (obj0) {
22648 arg1 = obj0;
22649 }
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
22658 return resultobj;
22659 fail:
22660 return NULL;
22661 }
22662
22663
22664 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22665 PyObject *resultobj;
22666 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22667 PyObject *result;
22668 PyObject * obj0 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
22674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22675 {
22676 PyThreadState* __tstate = wxPyBeginAllowThreads();
22677 result = (PyObject *)(arg1)->GetData();
22678
22679 wxPyEndAllowThreads(__tstate);
22680 if (PyErr_Occurred()) SWIG_fail;
22681 }
22682 resultobj = result;
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22692 PyObject *arg2 = (PyObject *) 0 ;
22693 PyObject * obj0 = 0 ;
22694 PyObject * obj1 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self",(char *) "obj", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22701 arg2 = obj1;
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 (arg1)->SetData(arg2);
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 Py_INCREF(Py_None); resultobj = Py_None;
22710 return resultobj;
22711 fail:
22712 return NULL;
22713 }
22714
22715
22716 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22717 PyObject *resultobj;
22718 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22719 wxTreeItemId *result;
22720 PyObject * obj0 = 0 ;
22721 char *kwnames[] = {
22722 (char *) "self", NULL
22723 };
22724
22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
22726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22727 {
22728 PyThreadState* __tstate = wxPyBeginAllowThreads();
22729 {
22730 wxTreeItemId const &_result_ref = (arg1)->GetId();
22731 result = (wxTreeItemId *) &_result_ref;
22732 }
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
22738 return resultobj;
22739 fail:
22740 return NULL;
22741 }
22742
22743
22744 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
22745 PyObject *resultobj;
22746 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22747 wxTreeItemId *arg2 = 0 ;
22748 PyObject * obj0 = 0 ;
22749 PyObject * obj1 = 0 ;
22750 char *kwnames[] = {
22751 (char *) "self",(char *) "id", NULL
22752 };
22753
22754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
22755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22757 if (arg2 == NULL) {
22758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22759 }
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 (arg1)->SetId((wxTreeItemId const &)*arg2);
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 Py_INCREF(Py_None); resultobj = Py_None;
22768 return resultobj;
22769 fail:
22770 return NULL;
22771 }
22772
22773
22774 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
22775 PyObject *resultobj;
22776 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
22777 PyObject * obj0 = 0 ;
22778 char *kwnames[] = {
22779 (char *) "self", NULL
22780 };
22781
22782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
22783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22784 {
22785 PyThreadState* __tstate = wxPyBeginAllowThreads();
22786 wxPyTreeItemData_Destroy(arg1);
22787
22788 wxPyEndAllowThreads(__tstate);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 }
22791 Py_INCREF(Py_None); resultobj = Py_None;
22792 return resultobj;
22793 fail:
22794 return NULL;
22795 }
22796
22797
22798 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
22799 PyObject *obj;
22800 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22801 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
22802 Py_INCREF(obj);
22803 return Py_BuildValue((char *)"");
22804 }
22805 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
22806 PyObject *resultobj;
22807 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22808 int arg2 = (int) 0 ;
22809 wxTreeEvent *result;
22810 PyObject * obj0 = 0 ;
22811 PyObject * obj1 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "commandType",(char *) "id", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
22817 if (obj0) {
22818 {
22819 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
22820 if (PyErr_Occurred()) SWIG_fail;
22821 }
22822 }
22823 if (obj1) {
22824 {
22825 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22826 if (PyErr_Occurred()) SWIG_fail;
22827 }
22828 }
22829 {
22830 PyThreadState* __tstate = wxPyBeginAllowThreads();
22831 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
22832
22833 wxPyEndAllowThreads(__tstate);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
22836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
22837 return resultobj;
22838 fail:
22839 return NULL;
22840 }
22841
22842
22843 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22844 PyObject *resultobj;
22845 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22846 wxTreeItemId result;
22847 PyObject * obj0 = 0 ;
22848 char *kwnames[] = {
22849 (char *) "self", NULL
22850 };
22851
22852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
22853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22854 {
22855 PyThreadState* __tstate = wxPyBeginAllowThreads();
22856 result = ((wxTreeEvent const *)arg1)->GetItem();
22857
22858 wxPyEndAllowThreads(__tstate);
22859 if (PyErr_Occurred()) SWIG_fail;
22860 }
22861 {
22862 wxTreeItemId * resultptr;
22863 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22864 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22865 }
22866 return resultobj;
22867 fail:
22868 return NULL;
22869 }
22870
22871
22872 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22873 PyObject *resultobj;
22874 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22875 wxTreeItemId *arg2 = 0 ;
22876 PyObject * obj0 = 0 ;
22877 PyObject * obj1 = 0 ;
22878 char *kwnames[] = {
22879 (char *) "self",(char *) "item", NULL
22880 };
22881
22882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
22883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22885 if (arg2 == NULL) {
22886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22887 }
22888 {
22889 PyThreadState* __tstate = wxPyBeginAllowThreads();
22890 (arg1)->SetItem((wxTreeItemId const &)*arg2);
22891
22892 wxPyEndAllowThreads(__tstate);
22893 if (PyErr_Occurred()) SWIG_fail;
22894 }
22895 Py_INCREF(Py_None); resultobj = Py_None;
22896 return resultobj;
22897 fail:
22898 return NULL;
22899 }
22900
22901
22902 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22903 PyObject *resultobj;
22904 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22905 wxTreeItemId result;
22906 PyObject * obj0 = 0 ;
22907 char *kwnames[] = {
22908 (char *) "self", NULL
22909 };
22910
22911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
22912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22913 {
22914 PyThreadState* __tstate = wxPyBeginAllowThreads();
22915 result = ((wxTreeEvent const *)arg1)->GetOldItem();
22916
22917 wxPyEndAllowThreads(__tstate);
22918 if (PyErr_Occurred()) SWIG_fail;
22919 }
22920 {
22921 wxTreeItemId * resultptr;
22922 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22923 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22924 }
22925 return resultobj;
22926 fail:
22927 return NULL;
22928 }
22929
22930
22931 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22932 PyObject *resultobj;
22933 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22934 wxTreeItemId *arg2 = 0 ;
22935 PyObject * obj0 = 0 ;
22936 PyObject * obj1 = 0 ;
22937 char *kwnames[] = {
22938 (char *) "self",(char *) "item", NULL
22939 };
22940
22941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
22942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22944 if (arg2 == NULL) {
22945 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22946 }
22947 {
22948 PyThreadState* __tstate = wxPyBeginAllowThreads();
22949 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
22950
22951 wxPyEndAllowThreads(__tstate);
22952 if (PyErr_Occurred()) SWIG_fail;
22953 }
22954 Py_INCREF(Py_None); resultobj = Py_None;
22955 return resultobj;
22956 fail:
22957 return NULL;
22958 }
22959
22960
22961 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22962 PyObject *resultobj;
22963 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22964 wxPoint result;
22965 PyObject * obj0 = 0 ;
22966 char *kwnames[] = {
22967 (char *) "self", NULL
22968 };
22969
22970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
22971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 result = ((wxTreeEvent const *)arg1)->GetPoint();
22975
22976 wxPyEndAllowThreads(__tstate);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 }
22979 {
22980 wxPoint * resultptr;
22981 resultptr = new wxPoint((wxPoint &) result);
22982 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
22983 }
22984 return resultobj;
22985 fail:
22986 return NULL;
22987 }
22988
22989
22990 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
22991 PyObject *resultobj;
22992 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
22993 wxPoint *arg2 = 0 ;
22994 wxPoint temp2 ;
22995 PyObject * obj0 = 0 ;
22996 PyObject * obj1 = 0 ;
22997 char *kwnames[] = {
22998 (char *) "self",(char *) "pt", NULL
22999 };
23000
23001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23003 {
23004 arg2 = &temp2;
23005 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23006 }
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 (arg1)->SetPoint((wxPoint const &)*arg2);
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 Py_INCREF(Py_None); resultobj = Py_None;
23015 return resultobj;
23016 fail:
23017 return NULL;
23018 }
23019
23020
23021 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23022 PyObject *resultobj;
23023 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23024 wxKeyEvent *result;
23025 PyObject * obj0 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 {
23035 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23036 result = (wxKeyEvent *) &_result_ref;
23037 }
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
23043 return resultobj;
23044 fail:
23045 return NULL;
23046 }
23047
23048
23049 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj;
23051 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23052 int result;
23053 PyObject * obj0 = 0 ;
23054 char *kwnames[] = {
23055 (char *) "self", NULL
23056 };
23057
23058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 resultobj = SWIG_PyObj_FromInt((int)result);
23068 return resultobj;
23069 fail:
23070 return NULL;
23071 }
23072
23073
23074 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23075 PyObject *resultobj;
23076 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23077 wxKeyEvent *arg2 = 0 ;
23078 PyObject * obj0 = 0 ;
23079 PyObject * obj1 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self",(char *) "evt", NULL
23082 };
23083
23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23087 if (arg2 == NULL) {
23088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23089 }
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 Py_INCREF(Py_None); resultobj = Py_None;
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj;
23106 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23107 wxString *result;
23108 PyObject * obj0 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 {
23118 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23119 result = (wxString *) &_result_ref;
23120 }
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 {
23126 #if wxUSE_UNICODE
23127 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23128 #else
23129 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23130 #endif
23131 }
23132 return resultobj;
23133 fail:
23134 return NULL;
23135 }
23136
23137
23138 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23139 PyObject *resultobj;
23140 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23141 wxString *arg2 = 0 ;
23142 bool temp2 = False ;
23143 PyObject * obj0 = 0 ;
23144 PyObject * obj1 = 0 ;
23145 char *kwnames[] = {
23146 (char *) "self",(char *) "label", NULL
23147 };
23148
23149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23151 {
23152 arg2 = wxString_in_helper(obj1);
23153 if (arg2 == NULL) SWIG_fail;
23154 temp2 = True;
23155 }
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 (arg1)->SetLabel((wxString const &)*arg2);
23159
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 Py_INCREF(Py_None); resultobj = Py_None;
23164 {
23165 if (temp2)
23166 delete arg2;
23167 }
23168 return resultobj;
23169 fail:
23170 {
23171 if (temp2)
23172 delete arg2;
23173 }
23174 return NULL;
23175 }
23176
23177
23178 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23179 PyObject *resultobj;
23180 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23181 bool result;
23182 PyObject * obj0 = 0 ;
23183 char *kwnames[] = {
23184 (char *) "self", NULL
23185 };
23186
23187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23189 {
23190 PyThreadState* __tstate = wxPyBeginAllowThreads();
23191 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23192
23193 wxPyEndAllowThreads(__tstate);
23194 if (PyErr_Occurred()) SWIG_fail;
23195 }
23196 resultobj = SWIG_PyObj_FromBool((bool)result);
23197 return resultobj;
23198 fail:
23199 return NULL;
23200 }
23201
23202
23203 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23204 PyObject *resultobj;
23205 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23206 bool arg2 ;
23207 PyObject * obj0 = 0 ;
23208 PyObject * obj1 = 0 ;
23209 char *kwnames[] = {
23210 (char *) "self",(char *) "editCancelled", NULL
23211 };
23212
23213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23215 {
23216 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 {
23220 PyThreadState* __tstate = wxPyBeginAllowThreads();
23221 (arg1)->SetEditCanceled(arg2);
23222
23223 wxPyEndAllowThreads(__tstate);
23224 if (PyErr_Occurred()) SWIG_fail;
23225 }
23226 Py_INCREF(Py_None); resultobj = Py_None;
23227 return resultobj;
23228 fail:
23229 return NULL;
23230 }
23231
23232
23233 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23234 PyObject *resultobj;
23235 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23236 wxString *arg2 = 0 ;
23237 bool temp2 = False ;
23238 PyObject * obj0 = 0 ;
23239 PyObject * obj1 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self",(char *) "toolTip", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23246 {
23247 arg2 = wxString_in_helper(obj1);
23248 if (arg2 == NULL) SWIG_fail;
23249 temp2 = True;
23250 }
23251 {
23252 PyThreadState* __tstate = wxPyBeginAllowThreads();
23253 (arg1)->SetToolTip((wxString const &)*arg2);
23254
23255 wxPyEndAllowThreads(__tstate);
23256 if (PyErr_Occurred()) SWIG_fail;
23257 }
23258 Py_INCREF(Py_None); resultobj = Py_None;
23259 {
23260 if (temp2)
23261 delete arg2;
23262 }
23263 return resultobj;
23264 fail:
23265 {
23266 if (temp2)
23267 delete arg2;
23268 }
23269 return NULL;
23270 }
23271
23272
23273 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23274 PyObject *obj;
23275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23276 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23277 Py_INCREF(obj);
23278 return Py_BuildValue((char *)"");
23279 }
23280 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
23282 wxWindow *arg1 = (wxWindow *) 0 ;
23283 int arg2 = (int) -1 ;
23284 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23285 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23286 wxSize const &arg4_defvalue = wxDefaultSize ;
23287 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23288 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23289 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23290 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23291 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23292 wxString *arg7 = (wxString *) &arg7_defvalue ;
23293 wxPyTreeCtrl *result;
23294 wxPoint temp3 ;
23295 wxSize temp4 ;
23296 bool temp7 = False ;
23297 PyObject * obj0 = 0 ;
23298 PyObject * obj1 = 0 ;
23299 PyObject * obj2 = 0 ;
23300 PyObject * obj3 = 0 ;
23301 PyObject * obj4 = 0 ;
23302 PyObject * obj5 = 0 ;
23303 PyObject * obj6 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23310 if (obj1) {
23311 {
23312 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 }
23315 }
23316 if (obj2) {
23317 {
23318 arg3 = &temp3;
23319 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23320 }
23321 }
23322 if (obj3) {
23323 {
23324 arg4 = &temp4;
23325 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23326 }
23327 }
23328 if (obj4) {
23329 {
23330 arg5 = (long) SWIG_PyObj_AsLong(obj4);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
23333 }
23334 if (obj5) {
23335 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23336 if (arg6 == NULL) {
23337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23338 }
23339 }
23340 if (obj6) {
23341 {
23342 arg7 = wxString_in_helper(obj6);
23343 if (arg7 == NULL) SWIG_fail;
23344 temp7 = True;
23345 }
23346 }
23347 {
23348 PyThreadState* __tstate = wxPyBeginAllowThreads();
23349 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23350
23351 wxPyEndAllowThreads(__tstate);
23352 if (PyErr_Occurred()) SWIG_fail;
23353 }
23354 {
23355 resultobj = wxPyMake_wxObject(result);
23356 }
23357 {
23358 if (temp7)
23359 delete arg7;
23360 }
23361 return resultobj;
23362 fail:
23363 {
23364 if (temp7)
23365 delete arg7;
23366 }
23367 return NULL;
23368 }
23369
23370
23371 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23372 PyObject *resultobj;
23373 wxPyTreeCtrl *result;
23374 char *kwnames[] = {
23375 NULL
23376 };
23377
23378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23379 {
23380 PyThreadState* __tstate = wxPyBeginAllowThreads();
23381 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23382
23383 wxPyEndAllowThreads(__tstate);
23384 if (PyErr_Occurred()) SWIG_fail;
23385 }
23386 {
23387 resultobj = wxPyMake_wxObject(result);
23388 }
23389 return resultobj;
23390 fail:
23391 return NULL;
23392 }
23393
23394
23395 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj;
23397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23398 wxWindow *arg2 = (wxWindow *) 0 ;
23399 int arg3 = (int) -1 ;
23400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23402 wxSize const &arg5_defvalue = wxDefaultSize ;
23403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23404 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23405 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23406 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23407 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23408 wxString *arg8 = (wxString *) &arg8_defvalue ;
23409 bool result;
23410 wxPoint temp4 ;
23411 wxSize temp5 ;
23412 bool temp8 = False ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 PyObject * obj2 = 0 ;
23416 PyObject * obj3 = 0 ;
23417 PyObject * obj4 = 0 ;
23418 PyObject * obj5 = 0 ;
23419 PyObject * obj6 = 0 ;
23420 PyObject * obj7 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23428 if (obj2) {
23429 {
23430 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 }
23434 if (obj3) {
23435 {
23436 arg4 = &temp4;
23437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23438 }
23439 }
23440 if (obj4) {
23441 {
23442 arg5 = &temp5;
23443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23444 }
23445 }
23446 if (obj5) {
23447 {
23448 arg6 = (long) SWIG_PyObj_AsLong(obj5);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 }
23452 if (obj6) {
23453 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23454 if (arg7 == NULL) {
23455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23456 }
23457 }
23458 if (obj7) {
23459 {
23460 arg8 = wxString_in_helper(obj7);
23461 if (arg8 == NULL) SWIG_fail;
23462 temp8 = True;
23463 }
23464 }
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23468
23469 wxPyEndAllowThreads(__tstate);
23470 if (PyErr_Occurred()) SWIG_fail;
23471 }
23472 resultobj = SWIG_PyObj_FromBool((bool)result);
23473 {
23474 if (temp8)
23475 delete arg8;
23476 }
23477 return resultobj;
23478 fail:
23479 {
23480 if (temp8)
23481 delete arg8;
23482 }
23483 return NULL;
23484 }
23485
23486
23487 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23488 PyObject *resultobj;
23489 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23490 PyObject *arg2 = (PyObject *) 0 ;
23491 PyObject *arg3 = (PyObject *) 0 ;
23492 PyObject * obj0 = 0 ;
23493 PyObject * obj1 = 0 ;
23494 PyObject * obj2 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self",(char *) "self",(char *) "_class", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23501 arg2 = obj1;
23502 arg3 = obj2;
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 (arg1)->_setCallbackInfo(arg2,arg3);
23506
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 Py_INCREF(Py_None); resultobj = Py_None;
23511 return resultobj;
23512 fail:
23513 return NULL;
23514 }
23515
23516
23517 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23518 PyObject *resultobj;
23519 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23520 size_t result;
23521 PyObject * obj0 = 0 ;
23522 char *kwnames[] = {
23523 (char *) "self", NULL
23524 };
23525
23526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23531
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23536 return resultobj;
23537 fail:
23538 return NULL;
23539 }
23540
23541
23542 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23543 PyObject *resultobj;
23544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23545 unsigned int result;
23546 PyObject * obj0 = 0 ;
23547 char *kwnames[] = {
23548 (char *) "self", NULL
23549 };
23550
23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23556
23557 wxPyEndAllowThreads(__tstate);
23558 if (PyErr_Occurred()) SWIG_fail;
23559 }
23560 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23561 return resultobj;
23562 fail:
23563 return NULL;
23564 }
23565
23566
23567 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23570 unsigned int arg2 ;
23571 PyObject * obj0 = 0 ;
23572 PyObject * obj1 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self",(char *) "indent", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23579 {
23580 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23581 if (PyErr_Occurred()) SWIG_fail;
23582 }
23583 {
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 (arg1)->SetIndent(arg2);
23586
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 Py_INCREF(Py_None); resultobj = Py_None;
23591 return resultobj;
23592 fail:
23593 return NULL;
23594 }
23595
23596
23597 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23598 PyObject *resultobj;
23599 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23600 unsigned int result;
23601 PyObject * obj0 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23616 return resultobj;
23617 fail:
23618 return NULL;
23619 }
23620
23621
23622 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23625 unsigned int arg2 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "spacing", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23634 {
23635 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23636 if (PyErr_Occurred()) SWIG_fail;
23637 }
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 (arg1)->SetSpacing(arg2);
23641
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 Py_INCREF(Py_None); resultobj = Py_None;
23646 return resultobj;
23647 fail:
23648 return NULL;
23649 }
23650
23651
23652 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23653 PyObject *resultobj;
23654 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23655 wxImageList *result;
23656 PyObject * obj0 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
23662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23663 {
23664 PyThreadState* __tstate = wxPyBeginAllowThreads();
23665 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
23666
23667 wxPyEndAllowThreads(__tstate);
23668 if (PyErr_Occurred()) SWIG_fail;
23669 }
23670 {
23671 resultobj = wxPyMake_wxObject(result);
23672 }
23673 return resultobj;
23674 fail:
23675 return NULL;
23676 }
23677
23678
23679 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23680 PyObject *resultobj;
23681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23682 wxImageList *result;
23683 PyObject * obj0 = 0 ;
23684 char *kwnames[] = {
23685 (char *) "self", NULL
23686 };
23687
23688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
23689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23690 {
23691 PyThreadState* __tstate = wxPyBeginAllowThreads();
23692 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
23693
23694 wxPyEndAllowThreads(__tstate);
23695 if (PyErr_Occurred()) SWIG_fail;
23696 }
23697 {
23698 resultobj = wxPyMake_wxObject(result);
23699 }
23700 return resultobj;
23701 fail:
23702 return NULL;
23703 }
23704
23705
23706 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23707 PyObject *resultobj;
23708 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23709 wxImageList *arg2 = (wxImageList *) 0 ;
23710 PyObject * obj0 = 0 ;
23711 PyObject * obj1 = 0 ;
23712 char *kwnames[] = {
23713 (char *) "self",(char *) "imageList", NULL
23714 };
23715
23716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
23717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23719 {
23720 PyThreadState* __tstate = wxPyBeginAllowThreads();
23721 (arg1)->SetImageList(arg2);
23722
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 Py_INCREF(Py_None); resultobj = Py_None;
23727 return resultobj;
23728 fail:
23729 return NULL;
23730 }
23731
23732
23733 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23734 PyObject *resultobj;
23735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23736 wxImageList *arg2 = (wxImageList *) 0 ;
23737 PyObject * obj0 = 0 ;
23738 PyObject * obj1 = 0 ;
23739 char *kwnames[] = {
23740 (char *) "self",(char *) "imageList", NULL
23741 };
23742
23743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
23744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 (arg1)->SetStateImageList(arg2);
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
23753 Py_INCREF(Py_None); resultobj = Py_None;
23754 return resultobj;
23755 fail:
23756 return NULL;
23757 }
23758
23759
23760 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23761 PyObject *resultobj;
23762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23763 wxImageList *arg2 = (wxImageList *) 0 ;
23764 PyObject * obj0 = 0 ;
23765 PyObject * obj1 = 0 ;
23766 char *kwnames[] = {
23767 (char *) "self",(char *) "imageList", NULL
23768 };
23769
23770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
23771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23773 {
23774 PyThreadState* __tstate = wxPyBeginAllowThreads();
23775 (arg1)->AssignImageList(arg2);
23776
23777 wxPyEndAllowThreads(__tstate);
23778 if (PyErr_Occurred()) SWIG_fail;
23779 }
23780 Py_INCREF(Py_None); resultobj = Py_None;
23781 return resultobj;
23782 fail:
23783 return NULL;
23784 }
23785
23786
23787 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj;
23789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23790 wxImageList *arg2 = (wxImageList *) 0 ;
23791 PyObject * obj0 = 0 ;
23792 PyObject * obj1 = 0 ;
23793 char *kwnames[] = {
23794 (char *) "self",(char *) "imageList", NULL
23795 };
23796
23797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
23798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
23800 {
23801 PyThreadState* __tstate = wxPyBeginAllowThreads();
23802 (arg1)->AssignStateImageList(arg2);
23803
23804 wxPyEndAllowThreads(__tstate);
23805 if (PyErr_Occurred()) SWIG_fail;
23806 }
23807 Py_INCREF(Py_None); resultobj = Py_None;
23808 return resultobj;
23809 fail:
23810 return NULL;
23811 }
23812
23813
23814 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
23815 PyObject *resultobj;
23816 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23817 wxTreeItemId *arg2 = 0 ;
23818 wxString result;
23819 PyObject * obj0 = 0 ;
23820 PyObject * obj1 = 0 ;
23821 char *kwnames[] = {
23822 (char *) "self",(char *) "item", NULL
23823 };
23824
23825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
23826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23827 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23828 if (arg2 == NULL) {
23829 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23830 }
23831 {
23832 PyThreadState* __tstate = wxPyBeginAllowThreads();
23833 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
23834
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 {
23839 #if wxUSE_UNICODE
23840 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23841 #else
23842 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23843 #endif
23844 }
23845 return resultobj;
23846 fail:
23847 return NULL;
23848 }
23849
23850
23851 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23852 PyObject *resultobj;
23853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23854 wxTreeItemId *arg2 = 0 ;
23855 int arg3 = (int) wxTreeItemIcon_Normal ;
23856 int result;
23857 PyObject * obj0 = 0 ;
23858 PyObject * obj1 = 0 ;
23859 PyObject * obj2 = 0 ;
23860 char *kwnames[] = {
23861 (char *) "self",(char *) "item",(char *) "which", NULL
23862 };
23863
23864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23867 if (arg2 == NULL) {
23868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23869 }
23870 if (obj2) {
23871 {
23872 arg3 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj2);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 }
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
23879
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
23883 resultobj = SWIG_PyObj_FromInt((int)result);
23884 return resultobj;
23885 fail:
23886 return NULL;
23887 }
23888
23889
23890 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23891 PyObject *resultobj;
23892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23893 wxTreeItemId *arg2 = 0 ;
23894 wxPyTreeItemData *result;
23895 PyObject * obj0 = 0 ;
23896 PyObject * obj1 = 0 ;
23897 char *kwnames[] = {
23898 (char *) "self",(char *) "item", NULL
23899 };
23900
23901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
23902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23904 if (arg2 == NULL) {
23905 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23906 }
23907 {
23908 PyThreadState* __tstate = wxPyBeginAllowThreads();
23909 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
23910
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
23915 return resultobj;
23916 fail:
23917 return NULL;
23918 }
23919
23920
23921 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
23922 PyObject *resultobj;
23923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23924 wxTreeItemId *arg2 = 0 ;
23925 PyObject *result;
23926 PyObject * obj0 = 0 ;
23927 PyObject * obj1 = 0 ;
23928 char *kwnames[] = {
23929 (char *) "self",(char *) "item", NULL
23930 };
23931
23932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
23933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23935 if (arg2 == NULL) {
23936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23937 }
23938 {
23939 PyThreadState* __tstate = wxPyBeginAllowThreads();
23940 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
23941
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 resultobj = result;
23946 return resultobj;
23947 fail:
23948 return NULL;
23949 }
23950
23951
23952 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23953 PyObject *resultobj;
23954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23955 wxTreeItemId *arg2 = 0 ;
23956 wxColour result;
23957 PyObject * obj0 = 0 ;
23958 PyObject * obj1 = 0 ;
23959 char *kwnames[] = {
23960 (char *) "self",(char *) "item", NULL
23961 };
23962
23963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23966 if (arg2 == NULL) {
23967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23968 }
23969 {
23970 PyThreadState* __tstate = wxPyBeginAllowThreads();
23971 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
23972
23973 wxPyEndAllowThreads(__tstate);
23974 if (PyErr_Occurred()) SWIG_fail;
23975 }
23976 {
23977 wxColour * resultptr;
23978 resultptr = new wxColour((wxColour &) result);
23979 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
23980 }
23981 return resultobj;
23982 fail:
23983 return NULL;
23984 }
23985
23986
23987 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23988 PyObject *resultobj;
23989 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23990 wxTreeItemId *arg2 = 0 ;
23991 wxColour result;
23992 PyObject * obj0 = 0 ;
23993 PyObject * obj1 = 0 ;
23994 char *kwnames[] = {
23995 (char *) "self",(char *) "item", NULL
23996 };
23997
23998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24001 if (arg2 == NULL) {
24002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24003 }
24004 {
24005 PyThreadState* __tstate = wxPyBeginAllowThreads();
24006 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24007
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 {
24012 wxColour * resultptr;
24013 resultptr = new wxColour((wxColour &) result);
24014 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24015 }
24016 return resultobj;
24017 fail:
24018 return NULL;
24019 }
24020
24021
24022 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24023 PyObject *resultobj;
24024 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24025 wxTreeItemId *arg2 = 0 ;
24026 wxFont result;
24027 PyObject * obj0 = 0 ;
24028 PyObject * obj1 = 0 ;
24029 char *kwnames[] = {
24030 (char *) "self",(char *) "item", NULL
24031 };
24032
24033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24036 if (arg2 == NULL) {
24037 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24038 }
24039 {
24040 PyThreadState* __tstate = wxPyBeginAllowThreads();
24041 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24042
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 {
24047 wxFont * resultptr;
24048 resultptr = new wxFont((wxFont &) result);
24049 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
24050 }
24051 return resultobj;
24052 fail:
24053 return NULL;
24054 }
24055
24056
24057 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24058 PyObject *resultobj;
24059 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24060 wxTreeItemId *arg2 = 0 ;
24061 wxString *arg3 = 0 ;
24062 bool temp3 = False ;
24063 PyObject * obj0 = 0 ;
24064 PyObject * obj1 = 0 ;
24065 PyObject * obj2 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self",(char *) "item",(char *) "text", NULL
24068 };
24069
24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24073 if (arg2 == NULL) {
24074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24075 }
24076 {
24077 arg3 = wxString_in_helper(obj2);
24078 if (arg3 == NULL) SWIG_fail;
24079 temp3 = True;
24080 }
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24084
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 Py_INCREF(Py_None); resultobj = Py_None;
24089 {
24090 if (temp3)
24091 delete arg3;
24092 }
24093 return resultobj;
24094 fail:
24095 {
24096 if (temp3)
24097 delete arg3;
24098 }
24099 return NULL;
24100 }
24101
24102
24103 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24104 PyObject *resultobj;
24105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24106 wxTreeItemId *arg2 = 0 ;
24107 int arg3 ;
24108 int arg4 = (int) wxTreeItemIcon_Normal ;
24109 PyObject * obj0 = 0 ;
24110 PyObject * obj1 = 0 ;
24111 PyObject * obj2 = 0 ;
24112 PyObject * obj3 = 0 ;
24113 char *kwnames[] = {
24114 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24115 };
24116
24117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24120 if (arg2 == NULL) {
24121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24122 }
24123 {
24124 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24125 if (PyErr_Occurred()) SWIG_fail;
24126 }
24127 if (obj3) {
24128 {
24129 arg4 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj3);
24130 if (PyErr_Occurred()) SWIG_fail;
24131 }
24132 }
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 Py_INCREF(Py_None); resultobj = Py_None;
24141 return resultobj;
24142 fail:
24143 return NULL;
24144 }
24145
24146
24147 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24148 PyObject *resultobj;
24149 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24150 wxTreeItemId *arg2 = 0 ;
24151 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24152 PyObject * obj0 = 0 ;
24153 PyObject * obj1 = 0 ;
24154 PyObject * obj2 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self",(char *) "item",(char *) "data", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24162 if (arg2 == NULL) {
24163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24164 }
24165 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24169
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
24173 Py_INCREF(Py_None); resultobj = Py_None;
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj;
24182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24183 wxTreeItemId *arg2 = 0 ;
24184 PyObject *arg3 = (PyObject *) 0 ;
24185 PyObject * obj0 = 0 ;
24186 PyObject * obj1 = 0 ;
24187 PyObject * obj2 = 0 ;
24188 char *kwnames[] = {
24189 (char *) "self",(char *) "item",(char *) "obj", NULL
24190 };
24191
24192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24195 if (arg2 == NULL) {
24196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24197 }
24198 arg3 = obj2;
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24202
24203 wxPyEndAllowThreads(__tstate);
24204 if (PyErr_Occurred()) SWIG_fail;
24205 }
24206 Py_INCREF(Py_None); resultobj = Py_None;
24207 return resultobj;
24208 fail:
24209 return NULL;
24210 }
24211
24212
24213 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24214 PyObject *resultobj;
24215 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24216 wxTreeItemId *arg2 = 0 ;
24217 bool arg3 = (bool) True ;
24218 PyObject * obj0 = 0 ;
24219 PyObject * obj1 = 0 ;
24220 PyObject * obj2 = 0 ;
24221 char *kwnames[] = {
24222 (char *) "self",(char *) "item",(char *) "has", NULL
24223 };
24224
24225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24228 if (arg2 == NULL) {
24229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24230 }
24231 if (obj2) {
24232 {
24233 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 }
24237 {
24238 PyThreadState* __tstate = wxPyBeginAllowThreads();
24239 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24240
24241 wxPyEndAllowThreads(__tstate);
24242 if (PyErr_Occurred()) SWIG_fail;
24243 }
24244 Py_INCREF(Py_None); resultobj = Py_None;
24245 return resultobj;
24246 fail:
24247 return NULL;
24248 }
24249
24250
24251 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj;
24253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24254 wxTreeItemId *arg2 = 0 ;
24255 bool arg3 = (bool) True ;
24256 PyObject * obj0 = 0 ;
24257 PyObject * obj1 = 0 ;
24258 PyObject * obj2 = 0 ;
24259 char *kwnames[] = {
24260 (char *) "self",(char *) "item",(char *) "bold", NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24266 if (arg2 == NULL) {
24267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24268 }
24269 if (obj2) {
24270 {
24271 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24272 if (PyErr_Occurred()) SWIG_fail;
24273 }
24274 }
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 Py_INCREF(Py_None); resultobj = Py_None;
24283 return resultobj;
24284 fail:
24285 return NULL;
24286 }
24287
24288
24289 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj;
24291 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24292 wxTreeItemId *arg2 = 0 ;
24293 wxColour *arg3 = 0 ;
24294 wxColour temp3 ;
24295 PyObject * obj0 = 0 ;
24296 PyObject * obj1 = 0 ;
24297 PyObject * obj2 = 0 ;
24298 char *kwnames[] = {
24299 (char *) "self",(char *) "item",(char *) "col", NULL
24300 };
24301
24302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24305 if (arg2 == NULL) {
24306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24307 }
24308 {
24309 arg3 = &temp3;
24310 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24311 }
24312 {
24313 PyThreadState* __tstate = wxPyBeginAllowThreads();
24314 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24315
24316 wxPyEndAllowThreads(__tstate);
24317 if (PyErr_Occurred()) SWIG_fail;
24318 }
24319 Py_INCREF(Py_None); resultobj = Py_None;
24320 return resultobj;
24321 fail:
24322 return NULL;
24323 }
24324
24325
24326 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24327 PyObject *resultobj;
24328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24329 wxTreeItemId *arg2 = 0 ;
24330 wxColour *arg3 = 0 ;
24331 wxColour temp3 ;
24332 PyObject * obj0 = 0 ;
24333 PyObject * obj1 = 0 ;
24334 PyObject * obj2 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self",(char *) "item",(char *) "col", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24342 if (arg2 == NULL) {
24343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24344 }
24345 {
24346 arg3 = &temp3;
24347 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24348 }
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24352
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 Py_INCREF(Py_None); resultobj = Py_None;
24357 return resultobj;
24358 fail:
24359 return NULL;
24360 }
24361
24362
24363 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24366 wxTreeItemId *arg2 = 0 ;
24367 wxFont *arg3 = 0 ;
24368 PyObject * obj0 = 0 ;
24369 PyObject * obj1 = 0 ;
24370 PyObject * obj2 = 0 ;
24371 char *kwnames[] = {
24372 (char *) "self",(char *) "item",(char *) "font", NULL
24373 };
24374
24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24378 if (arg2 == NULL) {
24379 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24380 }
24381 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24382 if (arg3 == NULL) {
24383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24384 }
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 Py_INCREF(Py_None); resultobj = Py_None;
24393 return resultobj;
24394 fail:
24395 return NULL;
24396 }
24397
24398
24399 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24400 PyObject *resultobj;
24401 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24402 wxTreeItemId *arg2 = 0 ;
24403 bool result;
24404 PyObject * obj0 = 0 ;
24405 PyObject * obj1 = 0 ;
24406 char *kwnames[] = {
24407 (char *) "self",(char *) "item", NULL
24408 };
24409
24410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24412 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24413 if (arg2 == NULL) {
24414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24415 }
24416 {
24417 PyThreadState* __tstate = wxPyBeginAllowThreads();
24418 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24419
24420 wxPyEndAllowThreads(__tstate);
24421 if (PyErr_Occurred()) SWIG_fail;
24422 }
24423 resultobj = SWIG_PyObj_FromBool((bool)result);
24424 return resultobj;
24425 fail:
24426 return NULL;
24427 }
24428
24429
24430 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24431 PyObject *resultobj;
24432 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24433 wxTreeItemId *arg2 = 0 ;
24434 bool result;
24435 PyObject * obj0 = 0 ;
24436 PyObject * obj1 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self",(char *) "item", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24444 if (arg2 == NULL) {
24445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24446 }
24447 {
24448 PyThreadState* __tstate = wxPyBeginAllowThreads();
24449 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24450
24451 wxPyEndAllowThreads(__tstate);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 }
24454 resultobj = SWIG_PyObj_FromBool((bool)result);
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24464 wxTreeItemId *arg2 = 0 ;
24465 bool result;
24466 PyObject * obj0 = 0 ;
24467 PyObject * obj1 = 0 ;
24468 char *kwnames[] = {
24469 (char *) "self",(char *) "item", NULL
24470 };
24471
24472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24475 if (arg2 == NULL) {
24476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24477 }
24478 {
24479 PyThreadState* __tstate = wxPyBeginAllowThreads();
24480 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24481
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 resultobj = SWIG_PyObj_FromBool((bool)result);
24486 return resultobj;
24487 fail:
24488 return NULL;
24489 }
24490
24491
24492 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj;
24494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24495 wxTreeItemId *arg2 = 0 ;
24496 bool result;
24497 PyObject * obj0 = 0 ;
24498 PyObject * obj1 = 0 ;
24499 char *kwnames[] = {
24500 (char *) "self",(char *) "item", NULL
24501 };
24502
24503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24506 if (arg2 == NULL) {
24507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24508 }
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 resultobj = SWIG_PyObj_FromBool((bool)result);
24517 return resultobj;
24518 fail:
24519 return NULL;
24520 }
24521
24522
24523 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24526 wxTreeItemId *arg2 = 0 ;
24527 bool result;
24528 PyObject * obj0 = 0 ;
24529 PyObject * obj1 = 0 ;
24530 char *kwnames[] = {
24531 (char *) "self",(char *) "item", NULL
24532 };
24533
24534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24537 if (arg2 == NULL) {
24538 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24539 }
24540 {
24541 PyThreadState* __tstate = wxPyBeginAllowThreads();
24542 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24543
24544 wxPyEndAllowThreads(__tstate);
24545 if (PyErr_Occurred()) SWIG_fail;
24546 }
24547 resultobj = SWIG_PyObj_FromBool((bool)result);
24548 return resultobj;
24549 fail:
24550 return NULL;
24551 }
24552
24553
24554 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24555 PyObject *resultobj;
24556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24557 wxTreeItemId *arg2 = 0 ;
24558 bool arg3 = (bool) True ;
24559 size_t result;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj1 = 0 ;
24562 PyObject * obj2 = 0 ;
24563 char *kwnames[] = {
24564 (char *) "self",(char *) "item",(char *) "recursively", NULL
24565 };
24566
24567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24570 if (arg2 == NULL) {
24571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24572 }
24573 if (obj2) {
24574 {
24575 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 }
24579 {
24580 PyThreadState* __tstate = wxPyBeginAllowThreads();
24581 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24582
24583 wxPyEndAllowThreads(__tstate);
24584 if (PyErr_Occurred()) SWIG_fail;
24585 }
24586 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24587 return resultobj;
24588 fail:
24589 return NULL;
24590 }
24591
24592
24593 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24594 PyObject *resultobj;
24595 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24596 wxTreeItemId result;
24597 PyObject * obj0 = 0 ;
24598 char *kwnames[] = {
24599 (char *) "self", NULL
24600 };
24601
24602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24604 {
24605 PyThreadState* __tstate = wxPyBeginAllowThreads();
24606 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
24607
24608 wxPyEndAllowThreads(__tstate);
24609 if (PyErr_Occurred()) SWIG_fail;
24610 }
24611 {
24612 wxTreeItemId * resultptr;
24613 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24615 }
24616 return resultobj;
24617 fail:
24618 return NULL;
24619 }
24620
24621
24622 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
24623 PyObject *resultobj;
24624 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24625 wxTreeItemId result;
24626 PyObject * obj0 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self", NULL
24629 };
24630
24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
24632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 {
24641 wxTreeItemId * resultptr;
24642 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24643 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24644 }
24645 return resultobj;
24646 fail:
24647 return NULL;
24648 }
24649
24650
24651 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
24652 PyObject *resultobj;
24653 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24654 PyObject *result;
24655 PyObject * obj0 = 0 ;
24656 char *kwnames[] = {
24657 (char *) "self", NULL
24658 };
24659
24660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
24661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 resultobj = result;
24670 return resultobj;
24671 fail:
24672 return NULL;
24673 }
24674
24675
24676 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj;
24678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24679 wxTreeItemId *arg2 = 0 ;
24680 wxTreeItemId result;
24681 PyObject * obj0 = 0 ;
24682 PyObject * obj1 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self",(char *) "item", NULL
24685 };
24686
24687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
24688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24689 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24690 if (arg2 == NULL) {
24691 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24692 }
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
24695 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
24696
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 {
24701 wxTreeItemId * resultptr;
24702 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24703 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24704 }
24705 return resultobj;
24706 fail:
24707 return NULL;
24708 }
24709
24710
24711 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24712 PyObject *resultobj;
24713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24714 wxTreeItemId *arg2 = 0 ;
24715 PyObject *result;
24716 PyObject * obj0 = 0 ;
24717 PyObject * obj1 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "self",(char *) "item", NULL
24720 };
24721
24722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
24723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24725 if (arg2 == NULL) {
24726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24727 }
24728 {
24729 PyThreadState* __tstate = wxPyBeginAllowThreads();
24730 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
24731
24732 wxPyEndAllowThreads(__tstate);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 resultobj = result;
24736 return resultobj;
24737 fail:
24738 return NULL;
24739 }
24740
24741
24742 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24743 PyObject *resultobj;
24744 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24745 wxTreeItemId *arg2 = 0 ;
24746 void *arg3 = (void *) 0 ;
24747 PyObject *result;
24748 PyObject * obj0 = 0 ;
24749 PyObject * obj1 = 0 ;
24750 PyObject * obj2 = 0 ;
24751 char *kwnames[] = {
24752 (char *) "self",(char *) "item",(char *) "cookie", NULL
24753 };
24754
24755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24758 if (arg2 == NULL) {
24759 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24760 }
24761 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24762 {
24763 PyThreadState* __tstate = wxPyBeginAllowThreads();
24764 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
24765
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 resultobj = result;
24770 return resultobj;
24771 fail:
24772 return NULL;
24773 }
24774
24775
24776 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24777 PyObject *resultobj;
24778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24779 wxTreeItemId *arg2 = 0 ;
24780 wxTreeItemId result;
24781 PyObject * obj0 = 0 ;
24782 PyObject * obj1 = 0 ;
24783 char *kwnames[] = {
24784 (char *) "self",(char *) "item", NULL
24785 };
24786
24787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
24788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24790 if (arg2 == NULL) {
24791 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24792 }
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 {
24801 wxTreeItemId * resultptr;
24802 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24803 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24804 }
24805 return resultobj;
24806 fail:
24807 return NULL;
24808 }
24809
24810
24811 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
24812 PyObject *resultobj;
24813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24814 wxTreeItemId *arg2 = 0 ;
24815 wxTreeItemId result;
24816 PyObject * obj0 = 0 ;
24817 PyObject * obj1 = 0 ;
24818 char *kwnames[] = {
24819 (char *) "self",(char *) "item", NULL
24820 };
24821
24822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
24823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24825 if (arg2 == NULL) {
24826 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24827 }
24828 {
24829 PyThreadState* __tstate = wxPyBeginAllowThreads();
24830 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
24831
24832 wxPyEndAllowThreads(__tstate);
24833 if (PyErr_Occurred()) SWIG_fail;
24834 }
24835 {
24836 wxTreeItemId * resultptr;
24837 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24838 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24839 }
24840 return resultobj;
24841 fail:
24842 return NULL;
24843 }
24844
24845
24846 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
24847 PyObject *resultobj;
24848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24849 wxTreeItemId *arg2 = 0 ;
24850 wxTreeItemId result;
24851 PyObject * obj0 = 0 ;
24852 PyObject * obj1 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self",(char *) "item", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
24858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24860 if (arg2 == NULL) {
24861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24862 }
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
24866
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 {
24871 wxTreeItemId * resultptr;
24872 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24873 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24874 }
24875 return resultobj;
24876 fail:
24877 return NULL;
24878 }
24879
24880
24881 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj;
24883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24884 wxTreeItemId result;
24885 PyObject * obj0 = 0 ;
24886 char *kwnames[] = {
24887 (char *) "self", NULL
24888 };
24889
24890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
24891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 {
24900 wxTreeItemId * resultptr;
24901 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24902 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24903 }
24904 return resultobj;
24905 fail:
24906 return NULL;
24907 }
24908
24909
24910 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24911 PyObject *resultobj;
24912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24913 wxTreeItemId *arg2 = 0 ;
24914 wxTreeItemId result;
24915 PyObject * obj0 = 0 ;
24916 PyObject * obj1 = 0 ;
24917 char *kwnames[] = {
24918 (char *) "self",(char *) "item", NULL
24919 };
24920
24921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
24922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24923 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24924 if (arg2 == NULL) {
24925 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24926 }
24927 {
24928 PyThreadState* __tstate = wxPyBeginAllowThreads();
24929 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
24930
24931 wxPyEndAllowThreads(__tstate);
24932 if (PyErr_Occurred()) SWIG_fail;
24933 }
24934 {
24935 wxTreeItemId * resultptr;
24936 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24937 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24938 }
24939 return resultobj;
24940 fail:
24941 return NULL;
24942 }
24943
24944
24945 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj;
24947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24948 wxTreeItemId *arg2 = 0 ;
24949 wxTreeItemId result;
24950 PyObject * obj0 = 0 ;
24951 PyObject * obj1 = 0 ;
24952 char *kwnames[] = {
24953 (char *) "self",(char *) "item", NULL
24954 };
24955
24956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
24957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24959 if (arg2 == NULL) {
24960 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24961 }
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 {
24970 wxTreeItemId * resultptr;
24971 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24972 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24973 }
24974 return resultobj;
24975 fail:
24976 return NULL;
24977 }
24978
24979
24980 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
24981 PyObject *resultobj;
24982 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24983 wxString *arg2 = 0 ;
24984 int arg3 = (int) -1 ;
24985 int arg4 = (int) -1 ;
24986 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
24987 wxTreeItemId result;
24988 bool temp2 = False ;
24989 PyObject * obj0 = 0 ;
24990 PyObject * obj1 = 0 ;
24991 PyObject * obj2 = 0 ;
24992 PyObject * obj3 = 0 ;
24993 PyObject * obj4 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
24999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25000 {
25001 arg2 = wxString_in_helper(obj1);
25002 if (arg2 == NULL) SWIG_fail;
25003 temp2 = True;
25004 }
25005 if (obj2) {
25006 {
25007 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
25010 }
25011 if (obj3) {
25012 {
25013 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
25016 }
25017 if (obj4) {
25018 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25019 }
25020 {
25021 PyThreadState* __tstate = wxPyBeginAllowThreads();
25022 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25023
25024 wxPyEndAllowThreads(__tstate);
25025 if (PyErr_Occurred()) SWIG_fail;
25026 }
25027 {
25028 wxTreeItemId * resultptr;
25029 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25030 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25031 }
25032 {
25033 if (temp2)
25034 delete arg2;
25035 }
25036 return resultobj;
25037 fail:
25038 {
25039 if (temp2)
25040 delete arg2;
25041 }
25042 return NULL;
25043 }
25044
25045
25046 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25047 PyObject *resultobj;
25048 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25049 wxTreeItemId *arg2 = 0 ;
25050 wxString *arg3 = 0 ;
25051 int arg4 = (int) -1 ;
25052 int arg5 = (int) -1 ;
25053 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25054 wxTreeItemId result;
25055 bool temp3 = False ;
25056 PyObject * obj0 = 0 ;
25057 PyObject * obj1 = 0 ;
25058 PyObject * obj2 = 0 ;
25059 PyObject * obj3 = 0 ;
25060 PyObject * obj4 = 0 ;
25061 PyObject * obj5 = 0 ;
25062 char *kwnames[] = {
25063 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25064 };
25065
25066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25069 if (arg2 == NULL) {
25070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25071 }
25072 {
25073 arg3 = wxString_in_helper(obj2);
25074 if (arg3 == NULL) SWIG_fail;
25075 temp3 = True;
25076 }
25077 if (obj3) {
25078 {
25079 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25080 if (PyErr_Occurred()) SWIG_fail;
25081 }
25082 }
25083 if (obj4) {
25084 {
25085 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 }
25089 if (obj5) {
25090 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25091 }
25092 {
25093 PyThreadState* __tstate = wxPyBeginAllowThreads();
25094 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25095
25096 wxPyEndAllowThreads(__tstate);
25097 if (PyErr_Occurred()) SWIG_fail;
25098 }
25099 {
25100 wxTreeItemId * resultptr;
25101 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25102 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25103 }
25104 {
25105 if (temp3)
25106 delete arg3;
25107 }
25108 return resultobj;
25109 fail:
25110 {
25111 if (temp3)
25112 delete arg3;
25113 }
25114 return NULL;
25115 }
25116
25117
25118 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25119 PyObject *resultobj;
25120 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25121 wxTreeItemId *arg2 = 0 ;
25122 wxTreeItemId *arg3 = 0 ;
25123 wxString *arg4 = 0 ;
25124 int arg5 = (int) -1 ;
25125 int arg6 = (int) -1 ;
25126 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25127 wxTreeItemId result;
25128 bool temp4 = False ;
25129 PyObject * obj0 = 0 ;
25130 PyObject * obj1 = 0 ;
25131 PyObject * obj2 = 0 ;
25132 PyObject * obj3 = 0 ;
25133 PyObject * obj4 = 0 ;
25134 PyObject * obj5 = 0 ;
25135 PyObject * obj6 = 0 ;
25136 char *kwnames[] = {
25137 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25138 };
25139
25140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25143 if (arg2 == NULL) {
25144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25145 }
25146 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25147 if (arg3 == NULL) {
25148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25149 }
25150 {
25151 arg4 = wxString_in_helper(obj3);
25152 if (arg4 == NULL) SWIG_fail;
25153 temp4 = True;
25154 }
25155 if (obj4) {
25156 {
25157 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 }
25160 }
25161 if (obj5) {
25162 {
25163 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25164 if (PyErr_Occurred()) SWIG_fail;
25165 }
25166 }
25167 if (obj6) {
25168 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25169 }
25170 {
25171 PyThreadState* __tstate = wxPyBeginAllowThreads();
25172 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25173
25174 wxPyEndAllowThreads(__tstate);
25175 if (PyErr_Occurred()) SWIG_fail;
25176 }
25177 {
25178 wxTreeItemId * resultptr;
25179 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25180 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25181 }
25182 {
25183 if (temp4)
25184 delete arg4;
25185 }
25186 return resultobj;
25187 fail:
25188 {
25189 if (temp4)
25190 delete arg4;
25191 }
25192 return NULL;
25193 }
25194
25195
25196 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj;
25198 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25199 wxTreeItemId *arg2 = 0 ;
25200 size_t arg3 ;
25201 wxString *arg4 = 0 ;
25202 int arg5 = (int) -1 ;
25203 int arg6 = (int) -1 ;
25204 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25205 wxTreeItemId result;
25206 bool temp4 = False ;
25207 PyObject * obj0 = 0 ;
25208 PyObject * obj1 = 0 ;
25209 PyObject * obj2 = 0 ;
25210 PyObject * obj3 = 0 ;
25211 PyObject * obj4 = 0 ;
25212 PyObject * obj5 = 0 ;
25213 PyObject * obj6 = 0 ;
25214 char *kwnames[] = {
25215 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25216 };
25217
25218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25221 if (arg2 == NULL) {
25222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25223 }
25224 {
25225 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
25226 if (PyErr_Occurred()) SWIG_fail;
25227 }
25228 {
25229 arg4 = wxString_in_helper(obj3);
25230 if (arg4 == NULL) SWIG_fail;
25231 temp4 = True;
25232 }
25233 if (obj4) {
25234 {
25235 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
25238 }
25239 if (obj5) {
25240 {
25241 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25242 if (PyErr_Occurred()) SWIG_fail;
25243 }
25244 }
25245 if (obj6) {
25246 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25247 }
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25251
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 {
25256 wxTreeItemId * resultptr;
25257 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25258 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25259 }
25260 {
25261 if (temp4)
25262 delete arg4;
25263 }
25264 return resultobj;
25265 fail:
25266 {
25267 if (temp4)
25268 delete arg4;
25269 }
25270 return NULL;
25271 }
25272
25273
25274 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25275 PyObject *resultobj;
25276 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25277 wxTreeItemId *arg2 = 0 ;
25278 wxString *arg3 = 0 ;
25279 int arg4 = (int) -1 ;
25280 int arg5 = (int) -1 ;
25281 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25282 wxTreeItemId result;
25283 bool temp3 = False ;
25284 PyObject * obj0 = 0 ;
25285 PyObject * obj1 = 0 ;
25286 PyObject * obj2 = 0 ;
25287 PyObject * obj3 = 0 ;
25288 PyObject * obj4 = 0 ;
25289 PyObject * obj5 = 0 ;
25290 char *kwnames[] = {
25291 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25292 };
25293
25294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25297 if (arg2 == NULL) {
25298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25299 }
25300 {
25301 arg3 = wxString_in_helper(obj2);
25302 if (arg3 == NULL) SWIG_fail;
25303 temp3 = True;
25304 }
25305 if (obj3) {
25306 {
25307 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25308 if (PyErr_Occurred()) SWIG_fail;
25309 }
25310 }
25311 if (obj4) {
25312 {
25313 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 }
25317 if (obj5) {
25318 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25319 }
25320 {
25321 PyThreadState* __tstate = wxPyBeginAllowThreads();
25322 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25323
25324 wxPyEndAllowThreads(__tstate);
25325 if (PyErr_Occurred()) SWIG_fail;
25326 }
25327 {
25328 wxTreeItemId * resultptr;
25329 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25330 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25331 }
25332 {
25333 if (temp3)
25334 delete arg3;
25335 }
25336 return resultobj;
25337 fail:
25338 {
25339 if (temp3)
25340 delete arg3;
25341 }
25342 return NULL;
25343 }
25344
25345
25346 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25349 wxTreeItemId *arg2 = 0 ;
25350 PyObject * obj0 = 0 ;
25351 PyObject * obj1 = 0 ;
25352 char *kwnames[] = {
25353 (char *) "self",(char *) "item", NULL
25354 };
25355
25356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25359 if (arg2 == NULL) {
25360 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25361 }
25362 {
25363 PyThreadState* __tstate = wxPyBeginAllowThreads();
25364 (arg1)->Delete((wxTreeItemId const &)*arg2);
25365
25366 wxPyEndAllowThreads(__tstate);
25367 if (PyErr_Occurred()) SWIG_fail;
25368 }
25369 Py_INCREF(Py_None); resultobj = Py_None;
25370 return resultobj;
25371 fail:
25372 return NULL;
25373 }
25374
25375
25376 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25377 PyObject *resultobj;
25378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25379 wxTreeItemId *arg2 = 0 ;
25380 PyObject * obj0 = 0 ;
25381 PyObject * obj1 = 0 ;
25382 char *kwnames[] = {
25383 (char *) "self",(char *) "item", NULL
25384 };
25385
25386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25389 if (arg2 == NULL) {
25390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25391 }
25392 {
25393 PyThreadState* __tstate = wxPyBeginAllowThreads();
25394 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25395
25396 wxPyEndAllowThreads(__tstate);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 }
25399 Py_INCREF(Py_None); resultobj = Py_None;
25400 return resultobj;
25401 fail:
25402 return NULL;
25403 }
25404
25405
25406 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25407 PyObject *resultobj;
25408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25409 PyObject * obj0 = 0 ;
25410 char *kwnames[] = {
25411 (char *) "self", NULL
25412 };
25413
25414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25416 {
25417 PyThreadState* __tstate = wxPyBeginAllowThreads();
25418 (arg1)->DeleteAllItems();
25419
25420 wxPyEndAllowThreads(__tstate);
25421 if (PyErr_Occurred()) SWIG_fail;
25422 }
25423 Py_INCREF(Py_None); resultobj = Py_None;
25424 return resultobj;
25425 fail:
25426 return NULL;
25427 }
25428
25429
25430 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25431 PyObject *resultobj;
25432 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25433 wxTreeItemId *arg2 = 0 ;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 char *kwnames[] = {
25437 (char *) "self",(char *) "item", NULL
25438 };
25439
25440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25443 if (arg2 == NULL) {
25444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25445 }
25446 {
25447 PyThreadState* __tstate = wxPyBeginAllowThreads();
25448 (arg1)->Expand((wxTreeItemId const &)*arg2);
25449
25450 wxPyEndAllowThreads(__tstate);
25451 if (PyErr_Occurred()) SWIG_fail;
25452 }
25453 Py_INCREF(Py_None); resultobj = Py_None;
25454 return resultobj;
25455 fail:
25456 return NULL;
25457 }
25458
25459
25460 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
25461 PyObject *resultobj;
25462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25463 wxTreeItemId *arg2 = 0 ;
25464 PyObject * obj0 = 0 ;
25465 PyObject * obj1 = 0 ;
25466 char *kwnames[] = {
25467 (char *) "self",(char *) "item", NULL
25468 };
25469
25470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25473 if (arg2 == NULL) {
25474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25475 }
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25479
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 Py_INCREF(Py_None); resultobj = Py_None;
25484 return resultobj;
25485 fail:
25486 return NULL;
25487 }
25488
25489
25490 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj;
25492 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25493 wxTreeItemId *arg2 = 0 ;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj1 = 0 ;
25496 char *kwnames[] = {
25497 (char *) "self",(char *) "item", NULL
25498 };
25499
25500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25503 if (arg2 == NULL) {
25504 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25505 }
25506 {
25507 PyThreadState* __tstate = wxPyBeginAllowThreads();
25508 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25509
25510 wxPyEndAllowThreads(__tstate);
25511 if (PyErr_Occurred()) SWIG_fail;
25512 }
25513 Py_INCREF(Py_None); resultobj = Py_None;
25514 return resultobj;
25515 fail:
25516 return NULL;
25517 }
25518
25519
25520 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
25521 PyObject *resultobj;
25522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25523 wxTreeItemId *arg2 = 0 ;
25524 PyObject * obj0 = 0 ;
25525 PyObject * obj1 = 0 ;
25526 char *kwnames[] = {
25527 (char *) "self",(char *) "item", NULL
25528 };
25529
25530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25533 if (arg2 == NULL) {
25534 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25535 }
25536 {
25537 PyThreadState* __tstate = wxPyBeginAllowThreads();
25538 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25539
25540 wxPyEndAllowThreads(__tstate);
25541 if (PyErr_Occurred()) SWIG_fail;
25542 }
25543 Py_INCREF(Py_None); resultobj = Py_None;
25544 return resultobj;
25545 fail:
25546 return NULL;
25547 }
25548
25549
25550 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
25551 PyObject *resultobj;
25552 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25553 PyObject * obj0 = 0 ;
25554 char *kwnames[] = {
25555 (char *) "self", NULL
25556 };
25557
25558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25560 {
25561 PyThreadState* __tstate = wxPyBeginAllowThreads();
25562 (arg1)->Unselect();
25563
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 Py_INCREF(Py_None); resultobj = Py_None;
25568 return resultobj;
25569 fail:
25570 return NULL;
25571 }
25572
25573
25574 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25575 PyObject *resultobj;
25576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25577 PyObject * obj0 = 0 ;
25578 char *kwnames[] = {
25579 (char *) "self", NULL
25580 };
25581
25582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25584 {
25585 PyThreadState* __tstate = wxPyBeginAllowThreads();
25586 (arg1)->UnselectAll();
25587
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 Py_INCREF(Py_None); resultobj = Py_None;
25592 return resultobj;
25593 fail:
25594 return NULL;
25595 }
25596
25597
25598 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25599 PyObject *resultobj;
25600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25601 wxTreeItemId *arg2 = 0 ;
25602 PyObject * obj0 = 0 ;
25603 PyObject * obj1 = 0 ;
25604 char *kwnames[] = {
25605 (char *) "self",(char *) "item", NULL
25606 };
25607
25608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
25609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25610 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25611 if (arg2 == NULL) {
25612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25613 }
25614 {
25615 PyThreadState* __tstate = wxPyBeginAllowThreads();
25616 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
25617
25618 wxPyEndAllowThreads(__tstate);
25619 if (PyErr_Occurred()) SWIG_fail;
25620 }
25621 Py_INCREF(Py_None); resultobj = Py_None;
25622 return resultobj;
25623 fail:
25624 return NULL;
25625 }
25626
25627
25628 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25629 PyObject *resultobj;
25630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25631 wxTreeItemId *arg2 = 0 ;
25632 PyObject * obj0 = 0 ;
25633 PyObject * obj1 = 0 ;
25634 char *kwnames[] = {
25635 (char *) "self",(char *) "item", NULL
25636 };
25637
25638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
25639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25641 if (arg2 == NULL) {
25642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25643 }
25644 {
25645 PyThreadState* __tstate = wxPyBeginAllowThreads();
25646 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
25647
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 Py_INCREF(Py_None); resultobj = Py_None;
25652 return resultobj;
25653 fail:
25654 return NULL;
25655 }
25656
25657
25658 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
25659 PyObject *resultobj;
25660 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25661 wxTreeItemId *arg2 = 0 ;
25662 PyObject * obj0 = 0 ;
25663 PyObject * obj1 = 0 ;
25664 char *kwnames[] = {
25665 (char *) "self",(char *) "item", NULL
25666 };
25667
25668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
25669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25671 if (arg2 == NULL) {
25672 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25673 }
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 Py_INCREF(Py_None); resultobj = Py_None;
25682 return resultobj;
25683 fail:
25684 return NULL;
25685 }
25686
25687
25688 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
25689 PyObject *resultobj;
25690 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25691 wxTreeItemId *arg2 = 0 ;
25692 PyObject * obj0 = 0 ;
25693 PyObject * obj1 = 0 ;
25694 char *kwnames[] = {
25695 (char *) "self",(char *) "item", NULL
25696 };
25697
25698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
25699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25701 if (arg2 == NULL) {
25702 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25703 }
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
25707
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 Py_INCREF(Py_None); resultobj = Py_None;
25712 return resultobj;
25713 fail:
25714 return NULL;
25715 }
25716
25717
25718 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj;
25720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25721 wxTextCtrl *result;
25722 PyObject * obj0 = 0 ;
25723 char *kwnames[] = {
25724 (char *) "self", NULL
25725 };
25726
25727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
25728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25729 {
25730 PyThreadState* __tstate = wxPyBeginAllowThreads();
25731 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
25732
25733 wxPyEndAllowThreads(__tstate);
25734 if (PyErr_Occurred()) SWIG_fail;
25735 }
25736 {
25737 resultobj = wxPyMake_wxObject(result);
25738 }
25739 return resultobj;
25740 fail:
25741 return NULL;
25742 }
25743
25744
25745 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25746 PyObject *resultobj;
25747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25748 wxTreeItemId *arg2 = 0 ;
25749 PyObject * obj0 = 0 ;
25750 PyObject * obj1 = 0 ;
25751 char *kwnames[] = {
25752 (char *) "self",(char *) "item", NULL
25753 };
25754
25755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
25756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25757 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25758 if (arg2 == NULL) {
25759 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25760 }
25761 {
25762 PyThreadState* __tstate = wxPyBeginAllowThreads();
25763 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
25764
25765 wxPyEndAllowThreads(__tstate);
25766 if (PyErr_Occurred()) SWIG_fail;
25767 }
25768 Py_INCREF(Py_None); resultobj = Py_None;
25769 return resultobj;
25770 fail:
25771 return NULL;
25772 }
25773
25774
25775 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
25776 PyObject *resultobj;
25777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25778 wxPoint *arg2 = 0 ;
25779 int *arg3 = 0 ;
25780 wxTreeItemId result;
25781 wxPoint temp2 ;
25782 int temp3 ;
25783 PyObject * obj0 = 0 ;
25784 PyObject * obj1 = 0 ;
25785 char *kwnames[] = {
25786 (char *) "self",(char *) "point", NULL
25787 };
25788
25789 arg3 = &temp3;
25790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
25791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25792 {
25793 arg2 = &temp2;
25794 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25795 }
25796 {
25797 PyThreadState* __tstate = wxPyBeginAllowThreads();
25798 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
25799
25800 wxPyEndAllowThreads(__tstate);
25801 if (PyErr_Occurred()) SWIG_fail;
25802 }
25803 {
25804 wxTreeItemId * resultptr;
25805 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25806 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25807 }
25808 {
25809 PyObject *o = PyInt_FromLong((long) (*arg3));
25810 resultobj = t_output_helper(resultobj,o);
25811 }
25812 return resultobj;
25813 fail:
25814 return NULL;
25815 }
25816
25817
25818 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25819 PyObject *resultobj;
25820 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25821 wxTreeItemId *arg2 = 0 ;
25822 bool arg3 = (bool) False ;
25823 PyObject *result;
25824 PyObject * obj0 = 0 ;
25825 PyObject * obj1 = 0 ;
25826 PyObject * obj2 = 0 ;
25827 char *kwnames[] = {
25828 (char *) "self",(char *) "item",(char *) "textOnly", NULL
25829 };
25830
25831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
25832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25834 if (arg2 == NULL) {
25835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25836 }
25837 if (obj2) {
25838 {
25839 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25840 if (PyErr_Occurred()) SWIG_fail;
25841 }
25842 }
25843 {
25844 PyThreadState* __tstate = wxPyBeginAllowThreads();
25845 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
25846
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 resultobj = result;
25851 return resultobj;
25852 fail:
25853 return NULL;
25854 }
25855
25856
25857 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
25858 PyObject *obj;
25859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25860 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
25861 Py_INCREF(obj);
25862 return Py_BuildValue((char *)"");
25863 }
25864 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
25865 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
25866 return 1;
25867 }
25868
25869
25870 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
25871 PyObject *pyobj;
25872
25873 {
25874 #if wxUSE_UNICODE
25875 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
25876 #else
25877 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
25878 #endif
25879 }
25880 return pyobj;
25881 }
25882
25883
25884 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25885 PyObject *resultobj;
25886 wxWindow *arg1 = (wxWindow *) 0 ;
25887 int arg2 = (int) (int)-1 ;
25888 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
25889 wxString *arg3 = (wxString *) &arg3_defvalue ;
25890 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25891 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25892 wxSize const &arg5_defvalue = wxDefaultSize ;
25893 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25894 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
25895 wxString const &arg7_defvalue = wxPyEmptyString ;
25896 wxString *arg7 = (wxString *) &arg7_defvalue ;
25897 int arg8 = (int) 0 ;
25898 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
25899 wxString *arg9 = (wxString *) &arg9_defvalue ;
25900 wxGenericDirCtrl *result;
25901 bool temp3 = False ;
25902 wxPoint temp4 ;
25903 wxSize temp5 ;
25904 bool temp7 = False ;
25905 bool temp9 = False ;
25906 PyObject * obj0 = 0 ;
25907 PyObject * obj1 = 0 ;
25908 PyObject * obj2 = 0 ;
25909 PyObject * obj3 = 0 ;
25910 PyObject * obj4 = 0 ;
25911 PyObject * obj5 = 0 ;
25912 PyObject * obj6 = 0 ;
25913 PyObject * obj7 = 0 ;
25914 PyObject * obj8 = 0 ;
25915 char *kwnames[] = {
25916 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
25917 };
25918
25919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
25920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25921 if (obj1) {
25922 {
25923 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
25924 if (PyErr_Occurred()) SWIG_fail;
25925 }
25926 }
25927 if (obj2) {
25928 {
25929 arg3 = wxString_in_helper(obj2);
25930 if (arg3 == NULL) SWIG_fail;
25931 temp3 = True;
25932 }
25933 }
25934 if (obj3) {
25935 {
25936 arg4 = &temp4;
25937 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25938 }
25939 }
25940 if (obj4) {
25941 {
25942 arg5 = &temp5;
25943 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25944 }
25945 }
25946 if (obj5) {
25947 {
25948 arg6 = (long) SWIG_PyObj_AsLong(obj5);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 }
25952 if (obj6) {
25953 {
25954 arg7 = wxString_in_helper(obj6);
25955 if (arg7 == NULL) SWIG_fail;
25956 temp7 = True;
25957 }
25958 }
25959 if (obj7) {
25960 {
25961 arg8 = (int) SWIG_PyObj_AsInt(obj7);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 }
25965 if (obj8) {
25966 {
25967 arg9 = wxString_in_helper(obj8);
25968 if (arg9 == NULL) SWIG_fail;
25969 temp9 = True;
25970 }
25971 }
25972 {
25973 PyThreadState* __tstate = wxPyBeginAllowThreads();
25974 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
25975
25976 wxPyEndAllowThreads(__tstate);
25977 if (PyErr_Occurred()) SWIG_fail;
25978 }
25979 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
25980 {
25981 if (temp3)
25982 delete arg3;
25983 }
25984 {
25985 if (temp7)
25986 delete arg7;
25987 }
25988 {
25989 if (temp9)
25990 delete arg9;
25991 }
25992 return resultobj;
25993 fail:
25994 {
25995 if (temp3)
25996 delete arg3;
25997 }
25998 {
25999 if (temp7)
26000 delete arg7;
26001 }
26002 {
26003 if (temp9)
26004 delete arg9;
26005 }
26006 return NULL;
26007 }
26008
26009
26010 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26011 PyObject *resultobj;
26012 wxGenericDirCtrl *result;
26013 char *kwnames[] = {
26014 NULL
26015 };
26016
26017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26018 {
26019 PyThreadState* __tstate = wxPyBeginAllowThreads();
26020 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26021
26022 wxPyEndAllowThreads(__tstate);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 }
26025 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26026 return resultobj;
26027 fail:
26028 return NULL;
26029 }
26030
26031
26032 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26033 PyObject *resultobj;
26034 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26035 wxWindow *arg2 = (wxWindow *) 0 ;
26036 int arg3 = (int) (int)-1 ;
26037 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26038 wxString *arg4 = (wxString *) &arg4_defvalue ;
26039 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26040 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26041 wxSize const &arg6_defvalue = wxDefaultSize ;
26042 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26043 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26044 wxString const &arg8_defvalue = wxPyEmptyString ;
26045 wxString *arg8 = (wxString *) &arg8_defvalue ;
26046 int arg9 = (int) 0 ;
26047 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26048 wxString *arg10 = (wxString *) &arg10_defvalue ;
26049 bool result;
26050 bool temp4 = False ;
26051 wxPoint temp5 ;
26052 wxSize temp6 ;
26053 bool temp8 = False ;
26054 bool temp10 = False ;
26055 PyObject * obj0 = 0 ;
26056 PyObject * obj1 = 0 ;
26057 PyObject * obj2 = 0 ;
26058 PyObject * obj3 = 0 ;
26059 PyObject * obj4 = 0 ;
26060 PyObject * obj5 = 0 ;
26061 PyObject * obj6 = 0 ;
26062 PyObject * obj7 = 0 ;
26063 PyObject * obj8 = 0 ;
26064 PyObject * obj9 = 0 ;
26065 char *kwnames[] = {
26066 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26067 };
26068
26069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26071 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26072 if (obj2) {
26073 {
26074 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 }
26078 if (obj3) {
26079 {
26080 arg4 = wxString_in_helper(obj3);
26081 if (arg4 == NULL) SWIG_fail;
26082 temp4 = True;
26083 }
26084 }
26085 if (obj4) {
26086 {
26087 arg5 = &temp5;
26088 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26089 }
26090 }
26091 if (obj5) {
26092 {
26093 arg6 = &temp6;
26094 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26095 }
26096 }
26097 if (obj6) {
26098 {
26099 arg7 = (long) SWIG_PyObj_AsLong(obj6);
26100 if (PyErr_Occurred()) SWIG_fail;
26101 }
26102 }
26103 if (obj7) {
26104 {
26105 arg8 = wxString_in_helper(obj7);
26106 if (arg8 == NULL) SWIG_fail;
26107 temp8 = True;
26108 }
26109 }
26110 if (obj8) {
26111 {
26112 arg9 = (int) SWIG_PyObj_AsInt(obj8);
26113 if (PyErr_Occurred()) SWIG_fail;
26114 }
26115 }
26116 if (obj9) {
26117 {
26118 arg10 = wxString_in_helper(obj9);
26119 if (arg10 == NULL) SWIG_fail;
26120 temp10 = True;
26121 }
26122 }
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26126
26127 wxPyEndAllowThreads(__tstate);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 }
26130 resultobj = SWIG_PyObj_FromBool((bool)result);
26131 {
26132 if (temp4)
26133 delete arg4;
26134 }
26135 {
26136 if (temp8)
26137 delete arg8;
26138 }
26139 {
26140 if (temp10)
26141 delete arg10;
26142 }
26143 return resultobj;
26144 fail:
26145 {
26146 if (temp4)
26147 delete arg4;
26148 }
26149 {
26150 if (temp8)
26151 delete arg8;
26152 }
26153 {
26154 if (temp10)
26155 delete arg10;
26156 }
26157 return NULL;
26158 }
26159
26160
26161 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26162 PyObject *resultobj;
26163 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26164 wxString *arg2 = 0 ;
26165 bool result;
26166 bool temp2 = False ;
26167 PyObject * obj0 = 0 ;
26168 PyObject * obj1 = 0 ;
26169 char *kwnames[] = {
26170 (char *) "self",(char *) "path", NULL
26171 };
26172
26173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26175 {
26176 arg2 = wxString_in_helper(obj1);
26177 if (arg2 == NULL) SWIG_fail;
26178 temp2 = True;
26179 }
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26183
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 resultobj = SWIG_PyObj_FromBool((bool)result);
26188 {
26189 if (temp2)
26190 delete arg2;
26191 }
26192 return resultobj;
26193 fail:
26194 {
26195 if (temp2)
26196 delete arg2;
26197 }
26198 return NULL;
26199 }
26200
26201
26202 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26203 PyObject *resultobj;
26204 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26205 wxString result;
26206 PyObject * obj0 = 0 ;
26207 char *kwnames[] = {
26208 (char *) "self", NULL
26209 };
26210
26211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26213 {
26214 PyThreadState* __tstate = wxPyBeginAllowThreads();
26215 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26216
26217 wxPyEndAllowThreads(__tstate);
26218 if (PyErr_Occurred()) SWIG_fail;
26219 }
26220 {
26221 #if wxUSE_UNICODE
26222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26223 #else
26224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26225 #endif
26226 }
26227 return resultobj;
26228 fail:
26229 return NULL;
26230 }
26231
26232
26233 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26234 PyObject *resultobj;
26235 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26236 wxString *arg2 = 0 ;
26237 bool temp2 = False ;
26238 PyObject * obj0 = 0 ;
26239 PyObject * obj1 = 0 ;
26240 char *kwnames[] = {
26241 (char *) "self",(char *) "path", NULL
26242 };
26243
26244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26246 {
26247 arg2 = wxString_in_helper(obj1);
26248 if (arg2 == NULL) SWIG_fail;
26249 temp2 = True;
26250 }
26251 {
26252 PyThreadState* __tstate = wxPyBeginAllowThreads();
26253 (arg1)->SetDefaultPath((wxString const &)*arg2);
26254
26255 wxPyEndAllowThreads(__tstate);
26256 if (PyErr_Occurred()) SWIG_fail;
26257 }
26258 Py_INCREF(Py_None); resultobj = Py_None;
26259 {
26260 if (temp2)
26261 delete arg2;
26262 }
26263 return resultobj;
26264 fail:
26265 {
26266 if (temp2)
26267 delete arg2;
26268 }
26269 return NULL;
26270 }
26271
26272
26273 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26274 PyObject *resultobj;
26275 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26276 wxString result;
26277 PyObject * obj0 = 0 ;
26278 char *kwnames[] = {
26279 (char *) "self", NULL
26280 };
26281
26282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26284 {
26285 PyThreadState* __tstate = wxPyBeginAllowThreads();
26286 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26287
26288 wxPyEndAllowThreads(__tstate);
26289 if (PyErr_Occurred()) SWIG_fail;
26290 }
26291 {
26292 #if wxUSE_UNICODE
26293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26294 #else
26295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26296 #endif
26297 }
26298 return resultobj;
26299 fail:
26300 return NULL;
26301 }
26302
26303
26304 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj;
26306 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26307 wxString result;
26308 PyObject * obj0 = 0 ;
26309 char *kwnames[] = {
26310 (char *) "self", NULL
26311 };
26312
26313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26315 {
26316 PyThreadState* __tstate = wxPyBeginAllowThreads();
26317 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26318
26319 wxPyEndAllowThreads(__tstate);
26320 if (PyErr_Occurred()) SWIG_fail;
26321 }
26322 {
26323 #if wxUSE_UNICODE
26324 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26325 #else
26326 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26327 #endif
26328 }
26329 return resultobj;
26330 fail:
26331 return NULL;
26332 }
26333
26334
26335 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26336 PyObject *resultobj;
26337 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26338 wxString *arg2 = 0 ;
26339 bool temp2 = False ;
26340 PyObject * obj0 = 0 ;
26341 PyObject * obj1 = 0 ;
26342 char *kwnames[] = {
26343 (char *) "self",(char *) "path", NULL
26344 };
26345
26346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26348 {
26349 arg2 = wxString_in_helper(obj1);
26350 if (arg2 == NULL) SWIG_fail;
26351 temp2 = True;
26352 }
26353 {
26354 PyThreadState* __tstate = wxPyBeginAllowThreads();
26355 (arg1)->SetPath((wxString const &)*arg2);
26356
26357 wxPyEndAllowThreads(__tstate);
26358 if (PyErr_Occurred()) SWIG_fail;
26359 }
26360 Py_INCREF(Py_None); resultobj = Py_None;
26361 {
26362 if (temp2)
26363 delete arg2;
26364 }
26365 return resultobj;
26366 fail:
26367 {
26368 if (temp2)
26369 delete arg2;
26370 }
26371 return NULL;
26372 }
26373
26374
26375 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26376 PyObject *resultobj;
26377 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26378 bool arg2 ;
26379 PyObject * obj0 = 0 ;
26380 PyObject * obj1 = 0 ;
26381 char *kwnames[] = {
26382 (char *) "self",(char *) "show", NULL
26383 };
26384
26385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26387 {
26388 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 }
26391 {
26392 PyThreadState* __tstate = wxPyBeginAllowThreads();
26393 (arg1)->ShowHidden(arg2);
26394
26395 wxPyEndAllowThreads(__tstate);
26396 if (PyErr_Occurred()) SWIG_fail;
26397 }
26398 Py_INCREF(Py_None); resultobj = Py_None;
26399 return resultobj;
26400 fail:
26401 return NULL;
26402 }
26403
26404
26405 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26406 PyObject *resultobj;
26407 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26408 bool result;
26409 PyObject * obj0 = 0 ;
26410 char *kwnames[] = {
26411 (char *) "self", NULL
26412 };
26413
26414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26416 {
26417 PyThreadState* __tstate = wxPyBeginAllowThreads();
26418 result = (bool)(arg1)->GetShowHidden();
26419
26420 wxPyEndAllowThreads(__tstate);
26421 if (PyErr_Occurred()) SWIG_fail;
26422 }
26423 resultobj = SWIG_PyObj_FromBool((bool)result);
26424 return resultobj;
26425 fail:
26426 return NULL;
26427 }
26428
26429
26430 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26431 PyObject *resultobj;
26432 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26433 wxString result;
26434 PyObject * obj0 = 0 ;
26435 char *kwnames[] = {
26436 (char *) "self", NULL
26437 };
26438
26439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26441 {
26442 PyThreadState* __tstate = wxPyBeginAllowThreads();
26443 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26444
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 {
26449 #if wxUSE_UNICODE
26450 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26451 #else
26452 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26453 #endif
26454 }
26455 return resultobj;
26456 fail:
26457 return NULL;
26458 }
26459
26460
26461 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26462 PyObject *resultobj;
26463 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26464 wxString *arg2 = 0 ;
26465 bool temp2 = False ;
26466 PyObject * obj0 = 0 ;
26467 PyObject * obj1 = 0 ;
26468 char *kwnames[] = {
26469 (char *) "self",(char *) "filter", NULL
26470 };
26471
26472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26474 {
26475 arg2 = wxString_in_helper(obj1);
26476 if (arg2 == NULL) SWIG_fail;
26477 temp2 = True;
26478 }
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 (arg1)->SetFilter((wxString const &)*arg2);
26482
26483 wxPyEndAllowThreads(__tstate);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
26486 Py_INCREF(Py_None); resultobj = Py_None;
26487 {
26488 if (temp2)
26489 delete arg2;
26490 }
26491 return resultobj;
26492 fail:
26493 {
26494 if (temp2)
26495 delete arg2;
26496 }
26497 return NULL;
26498 }
26499
26500
26501 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26502 PyObject *resultobj;
26503 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26504 int result;
26505 PyObject * obj0 = 0 ;
26506 char *kwnames[] = {
26507 (char *) "self", NULL
26508 };
26509
26510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26512 {
26513 PyThreadState* __tstate = wxPyBeginAllowThreads();
26514 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26515
26516 wxPyEndAllowThreads(__tstate);
26517 if (PyErr_Occurred()) SWIG_fail;
26518 }
26519 resultobj = SWIG_PyObj_FromInt((int)result);
26520 return resultobj;
26521 fail:
26522 return NULL;
26523 }
26524
26525
26526 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26527 PyObject *resultobj;
26528 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26529 int arg2 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char *kwnames[] = {
26533 (char *) "self",(char *) "n", NULL
26534 };
26535
26536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26538 {
26539 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26540 if (PyErr_Occurred()) SWIG_fail;
26541 }
26542 {
26543 PyThreadState* __tstate = wxPyBeginAllowThreads();
26544 (arg1)->SetFilterIndex(arg2);
26545
26546 wxPyEndAllowThreads(__tstate);
26547 if (PyErr_Occurred()) SWIG_fail;
26548 }
26549 Py_INCREF(Py_None); resultobj = Py_None;
26550 return resultobj;
26551 fail:
26552 return NULL;
26553 }
26554
26555
26556 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
26557 PyObject *resultobj;
26558 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26559 wxTreeItemId result;
26560 PyObject * obj0 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "self", NULL
26563 };
26564
26565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
26566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26567 {
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 result = (arg1)->GetRootId();
26570
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 {
26575 wxTreeItemId * resultptr;
26576 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26577 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26578 }
26579 return resultobj;
26580 fail:
26581 return NULL;
26582 }
26583
26584
26585 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26586 PyObject *resultobj;
26587 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26588 wxPyTreeCtrl *result;
26589 PyObject * obj0 = 0 ;
26590 char *kwnames[] = {
26591 (char *) "self", NULL
26592 };
26593
26594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
26595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26596 {
26597 PyThreadState* __tstate = wxPyBeginAllowThreads();
26598 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
26599
26600 wxPyEndAllowThreads(__tstate);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 }
26603 {
26604 resultobj = wxPyMake_wxObject(result);
26605 }
26606 return resultobj;
26607 fail:
26608 return NULL;
26609 }
26610
26611
26612 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26613 PyObject *resultobj;
26614 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26615 wxDirFilterListCtrl *result;
26616 PyObject * obj0 = 0 ;
26617 char *kwnames[] = {
26618 (char *) "self", NULL
26619 };
26620
26621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
26622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26623 {
26624 PyThreadState* __tstate = wxPyBeginAllowThreads();
26625 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
26626
26627 wxPyEndAllowThreads(__tstate);
26628 if (PyErr_Occurred()) SWIG_fail;
26629 }
26630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
26631 return resultobj;
26632 fail:
26633 return NULL;
26634 }
26635
26636
26637 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26638 PyObject *resultobj;
26639 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26640 wxTreeItemId arg2 ;
26641 wxString *arg3 = 0 ;
26642 bool *arg4 = 0 ;
26643 wxTreeItemId result;
26644 wxTreeItemId *argp2 ;
26645 bool temp3 = False ;
26646 bool temp4 ;
26647 PyObject * obj0 = 0 ;
26648 PyObject * obj1 = 0 ;
26649 PyObject * obj2 = 0 ;
26650 char *kwnames[] = {
26651 (char *) "self",(char *) "parentId",(char *) "path", NULL
26652 };
26653
26654 arg4 = &temp4;
26655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26657 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
26658 arg2 = *argp2;
26659 {
26660 arg3 = wxString_in_helper(obj2);
26661 if (arg3 == NULL) SWIG_fail;
26662 temp3 = True;
26663 }
26664 {
26665 PyThreadState* __tstate = wxPyBeginAllowThreads();
26666 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
26667
26668 wxPyEndAllowThreads(__tstate);
26669 if (PyErr_Occurred()) SWIG_fail;
26670 }
26671 {
26672 wxTreeItemId * resultptr;
26673 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26674 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26675 }
26676 {
26677 PyObject *o = PyInt_FromLong((long) (*arg4));
26678 resultobj = t_output_helper(resultobj,o);
26679 }
26680 {
26681 if (temp3)
26682 delete arg3;
26683 }
26684 return resultobj;
26685 fail:
26686 {
26687 if (temp3)
26688 delete arg3;
26689 }
26690 return NULL;
26691 }
26692
26693
26694 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
26695 PyObject *resultobj;
26696 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26697 PyObject * obj0 = 0 ;
26698 char *kwnames[] = {
26699 (char *) "self", NULL
26700 };
26701
26702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
26703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 (arg1)->DoResize();
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 Py_INCREF(Py_None); resultobj = Py_None;
26712 return resultobj;
26713 fail:
26714 return NULL;
26715 }
26716
26717
26718 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
26719 PyObject *resultobj;
26720 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26721 PyObject * obj0 = 0 ;
26722 char *kwnames[] = {
26723 (char *) "self", NULL
26724 };
26725
26726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
26727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26728 {
26729 PyThreadState* __tstate = wxPyBeginAllowThreads();
26730 (arg1)->ReCreateTree();
26731
26732 wxPyEndAllowThreads(__tstate);
26733 if (PyErr_Occurred()) SWIG_fail;
26734 }
26735 Py_INCREF(Py_None); resultobj = Py_None;
26736 return resultobj;
26737 fail:
26738 return NULL;
26739 }
26740
26741
26742 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
26743 PyObject *obj;
26744 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26745 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
26746 Py_INCREF(obj);
26747 return Py_BuildValue((char *)"");
26748 }
26749 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26750 PyObject *resultobj;
26751 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26752 int arg2 = (int) (int)-1 ;
26753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26755 wxSize const &arg4_defvalue = wxDefaultSize ;
26756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26757 long arg5 = (long) 0 ;
26758 wxDirFilterListCtrl *result;
26759 wxPoint temp3 ;
26760 wxSize temp4 ;
26761 PyObject * obj0 = 0 ;
26762 PyObject * obj1 = 0 ;
26763 PyObject * obj2 = 0 ;
26764 PyObject * obj3 = 0 ;
26765 PyObject * obj4 = 0 ;
26766 char *kwnames[] = {
26767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26768 };
26769
26770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26772 if (obj1) {
26773 {
26774 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26775 if (PyErr_Occurred()) SWIG_fail;
26776 }
26777 }
26778 if (obj2) {
26779 {
26780 arg3 = &temp3;
26781 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26782 }
26783 }
26784 if (obj3) {
26785 {
26786 arg4 = &temp4;
26787 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26788 }
26789 }
26790 if (obj4) {
26791 {
26792 arg5 = (long) SWIG_PyObj_AsLong(obj4);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 }
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
26799
26800 wxPyEndAllowThreads(__tstate);
26801 if (PyErr_Occurred()) SWIG_fail;
26802 }
26803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
26804 return resultobj;
26805 fail:
26806 return NULL;
26807 }
26808
26809
26810 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26811 PyObject *resultobj;
26812 wxDirFilterListCtrl *result;
26813 char *kwnames[] = {
26814 NULL
26815 };
26816
26817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
26818 {
26819 PyThreadState* __tstate = wxPyBeginAllowThreads();
26820 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
26821
26822 wxPyEndAllowThreads(__tstate);
26823 if (PyErr_Occurred()) SWIG_fail;
26824 }
26825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
26826 return resultobj;
26827 fail:
26828 return NULL;
26829 }
26830
26831
26832 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26833 PyObject *resultobj;
26834 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
26835 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
26836 int arg3 = (int) (int)-1 ;
26837 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26838 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26839 wxSize const &arg5_defvalue = wxDefaultSize ;
26840 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26841 long arg6 = (long) 0 ;
26842 bool result;
26843 wxPoint temp4 ;
26844 wxSize temp5 ;
26845 PyObject * obj0 = 0 ;
26846 PyObject * obj1 = 0 ;
26847 PyObject * obj2 = 0 ;
26848 PyObject * obj3 = 0 ;
26849 PyObject * obj4 = 0 ;
26850 PyObject * obj5 = 0 ;
26851 char *kwnames[] = {
26852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26853 };
26854
26855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26858 if (obj2) {
26859 {
26860 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26861 if (PyErr_Occurred()) SWIG_fail;
26862 }
26863 }
26864 if (obj3) {
26865 {
26866 arg4 = &temp4;
26867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26868 }
26869 }
26870 if (obj4) {
26871 {
26872 arg5 = &temp5;
26873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26874 }
26875 }
26876 if (obj5) {
26877 {
26878 arg6 = (long) SWIG_PyObj_AsLong(obj5);
26879 if (PyErr_Occurred()) SWIG_fail;
26880 }
26881 }
26882 {
26883 PyThreadState* __tstate = wxPyBeginAllowThreads();
26884 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
26885
26886 wxPyEndAllowThreads(__tstate);
26887 if (PyErr_Occurred()) SWIG_fail;
26888 }
26889 resultobj = SWIG_PyObj_FromBool((bool)result);
26890 return resultobj;
26891 fail:
26892 return NULL;
26893 }
26894
26895
26896 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
26897 PyObject *resultobj;
26898 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
26899 wxString *arg2 = 0 ;
26900 int arg3 ;
26901 bool temp2 = False ;
26902 PyObject * obj0 = 0 ;
26903 PyObject * obj1 = 0 ;
26904 PyObject * obj2 = 0 ;
26905 char *kwnames[] = {
26906 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
26907 };
26908
26909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
26910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26911 {
26912 arg2 = wxString_in_helper(obj1);
26913 if (arg2 == NULL) SWIG_fail;
26914 temp2 = True;
26915 }
26916 {
26917 arg3 = (int) SWIG_PyObj_AsInt(obj2);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 {
26921 PyThreadState* __tstate = wxPyBeginAllowThreads();
26922 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
26923
26924 wxPyEndAllowThreads(__tstate);
26925 if (PyErr_Occurred()) SWIG_fail;
26926 }
26927 Py_INCREF(Py_None); resultobj = Py_None;
26928 {
26929 if (temp2)
26930 delete arg2;
26931 }
26932 return resultobj;
26933 fail:
26934 {
26935 if (temp2)
26936 delete arg2;
26937 }
26938 return NULL;
26939 }
26940
26941
26942 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
26943 PyObject *obj;
26944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26945 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
26946 Py_INCREF(obj);
26947 return Py_BuildValue((char *)"");
26948 }
26949 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26950 PyObject *resultobj;
26951 wxWindow *arg1 = (wxWindow *) 0 ;
26952 int arg2 ;
26953 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26954 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26955 wxSize const &arg4_defvalue = wxDefaultSize ;
26956 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26957 long arg5 = (long) 0 ;
26958 wxValidator const &arg6_defvalue = wxDefaultValidator ;
26959 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
26960 wxString const &arg7_defvalue = wxPyControlNameStr ;
26961 wxString *arg7 = (wxString *) &arg7_defvalue ;
26962 wxPyControl *result;
26963 wxPoint temp3 ;
26964 wxSize temp4 ;
26965 bool temp7 = False ;
26966 PyObject * obj0 = 0 ;
26967 PyObject * obj1 = 0 ;
26968 PyObject * obj2 = 0 ;
26969 PyObject * obj3 = 0 ;
26970 PyObject * obj4 = 0 ;
26971 PyObject * obj5 = 0 ;
26972 PyObject * obj6 = 0 ;
26973 char *kwnames[] = {
26974 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
26975 };
26976
26977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26979 {
26980 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26981 if (PyErr_Occurred()) SWIG_fail;
26982 }
26983 if (obj2) {
26984 {
26985 arg3 = &temp3;
26986 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26987 }
26988 }
26989 if (obj3) {
26990 {
26991 arg4 = &temp4;
26992 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26993 }
26994 }
26995 if (obj4) {
26996 {
26997 arg5 = (long) SWIG_PyObj_AsLong(obj4);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
27000 }
27001 if (obj5) {
27002 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27003 if (arg6 == NULL) {
27004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27005 }
27006 }
27007 if (obj6) {
27008 {
27009 arg7 = wxString_in_helper(obj6);
27010 if (arg7 == NULL) SWIG_fail;
27011 temp7 = True;
27012 }
27013 }
27014 {
27015 PyThreadState* __tstate = wxPyBeginAllowThreads();
27016 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27017
27018 wxPyEndAllowThreads(__tstate);
27019 if (PyErr_Occurred()) SWIG_fail;
27020 }
27021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
27022 {
27023 if (temp7)
27024 delete arg7;
27025 }
27026 return resultobj;
27027 fail:
27028 {
27029 if (temp7)
27030 delete arg7;
27031 }
27032 return NULL;
27033 }
27034
27035
27036 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27037 PyObject *resultobj;
27038 wxPyControl *arg1 = (wxPyControl *) 0 ;
27039 PyObject *arg2 = (PyObject *) 0 ;
27040 PyObject *arg3 = (PyObject *) 0 ;
27041 PyObject * obj0 = 0 ;
27042 PyObject * obj1 = 0 ;
27043 PyObject * obj2 = 0 ;
27044 char *kwnames[] = {
27045 (char *) "self",(char *) "self",(char *) "_class", NULL
27046 };
27047
27048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27050 arg2 = obj1;
27051 arg3 = obj2;
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 (arg1)->_setCallbackInfo(arg2,arg3);
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 Py_INCREF(Py_None); resultobj = Py_None;
27060 return resultobj;
27061 fail:
27062 return NULL;
27063 }
27064
27065
27066 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27067 PyObject *resultobj;
27068 wxPyControl *arg1 = (wxPyControl *) 0 ;
27069 int arg2 ;
27070 int arg3 ;
27071 int arg4 ;
27072 int arg5 ;
27073 PyObject * obj0 = 0 ;
27074 PyObject * obj1 = 0 ;
27075 PyObject * obj2 = 0 ;
27076 PyObject * obj3 = 0 ;
27077 PyObject * obj4 = 0 ;
27078 char *kwnames[] = {
27079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27080 };
27081
27082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27084 {
27085 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
27088 {
27089 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27090 if (PyErr_Occurred()) SWIG_fail;
27091 }
27092 {
27093 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27094 if (PyErr_Occurred()) SWIG_fail;
27095 }
27096 {
27097 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 {
27101 PyThreadState* __tstate = wxPyBeginAllowThreads();
27102 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27103
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
27107 Py_INCREF(Py_None); resultobj = Py_None;
27108 return resultobj;
27109 fail:
27110 return NULL;
27111 }
27112
27113
27114 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27115 PyObject *resultobj;
27116 wxPyControl *arg1 = (wxPyControl *) 0 ;
27117 int arg2 ;
27118 int arg3 ;
27119 int arg4 ;
27120 int arg5 ;
27121 int arg6 = (int) wxSIZE_AUTO ;
27122 PyObject * obj0 = 0 ;
27123 PyObject * obj1 = 0 ;
27124 PyObject * obj2 = 0 ;
27125 PyObject * obj3 = 0 ;
27126 PyObject * obj4 = 0 ;
27127 PyObject * obj5 = 0 ;
27128 char *kwnames[] = {
27129 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27130 };
27131
27132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27134 {
27135 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 }
27138 {
27139 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27140 if (PyErr_Occurred()) SWIG_fail;
27141 }
27142 {
27143 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
27146 {
27147 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27148 if (PyErr_Occurred()) SWIG_fail;
27149 }
27150 if (obj5) {
27151 {
27152 arg6 = (int) SWIG_PyObj_AsInt(obj5);
27153 if (PyErr_Occurred()) SWIG_fail;
27154 }
27155 }
27156 {
27157 PyThreadState* __tstate = wxPyBeginAllowThreads();
27158 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27159
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 Py_INCREF(Py_None); resultobj = Py_None;
27164 return resultobj;
27165 fail:
27166 return NULL;
27167 }
27168
27169
27170 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj;
27172 wxPyControl *arg1 = (wxPyControl *) 0 ;
27173 int arg2 ;
27174 int arg3 ;
27175 PyObject * obj0 = 0 ;
27176 PyObject * obj1 = 0 ;
27177 PyObject * obj2 = 0 ;
27178 char *kwnames[] = {
27179 (char *) "self",(char *) "width",(char *) "height", NULL
27180 };
27181
27182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27184 {
27185 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
27188 {
27189 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
27192 {
27193 PyThreadState* __tstate = wxPyBeginAllowThreads();
27194 (arg1)->base_DoSetClientSize(arg2,arg3);
27195
27196 wxPyEndAllowThreads(__tstate);
27197 if (PyErr_Occurred()) SWIG_fail;
27198 }
27199 Py_INCREF(Py_None); resultobj = Py_None;
27200 return resultobj;
27201 fail:
27202 return NULL;
27203 }
27204
27205
27206 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27207 PyObject *resultobj;
27208 wxPyControl *arg1 = (wxPyControl *) 0 ;
27209 int arg2 ;
27210 int arg3 ;
27211 PyObject * obj0 = 0 ;
27212 PyObject * obj1 = 0 ;
27213 PyObject * obj2 = 0 ;
27214 char *kwnames[] = {
27215 (char *) "self",(char *) "x",(char *) "y", NULL
27216 };
27217
27218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27220 {
27221 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 {
27225 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27226 if (PyErr_Occurred()) SWIG_fail;
27227 }
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27231
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 Py_INCREF(Py_None); resultobj = Py_None;
27236 return resultobj;
27237 fail:
27238 return NULL;
27239 }
27240
27241
27242 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27243 PyObject *resultobj;
27244 wxPyControl *arg1 = (wxPyControl *) 0 ;
27245 int *arg2 = (int *) 0 ;
27246 int *arg3 = (int *) 0 ;
27247 int temp2 ;
27248 int temp3 ;
27249 PyObject * obj0 = 0 ;
27250 char *kwnames[] = {
27251 (char *) "self", NULL
27252 };
27253
27254 arg2 = &temp2;
27255 arg3 = &temp3;
27256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27258 {
27259 PyThreadState* __tstate = wxPyBeginAllowThreads();
27260 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27261
27262 wxPyEndAllowThreads(__tstate);
27263 if (PyErr_Occurred()) SWIG_fail;
27264 }
27265 Py_INCREF(Py_None); resultobj = Py_None;
27266 {
27267 PyObject *o = PyInt_FromLong((long) (*arg2));
27268 resultobj = t_output_helper(resultobj,o);
27269 }
27270 {
27271 PyObject *o = PyInt_FromLong((long) (*arg3));
27272 resultobj = t_output_helper(resultobj,o);
27273 }
27274 return resultobj;
27275 fail:
27276 return NULL;
27277 }
27278
27279
27280 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27281 PyObject *resultobj;
27282 wxPyControl *arg1 = (wxPyControl *) 0 ;
27283 int *arg2 = (int *) 0 ;
27284 int *arg3 = (int *) 0 ;
27285 int temp2 ;
27286 int temp3 ;
27287 PyObject * obj0 = 0 ;
27288 char *kwnames[] = {
27289 (char *) "self", NULL
27290 };
27291
27292 arg2 = &temp2;
27293 arg3 = &temp3;
27294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27296 {
27297 PyThreadState* __tstate = wxPyBeginAllowThreads();
27298 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27299
27300 wxPyEndAllowThreads(__tstate);
27301 if (PyErr_Occurred()) SWIG_fail;
27302 }
27303 Py_INCREF(Py_None); resultobj = Py_None;
27304 {
27305 PyObject *o = PyInt_FromLong((long) (*arg2));
27306 resultobj = t_output_helper(resultobj,o);
27307 }
27308 {
27309 PyObject *o = PyInt_FromLong((long) (*arg3));
27310 resultobj = t_output_helper(resultobj,o);
27311 }
27312 return resultobj;
27313 fail:
27314 return NULL;
27315 }
27316
27317
27318 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27319 PyObject *resultobj;
27320 wxPyControl *arg1 = (wxPyControl *) 0 ;
27321 int *arg2 = (int *) 0 ;
27322 int *arg3 = (int *) 0 ;
27323 int temp2 ;
27324 int temp3 ;
27325 PyObject * obj0 = 0 ;
27326 char *kwnames[] = {
27327 (char *) "self", NULL
27328 };
27329
27330 arg2 = &temp2;
27331 arg3 = &temp3;
27332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27334 {
27335 PyThreadState* __tstate = wxPyBeginAllowThreads();
27336 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27337
27338 wxPyEndAllowThreads(__tstate);
27339 if (PyErr_Occurred()) SWIG_fail;
27340 }
27341 Py_INCREF(Py_None); resultobj = Py_None;
27342 {
27343 PyObject *o = PyInt_FromLong((long) (*arg2));
27344 resultobj = t_output_helper(resultobj,o);
27345 }
27346 {
27347 PyObject *o = PyInt_FromLong((long) (*arg3));
27348 resultobj = t_output_helper(resultobj,o);
27349 }
27350 return resultobj;
27351 fail:
27352 return NULL;
27353 }
27354
27355
27356 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27357 PyObject *resultobj;
27358 wxPyControl *arg1 = (wxPyControl *) 0 ;
27359 wxSize result;
27360 PyObject * obj0 = 0 ;
27361 char *kwnames[] = {
27362 (char *) "self", NULL
27363 };
27364
27365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27367 {
27368 PyThreadState* __tstate = wxPyBeginAllowThreads();
27369 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27370
27371 wxPyEndAllowThreads(__tstate);
27372 if (PyErr_Occurred()) SWIG_fail;
27373 }
27374 {
27375 wxSize * resultptr;
27376 resultptr = new wxSize((wxSize &) result);
27377 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27378 }
27379 return resultobj;
27380 fail:
27381 return NULL;
27382 }
27383
27384
27385 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27386 PyObject *resultobj;
27387 wxPyControl *arg1 = (wxPyControl *) 0 ;
27388 wxSize result;
27389 PyObject * obj0 = 0 ;
27390 char *kwnames[] = {
27391 (char *) "self", NULL
27392 };
27393
27394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27396 {
27397 PyThreadState* __tstate = wxPyBeginAllowThreads();
27398 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27399
27400 wxPyEndAllowThreads(__tstate);
27401 if (PyErr_Occurred()) SWIG_fail;
27402 }
27403 {
27404 wxSize * resultptr;
27405 resultptr = new wxSize((wxSize &) result);
27406 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27407 }
27408 return resultobj;
27409 fail:
27410 return NULL;
27411 }
27412
27413
27414 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
27415 PyObject *resultobj;
27416 wxPyControl *arg1 = (wxPyControl *) 0 ;
27417 PyObject * obj0 = 0 ;
27418 char *kwnames[] = {
27419 (char *) "self", NULL
27420 };
27421
27422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27424 {
27425 PyThreadState* __tstate = wxPyBeginAllowThreads();
27426 (arg1)->base_InitDialog();
27427
27428 wxPyEndAllowThreads(__tstate);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 Py_INCREF(Py_None); resultobj = Py_None;
27432 return resultobj;
27433 fail:
27434 return NULL;
27435 }
27436
27437
27438 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27439 PyObject *resultobj;
27440 wxPyControl *arg1 = (wxPyControl *) 0 ;
27441 bool result;
27442 PyObject * obj0 = 0 ;
27443 char *kwnames[] = {
27444 (char *) "self", NULL
27445 };
27446
27447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27449 {
27450 PyThreadState* __tstate = wxPyBeginAllowThreads();
27451 result = (bool)(arg1)->base_TransferDataToWindow();
27452
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 resultobj = SWIG_PyObj_FromBool((bool)result);
27457 return resultobj;
27458 fail:
27459 return NULL;
27460 }
27461
27462
27463 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27464 PyObject *resultobj;
27465 wxPyControl *arg1 = (wxPyControl *) 0 ;
27466 bool result;
27467 PyObject * obj0 = 0 ;
27468 char *kwnames[] = {
27469 (char *) "self", NULL
27470 };
27471
27472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27474 {
27475 PyThreadState* __tstate = wxPyBeginAllowThreads();
27476 result = (bool)(arg1)->base_TransferDataFromWindow();
27477
27478 wxPyEndAllowThreads(__tstate);
27479 if (PyErr_Occurred()) SWIG_fail;
27480 }
27481 resultobj = SWIG_PyObj_FromBool((bool)result);
27482 return resultobj;
27483 fail:
27484 return NULL;
27485 }
27486
27487
27488 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27489 PyObject *resultobj;
27490 wxPyControl *arg1 = (wxPyControl *) 0 ;
27491 bool result;
27492 PyObject * obj0 = 0 ;
27493 char *kwnames[] = {
27494 (char *) "self", NULL
27495 };
27496
27497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27499 {
27500 PyThreadState* __tstate = wxPyBeginAllowThreads();
27501 result = (bool)(arg1)->base_Validate();
27502
27503 wxPyEndAllowThreads(__tstate);
27504 if (PyErr_Occurred()) SWIG_fail;
27505 }
27506 resultobj = SWIG_PyObj_FromBool((bool)result);
27507 return resultobj;
27508 fail:
27509 return NULL;
27510 }
27511
27512
27513 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
27514 PyObject *resultobj;
27515 wxPyControl *arg1 = (wxPyControl *) 0 ;
27516 bool result;
27517 PyObject * obj0 = 0 ;
27518 char *kwnames[] = {
27519 (char *) "self", NULL
27520 };
27521
27522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
27523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27524 {
27525 PyThreadState* __tstate = wxPyBeginAllowThreads();
27526 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27527
27528 wxPyEndAllowThreads(__tstate);
27529 if (PyErr_Occurred()) SWIG_fail;
27530 }
27531 resultobj = SWIG_PyObj_FromBool((bool)result);
27532 return resultobj;
27533 fail:
27534 return NULL;
27535 }
27536
27537
27538 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
27539 PyObject *resultobj;
27540 wxPyControl *arg1 = (wxPyControl *) 0 ;
27541 bool result;
27542 PyObject * obj0 = 0 ;
27543 char *kwnames[] = {
27544 (char *) "self", NULL
27545 };
27546
27547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27549 {
27550 PyThreadState* __tstate = wxPyBeginAllowThreads();
27551 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27552
27553 wxPyEndAllowThreads(__tstate);
27554 if (PyErr_Occurred()) SWIG_fail;
27555 }
27556 resultobj = SWIG_PyObj_FromBool((bool)result);
27557 return resultobj;
27558 fail:
27559 return NULL;
27560 }
27561
27562
27563 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27564 PyObject *resultobj;
27565 wxPyControl *arg1 = (wxPyControl *) 0 ;
27566 wxSize result;
27567 PyObject * obj0 = 0 ;
27568 char *kwnames[] = {
27569 (char *) "self", NULL
27570 };
27571
27572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
27573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27574 {
27575 PyThreadState* __tstate = wxPyBeginAllowThreads();
27576 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
27577
27578 wxPyEndAllowThreads(__tstate);
27579 if (PyErr_Occurred()) SWIG_fail;
27580 }
27581 {
27582 wxSize * resultptr;
27583 resultptr = new wxSize((wxSize &) result);
27584 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27585 }
27586 return resultobj;
27587 fail:
27588 return NULL;
27589 }
27590
27591
27592 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27593 PyObject *resultobj;
27594 wxPyControl *arg1 = (wxPyControl *) 0 ;
27595 wxWindow *arg2 = (wxWindow *) 0 ;
27596 PyObject * obj0 = 0 ;
27597 PyObject * obj1 = 0 ;
27598 char *kwnames[] = {
27599 (char *) "self",(char *) "child", NULL
27600 };
27601
27602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
27603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27605 {
27606 PyThreadState* __tstate = wxPyBeginAllowThreads();
27607 (arg1)->base_AddChild(arg2);
27608
27609 wxPyEndAllowThreads(__tstate);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
27612 Py_INCREF(Py_None); resultobj = Py_None;
27613 return resultobj;
27614 fail:
27615 return NULL;
27616 }
27617
27618
27619 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27620 PyObject *resultobj;
27621 wxPyControl *arg1 = (wxPyControl *) 0 ;
27622 wxWindow *arg2 = (wxWindow *) 0 ;
27623 PyObject * obj0 = 0 ;
27624 PyObject * obj1 = 0 ;
27625 char *kwnames[] = {
27626 (char *) "self",(char *) "child", NULL
27627 };
27628
27629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
27630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27632 {
27633 PyThreadState* __tstate = wxPyBeginAllowThreads();
27634 (arg1)->base_RemoveChild(arg2);
27635
27636 wxPyEndAllowThreads(__tstate);
27637 if (PyErr_Occurred()) SWIG_fail;
27638 }
27639 Py_INCREF(Py_None); resultobj = Py_None;
27640 return resultobj;
27641 fail:
27642 return NULL;
27643 }
27644
27645
27646 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
27647 PyObject *obj;
27648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27649 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
27650 Py_INCREF(obj);
27651 return Py_BuildValue((char *)"");
27652 }
27653 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
27654 PyObject *resultobj;
27655 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
27656 int arg2 = (int) 0 ;
27657 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27658 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27659 wxHelpEvent *result;
27660 wxPoint temp3 ;
27661 PyObject * obj0 = 0 ;
27662 PyObject * obj1 = 0 ;
27663 PyObject * obj2 = 0 ;
27664 char *kwnames[] = {
27665 (char *) "type",(char *) "winid",(char *) "pt", NULL
27666 };
27667
27668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
27669 if (obj0) {
27670 {
27671 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
27672 if (PyErr_Occurred()) SWIG_fail;
27673 }
27674 }
27675 if (obj1) {
27676 {
27677 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27678 if (PyErr_Occurred()) SWIG_fail;
27679 }
27680 }
27681 if (obj2) {
27682 {
27683 arg3 = &temp3;
27684 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27685 }
27686 }
27687 {
27688 PyThreadState* __tstate = wxPyBeginAllowThreads();
27689 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
27690
27691 wxPyEndAllowThreads(__tstate);
27692 if (PyErr_Occurred()) SWIG_fail;
27693 }
27694 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
27695 return resultobj;
27696 fail:
27697 return NULL;
27698 }
27699
27700
27701 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27702 PyObject *resultobj;
27703 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27704 wxPoint *result;
27705 PyObject * obj0 = 0 ;
27706 char *kwnames[] = {
27707 (char *) "self", NULL
27708 };
27709
27710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
27711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27712 {
27713 PyThreadState* __tstate = wxPyBeginAllowThreads();
27714 {
27715 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
27716 result = (wxPoint *) &_result_ref;
27717 }
27718
27719 wxPyEndAllowThreads(__tstate);
27720 if (PyErr_Occurred()) SWIG_fail;
27721 }
27722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
27723 return resultobj;
27724 fail:
27725 return NULL;
27726 }
27727
27728
27729 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27730 PyObject *resultobj;
27731 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27732 wxPoint *arg2 = 0 ;
27733 wxPoint temp2 ;
27734 PyObject * obj0 = 0 ;
27735 PyObject * obj1 = 0 ;
27736 char *kwnames[] = {
27737 (char *) "self",(char *) "pos", NULL
27738 };
27739
27740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
27741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27742 {
27743 arg2 = &temp2;
27744 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27745 }
27746 {
27747 PyThreadState* __tstate = wxPyBeginAllowThreads();
27748 (arg1)->SetPosition((wxPoint const &)*arg2);
27749
27750 wxPyEndAllowThreads(__tstate);
27751 if (PyErr_Occurred()) SWIG_fail;
27752 }
27753 Py_INCREF(Py_None); resultobj = Py_None;
27754 return resultobj;
27755 fail:
27756 return NULL;
27757 }
27758
27759
27760 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27761 PyObject *resultobj;
27762 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27763 wxString *result;
27764 PyObject * obj0 = 0 ;
27765 char *kwnames[] = {
27766 (char *) "self", NULL
27767 };
27768
27769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
27770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27771 {
27772 PyThreadState* __tstate = wxPyBeginAllowThreads();
27773 {
27774 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
27775 result = (wxString *) &_result_ref;
27776 }
27777
27778 wxPyEndAllowThreads(__tstate);
27779 if (PyErr_Occurred()) SWIG_fail;
27780 }
27781 {
27782 #if wxUSE_UNICODE
27783 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27784 #else
27785 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27786 #endif
27787 }
27788 return resultobj;
27789 fail:
27790 return NULL;
27791 }
27792
27793
27794 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
27795 PyObject *resultobj;
27796 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27797 wxString *arg2 = 0 ;
27798 bool temp2 = False ;
27799 PyObject * obj0 = 0 ;
27800 PyObject * obj1 = 0 ;
27801 char *kwnames[] = {
27802 (char *) "self",(char *) "link", NULL
27803 };
27804
27805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
27806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27807 {
27808 arg2 = wxString_in_helper(obj1);
27809 if (arg2 == NULL) SWIG_fail;
27810 temp2 = True;
27811 }
27812 {
27813 PyThreadState* __tstate = wxPyBeginAllowThreads();
27814 (arg1)->SetLink((wxString const &)*arg2);
27815
27816 wxPyEndAllowThreads(__tstate);
27817 if (PyErr_Occurred()) SWIG_fail;
27818 }
27819 Py_INCREF(Py_None); resultobj = Py_None;
27820 {
27821 if (temp2)
27822 delete arg2;
27823 }
27824 return resultobj;
27825 fail:
27826 {
27827 if (temp2)
27828 delete arg2;
27829 }
27830 return NULL;
27831 }
27832
27833
27834 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27835 PyObject *resultobj;
27836 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27837 wxString *result;
27838 PyObject * obj0 = 0 ;
27839 char *kwnames[] = {
27840 (char *) "self", NULL
27841 };
27842
27843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
27844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27845 {
27846 PyThreadState* __tstate = wxPyBeginAllowThreads();
27847 {
27848 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
27849 result = (wxString *) &_result_ref;
27850 }
27851
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 {
27856 #if wxUSE_UNICODE
27857 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
27858 #else
27859 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
27860 #endif
27861 }
27862 return resultobj;
27863 fail:
27864 return NULL;
27865 }
27866
27867
27868 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
27869 PyObject *resultobj;
27870 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
27871 wxString *arg2 = 0 ;
27872 bool temp2 = False ;
27873 PyObject * obj0 = 0 ;
27874 PyObject * obj1 = 0 ;
27875 char *kwnames[] = {
27876 (char *) "self",(char *) "target", NULL
27877 };
27878
27879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
27880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27881 {
27882 arg2 = wxString_in_helper(obj1);
27883 if (arg2 == NULL) SWIG_fail;
27884 temp2 = True;
27885 }
27886 {
27887 PyThreadState* __tstate = wxPyBeginAllowThreads();
27888 (arg1)->SetTarget((wxString const &)*arg2);
27889
27890 wxPyEndAllowThreads(__tstate);
27891 if (PyErr_Occurred()) SWIG_fail;
27892 }
27893 Py_INCREF(Py_None); resultobj = Py_None;
27894 {
27895 if (temp2)
27896 delete arg2;
27897 }
27898 return resultobj;
27899 fail:
27900 {
27901 if (temp2)
27902 delete arg2;
27903 }
27904 return NULL;
27905 }
27906
27907
27908 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
27909 PyObject *obj;
27910 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27911 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
27912 Py_INCREF(obj);
27913 return Py_BuildValue((char *)"");
27914 }
27915 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27916 PyObject *resultobj;
27917 wxWindow *arg1 = (wxWindow *) NULL ;
27918 bool arg2 = (bool) True ;
27919 wxContextHelp *result;
27920 PyObject * obj0 = 0 ;
27921 PyObject * obj1 = 0 ;
27922 char *kwnames[] = {
27923 (char *) "window",(char *) "doNow", NULL
27924 };
27925
27926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
27927 if (obj0) {
27928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27929 }
27930 if (obj1) {
27931 {
27932 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
27935 }
27936 {
27937 PyThreadState* __tstate = wxPyBeginAllowThreads();
27938 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
27939
27940 wxPyEndAllowThreads(__tstate);
27941 if (PyErr_Occurred()) SWIG_fail;
27942 }
27943 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
27944 return resultobj;
27945 fail:
27946 return NULL;
27947 }
27948
27949
27950 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27951 PyObject *resultobj;
27952 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
27953 PyObject * obj0 = 0 ;
27954 char *kwnames[] = {
27955 (char *) "self", NULL
27956 };
27957
27958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
27959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27960 {
27961 PyThreadState* __tstate = wxPyBeginAllowThreads();
27962 delete arg1;
27963
27964 wxPyEndAllowThreads(__tstate);
27965 if (PyErr_Occurred()) SWIG_fail;
27966 }
27967 Py_INCREF(Py_None); resultobj = Py_None;
27968 return resultobj;
27969 fail:
27970 return NULL;
27971 }
27972
27973
27974 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
27975 PyObject *resultobj;
27976 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
27977 wxWindow *arg2 = (wxWindow *) NULL ;
27978 bool result;
27979 PyObject * obj0 = 0 ;
27980 PyObject * obj1 = 0 ;
27981 char *kwnames[] = {
27982 (char *) "self",(char *) "window", NULL
27983 };
27984
27985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
27986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27987 if (obj1) {
27988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27989 }
27990 {
27991 PyThreadState* __tstate = wxPyBeginAllowThreads();
27992 result = (bool)(arg1)->BeginContextHelp(arg2);
27993
27994 wxPyEndAllowThreads(__tstate);
27995 if (PyErr_Occurred()) SWIG_fail;
27996 }
27997 resultobj = SWIG_PyObj_FromBool((bool)result);
27998 return resultobj;
27999 fail:
28000 return NULL;
28001 }
28002
28003
28004 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28005 PyObject *resultobj;
28006 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28007 bool result;
28008 PyObject * obj0 = 0 ;
28009 char *kwnames[] = {
28010 (char *) "self", NULL
28011 };
28012
28013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28015 {
28016 PyThreadState* __tstate = wxPyBeginAllowThreads();
28017 result = (bool)(arg1)->EndContextHelp();
28018
28019 wxPyEndAllowThreads(__tstate);
28020 if (PyErr_Occurred()) SWIG_fail;
28021 }
28022 resultobj = SWIG_PyObj_FromBool((bool)result);
28023 return resultobj;
28024 fail:
28025 return NULL;
28026 }
28027
28028
28029 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28030 PyObject *obj;
28031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28032 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28033 Py_INCREF(obj);
28034 return Py_BuildValue((char *)"");
28035 }
28036 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28037 PyObject *resultobj;
28038 wxWindow *arg1 = (wxWindow *) 0 ;
28039 int arg2 = (int) wxID_CONTEXT_HELP ;
28040 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28041 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28042 wxSize const &arg4_defvalue = wxDefaultSize ;
28043 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28044 long arg5 = (long) wxBU_AUTODRAW ;
28045 wxContextHelpButton *result;
28046 wxPoint temp3 ;
28047 wxSize temp4 ;
28048 PyObject * obj0 = 0 ;
28049 PyObject * obj1 = 0 ;
28050 PyObject * obj2 = 0 ;
28051 PyObject * obj3 = 0 ;
28052 PyObject * obj4 = 0 ;
28053 char *kwnames[] = {
28054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28055 };
28056
28057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28059 if (obj1) {
28060 {
28061 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28062 if (PyErr_Occurred()) SWIG_fail;
28063 }
28064 }
28065 if (obj2) {
28066 {
28067 arg3 = &temp3;
28068 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28069 }
28070 }
28071 if (obj3) {
28072 {
28073 arg4 = &temp4;
28074 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28075 }
28076 }
28077 if (obj4) {
28078 {
28079 arg5 = (long) SWIG_PyObj_AsLong(obj4);
28080 if (PyErr_Occurred()) SWIG_fail;
28081 }
28082 }
28083 {
28084 PyThreadState* __tstate = wxPyBeginAllowThreads();
28085 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28086
28087 wxPyEndAllowThreads(__tstate);
28088 if (PyErr_Occurred()) SWIG_fail;
28089 }
28090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
28091 return resultobj;
28092 fail:
28093 return NULL;
28094 }
28095
28096
28097 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28098 PyObject *obj;
28099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28100 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28101 Py_INCREF(obj);
28102 return Py_BuildValue((char *)"");
28103 }
28104 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28105 PyObject *resultobj;
28106 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28107 wxHelpProvider *result;
28108 PyObject * obj0 = 0 ;
28109 char *kwnames[] = {
28110 (char *) "helpProvider", NULL
28111 };
28112
28113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28115 {
28116 PyThreadState* __tstate = wxPyBeginAllowThreads();
28117 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28118
28119 wxPyEndAllowThreads(__tstate);
28120 if (PyErr_Occurred()) SWIG_fail;
28121 }
28122 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28123 return resultobj;
28124 fail:
28125 return NULL;
28126 }
28127
28128
28129 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28130 PyObject *resultobj;
28131 wxHelpProvider *result;
28132 char *kwnames[] = {
28133 NULL
28134 };
28135
28136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28137 {
28138 PyThreadState* __tstate = wxPyBeginAllowThreads();
28139 result = (wxHelpProvider *)wxHelpProvider::Get();
28140
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
28144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28145 return resultobj;
28146 fail:
28147 return NULL;
28148 }
28149
28150
28151 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28152 PyObject *resultobj;
28153 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28154 wxWindow *arg2 = (wxWindow *) 0 ;
28155 wxString result;
28156 PyObject * obj0 = 0 ;
28157 PyObject * obj1 = 0 ;
28158 char *kwnames[] = {
28159 (char *) "self",(char *) "window", NULL
28160 };
28161
28162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28165 {
28166 PyThreadState* __tstate = wxPyBeginAllowThreads();
28167 result = (arg1)->GetHelp((wxWindow const *)arg2);
28168
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 {
28173 #if wxUSE_UNICODE
28174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28175 #else
28176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28177 #endif
28178 }
28179 return resultobj;
28180 fail:
28181 return NULL;
28182 }
28183
28184
28185 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28186 PyObject *resultobj;
28187 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28188 wxWindow *arg2 = (wxWindow *) 0 ;
28189 bool result;
28190 PyObject * obj0 = 0 ;
28191 PyObject * obj1 = 0 ;
28192 char *kwnames[] = {
28193 (char *) "self",(char *) "window", NULL
28194 };
28195
28196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28199 {
28200 PyThreadState* __tstate = wxPyBeginAllowThreads();
28201 result = (bool)(arg1)->ShowHelp(arg2);
28202
28203 wxPyEndAllowThreads(__tstate);
28204 if (PyErr_Occurred()) SWIG_fail;
28205 }
28206 resultobj = SWIG_PyObj_FromBool((bool)result);
28207 return resultobj;
28208 fail:
28209 return NULL;
28210 }
28211
28212
28213 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28214 PyObject *resultobj;
28215 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28216 wxWindow *arg2 = (wxWindow *) 0 ;
28217 wxString *arg3 = 0 ;
28218 bool temp3 = False ;
28219 PyObject * obj0 = 0 ;
28220 PyObject * obj1 = 0 ;
28221 PyObject * obj2 = 0 ;
28222 char *kwnames[] = {
28223 (char *) "self",(char *) "window",(char *) "text", NULL
28224 };
28225
28226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28229 {
28230 arg3 = wxString_in_helper(obj2);
28231 if (arg3 == NULL) SWIG_fail;
28232 temp3 = True;
28233 }
28234 {
28235 PyThreadState* __tstate = wxPyBeginAllowThreads();
28236 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28237
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
28241 Py_INCREF(Py_None); resultobj = Py_None;
28242 {
28243 if (temp3)
28244 delete arg3;
28245 }
28246 return resultobj;
28247 fail:
28248 {
28249 if (temp3)
28250 delete arg3;
28251 }
28252 return NULL;
28253 }
28254
28255
28256 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28257 PyObject *resultobj;
28258 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28259 int arg2 ;
28260 wxString *arg3 = 0 ;
28261 bool temp3 = False ;
28262 PyObject * obj0 = 0 ;
28263 PyObject * obj1 = 0 ;
28264 PyObject * obj2 = 0 ;
28265 char *kwnames[] = {
28266 (char *) "self",(char *) "id",(char *) "text", NULL
28267 };
28268
28269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28271 {
28272 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 {
28276 arg3 = wxString_in_helper(obj2);
28277 if (arg3 == NULL) SWIG_fail;
28278 temp3 = True;
28279 }
28280 {
28281 PyThreadState* __tstate = wxPyBeginAllowThreads();
28282 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28283
28284 wxPyEndAllowThreads(__tstate);
28285 if (PyErr_Occurred()) SWIG_fail;
28286 }
28287 Py_INCREF(Py_None); resultobj = Py_None;
28288 {
28289 if (temp3)
28290 delete arg3;
28291 }
28292 return resultobj;
28293 fail:
28294 {
28295 if (temp3)
28296 delete arg3;
28297 }
28298 return NULL;
28299 }
28300
28301
28302 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28303 PyObject *resultobj;
28304 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28305 PyObject * obj0 = 0 ;
28306 char *kwnames[] = {
28307 (char *) "self", NULL
28308 };
28309
28310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28312 {
28313 PyThreadState* __tstate = wxPyBeginAllowThreads();
28314 wxHelpProvider_Destroy(arg1);
28315
28316 wxPyEndAllowThreads(__tstate);
28317 if (PyErr_Occurred()) SWIG_fail;
28318 }
28319 Py_INCREF(Py_None); resultobj = Py_None;
28320 return resultobj;
28321 fail:
28322 return NULL;
28323 }
28324
28325
28326 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
28327 PyObject *obj;
28328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28329 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28330 Py_INCREF(obj);
28331 return Py_BuildValue((char *)"");
28332 }
28333 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
28334 PyObject *resultobj;
28335 wxSimpleHelpProvider *result;
28336 char *kwnames[] = {
28337 NULL
28338 };
28339
28340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28341 {
28342 PyThreadState* __tstate = wxPyBeginAllowThreads();
28343 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28344
28345 wxPyEndAllowThreads(__tstate);
28346 if (PyErr_Occurred()) SWIG_fail;
28347 }
28348 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
28349 return resultobj;
28350 fail:
28351 return NULL;
28352 }
28353
28354
28355 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
28356 PyObject *obj;
28357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28358 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28359 Py_INCREF(obj);
28360 return Py_BuildValue((char *)"");
28361 }
28362 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28363 PyObject *resultobj;
28364 wxBitmap *arg1 = 0 ;
28365 wxCursor const &arg2_defvalue = wxNullCursor ;
28366 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28367 wxGenericDragImage *result;
28368 PyObject * obj0 = 0 ;
28369 PyObject * obj1 = 0 ;
28370 char *kwnames[] = {
28371 (char *) "image",(char *) "cursor", NULL
28372 };
28373
28374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28376 if (arg1 == NULL) {
28377 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28378 }
28379 if (obj1) {
28380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28381 if (arg2 == NULL) {
28382 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28383 }
28384 }
28385 {
28386 PyThreadState* __tstate = wxPyBeginAllowThreads();
28387 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28388
28389 wxPyEndAllowThreads(__tstate);
28390 if (PyErr_Occurred()) SWIG_fail;
28391 }
28392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28393 return resultobj;
28394 fail:
28395 return NULL;
28396 }
28397
28398
28399 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
28400 PyObject *resultobj;
28401 wxIcon *arg1 = 0 ;
28402 wxCursor const &arg2_defvalue = wxNullCursor ;
28403 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28404 wxGenericDragImage *result;
28405 PyObject * obj0 = 0 ;
28406 PyObject * obj1 = 0 ;
28407 char *kwnames[] = {
28408 (char *) "image",(char *) "cursor", NULL
28409 };
28410
28411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28413 if (arg1 == NULL) {
28414 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28415 }
28416 if (obj1) {
28417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28418 if (arg2 == NULL) {
28419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28420 }
28421 }
28422 {
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28425
28426 wxPyEndAllowThreads(__tstate);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 }
28429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28430 return resultobj;
28431 fail:
28432 return NULL;
28433 }
28434
28435
28436 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
28437 PyObject *resultobj;
28438 wxString *arg1 = 0 ;
28439 wxCursor const &arg2_defvalue = wxNullCursor ;
28440 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28441 wxGenericDragImage *result;
28442 bool temp1 = False ;
28443 PyObject * obj0 = 0 ;
28444 PyObject * obj1 = 0 ;
28445 char *kwnames[] = {
28446 (char *) "str",(char *) "cursor", NULL
28447 };
28448
28449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28450 {
28451 arg1 = wxString_in_helper(obj0);
28452 if (arg1 == NULL) SWIG_fail;
28453 temp1 = True;
28454 }
28455 if (obj1) {
28456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28457 if (arg2 == NULL) {
28458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28459 }
28460 }
28461 {
28462 PyThreadState* __tstate = wxPyBeginAllowThreads();
28463 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28464
28465 wxPyEndAllowThreads(__tstate);
28466 if (PyErr_Occurred()) SWIG_fail;
28467 }
28468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28469 {
28470 if (temp1)
28471 delete arg1;
28472 }
28473 return resultobj;
28474 fail:
28475 {
28476 if (temp1)
28477 delete arg1;
28478 }
28479 return NULL;
28480 }
28481
28482
28483 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28484 PyObject *resultobj;
28485 wxPyTreeCtrl *arg1 = 0 ;
28486 wxTreeItemId *arg2 = 0 ;
28487 wxGenericDragImage *result;
28488 PyObject * obj0 = 0 ;
28489 PyObject * obj1 = 0 ;
28490 char *kwnames[] = {
28491 (char *) "treeCtrl",(char *) "id", NULL
28492 };
28493
28494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28496 if (arg1 == NULL) {
28497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28498 }
28499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28500 if (arg2 == NULL) {
28501 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28502 }
28503 {
28504 PyThreadState* __tstate = wxPyBeginAllowThreads();
28505 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
28506
28507 wxPyEndAllowThreads(__tstate);
28508 if (PyErr_Occurred()) SWIG_fail;
28509 }
28510 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28511 return resultobj;
28512 fail:
28513 return NULL;
28514 }
28515
28516
28517 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28518 PyObject *resultobj;
28519 wxPyListCtrl *arg1 = 0 ;
28520 long arg2 ;
28521 wxGenericDragImage *result;
28522 PyObject * obj0 = 0 ;
28523 PyObject * obj1 = 0 ;
28524 char *kwnames[] = {
28525 (char *) "listCtrl",(char *) "id", NULL
28526 };
28527
28528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
28529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28530 if (arg1 == NULL) {
28531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28532 }
28533 {
28534 arg2 = (long) SWIG_PyObj_AsLong(obj1);
28535 if (PyErr_Occurred()) SWIG_fail;
28536 }
28537 {
28538 PyThreadState* __tstate = wxPyBeginAllowThreads();
28539 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
28540
28541 wxPyEndAllowThreads(__tstate);
28542 if (PyErr_Occurred()) SWIG_fail;
28543 }
28544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28545 return resultobj;
28546 fail:
28547 return NULL;
28548 }
28549
28550
28551 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28552 PyObject *resultobj;
28553 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28554 PyObject * obj0 = 0 ;
28555 char *kwnames[] = {
28556 (char *) "self", NULL
28557 };
28558
28559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
28560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28561 {
28562 PyThreadState* __tstate = wxPyBeginAllowThreads();
28563 delete arg1;
28564
28565 wxPyEndAllowThreads(__tstate);
28566 if (PyErr_Occurred()) SWIG_fail;
28567 }
28568 Py_INCREF(Py_None); resultobj = Py_None;
28569 return resultobj;
28570 fail:
28571 return NULL;
28572 }
28573
28574
28575 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
28576 PyObject *resultobj;
28577 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28578 wxBitmap *arg2 = (wxBitmap *) 0 ;
28579 PyObject * obj0 = 0 ;
28580 PyObject * obj1 = 0 ;
28581 char *kwnames[] = {
28582 (char *) "self",(char *) "bitmap", NULL
28583 };
28584
28585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
28586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28588 {
28589 PyThreadState* __tstate = wxPyBeginAllowThreads();
28590 (arg1)->SetBackingBitmap(arg2);
28591
28592 wxPyEndAllowThreads(__tstate);
28593 if (PyErr_Occurred()) SWIG_fail;
28594 }
28595 Py_INCREF(Py_None); resultobj = Py_None;
28596 return resultobj;
28597 fail:
28598 return NULL;
28599 }
28600
28601
28602 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28603 PyObject *resultobj;
28604 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28605 wxPoint *arg2 = 0 ;
28606 wxWindow *arg3 = (wxWindow *) 0 ;
28607 bool arg4 = (bool) False ;
28608 wxRect *arg5 = (wxRect *) NULL ;
28609 bool result;
28610 wxPoint temp2 ;
28611 PyObject * obj0 = 0 ;
28612 PyObject * obj1 = 0 ;
28613 PyObject * obj2 = 0 ;
28614 PyObject * obj3 = 0 ;
28615 PyObject * obj4 = 0 ;
28616 char *kwnames[] = {
28617 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28618 };
28619
28620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28622 {
28623 arg2 = &temp2;
28624 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28625 }
28626 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28627 if (obj3) {
28628 {
28629 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
28630 if (PyErr_Occurred()) SWIG_fail;
28631 }
28632 }
28633 if (obj4) {
28634 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28635 }
28636 {
28637 PyThreadState* __tstate = wxPyBeginAllowThreads();
28638 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
28639
28640 wxPyEndAllowThreads(__tstate);
28641 if (PyErr_Occurred()) SWIG_fail;
28642 }
28643 resultobj = SWIG_PyObj_FromBool((bool)result);
28644 return resultobj;
28645 fail:
28646 return NULL;
28647 }
28648
28649
28650 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
28651 PyObject *resultobj;
28652 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28653 wxPoint *arg2 = 0 ;
28654 wxWindow *arg3 = (wxWindow *) 0 ;
28655 wxWindow *arg4 = (wxWindow *) 0 ;
28656 bool result;
28657 wxPoint temp2 ;
28658 PyObject * obj0 = 0 ;
28659 PyObject * obj1 = 0 ;
28660 PyObject * obj2 = 0 ;
28661 PyObject * obj3 = 0 ;
28662 char *kwnames[] = {
28663 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28664 };
28665
28666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
28667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28668 {
28669 arg2 = &temp2;
28670 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28671 }
28672 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28673 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28674 {
28675 PyThreadState* __tstate = wxPyBeginAllowThreads();
28676 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
28677
28678 wxPyEndAllowThreads(__tstate);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 }
28681 resultobj = SWIG_PyObj_FromBool((bool)result);
28682 return resultobj;
28683 fail:
28684 return NULL;
28685 }
28686
28687
28688 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
28689 PyObject *resultobj;
28690 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28691 bool result;
28692 PyObject * obj0 = 0 ;
28693 char *kwnames[] = {
28694 (char *) "self", NULL
28695 };
28696
28697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
28698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28699 {
28700 PyThreadState* __tstate = wxPyBeginAllowThreads();
28701 result = (bool)(arg1)->EndDrag();
28702
28703 wxPyEndAllowThreads(__tstate);
28704 if (PyErr_Occurred()) SWIG_fail;
28705 }
28706 resultobj = SWIG_PyObj_FromBool((bool)result);
28707 return resultobj;
28708 fail:
28709 return NULL;
28710 }
28711
28712
28713 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
28714 PyObject *resultobj;
28715 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28716 wxPoint *arg2 = 0 ;
28717 bool result;
28718 wxPoint temp2 ;
28719 PyObject * obj0 = 0 ;
28720 PyObject * obj1 = 0 ;
28721 char *kwnames[] = {
28722 (char *) "self",(char *) "pt", NULL
28723 };
28724
28725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
28726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28727 {
28728 arg2 = &temp2;
28729 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28730 }
28731 {
28732 PyThreadState* __tstate = wxPyBeginAllowThreads();
28733 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
28734
28735 wxPyEndAllowThreads(__tstate);
28736 if (PyErr_Occurred()) SWIG_fail;
28737 }
28738 resultobj = SWIG_PyObj_FromBool((bool)result);
28739 return resultobj;
28740 fail:
28741 return NULL;
28742 }
28743
28744
28745 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
28746 PyObject *resultobj;
28747 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28748 bool result;
28749 PyObject * obj0 = 0 ;
28750 char *kwnames[] = {
28751 (char *) "self", NULL
28752 };
28753
28754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
28755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28756 {
28757 PyThreadState* __tstate = wxPyBeginAllowThreads();
28758 result = (bool)(arg1)->Show();
28759
28760 wxPyEndAllowThreads(__tstate);
28761 if (PyErr_Occurred()) SWIG_fail;
28762 }
28763 resultobj = SWIG_PyObj_FromBool((bool)result);
28764 return resultobj;
28765 fail:
28766 return NULL;
28767 }
28768
28769
28770 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
28771 PyObject *resultobj;
28772 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28773 bool result;
28774 PyObject * obj0 = 0 ;
28775 char *kwnames[] = {
28776 (char *) "self", NULL
28777 };
28778
28779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
28780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 result = (bool)(arg1)->Hide();
28784
28785 wxPyEndAllowThreads(__tstate);
28786 if (PyErr_Occurred()) SWIG_fail;
28787 }
28788 resultobj = SWIG_PyObj_FromBool((bool)result);
28789 return resultobj;
28790 fail:
28791 return NULL;
28792 }
28793
28794
28795 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
28796 PyObject *resultobj;
28797 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28798 wxPoint *arg2 = 0 ;
28799 wxRect result;
28800 wxPoint temp2 ;
28801 PyObject * obj0 = 0 ;
28802 PyObject * obj1 = 0 ;
28803 char *kwnames[] = {
28804 (char *) "self",(char *) "pos", NULL
28805 };
28806
28807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
28808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28809 {
28810 arg2 = &temp2;
28811 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28812 }
28813 {
28814 PyThreadState* __tstate = wxPyBeginAllowThreads();
28815 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
28816
28817 wxPyEndAllowThreads(__tstate);
28818 if (PyErr_Occurred()) SWIG_fail;
28819 }
28820 {
28821 wxRect * resultptr;
28822 resultptr = new wxRect((wxRect &) result);
28823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
28824 }
28825 return resultobj;
28826 fail:
28827 return NULL;
28828 }
28829
28830
28831 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28832 PyObject *resultobj;
28833 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28834 wxDC *arg2 = 0 ;
28835 wxPoint *arg3 = 0 ;
28836 bool result;
28837 wxPoint temp3 ;
28838 PyObject * obj0 = 0 ;
28839 PyObject * obj1 = 0 ;
28840 PyObject * obj2 = 0 ;
28841 char *kwnames[] = {
28842 (char *) "self",(char *) "dc",(char *) "pos", NULL
28843 };
28844
28845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
28846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28848 if (arg2 == NULL) {
28849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28850 }
28851 {
28852 arg3 = &temp3;
28853 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28854 }
28855 {
28856 PyThreadState* __tstate = wxPyBeginAllowThreads();
28857 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
28858
28859 wxPyEndAllowThreads(__tstate);
28860 if (PyErr_Occurred()) SWIG_fail;
28861 }
28862 resultobj = SWIG_PyObj_FromBool((bool)result);
28863 return resultobj;
28864 fail:
28865 return NULL;
28866 }
28867
28868
28869 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28870 PyObject *resultobj;
28871 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28872 wxDC *arg2 = 0 ;
28873 wxMemoryDC *arg3 = 0 ;
28874 wxRect *arg4 = 0 ;
28875 wxRect *arg5 = 0 ;
28876 bool result;
28877 wxRect temp4 ;
28878 wxRect temp5 ;
28879 PyObject * obj0 = 0 ;
28880 PyObject * obj1 = 0 ;
28881 PyObject * obj2 = 0 ;
28882 PyObject * obj3 = 0 ;
28883 PyObject * obj4 = 0 ;
28884 char *kwnames[] = {
28885 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
28886 };
28887
28888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28891 if (arg2 == NULL) {
28892 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28893 }
28894 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28895 if (arg3 == NULL) {
28896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28897 }
28898 {
28899 arg4 = &temp4;
28900 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
28901 }
28902 {
28903 arg5 = &temp5;
28904 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
28905 }
28906 {
28907 PyThreadState* __tstate = wxPyBeginAllowThreads();
28908 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
28909
28910 wxPyEndAllowThreads(__tstate);
28911 if (PyErr_Occurred()) SWIG_fail;
28912 }
28913 resultobj = SWIG_PyObj_FromBool((bool)result);
28914 return resultobj;
28915 fail:
28916 return NULL;
28917 }
28918
28919
28920 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28921 PyObject *resultobj;
28922 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28923 wxPoint *arg2 = 0 ;
28924 wxPoint *arg3 = 0 ;
28925 bool arg4 ;
28926 bool arg5 ;
28927 bool result;
28928 wxPoint temp2 ;
28929 wxPoint temp3 ;
28930 PyObject * obj0 = 0 ;
28931 PyObject * obj1 = 0 ;
28932 PyObject * obj2 = 0 ;
28933 PyObject * obj3 = 0 ;
28934 PyObject * obj4 = 0 ;
28935 char *kwnames[] = {
28936 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
28937 };
28938
28939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28941 {
28942 arg2 = &temp2;
28943 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28944 }
28945 {
28946 arg3 = &temp3;
28947 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28948 }
28949 {
28950 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
28951 if (PyErr_Occurred()) SWIG_fail;
28952 }
28953 {
28954 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
28955 if (PyErr_Occurred()) SWIG_fail;
28956 }
28957 {
28958 PyThreadState* __tstate = wxPyBeginAllowThreads();
28959 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
28960
28961 wxPyEndAllowThreads(__tstate);
28962 if (PyErr_Occurred()) SWIG_fail;
28963 }
28964 resultobj = SWIG_PyObj_FromBool((bool)result);
28965 return resultobj;
28966 fail:
28967 return NULL;
28968 }
28969
28970
28971 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
28972 PyObject *obj;
28973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28974 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
28975 Py_INCREF(obj);
28976 return Py_BuildValue((char *)"");
28977 }
28978 static PyMethodDef SwigMethods[] = {
28979 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
28980 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
28981 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
28982 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
28983 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
28984 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
28985 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
28986 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
28987 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
28988 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
28989 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
28990 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
28991 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
28992 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
28993 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
28994 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
28995 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
28996 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
28997 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
28998 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
28999 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29000 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29001 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29002 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29003 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29004 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29005 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29006 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29007 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29008 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29009 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29010 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29011 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29012 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29013 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29014 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
29015 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
29016 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29017 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29018 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29019 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29020 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29021 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29022 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29023 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29024 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29025 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29026 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29027 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29028 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29029 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29030 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29031 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29032 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29033 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29034 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29035 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29036 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29037 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29038 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29039 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29040 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29041 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29042 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29043 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29044 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29045 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29046 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29047 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29048 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29049 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29050 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29051 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29052 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29053 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29054 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29055 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29056 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29057 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29058 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29059 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29060 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29061 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29062 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29063 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29064 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29065 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29066 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29067 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29068 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29069 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29070 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29071 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29072 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29073 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29074 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29075 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29076 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29077 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29078 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29079 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29080 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29081 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29082 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29083 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29084 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29085 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29086 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29087 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29088 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29089 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29090 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29091 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29092 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29093 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29094 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29095 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29096 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
29097 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29098 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29099 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29100 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29101 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29102 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29103 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29104 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29105 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29106 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29107 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29108 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29109 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29110 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29111 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29112 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29113 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29114 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29115 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29116 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29117 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29118 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29119 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29120 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29121 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29122 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29123 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29124 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29125 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29126 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29127 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29128 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29129 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29130 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29131 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29132 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29133 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29134 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29135 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29136 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29137 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29138 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29139 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29140 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29141 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29142 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29143 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29144 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29145 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29146 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29147 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29148 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29149 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29150 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29151 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29152 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29153 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29154 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29155 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29156 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29157 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29158 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29159 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29160 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29161 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29162 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29163 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29164 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29165 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29166 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29167 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29168 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29169 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29170 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29171 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29172 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29173 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29174 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29175 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29176 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29177 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29178 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29179 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29180 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29181 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29182 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29183 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29184 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29185 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29186 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29187 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29188 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29189 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29190 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29191 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29192 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29193 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29194 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29195 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29196 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29197 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29198 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29199 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29200 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29201 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29202 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29203 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29204 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29205 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29206 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29207 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29208 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29209 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29210 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29211 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29212 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29213 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29214 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29215 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29216 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29217 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29218 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29219 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29220 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29221 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29222 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29223 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29224 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29225 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29226 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29227 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29228 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29229 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29230 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29231 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29232 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29233 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29234 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29235 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29236 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29237 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29238 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29239 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29240 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29241 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29242 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29243 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29244 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29245 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
29246 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29247 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29248 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
29249 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
29250 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
29251 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
29252 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
29253 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
29254 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
29255 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
29256 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
29257 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
29258 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
29259 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
29260 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29261 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
29262 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29263 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
29264 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
29265 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
29266 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
29267 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
29268 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
29269 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
29270 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
29271 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
29272 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
29273 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
29274 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
29275 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
29276 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
29277 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29278 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29279 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
29280 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
29281 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
29282 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
29283 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29284 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
29285 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
29286 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29287 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29288 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29289 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
29290 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
29291 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29292 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29293 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
29294 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
29295 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
29296 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
29297 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
29298 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29299 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
29300 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
29301 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
29302 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
29303 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
29304 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
29305 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
29306 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
29307 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
29308 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
29309 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
29310 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29311 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
29312 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
29313 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
29314 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29315 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
29316 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
29317 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
29318 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
29319 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
29320 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
29321 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
29322 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
29323 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
29324 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
29325 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
29326 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29327 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29328 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
29329 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
29330 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
29331 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29332 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29333 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
29334 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
29335 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
29336 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
29337 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
29338 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
29339 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
29340 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
29341 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
29342 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
29343 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
29344 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
29345 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
29346 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29347 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29348 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29349 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
29350 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
29351 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
29352 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
29353 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
29354 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29355 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
29356 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
29357 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29358 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29359 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
29360 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
29361 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
29362 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
29363 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
29364 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
29365 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
29366 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
29367 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
29368 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
29369 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
29370 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
29371 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
29372 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
29373 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
29374 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
29375 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
29376 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
29377 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
29378 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
29379 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
29380 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
29381 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29382 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
29383 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
29384 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
29385 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
29386 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
29387 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29388 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29389 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29390 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29391 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
29392 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
29393 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
29394 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29395 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
29396 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
29397 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
29398 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29399 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
29400 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
29401 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
29402 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
29403 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29404 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29405 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
29406 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29407 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
29408 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
29409 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
29410 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
29411 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
29412 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
29413 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29414 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
29415 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
29416 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29417 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29418 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29419 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29420 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29421 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29422 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29423 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29424 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29425 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
29426 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
29427 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
29428 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
29429 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
29430 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
29431 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
29432 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
29433 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
29434 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
29435 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
29436 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
29437 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
29438 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
29439 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
29440 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
29441 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29442 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29443 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
29444 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
29445 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
29446 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
29447 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
29448 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
29449 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
29450 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
29451 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
29452 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
29453 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
29454 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
29455 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29456 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29457 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
29458 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
29459 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
29460 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
29461 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
29462 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
29463 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
29464 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
29465 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
29466 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
29467 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
29468 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
29469 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
29470 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
29471 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
29472 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
29473 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
29474 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
29475 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
29476 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
29477 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
29478 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
29479 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
29480 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
29481 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
29482 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
29483 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
29484 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
29485 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
29486 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
29487 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
29488 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
29489 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
29490 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
29491 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29492 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
29493 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
29494 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29495 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29496 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
29497 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
29498 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
29499 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
29500 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29501 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
29502 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
29503 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29504 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29505 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
29506 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
29507 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
29508 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29509 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29510 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
29511 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29512 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
29513 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
29514 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29515 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29516 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
29517 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
29518 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
29519 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
29520 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
29521 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
29522 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
29523 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29524 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29525 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29526 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29527 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29528 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
29529 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
29530 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
29531 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
29532 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29533 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29534 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29535 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
29536 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29537 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29538 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
29539 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
29540 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
29541 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29542 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29543 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29544 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29545 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
29546 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
29547 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
29548 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
29549 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
29550 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29551 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
29552 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
29553 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
29554 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29555 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29556 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
29557 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
29558 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
29559 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29560 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29561 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
29562 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
29563 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
29564 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
29565 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
29566 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
29567 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
29568 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29569 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29570 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29571 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29572 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
29573 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
29574 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
29575 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
29576 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
29577 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
29578 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
29579 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
29580 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
29581 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
29582 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
29583 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
29584 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
29585 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
29586 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
29587 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29588 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
29589 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
29590 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
29591 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
29592 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
29593 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
29594 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
29595 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
29596 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
29597 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
29598 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
29599 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
29600 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
29601 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
29602 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
29603 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29604 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
29605 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
29606 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
29607 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29608 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
29609 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29610 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29611 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
29612 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29613 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
29614 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29615 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29616 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
29617 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
29618 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
29619 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29620 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29621 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29622 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
29623 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
29624 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
29625 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
29626 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
29627 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29628 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
29629 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29630 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
29631 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29632 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
29633 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29634 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
29635 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29636 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
29637 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29638 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29639 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
29640 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29641 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29642 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29643 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
29644 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29645 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
29646 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
29647 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29648 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29649 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
29650 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
29651 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
29652 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
29653 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
29654 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
29655 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
29656 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29657 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
29658 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
29659 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
29660 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
29661 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
29662 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
29663 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
29664 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
29665 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
29666 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
29667 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
29668 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
29669 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
29670 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
29671 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
29672 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
29673 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
29674 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29675 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
29676 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
29677 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
29678 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
29679 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
29680 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
29681 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
29682 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29683 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
29684 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29685 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
29686 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
29687 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29688 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
29689 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
29690 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29691 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
29692 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29693 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
29694 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29695 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
29696 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
29697 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
29698 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
29699 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
29700 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
29701 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
29702 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
29703 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29704 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
29705 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
29706 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
29707 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29708 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
29709 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
29710 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
29711 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
29712 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29713 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
29714 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29715 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
29716 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
29717 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
29718 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29719 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
29720 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
29721 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
29722 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
29723 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
29724 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
29725 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
29726 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
29727 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
29728 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
29729 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
29730 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
29731 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
29733 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
29736 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
29737 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
29738 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29740 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29741 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
29746 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
29747 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
29748 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
29751 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
29752 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
29753 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
29754 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
29755 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
29756 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
29758 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
29759 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
29760 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
29761 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
29763 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
29765 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
29767 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
29770 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
29771 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
29774 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
29775 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
29780 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
29781 { NULL, NULL }
29782 };
29783
29784
29785 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29786
29787 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
29788 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
29789 }
29790 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
29791 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
29792 }
29793 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
29794 return (void *)((wxSizer *) ((wxBoxSizer *) x));
29795 }
29796 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
29797 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
29798 }
29799 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
29800 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
29801 }
29802 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
29803 return (void *)((wxSizer *) ((wxGridSizer *) x));
29804 }
29805 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
29806 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
29807 }
29808 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
29809 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
29810 }
29811 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
29812 return (void *)((wxSizer *) ((wxPySizer *) x));
29813 }
29814 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
29815 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
29816 }
29817 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
29818 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
29819 }
29820 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
29821 return (void *)((wxEvent *) ((wxMenuEvent *) x));
29822 }
29823 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
29824 return (void *)((wxEvent *) ((wxCloseEvent *) x));
29825 }
29826 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
29827 return (void *)((wxEvent *) ((wxMouseEvent *) x));
29828 }
29829 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
29830 return (void *)((wxEvent *) ((wxEraseEvent *) x));
29831 }
29832 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
29833 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
29834 }
29835 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
29836 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
29837 }
29838 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
29839 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
29840 }
29841 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
29842 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
29843 }
29844 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
29845 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
29846 }
29847 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
29848 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
29849 }
29850 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
29851 return (void *)((wxEvent *) ((wxPyEvent *) x));
29852 }
29853 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
29854 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
29855 }
29856 static void *_p_wxListEventTo_p_wxEvent(void *x) {
29857 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
29858 }
29859 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
29860 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
29861 }
29862 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
29863 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
29864 }
29865 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
29866 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
29867 }
29868 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
29869 return (void *)((wxEvent *) ((wxIdleEvent *) x));
29870 }
29871 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
29872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
29873 }
29874 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
29875 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
29876 }
29877 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
29878 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
29879 }
29880 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
29881 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
29882 }
29883 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
29884 return (void *)((wxEvent *) ((wxActivateEvent *) x));
29885 }
29886 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
29887 return (void *)((wxEvent *) ((wxSizeEvent *) x));
29888 }
29889 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
29890 return (void *)((wxEvent *) ((wxMoveEvent *) x));
29891 }
29892 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
29893 return (void *)((wxEvent *) ((wxPaintEvent *) x));
29894 }
29895 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
29896 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
29897 }
29898 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
29899 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
29900 }
29901 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
29902 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
29903 }
29904 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
29905 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
29906 }
29907 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
29908 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
29909 }
29910 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
29911 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
29912 }
29913 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
29914 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
29915 }
29916 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
29917 return (void *)((wxEvent *) ((wxFocusEvent *) x));
29918 }
29919 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
29920 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
29921 }
29922 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
29923 return (void *)((wxEvent *) ((wxShowEvent *) x));
29924 }
29925 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
29926 return (void *)((wxEvent *) ((wxCommandEvent *) x));
29927 }
29928 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
29929 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
29930 }
29931 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
29932 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
29933 }
29934 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
29935 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
29936 }
29937 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
29938 return (void *)((wxEvent *) ((wxKeyEvent *) x));
29939 }
29940 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
29941 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
29942 }
29943 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
29944 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
29945 }
29946 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
29947 return (void *)((wxItemContainer *) ((wxComboBox *) x));
29948 }
29949 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
29950 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
29951 }
29952 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
29953 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
29954 }
29955 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
29956 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
29957 }
29958 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
29959 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
29960 }
29961 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
29962 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
29963 }
29964 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
29965 return (void *)((wxPyListCtrl *) ((wxListView *) x));
29966 }
29967 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
29968 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
29969 }
29970 static void *_p_wxListBoxTo_p_wxControl(void *x) {
29971 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
29972 }
29973 static void *_p_wxChoiceTo_p_wxControl(void *x) {
29974 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
29975 }
29976 static void *_p_wxToolBarTo_p_wxControl(void *x) {
29977 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
29978 }
29979 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
29980 return (void *)((wxControl *) ((wxStaticBitmap *) x));
29981 }
29982 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
29983 return (void *)((wxControl *) ((wxComboBox *) x));
29984 }
29985 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
29986 return (void *)((wxControl *) ((wxSpinCtrl *) x));
29987 }
29988 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
29989 return (void *)((wxControl *) ((wxStaticBox *) x));
29990 }
29991 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
29992 return (void *)((wxControl *) ((wxPyListCtrl *) x));
29993 }
29994 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
29995 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
29996 }
29997 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
29998 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
29999 }
30000 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30001 return (void *)((wxControl *) ((wxScrollBar *) x));
30002 }
30003 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30004 return (void *)((wxControl *) ((wxBookCtrl *) x));
30005 }
30006 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30007 return (void *)((wxControl *) ((wxRadioButton *) x));
30008 }
30009 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30010 return (void *)((wxControl *) ((wxToggleButton *) x));
30011 }
30012 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30013 return (void *)((wxControl *) ((wxGauge *) x));
30014 }
30015 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30016 return (void *)((wxControl *) ((wxToolBarBase *) x));
30017 }
30018 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30019 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30020 }
30021 static void *_p_wxButtonTo_p_wxControl(void *x) {
30022 return (void *)((wxControl *) ((wxButton *) x));
30023 }
30024 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30025 return (void *)((wxControl *) ((wxSpinButton *) x));
30026 }
30027 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30028 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30029 }
30030 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30031 return (void *)((wxControl *) ((wxControlWithItems *) x));
30032 }
30033 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30034 return (void *)((wxControl *) ((wxRadioBox *) x));
30035 }
30036 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30037 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30038 }
30039 static void *_p_wxListbookTo_p_wxControl(void *x) {
30040 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30041 }
30042 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30043 return (void *)((wxControl *) ((wxCheckBox *) x));
30044 }
30045 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30046 return (void *)((wxControl *) ((wxTextCtrl *) x));
30047 }
30048 static void *_p_wxListViewTo_p_wxControl(void *x) {
30049 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30050 }
30051 static void *_p_wxSliderTo_p_wxControl(void *x) {
30052 return (void *)((wxControl *) ((wxSlider *) x));
30053 }
30054 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30055 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30056 }
30057 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30058 return (void *)((wxControl *) ((wxPyControl *) x));
30059 }
30060 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30061 return (void *)((wxControl *) ((wxStaticLine *) x));
30062 }
30063 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30064 return (void *)((wxControl *) ((wxStaticText *) x));
30065 }
30066 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30067 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30068 }
30069 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30070 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30071 }
30072 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30073 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30074 }
30075 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30076 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30077 }
30078 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30079 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30080 }
30081 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30082 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30083 }
30084 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30085 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30086 }
30087 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30088 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30089 }
30090 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30092 }
30093 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30094 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30095 }
30096 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30097 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30098 }
30099 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30100 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30101 }
30102 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30104 }
30105 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30106 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30107 }
30108 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30110 }
30111 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30113 }
30114 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30115 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30116 }
30117 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30118 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30119 }
30120 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30122 }
30123 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30125 }
30126 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
30128 }
30129 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30131 }
30132 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30134 }
30135 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30136 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30137 }
30138 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30139 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30140 }
30141 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30143 }
30144 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30146 }
30147 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30148 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30149 }
30150 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30152 }
30153 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30154 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30155 }
30156 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30157 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30158 }
30159 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30160 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30161 }
30162 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30163 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30164 }
30165 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30167 }
30168 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30169 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30170 }
30171 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30172 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30173 }
30174 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30175 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30176 }
30177 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30178 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30179 }
30180 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30181 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30182 }
30183 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30185 }
30186 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30187 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30188 }
30189 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30190 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30191 }
30192 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30193 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30194 }
30195 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30196 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30197 }
30198 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30199 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30200 }
30201 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30202 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30203 }
30204 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30205 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30206 }
30207 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30208 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30209 }
30210 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30211 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30212 }
30213 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30214 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30215 }
30216 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30217 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30218 }
30219 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30220 return (void *)((wxButton *) ((wxBitmapButton *) x));
30221 }
30222 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30223 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30224 }
30225 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30226 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30227 }
30228 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30229 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30230 }
30231 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30232 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30233 }
30234 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30235 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30236 }
30237 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30238 return (void *)((wxObject *) ((wxSizerItem *) x));
30239 }
30240 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30241 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30242 }
30243 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30244 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30245 }
30246 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30247 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30248 }
30249 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30250 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30251 }
30252 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30253 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30254 }
30255 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30256 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30257 }
30258 static void *_p_wxSizerTo_p_wxObject(void *x) {
30259 return (void *)((wxObject *) ((wxSizer *) x));
30260 }
30261 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30262 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30263 }
30264 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30266 }
30267 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30269 }
30270 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30271 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30272 }
30273 static void *_p_wxEventTo_p_wxObject(void *x) {
30274 return (void *)((wxObject *) ((wxEvent *) x));
30275 }
30276 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30277 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30278 }
30279 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30280 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30281 }
30282 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30283 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30284 }
30285 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30287 }
30288 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30290 }
30291 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30293 }
30294 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30295 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30296 }
30297 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30298 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30299 }
30300 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30301 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30302 }
30303 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30304 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30305 }
30306 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30307 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30308 }
30309 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30310 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30311 }
30312 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30314 }
30315 static void *_p_wxControlTo_p_wxObject(void *x) {
30316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30317 }
30318 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30320 }
30321 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30323 }
30324 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30326 }
30327 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30329 }
30330 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30331 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30332 }
30333 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30334 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30335 }
30336 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30338 }
30339 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30340 return (void *)((wxObject *) ((wxFSFile *) x));
30341 }
30342 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30343 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30344 }
30345 static void *_p_wxListViewTo_p_wxObject(void *x) {
30346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30347 }
30348 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30350 }
30351 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30353 }
30354 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30355 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30356 }
30357 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30358 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30359 }
30360 static void *_p_wxListbookTo_p_wxObject(void *x) {
30361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30362 }
30363 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30364 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30365 }
30366 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30368 }
30369 static void *_p_wxSliderTo_p_wxObject(void *x) {
30370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30371 }
30372 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30373 return (void *)((wxObject *) ((wxMenuItem *) x));
30374 }
30375 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30376 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30377 }
30378 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30379 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30380 }
30381 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30382 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30383 }
30384 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30385 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30386 }
30387 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30388 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30389 }
30390 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30391 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30392 }
30393 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30394 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30395 }
30396 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30397 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30398 }
30399 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30401 }
30402 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30403 return (void *)((wxObject *) ((wxContextHelp *) x));
30404 }
30405 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30406 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30407 }
30408 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30409 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30410 }
30411 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30412 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30413 }
30414 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30415 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30416 }
30417 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30418 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30419 }
30420 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30421 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30422 }
30423 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30424 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30425 }
30426 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30427 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30428 }
30429 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30430 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30431 }
30432 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30433 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30434 }
30435 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30436 return (void *)((wxObject *) ((wxImageHandler *) x));
30437 }
30438 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30439 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30440 }
30441 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30442 return (void *)((wxObject *) ((wxEvtHandler *) x));
30443 }
30444 static void *_p_wxListEventTo_p_wxObject(void *x) {
30445 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30446 }
30447 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30449 }
30450 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30452 }
30453 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30454 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30455 }
30456 static void *_p_wxButtonTo_p_wxObject(void *x) {
30457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30458 }
30459 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30461 }
30462 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30464 }
30465 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30467 }
30468 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30469 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30470 }
30471 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30473 }
30474 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30476 }
30477 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
30479 }
30480 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
30481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
30482 }
30483 static void *_p_wxListItemTo_p_wxObject(void *x) {
30484 return (void *)((wxObject *) ((wxListItem *) x));
30485 }
30486 static void *_p_wxImageTo_p_wxObject(void *x) {
30487 return (void *)((wxObject *) ((wxImage *) x));
30488 }
30489 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
30490 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
30491 }
30492 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30493 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30494 }
30495 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
30496 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30497 }
30498 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
30499 return (void *)((wxObject *) ((wxGenericDragImage *) x));
30500 }
30501 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
30502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30503 }
30504 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
30505 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30506 }
30507 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
30508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30509 }
30510 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30511 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30512 }
30513 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30514 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30515 }
30516 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30517 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30518 }
30519 static void *_p_wxWindowTo_p_wxObject(void *x) {
30520 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30521 }
30522 static void *_p_wxMenuTo_p_wxObject(void *x) {
30523 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30524 }
30525 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30527 }
30528 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30529 return (void *)((wxObject *) ((wxFileSystem *) x));
30530 }
30531 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30532 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30533 }
30534 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30535 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30536 }
30537 static void *_p_wxPyAppTo_p_wxObject(void *x) {
30538 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30539 }
30540 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30541 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30542 }
30543 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30544 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30545 }
30546 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30547 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30548 }
30549 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
30550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30551 }
30552 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30553 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
30554 }
30555 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
30556 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
30557 }
30558 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
30559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
30560 }
30561 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
30562 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
30563 }
30564 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
30565 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
30566 }
30567 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
30568 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
30569 }
30570 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
30571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30572 }
30573 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
30574 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
30575 }
30576 static void *_p_wxToolBarTo_p_wxObject(void *x) {
30577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30578 }
30579 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
30580 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
30581 }
30582 static void *_p_wxValidatorTo_p_wxObject(void *x) {
30583 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
30584 }
30585 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
30586 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
30587 }
30588 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
30589 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
30590 }
30591 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
30592 return (void *)((wxWindow *) ((wxMenuBar *) x));
30593 }
30594 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
30595 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30596 }
30597 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
30598 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
30599 }
30600 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
30601 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
30602 }
30603 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
30604 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
30605 }
30606 static void *_p_wxControlTo_p_wxWindow(void *x) {
30607 return (void *)((wxWindow *) ((wxControl *) x));
30608 }
30609 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
30610 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
30611 }
30612 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
30613 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30614 }
30615 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
30616 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
30617 }
30618 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
30619 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
30620 }
30621 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
30622 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
30623 }
30624 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
30625 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
30626 }
30627 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
30628 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
30629 }
30630 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
30631 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
30632 }
30633 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
30634 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
30635 }
30636 static void *_p_wxListbookTo_p_wxWindow(void *x) {
30637 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30638 }
30639 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
30640 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
30641 }
30642 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
30643 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
30644 }
30645 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
30646 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
30647 }
30648 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
30649 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30650 }
30651 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
30652 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30653 }
30654 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
30655 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30656 }
30657 static void *_p_wxListViewTo_p_wxWindow(void *x) {
30658 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30659 }
30660 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
30661 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30662 }
30663 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
30664 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
30665 }
30666 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
30667 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
30668 }
30669 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
30670 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
30671 }
30672 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
30673 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
30674 }
30675 static void *_p_wxSliderTo_p_wxWindow(void *x) {
30676 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
30677 }
30678 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
30679 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
30680 }
30681 static void *_p_wxButtonTo_p_wxWindow(void *x) {
30682 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
30683 }
30684 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
30685 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
30686 }
30687 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
30688 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30689 }
30690 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
30691 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
30692 }
30693 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
30694 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30695 }
30696 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
30697 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30698 }
30699 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
30700 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
30701 }
30702 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
30703 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
30704 }
30705 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
30706 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
30707 }
30708 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
30709 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
30710 }
30711 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
30712 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
30713 }
30714 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
30715 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30716 }
30717 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
30718 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30719 }
30720 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
30721 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
30722 }
30723 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
30724 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
30725 }
30726 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
30727 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
30728 }
30729 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
30730 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
30731 }
30732 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
30733 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
30734 }
30735 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
30736 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
30737 }
30738 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
30739 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
30740 }
30741 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
30742 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
30743 }
30744 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
30745 return (void *)((wxControlWithItems *) ((wxChoice *) x));
30746 }
30747 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
30748 return (void *)((wxControlWithItems *) ((wxListBox *) x));
30749 }
30750 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
30751 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
30752 }
30753 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
30754 return (void *)((wxValidator *) ((wxPyValidator *) x));
30755 }
30756 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30757 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}};
30758 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}};
30759 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30760 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30761 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}};
30762 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30763 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30764 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30765 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}};
30766 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30767 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
30768 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30769 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}};
30770 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30771 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30772 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
30773 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30774 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30775 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30776 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
30777 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30778 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30779 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30780 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30781 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30782 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30783 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30784 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30785 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30786 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30787 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}};
30788 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30789 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30790 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30791 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30792 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30793 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30794 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30795 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30796 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}};
30797 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30798 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
30799 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30800 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}};
30801 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30802 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}};
30803 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
30804 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30805 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30806 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30807 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30808 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30809 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30810 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30811 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30812 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30813 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30814 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30815 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30816 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30817 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30818 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
30819 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30820 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30821 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30822 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30823 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30824 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}};
30825 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
30826 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
30827 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}};
30828 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
30829 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
30830 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
30831 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
30832 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}};
30833 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
30834 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}};
30835 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
30836 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
30837 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
30838 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
30839 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
30840
30841 static swig_type_info *swig_types_initial[] = {
30842 _swigt__p_wxTextUrlEvent,
30843 _swigt__p_wxBookCtrlEvent,
30844 _swigt__p_wxSizer,
30845 _swigt__p_wxCheckBox,
30846 _swigt__p_wxPyTreeCtrl,
30847 _swigt__p_wxEvent,
30848 _swigt__p_wxGenericDirCtrl,
30849 _swigt__p_bool,
30850 _swigt__p_wxPyTreeItemData,
30851 _swigt__p_wxItemContainer,
30852 _swigt__p_wxDirFilterListCtrl,
30853 _swigt__p_wxPyListCtrl,
30854 _swigt__p_wxStaticLine,
30855 _swigt__p_wxControl,
30856 _swigt__p_wxPyControl,
30857 _swigt__p_wxGauge,
30858 _swigt__p_wxToolBarBase,
30859 _swigt__p_wxFont,
30860 _swigt__p_wxToggleButton,
30861 _swigt__p_wxRadioButton,
30862 _swigt__p_wxChoice,
30863 _swigt__p_wxMemoryDC,
30864 _swigt__p_wxListItemAttr,
30865 _swigt__p_void,
30866 _swigt__p_int,
30867 _swigt__p_wxSize,
30868 _swigt__p_wxDC,
30869 _swigt__p_wxListView,
30870 _swigt__p_wxIcon,
30871 _swigt__p_wxTextCtrl,
30872 _swigt__p_wxNotebook,
30873 _swigt__p_wxNotifyEvent,
30874 _swigt__p_wxArrayString,
30875 _swigt__p_wxListbook,
30876 _swigt__p_wxStaticBitmap,
30877 _swigt__p_wxSlider,
30878 _swigt__p_wxStaticBox,
30879 _swigt__p_wxArrayInt,
30880 _swigt__p_wxContextHelp,
30881 _swigt__p_long,
30882 _swigt__p_wxEvtHandler,
30883 _swigt__p_wxListEvent,
30884 _swigt__p_wxListBox,
30885 _swigt__p_wxCheckListBox,
30886 _swigt__p_wxBookCtrl,
30887 _swigt__p_wxSpinButton,
30888 _swigt__p_wxButton,
30889 _swigt__p_wxBitmapButton,
30890 _swigt__p_wxRect,
30891 _swigt__p_wxContextHelpButton,
30892 _swigt__p_wxRadioBox,
30893 _swigt__p_wxScrollBar,
30894 _swigt__p_char,
30895 _swigt__p_wxTreeItemId,
30896 _swigt__p_wxComboBox,
30897 _swigt__p_wxHelpEvent,
30898 _swigt__p_wxListItem,
30899 _swigt__p_wxNotebookSizer,
30900 _swigt__p_wxSpinEvent,
30901 _swigt__p_wxGenericDragImage,
30902 _swigt__p_wxSpinCtrl,
30903 _swigt__p_wxImageList,
30904 _swigt__p_wxHelpProvider,
30905 _swigt__p_wxTextAttr,
30906 _swigt__p_wxSimpleHelpProvider,
30907 _swigt__p_wxPoint,
30908 _swigt__p_wxListbookEvent,
30909 _swigt__p_wxNotebookEvent,
30910 _swigt__p_wxObject,
30911 _swigt__p_wxCursor,
30912 _swigt__p_wxKeyEvent,
30913 _swigt__p_wxWindow,
30914 _swigt__p_wxString,
30915 _swigt__p_wxBitmap,
30916 _swigt__p_wxTreeEvent,
30917 _swigt__p_wxMouseEvent,
30918 _swigt__p_wxCommandEvent,
30919 _swigt__p_wxStaticText,
30920 _swigt__p_wxControlWithItems,
30921 _swigt__p_wxToolBarToolBase,
30922 _swigt__p_wxColour,
30923 _swigt__p_wxToolBar,
30924 _swigt__p_wxBookCtrlSizer,
30925 _swigt__p_wxValidator,
30926 0
30927 };
30928
30929
30930 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
30931
30932 static swig_const_info swig_const_table[] = {
30933 {0}};
30934
30935 #ifdef __cplusplus
30936 }
30937 #endif
30938
30939 #ifdef __cplusplus
30940 extern "C"
30941 #endif
30942 SWIGEXPORT(void) SWIG_init(void) {
30943 static PyObject *SWIG_globals = 0;
30944 static int typeinit = 0;
30945 PyObject *m, *d;
30946 int i;
30947 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
30948 m = Py_InitModule((char *) SWIG_name, SwigMethods);
30949 d = PyModule_GetDict(m);
30950
30951 if (!typeinit) {
30952 for (i = 0; swig_types_initial[i]; i++) {
30953 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
30954 }
30955 typeinit = 1;
30956 }
30957 SWIG_InstallConstants(d,swig_const_table);
30958
30959 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
30960 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
30961 PyDict_SetItemString(d,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT));
30962 PyDict_SetItemString(d,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP));
30963 PyDict_SetItemString(d,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT));
30964 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM));
30965 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT));
30966 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW));
30967 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
30968 PyDict_SetItemString(d,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE));
30969 PyDict_SetItemString(d,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE));
30970 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
30971 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED));
30972 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED));
30973 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED));
30974 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
30975 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
30976 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
30977 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL));
30978 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL));
30979 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH));
30980 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR));
30981 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
30982 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
30983 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
30984 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
30985 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
30986 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL));
30987 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL));
30988 PyDict_SetItemString(d,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY));
30989 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE));
30990 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB));
30991 PyDict_SetItemString(d,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT));
30992 PyDict_SetItemString(d,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER));
30993 PyDict_SetItemString(d,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT));
30994 PyDict_SetItemString(d,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE));
30995 PyDict_SetItemString(d,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH));
30996 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER));
30997 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD));
30998 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL));
30999 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL));
31000 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP));
31001 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP));
31002 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP));
31003 PyDict_SetItemString(d,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2));
31004 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31005 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31006 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31007 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31008 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31009 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31010 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31011 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31012 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31013 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31014 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31015 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31016 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31017 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT));
31018 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31019 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31020 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31021 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS));
31022 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31023 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31024 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31025 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31026 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31027 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31028 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31029 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL));
31030 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL));
31031 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS));
31032 PyDict_SetItemString(d,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP));
31033 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31034 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31035 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31036 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31037 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31038 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31039 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31040 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH));
31041 PyDict_SetItemString(d,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP));
31042 PyDict_SetItemString(d,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT));
31043 PyDict_SetItemString(d,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT));
31044 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM));
31045 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE));
31046 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE));
31047 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON));
31048 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL));
31049 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM));
31050 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31051 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31052 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT));
31053 PyDict_SetItemString(d,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP));
31054 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM));
31055 PyDict_SetItemString(d,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT));
31056 PyDict_SetItemString(d,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT));
31057 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK));
31058 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31059 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31060 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON));
31061 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31062 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL));
31063 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL));
31064 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL));
31065 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS));
31066 PyDict_SetItemString(d,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT));
31067 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE));
31068 PyDict_SetItemString(d,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS));
31069 PyDict_SetItemString(d,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT));
31070 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER));
31071 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN));
31072 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT));
31073 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT));
31074 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31075 PyDict_SetItemString(d,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES));
31076 PyDict_SetItemString(d,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES));
31077 PyDict_SetItemString(d,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON));
31078 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON));
31079 PyDict_SetItemString(d,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST));
31080 PyDict_SetItemString(d,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT));
31081 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP));
31082 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT));
31083 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE));
31084 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL));
31085 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS));
31086 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER));
31087 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER));
31088 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL));
31089 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING));
31090 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING));
31091 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE));
31092 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN));
31093 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT));
31094 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE));
31095 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT));
31096 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE));
31097 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA));
31098 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM));
31099 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH));
31100 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT));
31101 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE));
31102 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED));
31103 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED));
31104 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED));
31105 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT));
31106 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED));
31107 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED));
31108 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE));
31109 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED));
31110 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE));
31111 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE));
31112 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW));
31113 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE));
31114 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31115 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31116 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31117 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31118 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT));
31119 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT));
31120 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM));
31121 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE));
31122 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL));
31123 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW));
31124 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT));
31125 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT));
31126 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT));
31127 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT));
31128 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP));
31129 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31130 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT));
31131 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT));
31132 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE));
31133 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER));
31134 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE));
31135 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31136 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS));
31137 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON));
31138 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL));
31139 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP));
31140 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN));
31141 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT));
31142 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT));
31143 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31144 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31145 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31146 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31147 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31148 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31149 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31150 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31151 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31152 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31153 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31154 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31155 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31156 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31157 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31158 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31159 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31160 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31161 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31162 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31163 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31164 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31165
31166 // Map renamed classes back to their common name for OOR
31167 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31168
31169 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31170 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS));
31171 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS));
31172 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES));
31173 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT));
31174 PyDict_SetItemString(d,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE));
31175 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE));
31176 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED));
31177 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31178 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS));
31179 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT));
31180 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES));
31181 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31182 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE));
31183 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS));
31184 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS));
31185 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS));
31186 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal));
31187 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected));
31188 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded));
31189 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31190 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max));
31191 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE));
31192 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW));
31193 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE));
31194 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31195 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31196 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31197 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31198 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31199 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31200 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT));
31201 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT));
31202 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31203 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31204 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM));
31205 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31206 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31207 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31208 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31209 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31210 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31211 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31212 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31213 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31214 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31215 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31216 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31217 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31218 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31219 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31220 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31221 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31222 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31223 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31224 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31225
31226 // Map renamed classes back to their common name for OOR
31227 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31228 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31229
31230 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31231 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY));
31232 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31233 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31234 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31235 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31236 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31237 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31238 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31239 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31240
31241 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31242
31243 }
31244