]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
Some ifdef's to correct compile problems on wxMac
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187 typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201 /* basic types */
202 /*
203 utilities
204 */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217 SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221 /* Contract support */
222
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225 #ifdef __cplusplus
226 }
227 #endif
228
229
230
231 /* -------- TYPES TABLE (BEGIN) -------- */
232
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info *swig_types[85];
318
319 /* -------- TYPES TABLE (END) -------- */
320
321
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
326
327 #define SWIG_name "_controls"
328
329 #include <limits.h>
330 #include <float.h>
331 #include <string.h>
332
333 #ifndef SWIGSTATIC
334 #ifdef __cplusplus
335 #define SWIGSTATIC(a) static inline a
336 #else
337 #define SWIGSTATIC(a) static a
338 #endif
339 #endif
340
341 #ifndef numeric_cast
342 #ifdef __cplusplus
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
345 #else
346 #define numeric_cast(type,a) static_cast<type>(a)
347 #endif
348 #else
349 #define numeric_cast(type,a) (type)(a)
350 #endif
351 #endif
352
353
354
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
369
370 static const wxString wxPyPanelNameStr(wxPanelNameStr);
371 static const wxString wxPyEmptyString(wxEmptyString);
372 static const wxString wxPyControlNameStr(wxControlNameStr);
373
374 const wxArrayString wxPyEmptyStringArray;
375
376 static const wxString wxPyButtonNameStr(wxButtonNameStr);
377
378 SWIGSTATIC(int)
379 SWIG_PyObj_AsInt(PyObject *obj)
380 {
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
383 }
384
385
386 SWIGSTATIC(long)
387 SWIG_PyObj_AsLong(PyObject * obj)
388 {
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390 }
391
392 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
393
394 SWIGSTATIC(bool)
395 SWIG_PyObj_AsBool(PyObject *obj)
396 {
397 return PyObject_IsTrue(obj) ? true : false;
398 }
399
400 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
401 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
402 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
403 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
404 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
405 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
406
407 #include <wx/checklst.h>
408
409
410 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
411 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
412 if (clientData) {
413 wxPyClientData* data = new wxPyClientData(clientData);
414 self->Insert(item, pos, data);
415 } else
416 self->Insert(item, pos);
417 }
418 PyObject *wxListBox_GetSelections(wxListBox *self){
419 wxArrayInt lst;
420 self->GetSelections(lst);
421 PyObject *tup = PyTuple_New(lst.GetCount());
422 for(size_t i=0; i<lst.GetCount(); i++) {
423 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
424 }
425 return tup;
426 }
427 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
428
429 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
430 PyObject* o2;
431 PyObject* o3;
432
433 if (!target) {
434 target = o;
435 } else if (target == Py_None) {
436 Py_DECREF(Py_None);
437 target = o;
438 } else {
439 if (!PyTuple_Check(target)) {
440 o2 = target;
441 target = PyTuple_New(1);
442 PyTuple_SetItem(target, 0, o2);
443 }
444 o3 = PyTuple_New(1);
445 PyTuple_SetItem(o3, 0, o);
446
447 o2 = target;
448 target = PySequence_Concat(o2, o3);
449 Py_DECREF(o2);
450 Py_DECREF(o3);
451 }
452 return target;
453 }
454
455 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
456 self->AppendText(text);
457 }
458 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
459 return self->GetValue().Mid(from, to - from);
460 }
461 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
462 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
463 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
464 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
465 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
466
467 #include <wx/slider.h>
468
469
470 static const wxString wxPySliderNameStr(wxSliderNameStr);
471 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
472
473 #if defined(__WXMAC__) || defined(__WXX11__)
474 // implement dummy classes and such for wxMac
475
476 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
477
478 class wxToggleButton : public wxControl
479 {
480 public:
481 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
482 const wxPoint&, const wxSize&, long,
483 const wxValidator&, const wxString&)
484 { wxPyRaiseNotImplemented(); }
485
486 wxToggleButton()
487 { wxPyRaiseNotImplemented(); }
488 };
489 #endif
490
491 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
492
493 SWIGSTATIC(PyObject* )
494 SWIG_PyObj_FromUnsignedLong(unsigned long value)
495 {
496 return (value > (unsigned long)(LONG_MAX)) ?
497 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
498 }
499
500 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
501 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
502 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
503 if (udata) {
504 Py_INCREF(udata->m_obj);
505 return udata->m_obj;
506 } else {
507 Py_INCREF(Py_None);
508 return Py_None;
509 }
510 }
511 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
512 self->SetClientData(new wxPyUserData(clientData));
513 }
514 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
515 wxPyUserData* udata = NULL;
516 if (clientData && clientData != Py_None)
517 udata = new wxPyUserData(clientData);
518 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
519 shortHelp, longHelp, udata);
520 }
521 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
522 wxPyUserData* udata = NULL;
523 if (clientData && clientData != Py_None)
524 udata = new wxPyUserData(clientData);
525 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
526 shortHelp, longHelp, udata);
527 }
528 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
529 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
530 if (udata) {
531 Py_INCREF(udata->m_obj);
532 return udata->m_obj;
533 } else {
534 Py_INCREF(Py_None);
535 return Py_None;
536 }
537 }
538 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
539 self->SetToolClientData(id, new wxPyUserData(clientData));
540 }
541
542 #include <wx/listctrl.h>
543
544
545 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
546 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
547 // Python aware sorting function for wxPyListCtrl
548 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
549 int retval = 0;
550 PyObject* func = (PyObject*)funcPtr;
551 wxPyBeginBlockThreads();
552
553 PyObject* args = Py_BuildValue("(ii)", item1, item2);
554 PyObject* result = PyEval_CallObject(func, args);
555 Py_DECREF(args);
556 if (result) {
557 retval = PyInt_AsLong(result);
558 Py_DECREF(result);
559 }
560
561 wxPyEndBlockThreads();
562 return retval;
563 }
564
565 // C++ Version of a Python aware class
566 class wxPyListCtrl : public wxListCtrl {
567 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
568 public:
569 wxPyListCtrl() : wxListCtrl() {}
570 wxPyListCtrl(wxWindow* parent, wxWindowID id,
571 const wxPoint& pos,
572 const wxSize& size,
573 long style,
574 const wxValidator& validator,
575 const wxString& name) :
576 wxListCtrl(parent, id, pos, size, style, validator, name) {}
577
578 bool Create(wxWindow* parent, wxWindowID id,
579 const wxPoint& pos,
580 const wxSize& size,
581 long style,
582 const wxValidator& validator,
583 const wxString& name) {
584 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
585 }
586
587 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
588 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
589 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
590
591 PYPRIVATE;
592 };
593
594 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
595
596 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
597 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
598 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
599
600 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
601 wxListItem item;
602 item.SetMask( wxLIST_MASK_STATE |
603 wxLIST_MASK_TEXT |
604 wxLIST_MASK_IMAGE |
605 wxLIST_MASK_DATA |
606 wxLIST_SET_ITEM |
607 wxLIST_MASK_WIDTH |
608 wxLIST_MASK_FORMAT
609 );
610 if (self->GetColumn(col, item))
611 return new wxListItem(item);
612 else
613 return NULL;
614 }
615 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
616 wxListItem* info = new wxListItem;
617 info->m_itemId = itemId;
618 info->m_col = col;
619 info->m_mask = 0xFFFF;
620 self->GetItem(*info);
621 return info;
622 }
623 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
624 wxPoint pos;
625 self->GetItemPosition(item, pos);
626 return pos;
627 }
628 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
629 wxRect rect;
630 self->GetItemRect(item, rect, code);
631 return rect;
632 }
633 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
634 if (!PyCallable_Check(func))
635 return False;
636 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
637 }
638 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
639
640 return self;
641
642
643
644 }
645
646 #include <wx/treectrl.h>
647 #include "wx/wxPython/pytree.h"
648
649 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
650 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
651 if (!other) return False;
652 return *self == *other;
653 }
654 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
655 if (!other) return True;
656 return *self != *other;
657 }
658 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
659 // C++ version of Python aware wxTreeCtrl
660 class wxPyTreeCtrl : public wxTreeCtrl {
661 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
662 public:
663 wxPyTreeCtrl() : wxTreeCtrl() {}
664 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
665 const wxPoint& pos,
666 const wxSize& size,
667 long style,
668 const wxValidator& validator,
669 const wxString& name) :
670 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
671
672 bool Create(wxWindow *parent, wxWindowID id,
673 const wxPoint& pos,
674 const wxSize& size,
675 long style,
676 const wxValidator& validator,
677 const wxString& name) {
678 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
679 }
680
681
682 int OnCompareItems(const wxTreeItemId& item1,
683 const wxTreeItemId& item2) {
684 int rval = 0;
685 bool found;
686 wxPyBeginBlockThreads();
687 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
688 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
689 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
690 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
691 Py_DECREF(o1);
692 Py_DECREF(o2);
693 }
694 wxPyEndBlockThreads();
695 if (! found)
696 rval = wxTreeCtrl::OnCompareItems(item1, item2);
697 return rval;
698 }
699 PYPRIVATE;
700 };
701
702 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
703
704
705
706 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
707
708
709 SWIGSTATIC(unsigned int)
710 SWIG_PyObj_AsUnsignedInt(PyObject *obj)
711 {
712 return numeric_cast(unsigned int,
713 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
714 }
715
716 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
717 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
718 if (data == NULL) {
719 data = new wxPyTreeItemData();
720 data->SetId(item); // set the id
721 self->SetItemData(item, data);
722 }
723 return data;
724 }
725 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
726 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
727 if (data == NULL) {
728 data = new wxPyTreeItemData();
729 data->SetId(item); // set the id
730 self->SetItemData(item, data);
731 }
732 return data->GetData();
733 }
734 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
735 data->SetId(item); // set the id
736 self->SetItemData(item, data);
737 }
738 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
739 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
740 if (data == NULL) {
741 data = new wxPyTreeItemData(obj);
742 data->SetId(item); // set the id
743 self->SetItemData(item, data);
744 } else
745 data->SetData(obj);
746 }
747 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
748 wxPyBeginBlockThreads();
749 PyObject* rval = PyList_New(0);
750 wxArrayTreeItemIds array;
751 size_t num, x;
752 num = self->GetSelections(array);
753 for (x=0; x < num; x++) {
754 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
755 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
756 PyList_Append(rval, item);
757 }
758 wxPyEndBlockThreads();
759 return rval;
760 }
761 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
762 void* cookie = 0;
763 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
764 wxPyBeginBlockThreads();
765 PyObject* tup = PyTuple_New(2);
766 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
767 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
768 wxPyEndBlockThreads();
769 return tup;
770 }
771 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
772 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
773 wxPyBeginBlockThreads();
774 PyObject* tup = PyTuple_New(2);
775 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
776 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
777 wxPyEndBlockThreads();
778 return tup;
779 }
780 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
781 wxRect rect;
782 if (self->GetBoundingRect(item, rect, textOnly)) {
783 wxPyBeginBlockThreads();
784 wxRect* r = new wxRect(rect);
785 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
786 wxPyEndBlockThreads();
787 return val;
788 }
789 else
790 RETURN_NONE();
791 }
792 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
793 // C++ version of Python aware wxControl
794 class wxPyControl : public wxControl
795 {
796 DECLARE_DYNAMIC_CLASS(wxPyControl)
797 public:
798 wxPyControl() : wxControl() {}
799 wxPyControl(wxWindow* parent, const wxWindowID id,
800 const wxPoint& pos = wxDefaultPosition,
801 const wxSize& size = wxDefaultSize,
802 long style = 0,
803 const wxValidator& validator=wxDefaultValidator,
804 const wxString& name = wxPyControlNameStr)
805 : wxControl(parent, id, pos, size, style, validator, name) {}
806
807
808 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
809 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
810 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
811 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
812
813 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
814 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
815 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
816
817 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
818 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
819
820 DEC_PYCALLBACK__(InitDialog);
821 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
822 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
823 DEC_PYCALLBACK_BOOL_(Validate);
824
825 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
826 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
827 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
828
829 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
830 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
831
832 PYPRIVATE;
833 };
834
835 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
836
837 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
838 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
839 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
840 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
841
842 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
843 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
844 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
845
846 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
847 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
848
849 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
850 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
851 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
852 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
853
854 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
855 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
856 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
857
858 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
859 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
860
861
862
863
864 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
865
866 #include <wx/generic/dragimgg.h>
867
868 #ifdef __cplusplus
869 extern "C" {
870 #endif
871 static int _wrap_ButtonNameStr_set(PyObject *) {
872 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
873 return 1;
874 }
875
876
877 static PyObject *_wrap_ButtonNameStr_get() {
878 PyObject *pyobj;
879
880 {
881 #if wxUSE_UNICODE
882 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
883 #else
884 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
885 #endif
886 }
887 return pyobj;
888 }
889
890
891 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
892 PyObject *resultobj;
893 wxWindow *arg1 = (wxWindow *) 0 ;
894 int arg2 ;
895 wxString *arg3 = 0 ;
896 wxPoint const &arg4_defvalue = wxDefaultPosition ;
897 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
898 wxSize const &arg5_defvalue = wxDefaultSize ;
899 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
900 long arg6 = (long) 0 ;
901 wxValidator const &arg7_defvalue = wxDefaultValidator ;
902 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
903 wxString const &arg8_defvalue = wxPyButtonNameStr ;
904 wxString *arg8 = (wxString *) &arg8_defvalue ;
905 wxButton *result;
906 bool temp3 = False ;
907 wxPoint temp4 ;
908 wxSize temp5 ;
909 bool temp8 = False ;
910 PyObject * obj0 = 0 ;
911 PyObject * obj1 = 0 ;
912 PyObject * obj2 = 0 ;
913 PyObject * obj3 = 0 ;
914 PyObject * obj4 = 0 ;
915 PyObject * obj5 = 0 ;
916 PyObject * obj6 = 0 ;
917 PyObject * obj7 = 0 ;
918 char *kwnames[] = {
919 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
920 };
921
922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
924 {
925 arg2 = (int) SWIG_PyObj_AsInt(obj1);
926 if (PyErr_Occurred()) SWIG_fail;
927 }
928 {
929 arg3 = wxString_in_helper(obj2);
930 if (arg3 == NULL) SWIG_fail;
931 temp3 = True;
932 }
933 if (obj3) {
934 {
935 arg4 = &temp4;
936 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
937 }
938 }
939 if (obj4) {
940 {
941 arg5 = &temp5;
942 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
943 }
944 }
945 if (obj5) {
946 {
947 arg6 = (long) SWIG_PyObj_AsLong(obj5);
948 if (PyErr_Occurred()) SWIG_fail;
949 }
950 }
951 if (obj6) {
952 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
953 if (arg7 == NULL) {
954 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
955 }
956 }
957 if (obj7) {
958 {
959 arg8 = wxString_in_helper(obj7);
960 if (arg8 == NULL) SWIG_fail;
961 temp8 = True;
962 }
963 }
964 {
965 PyThreadState* __tstate = wxPyBeginAllowThreads();
966 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
967
968 wxPyEndAllowThreads(__tstate);
969 if (PyErr_Occurred()) SWIG_fail;
970 }
971 {
972 resultobj = wxPyMake_wxObject(result);
973 }
974 {
975 if (temp3)
976 delete arg3;
977 }
978 {
979 if (temp8)
980 delete arg8;
981 }
982 return resultobj;
983 fail:
984 {
985 if (temp3)
986 delete arg3;
987 }
988 {
989 if (temp8)
990 delete arg8;
991 }
992 return NULL;
993 }
994
995
996 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
997 PyObject *resultobj;
998 wxButton *result;
999 char *kwnames[] = {
1000 NULL
1001 };
1002
1003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1004 {
1005 PyThreadState* __tstate = wxPyBeginAllowThreads();
1006 result = (wxButton *)new wxButton();
1007
1008 wxPyEndAllowThreads(__tstate);
1009 if (PyErr_Occurred()) SWIG_fail;
1010 }
1011 {
1012 resultobj = wxPyMake_wxObject(result);
1013 }
1014 return resultobj;
1015 fail:
1016 return NULL;
1017 }
1018
1019
1020 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1021 PyObject *resultobj;
1022 wxButton *arg1 = (wxButton *) 0 ;
1023 wxWindow *arg2 = (wxWindow *) 0 ;
1024 int arg3 ;
1025 wxString *arg4 = 0 ;
1026 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1027 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1028 wxSize const &arg6_defvalue = wxDefaultSize ;
1029 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1030 long arg7 = (long) 0 ;
1031 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1032 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1033 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1034 wxString *arg9 = (wxString *) &arg9_defvalue ;
1035 bool result;
1036 bool temp4 = False ;
1037 wxPoint temp5 ;
1038 wxSize temp6 ;
1039 bool temp9 = False ;
1040 PyObject * obj0 = 0 ;
1041 PyObject * obj1 = 0 ;
1042 PyObject * obj2 = 0 ;
1043 PyObject * obj3 = 0 ;
1044 PyObject * obj4 = 0 ;
1045 PyObject * obj5 = 0 ;
1046 PyObject * obj6 = 0 ;
1047 PyObject * obj7 = 0 ;
1048 PyObject * obj8 = 0 ;
1049 char *kwnames[] = {
1050 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1051 };
1052
1053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1056 {
1057 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1058 if (PyErr_Occurred()) SWIG_fail;
1059 }
1060 {
1061 arg4 = wxString_in_helper(obj3);
1062 if (arg4 == NULL) SWIG_fail;
1063 temp4 = True;
1064 }
1065 if (obj4) {
1066 {
1067 arg5 = &temp5;
1068 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1069 }
1070 }
1071 if (obj5) {
1072 {
1073 arg6 = &temp6;
1074 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1075 }
1076 }
1077 if (obj6) {
1078 {
1079 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1080 if (PyErr_Occurred()) SWIG_fail;
1081 }
1082 }
1083 if (obj7) {
1084 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1085 if (arg8 == NULL) {
1086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1087 }
1088 }
1089 if (obj8) {
1090 {
1091 arg9 = wxString_in_helper(obj8);
1092 if (arg9 == NULL) SWIG_fail;
1093 temp9 = True;
1094 }
1095 }
1096 {
1097 PyThreadState* __tstate = wxPyBeginAllowThreads();
1098 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1099
1100 wxPyEndAllowThreads(__tstate);
1101 if (PyErr_Occurred()) SWIG_fail;
1102 }
1103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1104 {
1105 if (temp4)
1106 delete arg4;
1107 }
1108 {
1109 if (temp9)
1110 delete arg9;
1111 }
1112 return resultobj;
1113 fail:
1114 {
1115 if (temp4)
1116 delete arg4;
1117 }
1118 {
1119 if (temp9)
1120 delete arg9;
1121 }
1122 return NULL;
1123 }
1124
1125
1126 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject *resultobj;
1128 wxButton *arg1 = (wxButton *) 0 ;
1129 PyObject * obj0 = 0 ;
1130 char *kwnames[] = {
1131 (char *) "self", NULL
1132 };
1133
1134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1136 {
1137 PyThreadState* __tstate = wxPyBeginAllowThreads();
1138 (arg1)->SetDefault();
1139
1140 wxPyEndAllowThreads(__tstate);
1141 if (PyErr_Occurred()) SWIG_fail;
1142 }
1143 Py_INCREF(Py_None); resultobj = Py_None;
1144 return resultobj;
1145 fail:
1146 return NULL;
1147 }
1148
1149
1150 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1151 PyObject *resultobj;
1152 wxButton *arg1 = (wxButton *) 0 ;
1153 wxBitmap *arg2 = 0 ;
1154 PyObject * obj0 = 0 ;
1155 PyObject * obj1 = 0 ;
1156 char *kwnames[] = {
1157 (char *) "self",(char *) "bitmap", NULL
1158 };
1159
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1163 if (arg2 == NULL) {
1164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1165 }
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) SWIG_fail;
1172 }
1173 Py_INCREF(Py_None); resultobj = Py_None;
1174 return resultobj;
1175 fail:
1176 return NULL;
1177 }
1178
1179
1180 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1181 PyObject *resultobj;
1182 wxButton *arg1 = (wxButton *) 0 ;
1183 int arg2 ;
1184 int arg3 ;
1185 PyObject * obj0 = 0 ;
1186 PyObject * obj1 = 0 ;
1187 PyObject * obj2 = 0 ;
1188 char *kwnames[] = {
1189 (char *) "self",(char *) "x",(char *) "y", NULL
1190 };
1191
1192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Button_SetImageMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1194 {
1195 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1196 if (PyErr_Occurred()) SWIG_fail;
1197 }
1198 {
1199 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1200 if (PyErr_Occurred()) SWIG_fail;
1201 }
1202 {
1203 PyThreadState* __tstate = wxPyBeginAllowThreads();
1204 (arg1)->SetImageMargins(arg2,arg3);
1205
1206 wxPyEndAllowThreads(__tstate);
1207 if (PyErr_Occurred()) SWIG_fail;
1208 }
1209 Py_INCREF(Py_None); resultobj = Py_None;
1210 return resultobj;
1211 fail:
1212 return NULL;
1213 }
1214
1215
1216 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1217 PyObject *resultobj;
1218 wxSize result;
1219 char *kwnames[] = {
1220 NULL
1221 };
1222
1223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1224 {
1225 PyThreadState* __tstate = wxPyBeginAllowThreads();
1226 result = wxButton::GetDefaultSize();
1227
1228 wxPyEndAllowThreads(__tstate);
1229 if (PyErr_Occurred()) SWIG_fail;
1230 }
1231 {
1232 wxSize * resultptr;
1233 resultptr = new wxSize((wxSize &) result);
1234 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1235 }
1236 return resultobj;
1237 fail:
1238 return NULL;
1239 }
1240
1241
1242 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1243 PyObject *obj;
1244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1245 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1246 Py_INCREF(obj);
1247 return Py_BuildValue((char *)"");
1248 }
1249 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1250 PyObject *resultobj;
1251 wxWindow *arg1 = (wxWindow *) 0 ;
1252 int arg2 ;
1253 wxBitmap *arg3 = 0 ;
1254 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1255 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1256 wxSize const &arg5_defvalue = wxDefaultSize ;
1257 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1258 long arg6 = (long) wxBU_AUTODRAW ;
1259 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1260 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1261 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1262 wxString *arg8 = (wxString *) &arg8_defvalue ;
1263 wxBitmapButton *result;
1264 wxPoint temp4 ;
1265 wxSize temp5 ;
1266 bool temp8 = False ;
1267 PyObject * obj0 = 0 ;
1268 PyObject * obj1 = 0 ;
1269 PyObject * obj2 = 0 ;
1270 PyObject * obj3 = 0 ;
1271 PyObject * obj4 = 0 ;
1272 PyObject * obj5 = 0 ;
1273 PyObject * obj6 = 0 ;
1274 PyObject * obj7 = 0 ;
1275 char *kwnames[] = {
1276 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1277 };
1278
1279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1281 {
1282 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1283 if (PyErr_Occurred()) SWIG_fail;
1284 }
1285 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1286 if (arg3 == NULL) {
1287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1288 }
1289 if (obj3) {
1290 {
1291 arg4 = &temp4;
1292 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1293 }
1294 }
1295 if (obj4) {
1296 {
1297 arg5 = &temp5;
1298 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1299 }
1300 }
1301 if (obj5) {
1302 {
1303 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1304 if (PyErr_Occurred()) SWIG_fail;
1305 }
1306 }
1307 if (obj6) {
1308 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1309 if (arg7 == NULL) {
1310 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1311 }
1312 }
1313 if (obj7) {
1314 {
1315 arg8 = wxString_in_helper(obj7);
1316 if (arg8 == NULL) SWIG_fail;
1317 temp8 = True;
1318 }
1319 }
1320 {
1321 PyThreadState* __tstate = wxPyBeginAllowThreads();
1322 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1323
1324 wxPyEndAllowThreads(__tstate);
1325 if (PyErr_Occurred()) SWIG_fail;
1326 }
1327 {
1328 resultobj = wxPyMake_wxObject(result);
1329 }
1330 {
1331 if (temp8)
1332 delete arg8;
1333 }
1334 return resultobj;
1335 fail:
1336 {
1337 if (temp8)
1338 delete arg8;
1339 }
1340 return NULL;
1341 }
1342
1343
1344 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1345 PyObject *resultobj;
1346 wxBitmapButton *result;
1347 char *kwnames[] = {
1348 NULL
1349 };
1350
1351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1352 {
1353 PyThreadState* __tstate = wxPyBeginAllowThreads();
1354 result = (wxBitmapButton *)new wxBitmapButton();
1355
1356 wxPyEndAllowThreads(__tstate);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 {
1360 resultobj = wxPyMake_wxObject(result);
1361 }
1362 return resultobj;
1363 fail:
1364 return NULL;
1365 }
1366
1367
1368 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject *resultobj;
1370 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1371 wxWindow *arg2 = (wxWindow *) 0 ;
1372 int arg3 ;
1373 wxBitmap *arg4 = 0 ;
1374 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1375 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1376 wxSize const &arg6_defvalue = wxDefaultSize ;
1377 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1378 long arg7 = (long) wxBU_AUTODRAW ;
1379 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1380 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1381 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1382 wxString *arg9 = (wxString *) &arg9_defvalue ;
1383 bool result;
1384 wxPoint temp5 ;
1385 wxSize temp6 ;
1386 bool temp9 = False ;
1387 PyObject * obj0 = 0 ;
1388 PyObject * obj1 = 0 ;
1389 PyObject * obj2 = 0 ;
1390 PyObject * obj3 = 0 ;
1391 PyObject * obj4 = 0 ;
1392 PyObject * obj5 = 0 ;
1393 PyObject * obj6 = 0 ;
1394 PyObject * obj7 = 0 ;
1395 PyObject * obj8 = 0 ;
1396 char *kwnames[] = {
1397 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1398 };
1399
1400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1403 {
1404 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 }
1407 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1408 if (arg4 == NULL) {
1409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1410 }
1411 if (obj4) {
1412 {
1413 arg5 = &temp5;
1414 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1415 }
1416 }
1417 if (obj5) {
1418 {
1419 arg6 = &temp6;
1420 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1421 }
1422 }
1423 if (obj6) {
1424 {
1425 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1426 if (PyErr_Occurred()) SWIG_fail;
1427 }
1428 }
1429 if (obj7) {
1430 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1431 if (arg8 == NULL) {
1432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1433 }
1434 }
1435 if (obj8) {
1436 {
1437 arg9 = wxString_in_helper(obj8);
1438 if (arg9 == NULL) SWIG_fail;
1439 temp9 = True;
1440 }
1441 }
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1450 {
1451 if (temp9)
1452 delete arg9;
1453 }
1454 return resultobj;
1455 fail:
1456 {
1457 if (temp9)
1458 delete arg9;
1459 }
1460 return NULL;
1461 }
1462
1463
1464 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1465 PyObject *resultobj;
1466 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1467 wxBitmap result;
1468 PyObject * obj0 = 0 ;
1469 char *kwnames[] = {
1470 (char *) "self", NULL
1471 };
1472
1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475 {
1476 PyThreadState* __tstate = wxPyBeginAllowThreads();
1477 result = (arg1)->GetBitmapLabel();
1478
1479 wxPyEndAllowThreads(__tstate);
1480 if (PyErr_Occurred()) SWIG_fail;
1481 }
1482 {
1483 wxBitmap * resultptr;
1484 resultptr = new wxBitmap((wxBitmap &) result);
1485 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1486 }
1487 return resultobj;
1488 fail:
1489 return NULL;
1490 }
1491
1492
1493 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject *resultobj;
1495 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1496 wxBitmap result;
1497 PyObject * obj0 = 0 ;
1498 char *kwnames[] = {
1499 (char *) "self", NULL
1500 };
1501
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 {
1505 PyThreadState* __tstate = wxPyBeginAllowThreads();
1506 result = (arg1)->GetBitmapDisabled();
1507
1508 wxPyEndAllowThreads(__tstate);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 {
1512 wxBitmap * resultptr;
1513 resultptr = new wxBitmap((wxBitmap &) result);
1514 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1515 }
1516 return resultobj;
1517 fail:
1518 return NULL;
1519 }
1520
1521
1522 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject *resultobj;
1524 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1525 wxBitmap result;
1526 PyObject * obj0 = 0 ;
1527 char *kwnames[] = {
1528 (char *) "self", NULL
1529 };
1530
1531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 result = (arg1)->GetBitmapFocus();
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 {
1541 wxBitmap * resultptr;
1542 resultptr = new wxBitmap((wxBitmap &) result);
1543 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1544 }
1545 return resultobj;
1546 fail:
1547 return NULL;
1548 }
1549
1550
1551 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1552 PyObject *resultobj;
1553 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1554 wxBitmap result;
1555 PyObject * obj0 = 0 ;
1556 char *kwnames[] = {
1557 (char *) "self", NULL
1558 };
1559
1560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1562 {
1563 PyThreadState* __tstate = wxPyBeginAllowThreads();
1564 result = (arg1)->GetBitmapSelected();
1565
1566 wxPyEndAllowThreads(__tstate);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
1569 {
1570 wxBitmap * resultptr;
1571 resultptr = new wxBitmap((wxBitmap &) result);
1572 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1573 }
1574 return resultobj;
1575 fail:
1576 return NULL;
1577 }
1578
1579
1580 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1581 PyObject *resultobj;
1582 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1583 wxBitmap *arg2 = 0 ;
1584 PyObject * obj0 = 0 ;
1585 PyObject * obj1 = 0 ;
1586 char *kwnames[] = {
1587 (char *) "self",(char *) "bitmap", NULL
1588 };
1589
1590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1593 if (arg2 == NULL) {
1594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1595 }
1596 {
1597 PyThreadState* __tstate = wxPyBeginAllowThreads();
1598 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1599
1600 wxPyEndAllowThreads(__tstate);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 }
1603 Py_INCREF(Py_None); resultobj = Py_None;
1604 return resultobj;
1605 fail:
1606 return NULL;
1607 }
1608
1609
1610 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject *resultobj;
1612 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1613 wxBitmap *arg2 = 0 ;
1614 PyObject * obj0 = 0 ;
1615 PyObject * obj1 = 0 ;
1616 char *kwnames[] = {
1617 (char *) "self",(char *) "bitmap", NULL
1618 };
1619
1620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1623 if (arg2 == NULL) {
1624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1625 }
1626 {
1627 PyThreadState* __tstate = wxPyBeginAllowThreads();
1628 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1629
1630 wxPyEndAllowThreads(__tstate);
1631 if (PyErr_Occurred()) SWIG_fail;
1632 }
1633 Py_INCREF(Py_None); resultobj = Py_None;
1634 return resultobj;
1635 fail:
1636 return NULL;
1637 }
1638
1639
1640 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1641 PyObject *resultobj;
1642 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1643 wxBitmap *arg2 = 0 ;
1644 PyObject * obj0 = 0 ;
1645 PyObject * obj1 = 0 ;
1646 char *kwnames[] = {
1647 (char *) "self",(char *) "bitmap", NULL
1648 };
1649
1650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1653 if (arg2 == NULL) {
1654 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1655 }
1656 {
1657 PyThreadState* __tstate = wxPyBeginAllowThreads();
1658 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1659
1660 wxPyEndAllowThreads(__tstate);
1661 if (PyErr_Occurred()) SWIG_fail;
1662 }
1663 Py_INCREF(Py_None); resultobj = Py_None;
1664 return resultobj;
1665 fail:
1666 return NULL;
1667 }
1668
1669
1670 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1671 PyObject *resultobj;
1672 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1673 wxBitmap *arg2 = 0 ;
1674 PyObject * obj0 = 0 ;
1675 PyObject * obj1 = 0 ;
1676 char *kwnames[] = {
1677 (char *) "self",(char *) "bitmap", NULL
1678 };
1679
1680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1682 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1683 if (arg2 == NULL) {
1684 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1685 }
1686 {
1687 PyThreadState* __tstate = wxPyBeginAllowThreads();
1688 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1689
1690 wxPyEndAllowThreads(__tstate);
1691 if (PyErr_Occurred()) SWIG_fail;
1692 }
1693 Py_INCREF(Py_None); resultobj = Py_None;
1694 return resultobj;
1695 fail:
1696 return NULL;
1697 }
1698
1699
1700 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject *resultobj;
1702 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1703 int arg2 ;
1704 int arg3 ;
1705 PyObject * obj0 = 0 ;
1706 PyObject * obj1 = 0 ;
1707 PyObject * obj2 = 0 ;
1708 char *kwnames[] = {
1709 (char *) "self",(char *) "x",(char *) "y", NULL
1710 };
1711
1712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1714 {
1715 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1716 if (PyErr_Occurred()) SWIG_fail;
1717 }
1718 {
1719 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1720 if (PyErr_Occurred()) SWIG_fail;
1721 }
1722 {
1723 PyThreadState* __tstate = wxPyBeginAllowThreads();
1724 (arg1)->SetMargins(arg2,arg3);
1725
1726 wxPyEndAllowThreads(__tstate);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 Py_INCREF(Py_None); resultobj = Py_None;
1730 return resultobj;
1731 fail:
1732 return NULL;
1733 }
1734
1735
1736 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject *resultobj;
1738 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1739 int result;
1740 PyObject * obj0 = 0 ;
1741 char *kwnames[] = {
1742 (char *) "self", NULL
1743 };
1744
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 resultobj = SWIG_PyObj_FromInt((int)result);
1755 return resultobj;
1756 fail:
1757 return NULL;
1758 }
1759
1760
1761 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1764 int result;
1765 PyObject * obj0 = 0 ;
1766 char *kwnames[] = {
1767 (char *) "self", NULL
1768 };
1769
1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1772 {
1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
1774 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1775
1776 wxPyEndAllowThreads(__tstate);
1777 if (PyErr_Occurred()) SWIG_fail;
1778 }
1779 resultobj = SWIG_PyObj_FromInt((int)result);
1780 return resultobj;
1781 fail:
1782 return NULL;
1783 }
1784
1785
1786 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1787 PyObject *obj;
1788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1789 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1790 Py_INCREF(obj);
1791 return Py_BuildValue((char *)"");
1792 }
1793 static int _wrap_CheckBoxNameStr_set(PyObject *) {
1794 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1795 return 1;
1796 }
1797
1798
1799 static PyObject *_wrap_CheckBoxNameStr_get() {
1800 PyObject *pyobj;
1801
1802 {
1803 #if wxUSE_UNICODE
1804 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1805 #else
1806 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1807 #endif
1808 }
1809 return pyobj;
1810 }
1811
1812
1813 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxWindow *arg1 = (wxWindow *) 0 ;
1816 int arg2 ;
1817 wxString *arg3 = 0 ;
1818 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1819 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1820 wxSize const &arg5_defvalue = wxDefaultSize ;
1821 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1822 long arg6 = (long) 0 ;
1823 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1824 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1825 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1826 wxString *arg8 = (wxString *) &arg8_defvalue ;
1827 wxCheckBox *result;
1828 bool temp3 = False ;
1829 wxPoint temp4 ;
1830 wxSize temp5 ;
1831 bool temp8 = False ;
1832 PyObject * obj0 = 0 ;
1833 PyObject * obj1 = 0 ;
1834 PyObject * obj2 = 0 ;
1835 PyObject * obj3 = 0 ;
1836 PyObject * obj4 = 0 ;
1837 PyObject * obj5 = 0 ;
1838 PyObject * obj6 = 0 ;
1839 PyObject * obj7 = 0 ;
1840 char *kwnames[] = {
1841 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1842 };
1843
1844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1846 {
1847 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1848 if (PyErr_Occurred()) SWIG_fail;
1849 }
1850 {
1851 arg3 = wxString_in_helper(obj2);
1852 if (arg3 == NULL) SWIG_fail;
1853 temp3 = True;
1854 }
1855 if (obj3) {
1856 {
1857 arg4 = &temp4;
1858 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1859 }
1860 }
1861 if (obj4) {
1862 {
1863 arg5 = &temp5;
1864 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1865 }
1866 }
1867 if (obj5) {
1868 {
1869 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1870 if (PyErr_Occurred()) SWIG_fail;
1871 }
1872 }
1873 if (obj6) {
1874 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1875 if (arg7 == NULL) {
1876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1877 }
1878 }
1879 if (obj7) {
1880 {
1881 arg8 = wxString_in_helper(obj7);
1882 if (arg8 == NULL) SWIG_fail;
1883 temp8 = True;
1884 }
1885 }
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1894 {
1895 if (temp3)
1896 delete arg3;
1897 }
1898 {
1899 if (temp8)
1900 delete arg8;
1901 }
1902 return resultobj;
1903 fail:
1904 {
1905 if (temp3)
1906 delete arg3;
1907 }
1908 {
1909 if (temp8)
1910 delete arg8;
1911 }
1912 return NULL;
1913 }
1914
1915
1916 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1917 PyObject *resultobj;
1918 wxCheckBox *result;
1919 char *kwnames[] = {
1920 NULL
1921 };
1922
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 result = (wxCheckBox *)new wxCheckBox();
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1932 return resultobj;
1933 fail:
1934 return NULL;
1935 }
1936
1937
1938 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1939 PyObject *resultobj;
1940 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1941 wxWindow *arg2 = (wxWindow *) 0 ;
1942 int arg3 ;
1943 wxString *arg4 = 0 ;
1944 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1945 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1946 wxSize const &arg6_defvalue = wxDefaultSize ;
1947 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1948 long arg7 = (long) 0 ;
1949 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1950 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1951 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1952 wxString *arg9 = (wxString *) &arg9_defvalue ;
1953 bool result;
1954 bool temp4 = False ;
1955 wxPoint temp5 ;
1956 wxSize temp6 ;
1957 bool temp9 = False ;
1958 PyObject * obj0 = 0 ;
1959 PyObject * obj1 = 0 ;
1960 PyObject * obj2 = 0 ;
1961 PyObject * obj3 = 0 ;
1962 PyObject * obj4 = 0 ;
1963 PyObject * obj5 = 0 ;
1964 PyObject * obj6 = 0 ;
1965 PyObject * obj7 = 0 ;
1966 PyObject * obj8 = 0 ;
1967 char *kwnames[] = {
1968 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1969 };
1970
1971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1974 {
1975 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1976 if (PyErr_Occurred()) SWIG_fail;
1977 }
1978 {
1979 arg4 = wxString_in_helper(obj3);
1980 if (arg4 == NULL) SWIG_fail;
1981 temp4 = True;
1982 }
1983 if (obj4) {
1984 {
1985 arg5 = &temp5;
1986 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1987 }
1988 }
1989 if (obj5) {
1990 {
1991 arg6 = &temp6;
1992 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1993 }
1994 }
1995 if (obj6) {
1996 {
1997 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1998 if (PyErr_Occurred()) SWIG_fail;
1999 }
2000 }
2001 if (obj7) {
2002 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2003 if (arg8 == NULL) {
2004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2005 }
2006 }
2007 if (obj8) {
2008 {
2009 arg9 = wxString_in_helper(obj8);
2010 if (arg9 == NULL) SWIG_fail;
2011 temp9 = True;
2012 }
2013 }
2014 {
2015 PyThreadState* __tstate = wxPyBeginAllowThreads();
2016 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2017
2018 wxPyEndAllowThreads(__tstate);
2019 if (PyErr_Occurred()) SWIG_fail;
2020 }
2021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2022 {
2023 if (temp4)
2024 delete arg4;
2025 }
2026 {
2027 if (temp9)
2028 delete arg9;
2029 }
2030 return resultobj;
2031 fail:
2032 {
2033 if (temp4)
2034 delete arg4;
2035 }
2036 {
2037 if (temp9)
2038 delete arg9;
2039 }
2040 return NULL;
2041 }
2042
2043
2044 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject *resultobj;
2046 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2047 bool result;
2048 PyObject * obj0 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 result = (bool)(arg1)->GetValue();
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2072 bool result;
2073 PyObject * obj0 = 0 ;
2074 char *kwnames[] = {
2075 (char *) "self", NULL
2076 };
2077
2078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 result = (bool)(arg1)->IsChecked();
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2088 return resultobj;
2089 fail:
2090 return NULL;
2091 }
2092
2093
2094 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2097 bool arg2 ;
2098 PyObject * obj0 = 0 ;
2099 PyObject * obj1 = 0 ;
2100 char *kwnames[] = {
2101 (char *) "self",(char *) "state", NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2106 {
2107 arg2 = (bool const) SWIG_PyObj_AsBool(obj1);
2108 if (PyErr_Occurred()) SWIG_fail;
2109 }
2110 {
2111 PyThreadState* __tstate = wxPyBeginAllowThreads();
2112 (arg1)->SetValue(arg2);
2113
2114 wxPyEndAllowThreads(__tstate);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 Py_INCREF(Py_None); resultobj = Py_None;
2118 return resultobj;
2119 fail:
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2125 PyObject *resultobj;
2126 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2127 int result;
2128 PyObject * obj0 = 0 ;
2129 char *kwnames[] = {
2130 (char *) "self", NULL
2131 };
2132
2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2135 {
2136 PyThreadState* __tstate = wxPyBeginAllowThreads();
2137 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2138
2139 wxPyEndAllowThreads(__tstate);
2140 if (PyErr_Occurred()) SWIG_fail;
2141 }
2142 resultobj = SWIG_PyObj_FromInt((int)result);
2143 return resultobj;
2144 fail:
2145 return NULL;
2146 }
2147
2148
2149 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2150 PyObject *resultobj;
2151 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2152 int arg2 ;
2153 PyObject * obj0 = 0 ;
2154 PyObject * obj1 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self",(char *) "state", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2161 {
2162 arg2 = (wxCheckBoxState) SWIG_PyObj_AsInt(obj1);
2163 if (PyErr_Occurred()) SWIG_fail;
2164 }
2165 {
2166 PyThreadState* __tstate = wxPyBeginAllowThreads();
2167 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2168
2169 wxPyEndAllowThreads(__tstate);
2170 if (PyErr_Occurred()) SWIG_fail;
2171 }
2172 Py_INCREF(Py_None); resultobj = Py_None;
2173 return resultobj;
2174 fail:
2175 return NULL;
2176 }
2177
2178
2179 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2180 PyObject *resultobj;
2181 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2182 bool result;
2183 PyObject * obj0 = 0 ;
2184 char *kwnames[] = {
2185 (char *) "self", NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2190 {
2191 PyThreadState* __tstate = wxPyBeginAllowThreads();
2192 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2193
2194 wxPyEndAllowThreads(__tstate);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2198 return resultobj;
2199 fail:
2200 return NULL;
2201 }
2202
2203
2204 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2205 PyObject *resultobj;
2206 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2207 bool result;
2208 PyObject * obj0 = 0 ;
2209 char *kwnames[] = {
2210 (char *) "self", NULL
2211 };
2212
2213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2223 return resultobj;
2224 fail:
2225 return NULL;
2226 }
2227
2228
2229 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2230 PyObject *obj;
2231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2232 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2233 Py_INCREF(obj);
2234 return Py_BuildValue((char *)"");
2235 }
2236 static int _wrap_ChoiceNameStr_set(PyObject *) {
2237 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2238 return 1;
2239 }
2240
2241
2242 static PyObject *_wrap_ChoiceNameStr_get() {
2243 PyObject *pyobj;
2244
2245 {
2246 #if wxUSE_UNICODE
2247 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2248 #else
2249 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2250 #endif
2251 }
2252 return pyobj;
2253 }
2254
2255
2256 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2257 PyObject *resultobj;
2258 wxWindow *arg1 = (wxWindow *) 0 ;
2259 int arg2 ;
2260 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2261 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2262 wxSize const &arg4_defvalue = wxDefaultSize ;
2263 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2264 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2265 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2266 long arg6 = (long) 0 ;
2267 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2268 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2269 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2270 wxString *arg8 = (wxString *) &arg8_defvalue ;
2271 wxChoice *result;
2272 wxPoint temp3 ;
2273 wxSize temp4 ;
2274 bool temp8 = False ;
2275 PyObject * obj0 = 0 ;
2276 PyObject * obj1 = 0 ;
2277 PyObject * obj2 = 0 ;
2278 PyObject * obj3 = 0 ;
2279 PyObject * obj4 = 0 ;
2280 PyObject * obj5 = 0 ;
2281 PyObject * obj6 = 0 ;
2282 PyObject * obj7 = 0 ;
2283 char *kwnames[] = {
2284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2285 };
2286
2287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2289 {
2290 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 if (obj2) {
2294 {
2295 arg3 = &temp3;
2296 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2297 }
2298 }
2299 if (obj3) {
2300 {
2301 arg4 = &temp4;
2302 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2303 }
2304 }
2305 if (obj4) {
2306 {
2307 if (! PySequence_Check(obj4)) {
2308 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2309 SWIG_fail;
2310 }
2311 arg5 = new wxArrayString;
2312 int i, len=PySequence_Length(obj4);
2313 for (i=0; i<len; i++) {
2314 PyObject* item = PySequence_GetItem(obj4, i);
2315 #if wxUSE_UNICODE
2316 PyObject* str = PyObject_Unicode(item);
2317 #else
2318 PyObject* str = PyObject_Str(item);
2319 #endif
2320 arg5->Add(Py2wxString(str));
2321 Py_DECREF(item);
2322 Py_DECREF(str);
2323 }
2324 }
2325 }
2326 if (obj5) {
2327 {
2328 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2329 if (PyErr_Occurred()) SWIG_fail;
2330 }
2331 }
2332 if (obj6) {
2333 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2334 if (arg7 == NULL) {
2335 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2336 }
2337 }
2338 if (obj7) {
2339 {
2340 arg8 = wxString_in_helper(obj7);
2341 if (arg8 == NULL) SWIG_fail;
2342 temp8 = True;
2343 }
2344 }
2345 {
2346 PyThreadState* __tstate = wxPyBeginAllowThreads();
2347 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2348
2349 wxPyEndAllowThreads(__tstate);
2350 if (PyErr_Occurred()) SWIG_fail;
2351 }
2352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2353 {
2354 if (arg5) delete arg5;
2355 }
2356 {
2357 if (temp8)
2358 delete arg8;
2359 }
2360 return resultobj;
2361 fail:
2362 {
2363 if (arg5) delete arg5;
2364 }
2365 {
2366 if (temp8)
2367 delete arg8;
2368 }
2369 return NULL;
2370 }
2371
2372
2373 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2374 PyObject *resultobj;
2375 wxChoice *result;
2376 char *kwnames[] = {
2377 NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 result = (wxChoice *)new wxChoice();
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
2388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2389 return resultobj;
2390 fail:
2391 return NULL;
2392 }
2393
2394
2395 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2396 PyObject *resultobj;
2397 wxChoice *arg1 = (wxChoice *) 0 ;
2398 wxWindow *arg2 = (wxWindow *) 0 ;
2399 int arg3 ;
2400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2402 wxSize const &arg5_defvalue = wxDefaultSize ;
2403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2404 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2405 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2406 long arg7 = (long) 0 ;
2407 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2408 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2409 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2410 wxString *arg9 = (wxString *) &arg9_defvalue ;
2411 bool result;
2412 wxPoint temp4 ;
2413 wxSize temp5 ;
2414 bool temp9 = False ;
2415 PyObject * obj0 = 0 ;
2416 PyObject * obj1 = 0 ;
2417 PyObject * obj2 = 0 ;
2418 PyObject * obj3 = 0 ;
2419 PyObject * obj4 = 0 ;
2420 PyObject * obj5 = 0 ;
2421 PyObject * obj6 = 0 ;
2422 PyObject * obj7 = 0 ;
2423 PyObject * obj8 = 0 ;
2424 char *kwnames[] = {
2425 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2426 };
2427
2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2431 {
2432 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2433 if (PyErr_Occurred()) SWIG_fail;
2434 }
2435 if (obj3) {
2436 {
2437 arg4 = &temp4;
2438 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2439 }
2440 }
2441 if (obj4) {
2442 {
2443 arg5 = &temp5;
2444 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2445 }
2446 }
2447 if (obj5) {
2448 {
2449 if (! PySequence_Check(obj5)) {
2450 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2451 SWIG_fail;
2452 }
2453 arg6 = new wxArrayString;
2454 int i, len=PySequence_Length(obj5);
2455 for (i=0; i<len; i++) {
2456 PyObject* item = PySequence_GetItem(obj5, i);
2457 #if wxUSE_UNICODE
2458 PyObject* str = PyObject_Unicode(item);
2459 #else
2460 PyObject* str = PyObject_Str(item);
2461 #endif
2462 arg6->Add(Py2wxString(str));
2463 Py_DECREF(item);
2464 Py_DECREF(str);
2465 }
2466 }
2467 }
2468 if (obj6) {
2469 {
2470 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2471 if (PyErr_Occurred()) SWIG_fail;
2472 }
2473 }
2474 if (obj7) {
2475 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2476 if (arg8 == NULL) {
2477 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2478 }
2479 }
2480 if (obj8) {
2481 {
2482 arg9 = wxString_in_helper(obj8);
2483 if (arg9 == NULL) SWIG_fail;
2484 temp9 = True;
2485 }
2486 }
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2495 {
2496 if (arg6) delete arg6;
2497 }
2498 {
2499 if (temp9)
2500 delete arg9;
2501 }
2502 return resultobj;
2503 fail:
2504 {
2505 if (arg6) delete arg6;
2506 }
2507 {
2508 if (temp9)
2509 delete arg9;
2510 }
2511 return NULL;
2512 }
2513
2514
2515 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2516 PyObject *resultobj;
2517 wxChoice *arg1 = (wxChoice *) 0 ;
2518 int result;
2519 PyObject * obj0 = 0 ;
2520 char *kwnames[] = {
2521 (char *) "self", NULL
2522 };
2523
2524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 result = (int)(arg1)->GetColumns();
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 resultobj = SWIG_PyObj_FromInt((int)result);
2534 return resultobj;
2535 fail:
2536 return NULL;
2537 }
2538
2539
2540 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2541 PyObject *resultobj;
2542 wxChoice *arg1 = (wxChoice *) 0 ;
2543 int arg2 = (int) (int)1 ;
2544 PyObject * obj0 = 0 ;
2545 PyObject * obj1 = 0 ;
2546 char *kwnames[] = {
2547 (char *) "self",(char *) "n", NULL
2548 };
2549
2550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Choice_SetColumns",kwnames,&obj0,&obj1)) goto fail;
2551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2552 if (obj1) {
2553 {
2554 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2555 if (PyErr_Occurred()) SWIG_fail;
2556 }
2557 }
2558 {
2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
2560 (arg1)->SetColumns(arg2);
2561
2562 wxPyEndAllowThreads(__tstate);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 Py_INCREF(Py_None); resultobj = Py_None;
2566 return resultobj;
2567 fail:
2568 return NULL;
2569 }
2570
2571
2572 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2573 PyObject *resultobj;
2574 wxChoice *arg1 = (wxChoice *) 0 ;
2575 int arg2 ;
2576 PyObject * obj0 = 0 ;
2577 PyObject * obj1 = 0 ;
2578 char *kwnames[] = {
2579 (char *) "self",(char *) "n", NULL
2580 };
2581
2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2584 {
2585 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2586 if (PyErr_Occurred()) SWIG_fail;
2587 }
2588 {
2589 PyThreadState* __tstate = wxPyBeginAllowThreads();
2590 (arg1)->SetSelection(arg2);
2591
2592 wxPyEndAllowThreads(__tstate);
2593 if (PyErr_Occurred()) SWIG_fail;
2594 }
2595 Py_INCREF(Py_None); resultobj = Py_None;
2596 return resultobj;
2597 fail:
2598 return NULL;
2599 }
2600
2601
2602 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2603 PyObject *resultobj;
2604 wxChoice *arg1 = (wxChoice *) 0 ;
2605 wxString *arg2 = 0 ;
2606 bool temp2 = False ;
2607 PyObject * obj0 = 0 ;
2608 PyObject * obj1 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self",(char *) "string", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2615 {
2616 arg2 = wxString_in_helper(obj1);
2617 if (arg2 == NULL) SWIG_fail;
2618 temp2 = True;
2619 }
2620 {
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
2622 (arg1)->SetStringSelection((wxString const &)*arg2);
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 }
2627 Py_INCREF(Py_None); resultobj = Py_None;
2628 {
2629 if (temp2)
2630 delete arg2;
2631 }
2632 return resultobj;
2633 fail:
2634 {
2635 if (temp2)
2636 delete arg2;
2637 }
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxChoice *arg1 = (wxChoice *) 0 ;
2645 int arg2 ;
2646 wxString *arg3 = 0 ;
2647 bool temp3 = False ;
2648 PyObject * obj0 = 0 ;
2649 PyObject * obj1 = 0 ;
2650 PyObject * obj2 = 0 ;
2651 char *kwnames[] = {
2652 (char *) "self",(char *) "n",(char *) "s", NULL
2653 };
2654
2655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2657 {
2658 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2659 if (PyErr_Occurred()) SWIG_fail;
2660 }
2661 {
2662 arg3 = wxString_in_helper(obj2);
2663 if (arg3 == NULL) SWIG_fail;
2664 temp3 = True;
2665 }
2666 {
2667 PyThreadState* __tstate = wxPyBeginAllowThreads();
2668 (arg1)->SetString(arg2,(wxString const &)*arg3);
2669
2670 wxPyEndAllowThreads(__tstate);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 }
2673 Py_INCREF(Py_None); resultobj = Py_None;
2674 {
2675 if (temp3)
2676 delete arg3;
2677 }
2678 return resultobj;
2679 fail:
2680 {
2681 if (temp3)
2682 delete arg3;
2683 }
2684 return NULL;
2685 }
2686
2687
2688 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2689 PyObject *obj;
2690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2691 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2692 Py_INCREF(obj);
2693 return Py_BuildValue((char *)"");
2694 }
2695 static int _wrap_ComboBoxNameStr_set(PyObject *) {
2696 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2697 return 1;
2698 }
2699
2700
2701 static PyObject *_wrap_ComboBoxNameStr_get() {
2702 PyObject *pyobj;
2703
2704 {
2705 #if wxUSE_UNICODE
2706 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2707 #else
2708 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2709 #endif
2710 }
2711 return pyobj;
2712 }
2713
2714
2715 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2716 PyObject *resultobj;
2717 wxWindow *arg1 = (wxWindow *) 0 ;
2718 int arg2 ;
2719 wxString const &arg3_defvalue = wxPyEmptyString ;
2720 wxString *arg3 = (wxString *) &arg3_defvalue ;
2721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2723 wxSize const &arg5_defvalue = wxDefaultSize ;
2724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2725 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2726 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2727 long arg7 = (long) 0 ;
2728 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2729 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2730 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2731 wxString *arg9 = (wxString *) &arg9_defvalue ;
2732 wxComboBox *result;
2733 bool temp3 = False ;
2734 wxPoint temp4 ;
2735 wxSize temp5 ;
2736 bool temp9 = False ;
2737 PyObject * obj0 = 0 ;
2738 PyObject * obj1 = 0 ;
2739 PyObject * obj2 = 0 ;
2740 PyObject * obj3 = 0 ;
2741 PyObject * obj4 = 0 ;
2742 PyObject * obj5 = 0 ;
2743 PyObject * obj6 = 0 ;
2744 PyObject * obj7 = 0 ;
2745 PyObject * obj8 = 0 ;
2746 char *kwnames[] = {
2747 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2748 };
2749
2750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2752 {
2753 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2754 if (PyErr_Occurred()) SWIG_fail;
2755 }
2756 if (obj2) {
2757 {
2758 arg3 = wxString_in_helper(obj2);
2759 if (arg3 == NULL) SWIG_fail;
2760 temp3 = True;
2761 }
2762 }
2763 if (obj3) {
2764 {
2765 arg4 = &temp4;
2766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2767 }
2768 }
2769 if (obj4) {
2770 {
2771 arg5 = &temp5;
2772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2773 }
2774 }
2775 if (obj5) {
2776 {
2777 if (! PySequence_Check(obj5)) {
2778 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2779 SWIG_fail;
2780 }
2781 arg6 = new wxArrayString;
2782 int i, len=PySequence_Length(obj5);
2783 for (i=0; i<len; i++) {
2784 PyObject* item = PySequence_GetItem(obj5, i);
2785 #if wxUSE_UNICODE
2786 PyObject* str = PyObject_Unicode(item);
2787 #else
2788 PyObject* str = PyObject_Str(item);
2789 #endif
2790 arg6->Add(Py2wxString(str));
2791 Py_DECREF(item);
2792 Py_DECREF(str);
2793 }
2794 }
2795 }
2796 if (obj6) {
2797 {
2798 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2799 if (PyErr_Occurred()) SWIG_fail;
2800 }
2801 }
2802 if (obj7) {
2803 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2804 if (arg8 == NULL) {
2805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2806 }
2807 }
2808 if (obj8) {
2809 {
2810 arg9 = wxString_in_helper(obj8);
2811 if (arg9 == NULL) SWIG_fail;
2812 temp9 = True;
2813 }
2814 }
2815 {
2816 PyThreadState* __tstate = wxPyBeginAllowThreads();
2817 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2818
2819 wxPyEndAllowThreads(__tstate);
2820 if (PyErr_Occurred()) SWIG_fail;
2821 }
2822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2823 {
2824 if (temp3)
2825 delete arg3;
2826 }
2827 {
2828 if (arg6) delete arg6;
2829 }
2830 {
2831 if (temp9)
2832 delete arg9;
2833 }
2834 return resultobj;
2835 fail:
2836 {
2837 if (temp3)
2838 delete arg3;
2839 }
2840 {
2841 if (arg6) delete arg6;
2842 }
2843 {
2844 if (temp9)
2845 delete arg9;
2846 }
2847 return NULL;
2848 }
2849
2850
2851 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2852 PyObject *resultobj;
2853 wxComboBox *result;
2854 char *kwnames[] = {
2855 NULL
2856 };
2857
2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2859 {
2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
2861 result = (wxComboBox *)new wxComboBox();
2862
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) SWIG_fail;
2865 }
2866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2867 return resultobj;
2868 fail:
2869 return NULL;
2870 }
2871
2872
2873 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxComboBox *arg1 = (wxComboBox *) 0 ;
2876 wxWindow *arg2 = (wxWindow *) 0 ;
2877 int arg3 ;
2878 wxString const &arg4_defvalue = wxPyEmptyString ;
2879 wxString *arg4 = (wxString *) &arg4_defvalue ;
2880 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2881 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2882 wxSize const &arg6_defvalue = wxDefaultSize ;
2883 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2884 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2885 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2886 long arg8 = (long) 0 ;
2887 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2888 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2889 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2890 wxString *arg10 = (wxString *) &arg10_defvalue ;
2891 bool result;
2892 bool temp4 = False ;
2893 wxPoint temp5 ;
2894 wxSize temp6 ;
2895 bool temp10 = False ;
2896 PyObject * obj0 = 0 ;
2897 PyObject * obj1 = 0 ;
2898 PyObject * obj2 = 0 ;
2899 PyObject * obj3 = 0 ;
2900 PyObject * obj4 = 0 ;
2901 PyObject * obj5 = 0 ;
2902 PyObject * obj6 = 0 ;
2903 PyObject * obj7 = 0 ;
2904 PyObject * obj8 = 0 ;
2905 PyObject * obj9 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2908 };
2909
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2912 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2913 {
2914 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2915 if (PyErr_Occurred()) SWIG_fail;
2916 }
2917 if (obj3) {
2918 {
2919 arg4 = wxString_in_helper(obj3);
2920 if (arg4 == NULL) SWIG_fail;
2921 temp4 = True;
2922 }
2923 }
2924 if (obj4) {
2925 {
2926 arg5 = &temp5;
2927 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2928 }
2929 }
2930 if (obj5) {
2931 {
2932 arg6 = &temp6;
2933 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2934 }
2935 }
2936 if (obj6) {
2937 {
2938 if (! PySequence_Check(obj6)) {
2939 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2940 SWIG_fail;
2941 }
2942 arg7 = new wxArrayString;
2943 int i, len=PySequence_Length(obj6);
2944 for (i=0; i<len; i++) {
2945 PyObject* item = PySequence_GetItem(obj6, i);
2946 #if wxUSE_UNICODE
2947 PyObject* str = PyObject_Unicode(item);
2948 #else
2949 PyObject* str = PyObject_Str(item);
2950 #endif
2951 arg7->Add(Py2wxString(str));
2952 Py_DECREF(item);
2953 Py_DECREF(str);
2954 }
2955 }
2956 }
2957 if (obj7) {
2958 {
2959 arg8 = (long) SWIG_PyObj_AsLong(obj7);
2960 if (PyErr_Occurred()) SWIG_fail;
2961 }
2962 }
2963 if (obj8) {
2964 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2965 if (arg9 == NULL) {
2966 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2967 }
2968 }
2969 if (obj9) {
2970 {
2971 arg10 = wxString_in_helper(obj9);
2972 if (arg10 == NULL) SWIG_fail;
2973 temp10 = True;
2974 }
2975 }
2976 {
2977 PyThreadState* __tstate = wxPyBeginAllowThreads();
2978 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2979
2980 wxPyEndAllowThreads(__tstate);
2981 if (PyErr_Occurred()) SWIG_fail;
2982 }
2983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2984 {
2985 if (temp4)
2986 delete arg4;
2987 }
2988 {
2989 if (arg7) delete arg7;
2990 }
2991 {
2992 if (temp10)
2993 delete arg10;
2994 }
2995 return resultobj;
2996 fail:
2997 {
2998 if (temp4)
2999 delete arg4;
3000 }
3001 {
3002 if (arg7) delete arg7;
3003 }
3004 {
3005 if (temp10)
3006 delete arg10;
3007 }
3008 return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3013 PyObject *resultobj;
3014 wxComboBox *arg1 = (wxComboBox *) 0 ;
3015 wxString result;
3016 PyObject * obj0 = 0 ;
3017 char *kwnames[] = {
3018 (char *) "self", NULL
3019 };
3020
3021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3023 {
3024 PyThreadState* __tstate = wxPyBeginAllowThreads();
3025 result = ((wxComboBox const *)arg1)->GetValue();
3026
3027 wxPyEndAllowThreads(__tstate);
3028 if (PyErr_Occurred()) SWIG_fail;
3029 }
3030 {
3031 #if wxUSE_UNICODE
3032 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3033 #else
3034 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3035 #endif
3036 }
3037 return resultobj;
3038 fail:
3039 return NULL;
3040 }
3041
3042
3043 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3044 PyObject *resultobj;
3045 wxComboBox *arg1 = (wxComboBox *) 0 ;
3046 wxString *arg2 = 0 ;
3047 bool temp2 = False ;
3048 PyObject * obj0 = 0 ;
3049 PyObject * obj1 = 0 ;
3050 char *kwnames[] = {
3051 (char *) "self",(char *) "value", NULL
3052 };
3053
3054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3056 {
3057 arg2 = wxString_in_helper(obj1);
3058 if (arg2 == NULL) SWIG_fail;
3059 temp2 = True;
3060 }
3061 {
3062 PyThreadState* __tstate = wxPyBeginAllowThreads();
3063 (arg1)->SetValue((wxString const &)*arg2);
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
3068 Py_INCREF(Py_None); resultobj = Py_None;
3069 {
3070 if (temp2)
3071 delete arg2;
3072 }
3073 return resultobj;
3074 fail:
3075 {
3076 if (temp2)
3077 delete arg2;
3078 }
3079 return NULL;
3080 }
3081
3082
3083 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3084 PyObject *resultobj;
3085 wxComboBox *arg1 = (wxComboBox *) 0 ;
3086 PyObject * obj0 = 0 ;
3087 char *kwnames[] = {
3088 (char *) "self", NULL
3089 };
3090
3091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 (arg1)->Copy();
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 Py_INCREF(Py_None); resultobj = Py_None;
3101 return resultobj;
3102 fail:
3103 return NULL;
3104 }
3105
3106
3107 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3108 PyObject *resultobj;
3109 wxComboBox *arg1 = (wxComboBox *) 0 ;
3110 PyObject * obj0 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 {
3118 PyThreadState* __tstate = wxPyBeginAllowThreads();
3119 (arg1)->Cut();
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
3124 Py_INCREF(Py_None); resultobj = Py_None;
3125 return resultobj;
3126 fail:
3127 return NULL;
3128 }
3129
3130
3131 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3132 PyObject *resultobj;
3133 wxComboBox *arg1 = (wxComboBox *) 0 ;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self", NULL
3137 };
3138
3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3141 {
3142 PyThreadState* __tstate = wxPyBeginAllowThreads();
3143 (arg1)->Paste();
3144
3145 wxPyEndAllowThreads(__tstate);
3146 if (PyErr_Occurred()) SWIG_fail;
3147 }
3148 Py_INCREF(Py_None); resultobj = Py_None;
3149 return resultobj;
3150 fail:
3151 return NULL;
3152 }
3153
3154
3155 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3156 PyObject *resultobj;
3157 wxComboBox *arg1 = (wxComboBox *) 0 ;
3158 long arg2 ;
3159 PyObject * obj0 = 0 ;
3160 PyObject * obj1 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "self",(char *) "pos", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3167 {
3168 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3169 if (PyErr_Occurred()) SWIG_fail;
3170 }
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 (arg1)->SetInsertionPoint(arg2);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 Py_INCREF(Py_None); resultobj = Py_None;
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxComboBox *arg1 = (wxComboBox *) 0 ;
3188 long result;
3189 PyObject * obj0 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 resultobj = SWIG_PyObj_FromLong((long)result);
3204 return resultobj;
3205 fail:
3206 return NULL;
3207 }
3208
3209
3210 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3211 PyObject *resultobj;
3212 wxComboBox *arg1 = (wxComboBox *) 0 ;
3213 long result;
3214 PyObject * obj0 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3224
3225 wxPyEndAllowThreads(__tstate);
3226 if (PyErr_Occurred()) SWIG_fail;
3227 }
3228 resultobj = SWIG_PyObj_FromLong((long)result);
3229 return resultobj;
3230 fail:
3231 return NULL;
3232 }
3233
3234
3235 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject *resultobj;
3237 wxComboBox *arg1 = (wxComboBox *) 0 ;
3238 long arg2 ;
3239 long arg3 ;
3240 wxString *arg4 = 0 ;
3241 bool temp4 = False ;
3242 PyObject * obj0 = 0 ;
3243 PyObject * obj1 = 0 ;
3244 PyObject * obj2 = 0 ;
3245 PyObject * obj3 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3252 {
3253 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 {
3257 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 {
3261 arg4 = wxString_in_helper(obj3);
3262 if (arg4 == NULL) SWIG_fail;
3263 temp4 = True;
3264 }
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 Py_INCREF(Py_None); resultobj = Py_None;
3273 {
3274 if (temp4)
3275 delete arg4;
3276 }
3277 return resultobj;
3278 fail:
3279 {
3280 if (temp4)
3281 delete arg4;
3282 }
3283 return NULL;
3284 }
3285
3286
3287 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3288 PyObject *resultobj;
3289 wxComboBox *arg1 = (wxComboBox *) 0 ;
3290 int arg2 ;
3291 PyObject * obj0 = 0 ;
3292 PyObject * obj1 = 0 ;
3293 char *kwnames[] = {
3294 (char *) "self",(char *) "n", NULL
3295 };
3296
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3299 {
3300 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 {
3304 PyThreadState* __tstate = wxPyBeginAllowThreads();
3305 (arg1)->SetSelection(arg2);
3306
3307 wxPyEndAllowThreads(__tstate);
3308 if (PyErr_Occurred()) SWIG_fail;
3309 }
3310 Py_INCREF(Py_None); resultobj = Py_None;
3311 return resultobj;
3312 fail:
3313 return NULL;
3314 }
3315
3316
3317 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxComboBox *arg1 = (wxComboBox *) 0 ;
3320 long arg2 ;
3321 long arg3 ;
3322 PyObject * obj0 = 0 ;
3323 PyObject * obj1 = 0 ;
3324 PyObject * obj2 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self",(char *) "from",(char *) "to", NULL
3327 };
3328
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3331 {
3332 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3333 if (PyErr_Occurred()) SWIG_fail;
3334 }
3335 {
3336 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 {
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 (arg1)->SetSelection(arg2,arg3);
3342
3343 wxPyEndAllowThreads(__tstate);
3344 if (PyErr_Occurred()) SWIG_fail;
3345 }
3346 Py_INCREF(Py_None); resultobj = Py_None;
3347 return resultobj;
3348 fail:
3349 return NULL;
3350 }
3351
3352
3353 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 wxComboBox *arg1 = (wxComboBox *) 0 ;
3356 bool arg2 ;
3357 PyObject * obj0 = 0 ;
3358 PyObject * obj1 = 0 ;
3359 char *kwnames[] = {
3360 (char *) "self",(char *) "editable", NULL
3361 };
3362
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3365 {
3366 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3367 if (PyErr_Occurred()) SWIG_fail;
3368 }
3369 {
3370 PyThreadState* __tstate = wxPyBeginAllowThreads();
3371 (arg1)->SetEditable(arg2);
3372
3373 wxPyEndAllowThreads(__tstate);
3374 if (PyErr_Occurred()) SWIG_fail;
3375 }
3376 Py_INCREF(Py_None); resultobj = Py_None;
3377 return resultobj;
3378 fail:
3379 return NULL;
3380 }
3381
3382
3383 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3384 PyObject *resultobj;
3385 wxComboBox *arg1 = (wxComboBox *) 0 ;
3386 PyObject * obj0 = 0 ;
3387 char *kwnames[] = {
3388 (char *) "self", NULL
3389 };
3390
3391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3393 {
3394 PyThreadState* __tstate = wxPyBeginAllowThreads();
3395 (arg1)->SetInsertionPointEnd();
3396
3397 wxPyEndAllowThreads(__tstate);
3398 if (PyErr_Occurred()) SWIG_fail;
3399 }
3400 Py_INCREF(Py_None); resultobj = Py_None;
3401 return resultobj;
3402 fail:
3403 return NULL;
3404 }
3405
3406
3407 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3408 PyObject *resultobj;
3409 wxComboBox *arg1 = (wxComboBox *) 0 ;
3410 long arg2 ;
3411 long arg3 ;
3412 PyObject * obj0 = 0 ;
3413 PyObject * obj1 = 0 ;
3414 PyObject * obj2 = 0 ;
3415 char *kwnames[] = {
3416 (char *) "self",(char *) "from",(char *) "to", NULL
3417 };
3418
3419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3421 {
3422 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3423 if (PyErr_Occurred()) SWIG_fail;
3424 }
3425 {
3426 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3427 if (PyErr_Occurred()) SWIG_fail;
3428 }
3429 {
3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
3431 (arg1)->Remove(arg2,arg3);
3432
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
3436 Py_INCREF(Py_None); resultobj = Py_None;
3437 return resultobj;
3438 fail:
3439 return NULL;
3440 }
3441
3442
3443 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3444 PyObject *obj;
3445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3446 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3447 Py_INCREF(obj);
3448 return Py_BuildValue((char *)"");
3449 }
3450 static int _wrap_GaugeNameStr_set(PyObject *) {
3451 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3452 return 1;
3453 }
3454
3455
3456 static PyObject *_wrap_GaugeNameStr_get() {
3457 PyObject *pyobj;
3458
3459 {
3460 #if wxUSE_UNICODE
3461 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3462 #else
3463 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3464 #endif
3465 }
3466 return pyobj;
3467 }
3468
3469
3470 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3471 PyObject *resultobj;
3472 wxWindow *arg1 = (wxWindow *) 0 ;
3473 int arg2 ;
3474 int arg3 ;
3475 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3476 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3477 wxSize const &arg5_defvalue = wxDefaultSize ;
3478 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3479 long arg6 = (long) wxGA_HORIZONTAL ;
3480 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3481 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3482 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3483 wxString *arg8 = (wxString *) &arg8_defvalue ;
3484 wxGauge *result;
3485 wxPoint temp4 ;
3486 wxSize temp5 ;
3487 bool temp8 = False ;
3488 PyObject * obj0 = 0 ;
3489 PyObject * obj1 = 0 ;
3490 PyObject * obj2 = 0 ;
3491 PyObject * obj3 = 0 ;
3492 PyObject * obj4 = 0 ;
3493 PyObject * obj5 = 0 ;
3494 PyObject * obj6 = 0 ;
3495 PyObject * obj7 = 0 ;
3496 char *kwnames[] = {
3497 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3498 };
3499
3500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3502 {
3503 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 {
3507 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3508 if (PyErr_Occurred()) SWIG_fail;
3509 }
3510 if (obj3) {
3511 {
3512 arg4 = &temp4;
3513 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3514 }
3515 }
3516 if (obj4) {
3517 {
3518 arg5 = &temp5;
3519 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3520 }
3521 }
3522 if (obj5) {
3523 {
3524 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 }
3528 if (obj6) {
3529 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3530 if (arg7 == NULL) {
3531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3532 }
3533 }
3534 if (obj7) {
3535 {
3536 arg8 = wxString_in_helper(obj7);
3537 if (arg8 == NULL) SWIG_fail;
3538 temp8 = True;
3539 }
3540 }
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3544
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3549 {
3550 if (temp8)
3551 delete arg8;
3552 }
3553 return resultobj;
3554 fail:
3555 {
3556 if (temp8)
3557 delete arg8;
3558 }
3559 return NULL;
3560 }
3561
3562
3563 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj;
3565 wxGauge *result;
3566 char *kwnames[] = {
3567 NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3571 {
3572 PyThreadState* __tstate = wxPyBeginAllowThreads();
3573 result = (wxGauge *)new wxGauge();
3574
3575 wxPyEndAllowThreads(__tstate);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 }
3578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3579 return resultobj;
3580 fail:
3581 return NULL;
3582 }
3583
3584
3585 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3586 PyObject *resultobj;
3587 wxGauge *arg1 = (wxGauge *) 0 ;
3588 wxWindow *arg2 = (wxWindow *) 0 ;
3589 int arg3 ;
3590 int arg4 ;
3591 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3592 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3593 wxSize const &arg6_defvalue = wxDefaultSize ;
3594 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3595 long arg7 = (long) wxGA_HORIZONTAL ;
3596 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3597 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3598 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3599 wxString *arg9 = (wxString *) &arg9_defvalue ;
3600 bool result;
3601 wxPoint temp5 ;
3602 wxSize temp6 ;
3603 bool temp9 = False ;
3604 PyObject * obj0 = 0 ;
3605 PyObject * obj1 = 0 ;
3606 PyObject * obj2 = 0 ;
3607 PyObject * obj3 = 0 ;
3608 PyObject * obj4 = 0 ;
3609 PyObject * obj5 = 0 ;
3610 PyObject * obj6 = 0 ;
3611 PyObject * obj7 = 0 ;
3612 PyObject * obj8 = 0 ;
3613 char *kwnames[] = {
3614 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3615 };
3616
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3620 {
3621 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 {
3625 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 if (obj4) {
3629 {
3630 arg5 = &temp5;
3631 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3632 }
3633 }
3634 if (obj5) {
3635 {
3636 arg6 = &temp6;
3637 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3638 }
3639 }
3640 if (obj6) {
3641 {
3642 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 }
3646 if (obj7) {
3647 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3648 if (arg8 == NULL) {
3649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3650 }
3651 }
3652 if (obj8) {
3653 {
3654 arg9 = wxString_in_helper(obj8);
3655 if (arg9 == NULL) SWIG_fail;
3656 temp9 = True;
3657 }
3658 }
3659 {
3660 PyThreadState* __tstate = wxPyBeginAllowThreads();
3661 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3662
3663 wxPyEndAllowThreads(__tstate);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 }
3666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3667 {
3668 if (temp9)
3669 delete arg9;
3670 }
3671 return resultobj;
3672 fail:
3673 {
3674 if (temp9)
3675 delete arg9;
3676 }
3677 return NULL;
3678 }
3679
3680
3681 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3682 PyObject *resultobj;
3683 wxGauge *arg1 = (wxGauge *) 0 ;
3684 int arg2 ;
3685 PyObject * obj0 = 0 ;
3686 PyObject * obj1 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self",(char *) "range", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3693 {
3694 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 (arg1)->SetRange(arg2);
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 Py_INCREF(Py_None); resultobj = Py_None;
3705 return resultobj;
3706 fail:
3707 return NULL;
3708 }
3709
3710
3711 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxGauge *arg1 = (wxGauge *) 0 ;
3714 int result;
3715 PyObject * obj0 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (int)((wxGauge const *)arg1)->GetRange();
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 resultobj = SWIG_PyObj_FromInt((int)result);
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxGauge *arg1 = (wxGauge *) 0 ;
3739 int arg2 ;
3740 PyObject * obj0 = 0 ;
3741 PyObject * obj1 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "self",(char *) "pos", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3748 {
3749 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->SetValue(arg2);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 Py_INCREF(Py_None); resultobj = Py_None;
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 wxGauge *arg1 = (wxGauge *) 0 ;
3769 int result;
3770 PyObject * obj0 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "self", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3777 {
3778 PyThreadState* __tstate = wxPyBeginAllowThreads();
3779 result = (int)((wxGauge const *)arg1)->GetValue();
3780
3781 wxPyEndAllowThreads(__tstate);
3782 if (PyErr_Occurred()) SWIG_fail;
3783 }
3784 resultobj = SWIG_PyObj_FromInt((int)result);
3785 return resultobj;
3786 fail:
3787 return NULL;
3788 }
3789
3790
3791 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3792 PyObject *resultobj;
3793 wxGauge *arg1 = (wxGauge *) 0 ;
3794 bool result;
3795 PyObject * obj0 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 result = (bool)((wxGauge const *)arg1)->IsVertical();
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3810 return resultobj;
3811 fail:
3812 return NULL;
3813 }
3814
3815
3816 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3817 PyObject *resultobj;
3818 wxGauge *arg1 = (wxGauge *) 0 ;
3819 int arg2 ;
3820 PyObject * obj0 = 0 ;
3821 PyObject * obj1 = 0 ;
3822 char *kwnames[] = {
3823 (char *) "self",(char *) "w", NULL
3824 };
3825
3826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3828 {
3829 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3830 if (PyErr_Occurred()) SWIG_fail;
3831 }
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 (arg1)->SetShadowWidth(arg2);
3835
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 Py_INCREF(Py_None); resultobj = Py_None;
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3847 PyObject *resultobj;
3848 wxGauge *arg1 = (wxGauge *) 0 ;
3849 int result;
3850 PyObject * obj0 = 0 ;
3851 char *kwnames[] = {
3852 (char *) "self", NULL
3853 };
3854
3855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = SWIG_PyObj_FromInt((int)result);
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3872 PyObject *resultobj;
3873 wxGauge *arg1 = (wxGauge *) 0 ;
3874 int arg2 ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj1 = 0 ;
3877 char *kwnames[] = {
3878 (char *) "self",(char *) "w", NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3883 {
3884 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 (arg1)->SetBezelFace(arg2);
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 Py_INCREF(Py_None); resultobj = Py_None;
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject *resultobj;
3903 wxGauge *arg1 = (wxGauge *) 0 ;
3904 int result;
3905 PyObject * obj0 = 0 ;
3906 char *kwnames[] = {
3907 (char *) "self", NULL
3908 };
3909
3910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 resultobj = SWIG_PyObj_FromInt((int)result);
3920 return resultobj;
3921 fail:
3922 return NULL;
3923 }
3924
3925
3926 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3927 PyObject *obj;
3928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3930 Py_INCREF(obj);
3931 return Py_BuildValue((char *)"");
3932 }
3933 static int _wrap_StaticBitmapNameStr_set(PyObject *) {
3934 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3935 return 1;
3936 }
3937
3938
3939 static PyObject *_wrap_StaticBitmapNameStr_get() {
3940 PyObject *pyobj;
3941
3942 {
3943 #if wxUSE_UNICODE
3944 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3945 #else
3946 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3947 #endif
3948 }
3949 return pyobj;
3950 }
3951
3952
3953 static int _wrap_StaticBoxNameStr_set(PyObject *) {
3954 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3955 return 1;
3956 }
3957
3958
3959 static PyObject *_wrap_StaticBoxNameStr_get() {
3960 PyObject *pyobj;
3961
3962 {
3963 #if wxUSE_UNICODE
3964 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3965 #else
3966 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3967 #endif
3968 }
3969 return pyobj;
3970 }
3971
3972
3973 static int _wrap_StaticTextNameStr_set(PyObject *) {
3974 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3975 return 1;
3976 }
3977
3978
3979 static PyObject *_wrap_StaticTextNameStr_get() {
3980 PyObject *pyobj;
3981
3982 {
3983 #if wxUSE_UNICODE
3984 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3985 #else
3986 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3987 #endif
3988 }
3989 return pyobj;
3990 }
3991
3992
3993 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject *resultobj;
3995 wxWindow *arg1 = (wxWindow *) 0 ;
3996 int arg2 ;
3997 wxString *arg3 = 0 ;
3998 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3999 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4000 wxSize const &arg5_defvalue = wxDefaultSize ;
4001 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4002 long arg6 = (long) 0 ;
4003 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4004 wxString *arg7 = (wxString *) &arg7_defvalue ;
4005 wxStaticBox *result;
4006 bool temp3 = False ;
4007 wxPoint temp4 ;
4008 wxSize temp5 ;
4009 bool temp7 = False ;
4010 PyObject * obj0 = 0 ;
4011 PyObject * obj1 = 0 ;
4012 PyObject * obj2 = 0 ;
4013 PyObject * obj3 = 0 ;
4014 PyObject * obj4 = 0 ;
4015 PyObject * obj5 = 0 ;
4016 PyObject * obj6 = 0 ;
4017 char *kwnames[] = {
4018 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4019 };
4020
4021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4023 {
4024 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4025 if (PyErr_Occurred()) SWIG_fail;
4026 }
4027 {
4028 arg3 = wxString_in_helper(obj2);
4029 if (arg3 == NULL) SWIG_fail;
4030 temp3 = True;
4031 }
4032 if (obj3) {
4033 {
4034 arg4 = &temp4;
4035 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4036 }
4037 }
4038 if (obj4) {
4039 {
4040 arg5 = &temp5;
4041 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4042 }
4043 }
4044 if (obj5) {
4045 {
4046 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4047 if (PyErr_Occurred()) SWIG_fail;
4048 }
4049 }
4050 if (obj6) {
4051 {
4052 arg7 = wxString_in_helper(obj6);
4053 if (arg7 == NULL) SWIG_fail;
4054 temp7 = True;
4055 }
4056 }
4057 {
4058 PyThreadState* __tstate = wxPyBeginAllowThreads();
4059 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4060
4061 wxPyEndAllowThreads(__tstate);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 }
4064 {
4065 resultobj = wxPyMake_wxObject(result);
4066 }
4067 {
4068 if (temp3)
4069 delete arg3;
4070 }
4071 {
4072 if (temp7)
4073 delete arg7;
4074 }
4075 return resultobj;
4076 fail:
4077 {
4078 if (temp3)
4079 delete arg3;
4080 }
4081 {
4082 if (temp7)
4083 delete arg7;
4084 }
4085 return NULL;
4086 }
4087
4088
4089 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4090 PyObject *resultobj;
4091 wxStaticBox *result;
4092 char *kwnames[] = {
4093 NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = (wxStaticBox *)new wxStaticBox();
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 {
4105 resultobj = wxPyMake_wxObject(result);
4106 }
4107 return resultobj;
4108 fail:
4109 return NULL;
4110 }
4111
4112
4113 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4114 PyObject *resultobj;
4115 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4116 wxWindow *arg2 = (wxWindow *) 0 ;
4117 int arg3 ;
4118 wxString *arg4 = 0 ;
4119 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4120 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4121 wxSize const &arg6_defvalue = wxDefaultSize ;
4122 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4123 long arg7 = (long) 0 ;
4124 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4125 wxString *arg8 = (wxString *) &arg8_defvalue ;
4126 bool result;
4127 bool temp4 = False ;
4128 wxPoint temp5 ;
4129 wxSize temp6 ;
4130 bool temp8 = False ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 PyObject * obj2 = 0 ;
4134 PyObject * obj3 = 0 ;
4135 PyObject * obj4 = 0 ;
4136 PyObject * obj5 = 0 ;
4137 PyObject * obj6 = 0 ;
4138 PyObject * obj7 = 0 ;
4139 char *kwnames[] = {
4140 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4141 };
4142
4143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4146 {
4147 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 {
4151 arg4 = wxString_in_helper(obj3);
4152 if (arg4 == NULL) SWIG_fail;
4153 temp4 = True;
4154 }
4155 if (obj4) {
4156 {
4157 arg5 = &temp5;
4158 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4159 }
4160 }
4161 if (obj5) {
4162 {
4163 arg6 = &temp6;
4164 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4165 }
4166 }
4167 if (obj6) {
4168 {
4169 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4170 if (PyErr_Occurred()) SWIG_fail;
4171 }
4172 }
4173 if (obj7) {
4174 {
4175 arg8 = wxString_in_helper(obj7);
4176 if (arg8 == NULL) SWIG_fail;
4177 temp8 = True;
4178 }
4179 }
4180 {
4181 PyThreadState* __tstate = wxPyBeginAllowThreads();
4182 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4183
4184 wxPyEndAllowThreads(__tstate);
4185 if (PyErr_Occurred()) SWIG_fail;
4186 }
4187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4188 {
4189 if (temp4)
4190 delete arg4;
4191 }
4192 {
4193 if (temp8)
4194 delete arg8;
4195 }
4196 return resultobj;
4197 fail:
4198 {
4199 if (temp4)
4200 delete arg4;
4201 }
4202 {
4203 if (temp8)
4204 delete arg8;
4205 }
4206 return NULL;
4207 }
4208
4209
4210 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4211 PyObject *obj;
4212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4213 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4214 Py_INCREF(obj);
4215 return Py_BuildValue((char *)"");
4216 }
4217 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4218 PyObject *resultobj;
4219 wxWindow *arg1 = (wxWindow *) 0 ;
4220 int arg2 ;
4221 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4222 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4223 wxSize const &arg4_defvalue = wxDefaultSize ;
4224 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4225 long arg5 = (long) wxLI_HORIZONTAL ;
4226 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4227 wxString *arg6 = (wxString *) &arg6_defvalue ;
4228 wxStaticLine *result;
4229 wxPoint temp3 ;
4230 wxSize temp4 ;
4231 bool temp6 = False ;
4232 PyObject * obj0 = 0 ;
4233 PyObject * obj1 = 0 ;
4234 PyObject * obj2 = 0 ;
4235 PyObject * obj3 = 0 ;
4236 PyObject * obj4 = 0 ;
4237 PyObject * obj5 = 0 ;
4238 char *kwnames[] = {
4239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4244 {
4245 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4246 if (PyErr_Occurred()) SWIG_fail;
4247 }
4248 if (obj2) {
4249 {
4250 arg3 = &temp3;
4251 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4252 }
4253 }
4254 if (obj3) {
4255 {
4256 arg4 = &temp4;
4257 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4258 }
4259 }
4260 if (obj4) {
4261 {
4262 arg5 = (long) SWIG_PyObj_AsLong(obj4);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 }
4266 if (obj5) {
4267 {
4268 arg6 = wxString_in_helper(obj5);
4269 if (arg6 == NULL) SWIG_fail;
4270 temp6 = True;
4271 }
4272 }
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4281 {
4282 if (temp6)
4283 delete arg6;
4284 }
4285 return resultobj;
4286 fail:
4287 {
4288 if (temp6)
4289 delete arg6;
4290 }
4291 return NULL;
4292 }
4293
4294
4295 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj;
4297 wxStaticLine *result;
4298 char *kwnames[] = {
4299 NULL
4300 };
4301
4302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4303 {
4304 PyThreadState* __tstate = wxPyBeginAllowThreads();
4305 result = (wxStaticLine *)new wxStaticLine();
4306
4307 wxPyEndAllowThreads(__tstate);
4308 if (PyErr_Occurred()) SWIG_fail;
4309 }
4310 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4311 return resultobj;
4312 fail:
4313 return NULL;
4314 }
4315
4316
4317 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj;
4319 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4320 wxWindow *arg2 = (wxWindow *) 0 ;
4321 int arg3 ;
4322 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4323 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4324 wxSize const &arg5_defvalue = wxDefaultSize ;
4325 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4326 long arg6 = (long) wxLI_HORIZONTAL ;
4327 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4328 wxString *arg7 = (wxString *) &arg7_defvalue ;
4329 bool result;
4330 wxPoint temp4 ;
4331 wxSize temp5 ;
4332 bool temp7 = False ;
4333 PyObject * obj0 = 0 ;
4334 PyObject * obj1 = 0 ;
4335 PyObject * obj2 = 0 ;
4336 PyObject * obj3 = 0 ;
4337 PyObject * obj4 = 0 ;
4338 PyObject * obj5 = 0 ;
4339 PyObject * obj6 = 0 ;
4340 char *kwnames[] = {
4341 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4347 {
4348 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 if (obj3) {
4352 {
4353 arg4 = &temp4;
4354 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4355 }
4356 }
4357 if (obj4) {
4358 {
4359 arg5 = &temp5;
4360 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4361 }
4362 }
4363 if (obj5) {
4364 {
4365 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4366 if (PyErr_Occurred()) SWIG_fail;
4367 }
4368 }
4369 if (obj6) {
4370 {
4371 arg7 = wxString_in_helper(obj6);
4372 if (arg7 == NULL) SWIG_fail;
4373 temp7 = True;
4374 }
4375 }
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4384 {
4385 if (temp7)
4386 delete arg7;
4387 }
4388 return resultobj;
4389 fail:
4390 {
4391 if (temp7)
4392 delete arg7;
4393 }
4394 return NULL;
4395 }
4396
4397
4398 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4399 PyObject *resultobj;
4400 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4401 bool result;
4402 PyObject * obj0 = 0 ;
4403 char *kwnames[] = {
4404 (char *) "self", NULL
4405 };
4406
4407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4409 {
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4412
4413 wxPyEndAllowThreads(__tstate);
4414 if (PyErr_Occurred()) SWIG_fail;
4415 }
4416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4417 return resultobj;
4418 fail:
4419 return NULL;
4420 }
4421
4422
4423 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4424 PyObject *resultobj;
4425 int result;
4426 char *kwnames[] = {
4427 NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4431 {
4432 PyThreadState* __tstate = wxPyBeginAllowThreads();
4433 result = (int)wxStaticLine::GetDefaultSize();
4434
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 resultobj = SWIG_PyObj_FromInt((int)result);
4439 return resultobj;
4440 fail:
4441 return NULL;
4442 }
4443
4444
4445 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4446 PyObject *obj;
4447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4448 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4449 Py_INCREF(obj);
4450 return Py_BuildValue((char *)"");
4451 }
4452 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4453 PyObject *resultobj;
4454 wxWindow *arg1 = (wxWindow *) 0 ;
4455 int arg2 ;
4456 wxString *arg3 = 0 ;
4457 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4458 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4459 wxSize const &arg5_defvalue = wxDefaultSize ;
4460 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4461 long arg6 = (long) 0 ;
4462 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4463 wxString *arg7 = (wxString *) &arg7_defvalue ;
4464 wxStaticText *result;
4465 bool temp3 = False ;
4466 wxPoint temp4 ;
4467 wxSize temp5 ;
4468 bool temp7 = False ;
4469 PyObject * obj0 = 0 ;
4470 PyObject * obj1 = 0 ;
4471 PyObject * obj2 = 0 ;
4472 PyObject * obj3 = 0 ;
4473 PyObject * obj4 = 0 ;
4474 PyObject * obj5 = 0 ;
4475 PyObject * obj6 = 0 ;
4476 char *kwnames[] = {
4477 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4482 {
4483 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 {
4487 arg3 = wxString_in_helper(obj2);
4488 if (arg3 == NULL) SWIG_fail;
4489 temp3 = True;
4490 }
4491 if (obj3) {
4492 {
4493 arg4 = &temp4;
4494 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4495 }
4496 }
4497 if (obj4) {
4498 {
4499 arg5 = &temp5;
4500 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4501 }
4502 }
4503 if (obj5) {
4504 {
4505 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 }
4509 if (obj6) {
4510 {
4511 arg7 = wxString_in_helper(obj6);
4512 if (arg7 == NULL) SWIG_fail;
4513 temp7 = True;
4514 }
4515 }
4516 {
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4519
4520 wxPyEndAllowThreads(__tstate);
4521 if (PyErr_Occurred()) SWIG_fail;
4522 }
4523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4524 {
4525 if (temp3)
4526 delete arg3;
4527 }
4528 {
4529 if (temp7)
4530 delete arg7;
4531 }
4532 return resultobj;
4533 fail:
4534 {
4535 if (temp3)
4536 delete arg3;
4537 }
4538 {
4539 if (temp7)
4540 delete arg7;
4541 }
4542 return NULL;
4543 }
4544
4545
4546 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4547 PyObject *resultobj;
4548 wxStaticText *result;
4549 char *kwnames[] = {
4550 NULL
4551 };
4552
4553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 result = (wxStaticText *)new wxStaticText();
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4562 return resultobj;
4563 fail:
4564 return NULL;
4565 }
4566
4567
4568 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4569 PyObject *resultobj;
4570 wxStaticText *arg1 = (wxStaticText *) 0 ;
4571 wxWindow *arg2 = (wxWindow *) 0 ;
4572 int arg3 ;
4573 wxString *arg4 = 0 ;
4574 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4575 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4576 wxSize const &arg6_defvalue = wxDefaultSize ;
4577 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4578 long arg7 = (long) 0 ;
4579 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4580 wxString *arg8 = (wxString *) &arg8_defvalue ;
4581 bool result;
4582 bool temp4 = False ;
4583 wxPoint temp5 ;
4584 wxSize temp6 ;
4585 bool temp8 = False ;
4586 PyObject * obj0 = 0 ;
4587 PyObject * obj1 = 0 ;
4588 PyObject * obj2 = 0 ;
4589 PyObject * obj3 = 0 ;
4590 PyObject * obj4 = 0 ;
4591 PyObject * obj5 = 0 ;
4592 PyObject * obj6 = 0 ;
4593 PyObject * obj7 = 0 ;
4594 char *kwnames[] = {
4595 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4596 };
4597
4598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4601 {
4602 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4603 if (PyErr_Occurred()) SWIG_fail;
4604 }
4605 {
4606 arg4 = wxString_in_helper(obj3);
4607 if (arg4 == NULL) SWIG_fail;
4608 temp4 = True;
4609 }
4610 if (obj4) {
4611 {
4612 arg5 = &temp5;
4613 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4614 }
4615 }
4616 if (obj5) {
4617 {
4618 arg6 = &temp6;
4619 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4620 }
4621 }
4622 if (obj6) {
4623 {
4624 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4625 if (PyErr_Occurred()) SWIG_fail;
4626 }
4627 }
4628 if (obj7) {
4629 {
4630 arg8 = wxString_in_helper(obj7);
4631 if (arg8 == NULL) SWIG_fail;
4632 temp8 = True;
4633 }
4634 }
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
4642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4643 {
4644 if (temp4)
4645 delete arg4;
4646 }
4647 {
4648 if (temp8)
4649 delete arg8;
4650 }
4651 return resultobj;
4652 fail:
4653 {
4654 if (temp4)
4655 delete arg4;
4656 }
4657 {
4658 if (temp8)
4659 delete arg8;
4660 }
4661 return NULL;
4662 }
4663
4664
4665 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4666 PyObject *obj;
4667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4668 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4669 Py_INCREF(obj);
4670 return Py_BuildValue((char *)"");
4671 }
4672 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj;
4674 wxWindow *arg1 = (wxWindow *) 0 ;
4675 int arg2 ;
4676 wxBitmap *arg3 = 0 ;
4677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4679 wxSize const &arg5_defvalue = wxDefaultSize ;
4680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4681 long arg6 = (long) 0 ;
4682 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4683 wxString *arg7 = (wxString *) &arg7_defvalue ;
4684 wxStaticBitmap *result;
4685 wxPoint temp4 ;
4686 wxSize temp5 ;
4687 bool temp7 = False ;
4688 PyObject * obj0 = 0 ;
4689 PyObject * obj1 = 0 ;
4690 PyObject * obj2 = 0 ;
4691 PyObject * obj3 = 0 ;
4692 PyObject * obj4 = 0 ;
4693 PyObject * obj5 = 0 ;
4694 PyObject * obj6 = 0 ;
4695 char *kwnames[] = {
4696 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4697 };
4698
4699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4701 {
4702 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4706 if (arg3 == NULL) {
4707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4708 }
4709 if (obj3) {
4710 {
4711 arg4 = &temp4;
4712 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4713 }
4714 }
4715 if (obj4) {
4716 {
4717 arg5 = &temp5;
4718 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4719 }
4720 }
4721 if (obj5) {
4722 {
4723 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 }
4727 if (obj6) {
4728 {
4729 arg7 = wxString_in_helper(obj6);
4730 if (arg7 == NULL) SWIG_fail;
4731 temp7 = True;
4732 }
4733 }
4734 {
4735 PyThreadState* __tstate = wxPyBeginAllowThreads();
4736 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4737
4738 wxPyEndAllowThreads(__tstate);
4739 if (PyErr_Occurred()) SWIG_fail;
4740 }
4741 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4742 {
4743 if (temp7)
4744 delete arg7;
4745 }
4746 return resultobj;
4747 fail:
4748 {
4749 if (temp7)
4750 delete arg7;
4751 }
4752 return NULL;
4753 }
4754
4755
4756 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxStaticBitmap *result;
4759 char *kwnames[] = {
4760 NULL
4761 };
4762
4763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (wxStaticBitmap *)new wxStaticBitmap();
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4779 PyObject *resultobj;
4780 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4781 wxWindow *arg2 = (wxWindow *) 0 ;
4782 int arg3 ;
4783 wxBitmap *arg4 = 0 ;
4784 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4785 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4786 wxSize const &arg6_defvalue = wxDefaultSize ;
4787 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4788 long arg7 = (long) 0 ;
4789 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4790 wxString *arg8 = (wxString *) &arg8_defvalue ;
4791 bool result;
4792 wxPoint temp5 ;
4793 wxSize temp6 ;
4794 bool temp8 = False ;
4795 PyObject * obj0 = 0 ;
4796 PyObject * obj1 = 0 ;
4797 PyObject * obj2 = 0 ;
4798 PyObject * obj3 = 0 ;
4799 PyObject * obj4 = 0 ;
4800 PyObject * obj5 = 0 ;
4801 PyObject * obj6 = 0 ;
4802 PyObject * obj7 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 {
4811 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4815 if (arg4 == NULL) {
4816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4817 }
4818 if (obj4) {
4819 {
4820 arg5 = &temp5;
4821 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4822 }
4823 }
4824 if (obj5) {
4825 {
4826 arg6 = &temp6;
4827 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4828 }
4829 }
4830 if (obj6) {
4831 {
4832 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 }
4836 if (obj7) {
4837 {
4838 arg8 = wxString_in_helper(obj7);
4839 if (arg8 == NULL) SWIG_fail;
4840 temp8 = True;
4841 }
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4851 {
4852 if (temp8)
4853 delete arg8;
4854 }
4855 return resultobj;
4856 fail:
4857 {
4858 if (temp8)
4859 delete arg8;
4860 }
4861 return NULL;
4862 }
4863
4864
4865 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4866 PyObject *resultobj;
4867 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4868 wxBitmap result;
4869 PyObject * obj0 = 0 ;
4870 char *kwnames[] = {
4871 (char *) "self", NULL
4872 };
4873
4874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 result = (arg1)->GetBitmap();
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 {
4884 wxBitmap * resultptr;
4885 resultptr = new wxBitmap((wxBitmap &) result);
4886 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4887 }
4888 return resultobj;
4889 fail:
4890 return NULL;
4891 }
4892
4893
4894 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj;
4896 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4897 wxBitmap *arg2 = 0 ;
4898 PyObject * obj0 = 0 ;
4899 PyObject * obj1 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "self",(char *) "bitmap", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4907 if (arg2 == NULL) {
4908 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4909 }
4910 {
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4913
4914 wxPyEndAllowThreads(__tstate);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 }
4917 Py_INCREF(Py_None); resultobj = Py_None;
4918 return resultobj;
4919 fail:
4920 return NULL;
4921 }
4922
4923
4924 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4925 PyObject *resultobj;
4926 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4927 wxIcon *arg2 = 0 ;
4928 PyObject * obj0 = 0 ;
4929 PyObject * obj1 = 0 ;
4930 char *kwnames[] = {
4931 (char *) "self",(char *) "icon", NULL
4932 };
4933
4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4937 if (arg2 == NULL) {
4938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4939 }
4940 {
4941 PyThreadState* __tstate = wxPyBeginAllowThreads();
4942 (arg1)->SetIcon((wxIcon const &)*arg2);
4943
4944 wxPyEndAllowThreads(__tstate);
4945 if (PyErr_Occurred()) SWIG_fail;
4946 }
4947 Py_INCREF(Py_None); resultobj = Py_None;
4948 return resultobj;
4949 fail:
4950 return NULL;
4951 }
4952
4953
4954 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4955 PyObject *obj;
4956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4957 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4958 Py_INCREF(obj);
4959 return Py_BuildValue((char *)"");
4960 }
4961 static int _wrap_ListBoxNameStr_set(PyObject *) {
4962 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4963 return 1;
4964 }
4965
4966
4967 static PyObject *_wrap_ListBoxNameStr_get() {
4968 PyObject *pyobj;
4969
4970 {
4971 #if wxUSE_UNICODE
4972 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4973 #else
4974 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4975 #endif
4976 }
4977 return pyobj;
4978 }
4979
4980
4981 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4982 PyObject *resultobj;
4983 wxWindow *arg1 = (wxWindow *) 0 ;
4984 int arg2 ;
4985 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4986 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4987 wxSize const &arg4_defvalue = wxDefaultSize ;
4988 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4989 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4990 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4991 long arg6 = (long) 0 ;
4992 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4993 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4994 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
4995 wxString *arg8 = (wxString *) &arg8_defvalue ;
4996 wxListBox *result;
4997 wxPoint temp3 ;
4998 wxSize temp4 ;
4999 bool temp8 = False ;
5000 PyObject * obj0 = 0 ;
5001 PyObject * obj1 = 0 ;
5002 PyObject * obj2 = 0 ;
5003 PyObject * obj3 = 0 ;
5004 PyObject * obj4 = 0 ;
5005 PyObject * obj5 = 0 ;
5006 PyObject * obj6 = 0 ;
5007 PyObject * obj7 = 0 ;
5008 char *kwnames[] = {
5009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5014 {
5015 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 if (obj2) {
5019 {
5020 arg3 = &temp3;
5021 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5022 }
5023 }
5024 if (obj3) {
5025 {
5026 arg4 = &temp4;
5027 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5028 }
5029 }
5030 if (obj4) {
5031 {
5032 if (! PySequence_Check(obj4)) {
5033 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5034 SWIG_fail;
5035 }
5036 arg5 = new wxArrayString;
5037 int i, len=PySequence_Length(obj4);
5038 for (i=0; i<len; i++) {
5039 PyObject* item = PySequence_GetItem(obj4, i);
5040 #if wxUSE_UNICODE
5041 PyObject* str = PyObject_Unicode(item);
5042 #else
5043 PyObject* str = PyObject_Str(item);
5044 #endif
5045 arg5->Add(Py2wxString(str));
5046 Py_DECREF(item);
5047 Py_DECREF(str);
5048 }
5049 }
5050 }
5051 if (obj5) {
5052 {
5053 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 }
5057 if (obj6) {
5058 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5059 if (arg7 == NULL) {
5060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5061 }
5062 }
5063 if (obj7) {
5064 {
5065 arg8 = wxString_in_helper(obj7);
5066 if (arg8 == NULL) SWIG_fail;
5067 temp8 = True;
5068 }
5069 }
5070 {
5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
5072 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5073
5074 wxPyEndAllowThreads(__tstate);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5078 {
5079 if (arg5) delete arg5;
5080 }
5081 {
5082 if (temp8)
5083 delete arg8;
5084 }
5085 return resultobj;
5086 fail:
5087 {
5088 if (arg5) delete arg5;
5089 }
5090 {
5091 if (temp8)
5092 delete arg8;
5093 }
5094 return NULL;
5095 }
5096
5097
5098 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5099 PyObject *resultobj;
5100 wxListBox *result;
5101 char *kwnames[] = {
5102 NULL
5103 };
5104
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5106 {
5107 PyThreadState* __tstate = wxPyBeginAllowThreads();
5108 result = (wxListBox *)new wxListBox();
5109
5110 wxPyEndAllowThreads(__tstate);
5111 if (PyErr_Occurred()) SWIG_fail;
5112 }
5113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxListBox *arg1 = (wxListBox *) 0 ;
5123 wxWindow *arg2 = (wxWindow *) 0 ;
5124 int arg3 ;
5125 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5126 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5127 wxSize const &arg5_defvalue = wxDefaultSize ;
5128 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5129 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5130 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5131 long arg7 = (long) 0 ;
5132 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5133 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5134 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5135 wxString *arg9 = (wxString *) &arg9_defvalue ;
5136 bool result;
5137 wxPoint temp4 ;
5138 wxSize temp5 ;
5139 bool temp9 = False ;
5140 PyObject * obj0 = 0 ;
5141 PyObject * obj1 = 0 ;
5142 PyObject * obj2 = 0 ;
5143 PyObject * obj3 = 0 ;
5144 PyObject * obj4 = 0 ;
5145 PyObject * obj5 = 0 ;
5146 PyObject * obj6 = 0 ;
5147 PyObject * obj7 = 0 ;
5148 PyObject * obj8 = 0 ;
5149 char *kwnames[] = {
5150 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5151 };
5152
5153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5156 {
5157 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 if (obj3) {
5161 {
5162 arg4 = &temp4;
5163 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5164 }
5165 }
5166 if (obj4) {
5167 {
5168 arg5 = &temp5;
5169 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5170 }
5171 }
5172 if (obj5) {
5173 {
5174 if (! PySequence_Check(obj5)) {
5175 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5176 SWIG_fail;
5177 }
5178 arg6 = new wxArrayString;
5179 int i, len=PySequence_Length(obj5);
5180 for (i=0; i<len; i++) {
5181 PyObject* item = PySequence_GetItem(obj5, i);
5182 #if wxUSE_UNICODE
5183 PyObject* str = PyObject_Unicode(item);
5184 #else
5185 PyObject* str = PyObject_Str(item);
5186 #endif
5187 arg6->Add(Py2wxString(str));
5188 Py_DECREF(item);
5189 Py_DECREF(str);
5190 }
5191 }
5192 }
5193 if (obj6) {
5194 {
5195 arg7 = (long) SWIG_PyObj_AsLong(obj6);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 }
5199 if (obj7) {
5200 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5201 if (arg8 == NULL) {
5202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5203 }
5204 }
5205 if (obj8) {
5206 {
5207 arg9 = wxString_in_helper(obj8);
5208 if (arg9 == NULL) SWIG_fail;
5209 temp9 = True;
5210 }
5211 }
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5220 {
5221 if (arg6) delete arg6;
5222 }
5223 {
5224 if (temp9)
5225 delete arg9;
5226 }
5227 return resultobj;
5228 fail:
5229 {
5230 if (arg6) delete arg6;
5231 }
5232 {
5233 if (temp9)
5234 delete arg9;
5235 }
5236 return NULL;
5237 }
5238
5239
5240 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5241 PyObject *resultobj;
5242 wxListBox *arg1 = (wxListBox *) 0 ;
5243 wxString *arg2 = 0 ;
5244 int arg3 ;
5245 PyObject *arg4 = (PyObject *) NULL ;
5246 bool temp2 = False ;
5247 PyObject * obj0 = 0 ;
5248 PyObject * obj1 = 0 ;
5249 PyObject * obj2 = 0 ;
5250 PyObject * obj3 = 0 ;
5251 char *kwnames[] = {
5252 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5253 };
5254
5255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5257 {
5258 arg2 = wxString_in_helper(obj1);
5259 if (arg2 == NULL) SWIG_fail;
5260 temp2 = True;
5261 }
5262 {
5263 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 if (obj3) {
5267 arg4 = obj3;
5268 }
5269 {
5270 PyThreadState* __tstate = wxPyBeginAllowThreads();
5271 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5272
5273 wxPyEndAllowThreads(__tstate);
5274 if (PyErr_Occurred()) SWIG_fail;
5275 }
5276 Py_INCREF(Py_None); resultobj = Py_None;
5277 {
5278 if (temp2)
5279 delete arg2;
5280 }
5281 return resultobj;
5282 fail:
5283 {
5284 if (temp2)
5285 delete arg2;
5286 }
5287 return NULL;
5288 }
5289
5290
5291 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject *resultobj;
5293 wxListBox *arg1 = (wxListBox *) 0 ;
5294 wxArrayString *arg2 = 0 ;
5295 int arg3 ;
5296 PyObject * obj0 = 0 ;
5297 PyObject * obj1 = 0 ;
5298 PyObject * obj2 = 0 ;
5299 char *kwnames[] = {
5300 (char *) "self",(char *) "items",(char *) "pos", NULL
5301 };
5302
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5305 {
5306 if (! PySequence_Check(obj1)) {
5307 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5308 SWIG_fail;
5309 }
5310 arg2 = new wxArrayString;
5311 int i, len=PySequence_Length(obj1);
5312 for (i=0; i<len; i++) {
5313 PyObject* item = PySequence_GetItem(obj1, i);
5314 #if wxUSE_UNICODE
5315 PyObject* str = PyObject_Unicode(item);
5316 #else
5317 PyObject* str = PyObject_Str(item);
5318 #endif
5319 arg2->Add(Py2wxString(str));
5320 Py_DECREF(item);
5321 Py_DECREF(str);
5322 }
5323 }
5324 {
5325 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 {
5329 PyThreadState* __tstate = wxPyBeginAllowThreads();
5330 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5331
5332 wxPyEndAllowThreads(__tstate);
5333 if (PyErr_Occurred()) SWIG_fail;
5334 }
5335 Py_INCREF(Py_None); resultobj = Py_None;
5336 {
5337 if (arg2) delete arg2;
5338 }
5339 return resultobj;
5340 fail:
5341 {
5342 if (arg2) delete arg2;
5343 }
5344 return NULL;
5345 }
5346
5347
5348 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxListBox *arg1 = (wxListBox *) 0 ;
5351 wxArrayString *arg2 = 0 ;
5352 PyObject * obj0 = 0 ;
5353 PyObject * obj1 = 0 ;
5354 char *kwnames[] = {
5355 (char *) "self",(char *) "items", NULL
5356 };
5357
5358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5360 {
5361 if (! PySequence_Check(obj1)) {
5362 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5363 SWIG_fail;
5364 }
5365 arg2 = new wxArrayString;
5366 int i, len=PySequence_Length(obj1);
5367 for (i=0; i<len; i++) {
5368 PyObject* item = PySequence_GetItem(obj1, i);
5369 #if wxUSE_UNICODE
5370 PyObject* str = PyObject_Unicode(item);
5371 #else
5372 PyObject* str = PyObject_Str(item);
5373 #endif
5374 arg2->Add(Py2wxString(str));
5375 Py_DECREF(item);
5376 Py_DECREF(str);
5377 }
5378 }
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 (arg1)->Set((wxArrayString const &)*arg2);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 Py_INCREF(Py_None); resultobj = Py_None;
5387 {
5388 if (arg2) delete arg2;
5389 }
5390 return resultobj;
5391 fail:
5392 {
5393 if (arg2) delete arg2;
5394 }
5395 return NULL;
5396 }
5397
5398
5399 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj;
5401 wxListBox *arg1 = (wxListBox *) 0 ;
5402 int arg2 ;
5403 bool result;
5404 PyObject * obj0 = 0 ;
5405 PyObject * obj1 = 0 ;
5406 char *kwnames[] = {
5407 (char *) "self",(char *) "n", NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5412 {
5413 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 {
5417 PyThreadState* __tstate = wxPyBeginAllowThreads();
5418 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5419
5420 wxPyEndAllowThreads(__tstate);
5421 if (PyErr_Occurred()) SWIG_fail;
5422 }
5423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5424 return resultobj;
5425 fail:
5426 return NULL;
5427 }
5428
5429
5430 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5431 PyObject *resultobj;
5432 wxListBox *arg1 = (wxListBox *) 0 ;
5433 int arg2 ;
5434 bool arg3 = (bool) True ;
5435 PyObject * obj0 = 0 ;
5436 PyObject * obj1 = 0 ;
5437 PyObject * obj2 = 0 ;
5438 char *kwnames[] = {
5439 (char *) "self",(char *) "n",(char *) "select", NULL
5440 };
5441
5442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5444 {
5445 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 if (obj2) {
5449 {
5450 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->SetSelection(arg2,arg3);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 Py_INCREF(Py_None); resultobj = Py_None;
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj;
5470 wxListBox *arg1 = (wxListBox *) 0 ;
5471 int arg2 ;
5472 PyObject * obj0 = 0 ;
5473 PyObject * obj1 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "self",(char *) "n", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5480 {
5481 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 {
5485 PyThreadState* __tstate = wxPyBeginAllowThreads();
5486 (arg1)->Select(arg2);
5487
5488 wxPyEndAllowThreads(__tstate);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 Py_INCREF(Py_None); resultobj = Py_None;
5492 return resultobj;
5493 fail:
5494 return NULL;
5495 }
5496
5497
5498 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5499 PyObject *resultobj;
5500 wxListBox *arg1 = (wxListBox *) 0 ;
5501 int arg2 ;
5502 PyObject * obj0 = 0 ;
5503 PyObject * obj1 = 0 ;
5504 char *kwnames[] = {
5505 (char *) "self",(char *) "n", NULL
5506 };
5507
5508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5510 {
5511 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 {
5515 PyThreadState* __tstate = wxPyBeginAllowThreads();
5516 (arg1)->Deselect(arg2);
5517
5518 wxPyEndAllowThreads(__tstate);
5519 if (PyErr_Occurred()) SWIG_fail;
5520 }
5521 Py_INCREF(Py_None); resultobj = Py_None;
5522 return resultobj;
5523 fail:
5524 return NULL;
5525 }
5526
5527
5528 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5529 PyObject *resultobj;
5530 wxListBox *arg1 = (wxListBox *) 0 ;
5531 int arg2 = (int) -1 ;
5532 PyObject * obj0 = 0 ;
5533 PyObject * obj1 = 0 ;
5534 char *kwnames[] = {
5535 (char *) "self",(char *) "itemToLeaveSelected", NULL
5536 };
5537
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5540 if (obj1) {
5541 {
5542 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 }
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 (arg1)->DeselectAll(arg2);
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 Py_INCREF(Py_None); resultobj = Py_None;
5554 return resultobj;
5555 fail:
5556 return NULL;
5557 }
5558
5559
5560 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxListBox *arg1 = (wxListBox *) 0 ;
5563 wxString *arg2 = 0 ;
5564 bool arg3 = (bool) True ;
5565 bool result;
5566 bool temp2 = False ;
5567 PyObject * obj0 = 0 ;
5568 PyObject * obj1 = 0 ;
5569 PyObject * obj2 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self",(char *) "s",(char *) "select", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5576 {
5577 arg2 = wxString_in_helper(obj1);
5578 if (arg2 == NULL) SWIG_fail;
5579 temp2 = True;
5580 }
5581 if (obj2) {
5582 {
5583 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 }
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5595 {
5596 if (temp2)
5597 delete arg2;
5598 }
5599 return resultobj;
5600 fail:
5601 {
5602 if (temp2)
5603 delete arg2;
5604 }
5605 return NULL;
5606 }
5607
5608
5609 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj;
5611 wxListBox *arg1 = (wxListBox *) 0 ;
5612 PyObject *result;
5613 PyObject * obj0 = 0 ;
5614 char *kwnames[] = {
5615 (char *) "self", NULL
5616 };
5617
5618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5620 {
5621 PyThreadState* __tstate = wxPyBeginAllowThreads();
5622 result = (PyObject *)wxListBox_GetSelections(arg1);
5623
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 resultobj = result;
5628 return resultobj;
5629 fail:
5630 return NULL;
5631 }
5632
5633
5634 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj;
5636 wxListBox *arg1 = (wxListBox *) 0 ;
5637 int arg2 ;
5638 PyObject * obj0 = 0 ;
5639 PyObject * obj1 = 0 ;
5640 char *kwnames[] = {
5641 (char *) "self",(char *) "n", NULL
5642 };
5643
5644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5646 {
5647 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 (arg1)->SetFirstItem(arg2);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 Py_INCREF(Py_None); resultobj = Py_None;
5658 return resultobj;
5659 fail:
5660 return NULL;
5661 }
5662
5663
5664 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj;
5666 wxListBox *arg1 = (wxListBox *) 0 ;
5667 wxString *arg2 = 0 ;
5668 bool temp2 = False ;
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671 char *kwnames[] = {
5672 (char *) "self",(char *) "s", NULL
5673 };
5674
5675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5677 {
5678 arg2 = wxString_in_helper(obj1);
5679 if (arg2 == NULL) SWIG_fail;
5680 temp2 = True;
5681 }
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 (arg1)->SetFirstItem((wxString const &)*arg2);
5685
5686 wxPyEndAllowThreads(__tstate);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 }
5689 Py_INCREF(Py_None); resultobj = Py_None;
5690 {
5691 if (temp2)
5692 delete arg2;
5693 }
5694 return resultobj;
5695 fail:
5696 {
5697 if (temp2)
5698 delete arg2;
5699 }
5700 return NULL;
5701 }
5702
5703
5704 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5705 PyObject *resultobj;
5706 wxListBox *arg1 = (wxListBox *) 0 ;
5707 int arg2 ;
5708 PyObject * obj0 = 0 ;
5709 PyObject * obj1 = 0 ;
5710 char *kwnames[] = {
5711 (char *) "self",(char *) "n", NULL
5712 };
5713
5714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5716 {
5717 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 (arg1)->EnsureVisible(arg2);
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 Py_INCREF(Py_None); resultobj = Py_None;
5728 return resultobj;
5729 fail:
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxListBox *arg1 = (wxListBox *) 0 ;
5737 wxString *arg2 = 0 ;
5738 bool temp2 = False ;
5739 PyObject * obj0 = 0 ;
5740 PyObject * obj1 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "self",(char *) "s", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5747 {
5748 arg2 = wxString_in_helper(obj1);
5749 if (arg2 == NULL) SWIG_fail;
5750 temp2 = True;
5751 }
5752 {
5753 PyThreadState* __tstate = wxPyBeginAllowThreads();
5754 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5755
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 Py_INCREF(Py_None); resultobj = Py_None;
5760 {
5761 if (temp2)
5762 delete arg2;
5763 }
5764 return resultobj;
5765 fail:
5766 {
5767 if (temp2)
5768 delete arg2;
5769 }
5770 return NULL;
5771 }
5772
5773
5774 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxListBox *arg1 = (wxListBox *) 0 ;
5777 bool result;
5778 PyObject * obj0 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 result = (bool)((wxListBox const *)arg1)->IsSorted();
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5793 return resultobj;
5794 fail:
5795 return NULL;
5796 }
5797
5798
5799 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5800 PyObject *obj;
5801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5802 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5803 Py_INCREF(obj);
5804 return Py_BuildValue((char *)"");
5805 }
5806 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxWindow *arg1 = (wxWindow *) 0 ;
5809 int arg2 ;
5810 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5811 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5812 wxSize const &arg4_defvalue = wxDefaultSize ;
5813 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5814 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5815 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5816 long arg6 = (long) 0 ;
5817 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5818 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5819 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5820 wxString *arg8 = (wxString *) &arg8_defvalue ;
5821 wxCheckListBox *result;
5822 wxPoint temp3 ;
5823 wxSize temp4 ;
5824 bool temp8 = False ;
5825 PyObject * obj0 = 0 ;
5826 PyObject * obj1 = 0 ;
5827 PyObject * obj2 = 0 ;
5828 PyObject * obj3 = 0 ;
5829 PyObject * obj4 = 0 ;
5830 PyObject * obj5 = 0 ;
5831 PyObject * obj6 = 0 ;
5832 PyObject * obj7 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 {
5840 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5841 if (PyErr_Occurred()) SWIG_fail;
5842 }
5843 if (obj2) {
5844 {
5845 arg3 = &temp3;
5846 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5847 }
5848 }
5849 if (obj3) {
5850 {
5851 arg4 = &temp4;
5852 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5853 }
5854 }
5855 if (obj4) {
5856 {
5857 if (! PySequence_Check(obj4)) {
5858 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5859 SWIG_fail;
5860 }
5861 arg5 = new wxArrayString;
5862 int i, len=PySequence_Length(obj4);
5863 for (i=0; i<len; i++) {
5864 PyObject* item = PySequence_GetItem(obj4, i);
5865 #if wxUSE_UNICODE
5866 PyObject* str = PyObject_Unicode(item);
5867 #else
5868 PyObject* str = PyObject_Str(item);
5869 #endif
5870 arg5->Add(Py2wxString(str));
5871 Py_DECREF(item);
5872 Py_DECREF(str);
5873 }
5874 }
5875 }
5876 if (obj5) {
5877 {
5878 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 }
5882 if (obj6) {
5883 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5884 if (arg7 == NULL) {
5885 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5886 }
5887 }
5888 if (obj7) {
5889 {
5890 arg8 = wxString_in_helper(obj7);
5891 if (arg8 == NULL) SWIG_fail;
5892 temp8 = True;
5893 }
5894 }
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5903 {
5904 if (arg5) delete arg5;
5905 }
5906 {
5907 if (temp8)
5908 delete arg8;
5909 }
5910 return resultobj;
5911 fail:
5912 {
5913 if (arg5) delete arg5;
5914 }
5915 {
5916 if (temp8)
5917 delete arg8;
5918 }
5919 return NULL;
5920 }
5921
5922
5923 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxCheckListBox *result;
5926 char *kwnames[] = {
5927 NULL
5928 };
5929
5930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5931 {
5932 PyThreadState* __tstate = wxPyBeginAllowThreads();
5933 result = (wxCheckListBox *)new wxCheckListBox();
5934
5935 wxPyEndAllowThreads(__tstate);
5936 if (PyErr_Occurred()) SWIG_fail;
5937 }
5938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5939 return resultobj;
5940 fail:
5941 return NULL;
5942 }
5943
5944
5945 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5946 PyObject *resultobj;
5947 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5948 wxWindow *arg2 = (wxWindow *) 0 ;
5949 int arg3 ;
5950 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5951 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5952 wxSize const &arg5_defvalue = wxDefaultSize ;
5953 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5954 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5955 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5956 long arg7 = (long) 0 ;
5957 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5958 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5959 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5960 wxString *arg9 = (wxString *) &arg9_defvalue ;
5961 bool result;
5962 wxPoint temp4 ;
5963 wxSize temp5 ;
5964 bool temp9 = False ;
5965 PyObject * obj0 = 0 ;
5966 PyObject * obj1 = 0 ;
5967 PyObject * obj2 = 0 ;
5968 PyObject * obj3 = 0 ;
5969 PyObject * obj4 = 0 ;
5970 PyObject * obj5 = 0 ;
5971 PyObject * obj6 = 0 ;
5972 PyObject * obj7 = 0 ;
5973 PyObject * obj8 = 0 ;
5974 char *kwnames[] = {
5975 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5976 };
5977
5978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5980 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5981 {
5982 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 if (obj3) {
5986 {
5987 arg4 = &temp4;
5988 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5989 }
5990 }
5991 if (obj4) {
5992 {
5993 arg5 = &temp5;
5994 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5995 }
5996 }
5997 if (obj5) {
5998 {
5999 if (! PySequence_Check(obj5)) {
6000 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6001 SWIG_fail;
6002 }
6003 arg6 = new wxArrayString;
6004 int i, len=PySequence_Length(obj5);
6005 for (i=0; i<len; i++) {
6006 PyObject* item = PySequence_GetItem(obj5, i);
6007 #if wxUSE_UNICODE
6008 PyObject* str = PyObject_Unicode(item);
6009 #else
6010 PyObject* str = PyObject_Str(item);
6011 #endif
6012 arg6->Add(Py2wxString(str));
6013 Py_DECREF(item);
6014 Py_DECREF(str);
6015 }
6016 }
6017 }
6018 if (obj6) {
6019 {
6020 arg7 = (long) SWIG_PyObj_AsLong(obj6);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 }
6024 if (obj7) {
6025 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6026 if (arg8 == NULL) {
6027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6028 }
6029 }
6030 if (obj8) {
6031 {
6032 arg9 = wxString_in_helper(obj8);
6033 if (arg9 == NULL) SWIG_fail;
6034 temp9 = True;
6035 }
6036 }
6037 {
6038 PyThreadState* __tstate = wxPyBeginAllowThreads();
6039 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6040
6041 wxPyEndAllowThreads(__tstate);
6042 if (PyErr_Occurred()) SWIG_fail;
6043 }
6044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6045 {
6046 if (arg6) delete arg6;
6047 }
6048 {
6049 if (temp9)
6050 delete arg9;
6051 }
6052 return resultobj;
6053 fail:
6054 {
6055 if (arg6) delete arg6;
6056 }
6057 {
6058 if (temp9)
6059 delete arg9;
6060 }
6061 return NULL;
6062 }
6063
6064
6065 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6068 int arg2 ;
6069 bool result;
6070 PyObject * obj0 = 0 ;
6071 PyObject * obj1 = 0 ;
6072 char *kwnames[] = {
6073 (char *) "self",(char *) "index", NULL
6074 };
6075
6076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6078 {
6079 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 {
6083 PyThreadState* __tstate = wxPyBeginAllowThreads();
6084 result = (bool)(arg1)->IsChecked(arg2);
6085
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6090 return resultobj;
6091 fail:
6092 return NULL;
6093 }
6094
6095
6096 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6097 PyObject *resultobj;
6098 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6099 int arg2 ;
6100 int arg3 = (int) True ;
6101 PyObject * obj0 = 0 ;
6102 PyObject * obj1 = 0 ;
6103 PyObject * obj2 = 0 ;
6104 char *kwnames[] = {
6105 (char *) "self",(char *) "index",(char *) "check", NULL
6106 };
6107
6108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6110 {
6111 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 if (obj2) {
6115 {
6116 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 }
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 (arg1)->Check(arg2,arg3);
6123
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 Py_INCREF(Py_None); resultobj = Py_None;
6128 return resultobj;
6129 fail:
6130 return NULL;
6131 }
6132
6133
6134 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj;
6136 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6137 int result;
6138 PyObject * obj0 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 result = (int)(arg1)->GetItemHeight();
6148
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 resultobj = SWIG_PyObj_FromInt((int)result);
6153 return resultobj;
6154 fail:
6155 return NULL;
6156 }
6157
6158
6159 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj;
6161 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6162 wxPoint *arg2 = 0 ;
6163 int result;
6164 wxPoint temp2 ;
6165 PyObject * obj0 = 0 ;
6166 PyObject * obj1 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self",(char *) "pt", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6173 {
6174 arg2 = &temp2;
6175 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6176 }
6177 {
6178 PyThreadState* __tstate = wxPyBeginAllowThreads();
6179 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6180
6181 wxPyEndAllowThreads(__tstate);
6182 if (PyErr_Occurred()) SWIG_fail;
6183 }
6184 resultobj = SWIG_PyObj_FromInt((int)result);
6185 return resultobj;
6186 fail:
6187 return NULL;
6188 }
6189
6190
6191 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj;
6193 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6194 int arg2 ;
6195 int arg3 ;
6196 int result;
6197 PyObject * obj0 = 0 ;
6198 PyObject * obj1 = 0 ;
6199 PyObject * obj2 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "x",(char *) "y", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6206 {
6207 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 {
6211 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6212 if (PyErr_Occurred()) SWIG_fail;
6213 }
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6217
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 resultobj = SWIG_PyObj_FromInt((int)result);
6222 return resultobj;
6223 fail:
6224 return NULL;
6225 }
6226
6227
6228 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6229 PyObject *obj;
6230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6231 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6232 Py_INCREF(obj);
6233 return Py_BuildValue((char *)"");
6234 }
6235 static int _wrap_TextCtrlNameStr_set(PyObject *) {
6236 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6237 return 1;
6238 }
6239
6240
6241 static PyObject *_wrap_TextCtrlNameStr_get() {
6242 PyObject *pyobj;
6243
6244 {
6245 #if wxUSE_UNICODE
6246 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6247 #else
6248 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6249 #endif
6250 }
6251 return pyobj;
6252 }
6253
6254
6255 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6256 PyObject *resultobj;
6257 wxTextAttr *result;
6258
6259 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6260 {
6261 PyThreadState* __tstate = wxPyBeginAllowThreads();
6262 result = (wxTextAttr *)new wxTextAttr();
6263
6264 wxPyEndAllowThreads(__tstate);
6265 if (PyErr_Occurred()) SWIG_fail;
6266 }
6267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6268 return resultobj;
6269 fail:
6270 return NULL;
6271 }
6272
6273
6274 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6275 PyObject *resultobj;
6276 wxColour *arg1 = 0 ;
6277 wxColour const &arg2_defvalue = wxNullColour ;
6278 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6279 wxFont const &arg3_defvalue = wxNullFont ;
6280 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6281 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6282 wxTextAttr *result;
6283 wxColour temp1 ;
6284 wxColour temp2 ;
6285 PyObject * obj0 = 0 ;
6286 PyObject * obj1 = 0 ;
6287 PyObject * obj2 = 0 ;
6288 PyObject * obj3 = 0 ;
6289
6290 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6291 {
6292 arg1 = &temp1;
6293 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6294 }
6295 if (obj1) {
6296 {
6297 arg2 = &temp2;
6298 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6299 }
6300 }
6301 if (obj2) {
6302 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6303 if (arg3 == NULL) {
6304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6305 }
6306 }
6307 if (obj3) {
6308 {
6309 arg4 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj3);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 }
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6321 return resultobj;
6322 fail:
6323 return NULL;
6324 }
6325
6326
6327 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6328 int argc;
6329 PyObject *argv[5];
6330 int ii;
6331
6332 argc = PyObject_Length(args);
6333 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6334 argv[ii] = PyTuple_GetItem(args,ii);
6335 }
6336 if (argc == 0) {
6337 return _wrap_new_TextAttr__SWIG_0(self,args);
6338 }
6339 if ((argc >= 1) && (argc <= 4)) {
6340 int _v;
6341 {
6342 _v = wxColour_typecheck(argv[0]);
6343 }
6344 if (_v) {
6345 if (argc <= 1) {
6346 return _wrap_new_TextAttr__SWIG_1(self,args);
6347 }
6348 {
6349 _v = wxColour_typecheck(argv[1]);
6350 }
6351 if (_v) {
6352 if (argc <= 2) {
6353 return _wrap_new_TextAttr__SWIG_1(self,args);
6354 }
6355 {
6356 void *ptr;
6357 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6358 _v = 0;
6359 PyErr_Clear();
6360 } else {
6361 _v = 1;
6362 }
6363 }
6364 if (_v) {
6365 if (argc <= 3) {
6366 return _wrap_new_TextAttr__SWIG_1(self,args);
6367 }
6368 {
6369 SWIG_PyObj_AsInt(argv[3]);
6370 if (PyErr_Occurred()) {
6371 _v = 0;
6372 PyErr_Clear();
6373 } else {
6374 _v = 1;
6375 }
6376 }
6377 if (_v) {
6378 return _wrap_new_TextAttr__SWIG_1(self,args);
6379 }
6380 }
6381 }
6382 }
6383 }
6384
6385 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6386 return NULL;
6387 }
6388
6389
6390 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6393 PyObject * obj0 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 delete arg1;
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 Py_INCREF(Py_None); resultobj = Py_None;
6408 return resultobj;
6409 fail:
6410 return NULL;
6411 }
6412
6413
6414 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
6416 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6417 PyObject * obj0 = 0 ;
6418 char *kwnames[] = {
6419 (char *) "self", NULL
6420 };
6421
6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 (arg1)->Init();
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 Py_INCREF(Py_None); resultobj = Py_None;
6432 return resultobj;
6433 fail:
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6441 wxColour *arg2 = 0 ;
6442 wxColour temp2 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 char *kwnames[] = {
6446 (char *) "self",(char *) "colText", NULL
6447 };
6448
6449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6451 {
6452 arg2 = &temp2;
6453 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6454 }
6455 {
6456 PyThreadState* __tstate = wxPyBeginAllowThreads();
6457 (arg1)->SetTextColour((wxColour const &)*arg2);
6458
6459 wxPyEndAllowThreads(__tstate);
6460 if (PyErr_Occurred()) SWIG_fail;
6461 }
6462 Py_INCREF(Py_None); resultobj = Py_None;
6463 return resultobj;
6464 fail:
6465 return NULL;
6466 }
6467
6468
6469 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject *resultobj;
6471 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6472 wxColour *arg2 = 0 ;
6473 wxColour temp2 ;
6474 PyObject * obj0 = 0 ;
6475 PyObject * obj1 = 0 ;
6476 char *kwnames[] = {
6477 (char *) "self",(char *) "colBack", NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6482 {
6483 arg2 = &temp2;
6484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6485 }
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
6493 Py_INCREF(Py_None); resultobj = Py_None;
6494 return resultobj;
6495 fail:
6496 return NULL;
6497 }
6498
6499
6500 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject *resultobj;
6502 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6503 wxFont *arg2 = 0 ;
6504 long arg3 = (long) wxTEXT_ATTR_FONT ;
6505 PyObject * obj0 = 0 ;
6506 PyObject * obj1 = 0 ;
6507 PyObject * obj2 = 0 ;
6508 char *kwnames[] = {
6509 (char *) "self",(char *) "font",(char *) "flags", NULL
6510 };
6511
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6514 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6515 if (arg2 == NULL) {
6516 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6517 }
6518 if (obj2) {
6519 {
6520 arg3 = (long) SWIG_PyObj_AsLong(obj2);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 }
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 Py_INCREF(Py_None); resultobj = Py_None;
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6541 int arg2 ;
6542 PyObject * obj0 = 0 ;
6543 PyObject * obj1 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self",(char *) "alignment", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6550 {
6551 arg2 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj1);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 Py_INCREF(Py_None); resultobj = Py_None;
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj;
6570 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6571 wxArrayInt *arg2 = 0 ;
6572 PyObject * obj0 = 0 ;
6573 PyObject * obj1 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self",(char *) "tabs", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6580 {
6581 if (! PySequence_Check(obj1)) {
6582 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6583 SWIG_fail;
6584 }
6585 arg2 = new wxArrayInt;
6586 int i, len=PySequence_Length(obj1);
6587 for (i=0; i<len; i++) {
6588 PyObject* item = PySequence_GetItem(obj1, i);
6589 PyObject* number = PyNumber_Int(item);
6590 arg2->Add(PyInt_AS_LONG(number));
6591 Py_DECREF(item);
6592 Py_DECREF(number);
6593 }
6594 }
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 Py_INCREF(Py_None); resultobj = Py_None;
6603 {
6604 if (arg2) delete arg2;
6605 }
6606 return resultobj;
6607 fail:
6608 {
6609 if (arg2) delete arg2;
6610 }
6611 return NULL;
6612 }
6613
6614
6615 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6616 PyObject *resultobj;
6617 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6618 int arg2 ;
6619 PyObject * obj0 = 0 ;
6620 PyObject * obj1 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self",(char *) "indent", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6627 {
6628 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 (arg1)->SetLeftIndent(arg2);
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 Py_INCREF(Py_None); resultobj = Py_None;
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj;
6647 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6648 int arg2 ;
6649 PyObject * obj0 = 0 ;
6650 PyObject * obj1 = 0 ;
6651 char *kwnames[] = {
6652 (char *) "self",(char *) "indent", NULL
6653 };
6654
6655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6657 {
6658 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 (arg1)->SetRightIndent(arg2);
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 }
6668 Py_INCREF(Py_None); resultobj = Py_None;
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj;
6677 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6678 long arg2 ;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self",(char *) "flags", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6687 {
6688 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 (arg1)->SetFlags(arg2);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 Py_INCREF(Py_None); resultobj = Py_None;
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj;
6707 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6708 bool result;
6709 PyObject * obj0 = 0 ;
6710 char *kwnames[] = {
6711 (char *) "self", NULL
6712 };
6713
6714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6724 return resultobj;
6725 fail:
6726 return NULL;
6727 }
6728
6729
6730 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6731 PyObject *resultobj;
6732 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6733 bool result;
6734 PyObject * obj0 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6756 PyObject *resultobj;
6757 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6758 bool result;
6759 PyObject * obj0 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "self", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6766 {
6767 PyThreadState* __tstate = wxPyBeginAllowThreads();
6768 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6769
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6774 return resultobj;
6775 fail:
6776 return NULL;
6777 }
6778
6779
6780 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj;
6782 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6783 bool result;
6784 PyObject * obj0 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6799 return resultobj;
6800 fail:
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6808 bool result;
6809 PyObject * obj0 = 0 ;
6810 char *kwnames[] = {
6811 (char *) "self", NULL
6812 };
6813
6814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6816 {
6817 PyThreadState* __tstate = wxPyBeginAllowThreads();
6818 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6819
6820 wxPyEndAllowThreads(__tstate);
6821 if (PyErr_Occurred()) SWIG_fail;
6822 }
6823 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6824 return resultobj;
6825 fail:
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6833 bool result;
6834 PyObject * obj0 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj;
6857 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6858 bool result;
6859 PyObject * obj0 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6866 {
6867 PyThreadState* __tstate = wxPyBeginAllowThreads();
6868 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6869
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6883 long arg2 ;
6884 bool result;
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self",(char *) "flag", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 {
6894 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
6904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6905 return resultobj;
6906 fail:
6907 return NULL;
6908 }
6909
6910
6911 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6914 wxColour *result;
6915 PyObject * obj0 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 {
6925 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6926 result = (wxColour *) &_result_ref;
6927 }
6928
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj;
6941 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6942 wxColour *result;
6943 PyObject * obj0 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 {
6953 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6954 result = (wxColour *) &_result_ref;
6955 }
6956
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
6960 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6961 return resultobj;
6962 fail:
6963 return NULL;
6964 }
6965
6966
6967 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6968 PyObject *resultobj;
6969 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6970 wxFont *result;
6971 PyObject * obj0 = 0 ;
6972 char *kwnames[] = {
6973 (char *) "self", NULL
6974 };
6975
6976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 {
6981 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6982 result = (wxFont *) &_result_ref;
6983 }
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6998 int result;
6999 PyObject * obj0 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 resultobj = SWIG_PyObj_FromInt((int)result);
7014 return resultobj;
7015 fail:
7016 return NULL;
7017 }
7018
7019
7020 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7023 wxArrayInt *result;
7024 PyObject * obj0 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 {
7034 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7035 result = (wxArrayInt *) &_result_ref;
7036 }
7037
7038 wxPyEndAllowThreads(__tstate);
7039 if (PyErr_Occurred()) SWIG_fail;
7040 }
7041 {
7042 resultobj = PyList_New(0);
7043 size_t idx;
7044 for (idx = 0; idx < result->GetCount(); idx += 1) {
7045 PyObject* val = PyInt_FromLong( result->Item(idx) );
7046 PyList_Append(resultobj, val);
7047 Py_DECREF(val);
7048 }
7049 }
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7059 long result;
7060 PyObject * obj0 = 0 ;
7061 char *kwnames[] = {
7062 (char *) "self", NULL
7063 };
7064
7065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 resultobj = SWIG_PyObj_FromLong((long)result);
7075 return resultobj;
7076 fail:
7077 return NULL;
7078 }
7079
7080
7081 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7082 PyObject *resultobj;
7083 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7084 long result;
7085 PyObject * obj0 = 0 ;
7086 char *kwnames[] = {
7087 (char *) "self", NULL
7088 };
7089
7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7092 {
7093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7094 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7095
7096 wxPyEndAllowThreads(__tstate);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 }
7099 resultobj = SWIG_PyObj_FromLong((long)result);
7100 return resultobj;
7101 fail:
7102 return NULL;
7103 }
7104
7105
7106 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7107 PyObject *resultobj;
7108 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7109 long result;
7110 PyObject * obj0 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7117 {
7118 PyThreadState* __tstate = wxPyBeginAllowThreads();
7119 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7120
7121 wxPyEndAllowThreads(__tstate);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
7124 resultobj = SWIG_PyObj_FromLong((long)result);
7125 return resultobj;
7126 fail:
7127 return NULL;
7128 }
7129
7130
7131 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7132 PyObject *resultobj;
7133 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7134 bool result;
7135 PyObject * obj0 = 0 ;
7136 char *kwnames[] = {
7137 (char *) "self", NULL
7138 };
7139
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7150 return resultobj;
7151 fail:
7152 return NULL;
7153 }
7154
7155
7156 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject *resultobj;
7158 wxTextAttr *arg1 = 0 ;
7159 wxTextAttr *arg2 = 0 ;
7160 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7161 wxTextAttr result;
7162 PyObject * obj0 = 0 ;
7163 PyObject * obj1 = 0 ;
7164 PyObject * obj2 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7171 if (arg1 == NULL) {
7172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7173 }
7174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7175 if (arg2 == NULL) {
7176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7177 }
7178 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 {
7187 wxTextAttr * resultptr;
7188 resultptr = new wxTextAttr((wxTextAttr &) result);
7189 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
7190 }
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7198 PyObject *obj;
7199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7200 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7201 Py_INCREF(obj);
7202 return Py_BuildValue((char *)"");
7203 }
7204 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxWindow *arg1 = (wxWindow *) 0 ;
7207 int arg2 ;
7208 wxString const &arg3_defvalue = wxPyEmptyString ;
7209 wxString *arg3 = (wxString *) &arg3_defvalue ;
7210 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7211 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7212 wxSize const &arg5_defvalue = wxDefaultSize ;
7213 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7214 long arg6 = (long) 0 ;
7215 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7216 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7217 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7218 wxString *arg8 = (wxString *) &arg8_defvalue ;
7219 wxTextCtrl *result;
7220 bool temp3 = False ;
7221 wxPoint temp4 ;
7222 wxSize temp5 ;
7223 bool temp8 = False ;
7224 PyObject * obj0 = 0 ;
7225 PyObject * obj1 = 0 ;
7226 PyObject * obj2 = 0 ;
7227 PyObject * obj3 = 0 ;
7228 PyObject * obj4 = 0 ;
7229 PyObject * obj5 = 0 ;
7230 PyObject * obj6 = 0 ;
7231 PyObject * obj7 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 {
7239 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 if (obj2) {
7243 {
7244 arg3 = wxString_in_helper(obj2);
7245 if (arg3 == NULL) SWIG_fail;
7246 temp3 = True;
7247 }
7248 }
7249 if (obj3) {
7250 {
7251 arg4 = &temp4;
7252 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7253 }
7254 }
7255 if (obj4) {
7256 {
7257 arg5 = &temp5;
7258 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7259 }
7260 }
7261 if (obj5) {
7262 {
7263 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 }
7267 if (obj6) {
7268 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7269 if (arg7 == NULL) {
7270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7271 }
7272 }
7273 if (obj7) {
7274 {
7275 arg8 = wxString_in_helper(obj7);
7276 if (arg8 == NULL) SWIG_fail;
7277 temp8 = True;
7278 }
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 {
7288 resultobj = wxPyMake_wxObject(result);
7289 }
7290 {
7291 if (temp3)
7292 delete arg3;
7293 }
7294 {
7295 if (temp8)
7296 delete arg8;
7297 }
7298 return resultobj;
7299 fail:
7300 {
7301 if (temp3)
7302 delete arg3;
7303 }
7304 {
7305 if (temp8)
7306 delete arg8;
7307 }
7308 return NULL;
7309 }
7310
7311
7312 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7313 PyObject *resultobj;
7314 wxTextCtrl *result;
7315 char *kwnames[] = {
7316 NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = (wxTextCtrl *)new wxTextCtrl();
7323
7324 wxPyEndAllowThreads(__tstate);
7325 if (PyErr_Occurred()) SWIG_fail;
7326 }
7327 {
7328 resultobj = wxPyMake_wxObject(result);
7329 }
7330 return resultobj;
7331 fail:
7332 return NULL;
7333 }
7334
7335
7336 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7337 PyObject *resultobj;
7338 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7339 wxWindow *arg2 = (wxWindow *) 0 ;
7340 int arg3 ;
7341 wxString const &arg4_defvalue = wxPyEmptyString ;
7342 wxString *arg4 = (wxString *) &arg4_defvalue ;
7343 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7344 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7345 wxSize const &arg6_defvalue = wxDefaultSize ;
7346 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7347 long arg7 = (long) 0 ;
7348 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7349 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7350 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7351 wxString *arg9 = (wxString *) &arg9_defvalue ;
7352 bool result;
7353 bool temp4 = False ;
7354 wxPoint temp5 ;
7355 wxSize temp6 ;
7356 bool temp9 = False ;
7357 PyObject * obj0 = 0 ;
7358 PyObject * obj1 = 0 ;
7359 PyObject * obj2 = 0 ;
7360 PyObject * obj3 = 0 ;
7361 PyObject * obj4 = 0 ;
7362 PyObject * obj5 = 0 ;
7363 PyObject * obj6 = 0 ;
7364 PyObject * obj7 = 0 ;
7365 PyObject * obj8 = 0 ;
7366 char *kwnames[] = {
7367 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7368 };
7369
7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7373 {
7374 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 if (obj3) {
7378 {
7379 arg4 = wxString_in_helper(obj3);
7380 if (arg4 == NULL) SWIG_fail;
7381 temp4 = True;
7382 }
7383 }
7384 if (obj4) {
7385 {
7386 arg5 = &temp5;
7387 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7388 }
7389 }
7390 if (obj5) {
7391 {
7392 arg6 = &temp6;
7393 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7394 }
7395 }
7396 if (obj6) {
7397 {
7398 arg7 = (long) SWIG_PyObj_AsLong(obj6);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 }
7402 if (obj7) {
7403 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7404 if (arg8 == NULL) {
7405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7406 }
7407 }
7408 if (obj8) {
7409 {
7410 arg9 = wxString_in_helper(obj8);
7411 if (arg9 == NULL) SWIG_fail;
7412 temp9 = True;
7413 }
7414 }
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7423 {
7424 if (temp4)
7425 delete arg4;
7426 }
7427 {
7428 if (temp9)
7429 delete arg9;
7430 }
7431 return resultobj;
7432 fail:
7433 {
7434 if (temp4)
7435 delete arg4;
7436 }
7437 {
7438 if (temp9)
7439 delete arg9;
7440 }
7441 return NULL;
7442 }
7443
7444
7445 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7448 wxString result;
7449 PyObject * obj0 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "self", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = ((wxTextCtrl const *)arg1)->GetValue();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 {
7464 #if wxUSE_UNICODE
7465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7466 #else
7467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7468 #endif
7469 }
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7479 wxString *arg2 = 0 ;
7480 bool temp2 = False ;
7481 PyObject * obj0 = 0 ;
7482 PyObject * obj1 = 0 ;
7483 char *kwnames[] = {
7484 (char *) "self",(char *) "value", NULL
7485 };
7486
7487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7489 {
7490 arg2 = wxString_in_helper(obj1);
7491 if (arg2 == NULL) SWIG_fail;
7492 temp2 = True;
7493 }
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 (arg1)->SetValue((wxString const &)*arg2);
7497
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 Py_INCREF(Py_None); resultobj = Py_None;
7502 {
7503 if (temp2)
7504 delete arg2;
7505 }
7506 return resultobj;
7507 fail:
7508 {
7509 if (temp2)
7510 delete arg2;
7511 }
7512 return NULL;
7513 }
7514
7515
7516 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7517 PyObject *resultobj;
7518 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7519 long arg2 ;
7520 long arg3 ;
7521 wxString result;
7522 PyObject * obj0 = 0 ;
7523 PyObject * obj1 = 0 ;
7524 PyObject * obj2 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self",(char *) "from",(char *) "to", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7531 {
7532 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7533 if (PyErr_Occurred()) SWIG_fail;
7534 }
7535 {
7536 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7542
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 {
7547 #if wxUSE_UNICODE
7548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7549 #else
7550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7551 #endif
7552 }
7553 return resultobj;
7554 fail:
7555 return NULL;
7556 }
7557
7558
7559 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj;
7561 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7562 long arg2 ;
7563 int result;
7564 PyObject * obj0 = 0 ;
7565 PyObject * obj1 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self",(char *) "lineNo", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7572 {
7573 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 resultobj = SWIG_PyObj_FromInt((int)result);
7584 return resultobj;
7585 fail:
7586 return NULL;
7587 }
7588
7589
7590 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj;
7592 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7593 long arg2 ;
7594 wxString result;
7595 PyObject * obj0 = 0 ;
7596 PyObject * obj1 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self",(char *) "lineNo", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7603 {
7604 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 {
7615 #if wxUSE_UNICODE
7616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7617 #else
7618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7619 #endif
7620 }
7621 return resultobj;
7622 fail:
7623 return NULL;
7624 }
7625
7626
7627 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7628 PyObject *resultobj;
7629 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7630 int result;
7631 PyObject * obj0 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7638 {
7639 PyThreadState* __tstate = wxPyBeginAllowThreads();
7640 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7641
7642 wxPyEndAllowThreads(__tstate);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 resultobj = SWIG_PyObj_FromInt((int)result);
7646 return resultobj;
7647 fail:
7648 return NULL;
7649 }
7650
7651
7652 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7653 PyObject *resultobj;
7654 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7655 bool result;
7656 PyObject * obj0 = 0 ;
7657 char *kwnames[] = {
7658 (char *) "self", NULL
7659 };
7660
7661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7663 {
7664 PyThreadState* __tstate = wxPyBeginAllowThreads();
7665 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7666
7667 wxPyEndAllowThreads(__tstate);
7668 if (PyErr_Occurred()) SWIG_fail;
7669 }
7670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7671 return resultobj;
7672 fail:
7673 return NULL;
7674 }
7675
7676
7677 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7678 PyObject *resultobj;
7679 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7680 bool result;
7681 PyObject * obj0 = 0 ;
7682 char *kwnames[] = {
7683 (char *) "self", NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj;
7704 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7705 bool result;
7706 PyObject * obj0 = 0 ;
7707 char *kwnames[] = {
7708 (char *) "self", NULL
7709 };
7710
7711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7721 return resultobj;
7722 fail:
7723 return NULL;
7724 }
7725
7726
7727 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7730 bool result;
7731 PyObject * obj0 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7738 {
7739 PyThreadState* __tstate = wxPyBeginAllowThreads();
7740 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7746 return resultobj;
7747 fail:
7748 return NULL;
7749 }
7750
7751
7752 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj;
7754 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7755 long *arg2 = (long *) 0 ;
7756 long *arg3 = (long *) 0 ;
7757 long temp2 ;
7758 long temp3 ;
7759 PyObject * obj0 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self", NULL
7762 };
7763
7764 arg2 = &temp2;
7765 arg3 = &temp3;
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 Py_INCREF(Py_None); resultobj = Py_None;
7776 {
7777 PyObject *o = PyInt_FromLong((long) (*arg2));
7778 resultobj = t_output_helper(resultobj,o);
7779 }
7780 {
7781 PyObject *o = PyInt_FromLong((long) (*arg3));
7782 resultobj = t_output_helper(resultobj,o);
7783 }
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj;
7792 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7793 wxString result;
7794 PyObject * obj0 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "self", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 {
7809 #if wxUSE_UNICODE
7810 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7811 #else
7812 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7813 #endif
7814 }
7815 return resultobj;
7816 fail:
7817 return NULL;
7818 }
7819
7820
7821 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7822 PyObject *resultobj;
7823 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7824 PyObject * obj0 = 0 ;
7825 char *kwnames[] = {
7826 (char *) "self", NULL
7827 };
7828
7829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 (arg1)->Clear();
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 Py_INCREF(Py_None); resultobj = Py_None;
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7848 long arg2 ;
7849 long arg3 ;
7850 wxString *arg4 = 0 ;
7851 bool temp4 = False ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 PyObject * obj2 = 0 ;
7855 PyObject * obj3 = 0 ;
7856 char *kwnames[] = {
7857 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7858 };
7859
7860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7862 {
7863 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 {
7867 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 {
7871 arg4 = wxString_in_helper(obj3);
7872 if (arg4 == NULL) SWIG_fail;
7873 temp4 = True;
7874 }
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 Py_INCREF(Py_None); resultobj = Py_None;
7883 {
7884 if (temp4)
7885 delete arg4;
7886 }
7887 return resultobj;
7888 fail:
7889 {
7890 if (temp4)
7891 delete arg4;
7892 }
7893 return NULL;
7894 }
7895
7896
7897 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7898 PyObject *resultobj;
7899 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7900 long arg2 ;
7901 long arg3 ;
7902 PyObject * obj0 = 0 ;
7903 PyObject * obj1 = 0 ;
7904 PyObject * obj2 = 0 ;
7905 char *kwnames[] = {
7906 (char *) "self",(char *) "from",(char *) "to", NULL
7907 };
7908
7909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
7910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7911 {
7912 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 {
7916 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7917 if (PyErr_Occurred()) SWIG_fail;
7918 }
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 (arg1)->Remove(arg2,arg3);
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 Py_INCREF(Py_None); resultobj = Py_None;
7927 return resultobj;
7928 fail:
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7936 wxString *arg2 = 0 ;
7937 bool result;
7938 bool temp2 = False ;
7939 PyObject * obj0 = 0 ;
7940 PyObject * obj1 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self",(char *) "file", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7947 {
7948 arg2 = wxString_in_helper(obj1);
7949 if (arg2 == NULL) SWIG_fail;
7950 temp2 = True;
7951 }
7952 {
7953 PyThreadState* __tstate = wxPyBeginAllowThreads();
7954 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7955
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7960 {
7961 if (temp2)
7962 delete arg2;
7963 }
7964 return resultobj;
7965 fail:
7966 {
7967 if (temp2)
7968 delete arg2;
7969 }
7970 return NULL;
7971 }
7972
7973
7974 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj;
7976 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7977 wxString const &arg2_defvalue = wxPyEmptyString ;
7978 wxString *arg2 = (wxString *) &arg2_defvalue ;
7979 bool result;
7980 bool temp2 = False ;
7981 PyObject * obj0 = 0 ;
7982 PyObject * obj1 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self",(char *) "file", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7989 if (obj1) {
7990 {
7991 arg2 = wxString_in_helper(obj1);
7992 if (arg2 == NULL) SWIG_fail;
7993 temp2 = True;
7994 }
7995 }
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8004 {
8005 if (temp2)
8006 delete arg2;
8007 }
8008 return resultobj;
8009 fail:
8010 {
8011 if (temp2)
8012 delete arg2;
8013 }
8014 return NULL;
8015 }
8016
8017
8018 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj;
8020 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8021 PyObject * obj0 = 0 ;
8022 char *kwnames[] = {
8023 (char *) "self", NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 (arg1)->MarkDirty();
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
8035 Py_INCREF(Py_None); resultobj = Py_None;
8036 return resultobj;
8037 fail:
8038 return NULL;
8039 }
8040
8041
8042 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8043 PyObject *resultobj;
8044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8045 PyObject * obj0 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 (arg1)->DiscardEdits();
8055
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 Py_INCREF(Py_None); resultobj = Py_None;
8060 return resultobj;
8061 fail:
8062 return NULL;
8063 }
8064
8065
8066 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj;
8068 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8069 unsigned long arg2 ;
8070 PyObject * obj0 = 0 ;
8071 PyObject * obj1 = 0 ;
8072 char *kwnames[] = {
8073 (char *) "self",(char *) "len", NULL
8074 };
8075
8076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8078 {
8079 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
8080 if (PyErr_Occurred()) SWIG_fail;
8081 }
8082 {
8083 PyThreadState* __tstate = wxPyBeginAllowThreads();
8084 (arg1)->SetMaxLength(arg2);
8085
8086 wxPyEndAllowThreads(__tstate);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 }
8089 Py_INCREF(Py_None); resultobj = Py_None;
8090 return resultobj;
8091 fail:
8092 return NULL;
8093 }
8094
8095
8096 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8097 PyObject *resultobj;
8098 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8099 wxString *arg2 = 0 ;
8100 bool temp2 = False ;
8101 PyObject * obj0 = 0 ;
8102 PyObject * obj1 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self",(char *) "text", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8109 {
8110 arg2 = wxString_in_helper(obj1);
8111 if (arg2 == NULL) SWIG_fail;
8112 temp2 = True;
8113 }
8114 {
8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
8116 (arg1)->WriteText((wxString const &)*arg2);
8117
8118 wxPyEndAllowThreads(__tstate);
8119 if (PyErr_Occurred()) SWIG_fail;
8120 }
8121 Py_INCREF(Py_None); resultobj = Py_None;
8122 {
8123 if (temp2)
8124 delete arg2;
8125 }
8126 return resultobj;
8127 fail:
8128 {
8129 if (temp2)
8130 delete arg2;
8131 }
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8139 wxString *arg2 = 0 ;
8140 bool temp2 = False ;
8141 PyObject * obj0 = 0 ;
8142 PyObject * obj1 = 0 ;
8143 char *kwnames[] = {
8144 (char *) "self",(char *) "text", NULL
8145 };
8146
8147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8149 {
8150 arg2 = wxString_in_helper(obj1);
8151 if (arg2 == NULL) SWIG_fail;
8152 temp2 = True;
8153 }
8154 {
8155 PyThreadState* __tstate = wxPyBeginAllowThreads();
8156 (arg1)->AppendText((wxString const &)*arg2);
8157
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 Py_INCREF(Py_None); resultobj = Py_None;
8162 {
8163 if (temp2)
8164 delete arg2;
8165 }
8166 return resultobj;
8167 fail:
8168 {
8169 if (temp2)
8170 delete arg2;
8171 }
8172 return NULL;
8173 }
8174
8175
8176 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8179 wxKeyEvent *arg2 = 0 ;
8180 bool result;
8181 PyObject * obj0 = 0 ;
8182 PyObject * obj1 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self",(char *) "event", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8189 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8190 if (arg2 == NULL) {
8191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8192 }
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8196
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8201 return resultobj;
8202 fail:
8203 return NULL;
8204 }
8205
8206
8207 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8208 PyObject *resultobj;
8209 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8210 long arg2 ;
8211 long arg3 ;
8212 wxTextAttr *arg4 = 0 ;
8213 bool result;
8214 PyObject * obj0 = 0 ;
8215 PyObject * obj1 = 0 ;
8216 PyObject * obj2 = 0 ;
8217 PyObject * obj3 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8224 {
8225 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 {
8229 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8233 if (arg4 == NULL) {
8234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8235 }
8236 {
8237 PyThreadState* __tstate = wxPyBeginAllowThreads();
8238 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8239
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8244 return resultobj;
8245 fail:
8246 return NULL;
8247 }
8248
8249
8250 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj;
8252 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8253 long arg2 ;
8254 wxTextAttr *arg3 = 0 ;
8255 bool result;
8256 PyObject * obj0 = 0 ;
8257 PyObject * obj1 = 0 ;
8258 PyObject * obj2 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self",(char *) "position",(char *) "style", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8265 {
8266 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8270 if (arg3 == NULL) {
8271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8272 }
8273 {
8274 PyThreadState* __tstate = wxPyBeginAllowThreads();
8275 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8276
8277 wxPyEndAllowThreads(__tstate);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 }
8280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8290 wxTextAttr *arg2 = 0 ;
8291 bool result;
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self",(char *) "style", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8301 if (arg2 == NULL) {
8302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8303 }
8304 {
8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
8306 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8307
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8312 return resultobj;
8313 fail:
8314 return NULL;
8315 }
8316
8317
8318 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj;
8320 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8321 wxTextAttr *result;
8322 PyObject * obj0 = 0 ;
8323 char *kwnames[] = {
8324 (char *) "self", NULL
8325 };
8326
8327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8329 {
8330 PyThreadState* __tstate = wxPyBeginAllowThreads();
8331 {
8332 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8333 result = (wxTextAttr *) &_result_ref;
8334 }
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8349 long arg2 ;
8350 long arg3 ;
8351 long result;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj1 = 0 ;
8354 PyObject * obj2 = 0 ;
8355 char *kwnames[] = {
8356 (char *) "self",(char *) "x",(char *) "y", NULL
8357 };
8358
8359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8361 {
8362 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 {
8366 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 resultobj = SWIG_PyObj_FromLong((long)result);
8377 return resultobj;
8378 fail:
8379 return NULL;
8380 }
8381
8382
8383 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8384 PyObject *resultobj;
8385 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8386 long arg2 ;
8387 long *arg3 = (long *) 0 ;
8388 long *arg4 = (long *) 0 ;
8389 long temp3 ;
8390 long temp4 ;
8391 PyObject * obj0 = 0 ;
8392 PyObject * obj1 = 0 ;
8393 char *kwnames[] = {
8394 (char *) "self",(char *) "pos", NULL
8395 };
8396
8397 arg3 = &temp3;
8398 arg4 = &temp4;
8399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8401 {
8402 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8403 if (PyErr_Occurred()) SWIG_fail;
8404 }
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 Py_INCREF(Py_None); resultobj = Py_None;
8413 {
8414 PyObject *o = PyInt_FromLong((long) (*arg3));
8415 resultobj = t_output_helper(resultobj,o);
8416 }
8417 {
8418 PyObject *o = PyInt_FromLong((long) (*arg4));
8419 resultobj = t_output_helper(resultobj,o);
8420 }
8421 return resultobj;
8422 fail:
8423 return NULL;
8424 }
8425
8426
8427 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj;
8429 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8430 long arg2 ;
8431 PyObject * obj0 = 0 ;
8432 PyObject * obj1 = 0 ;
8433 char *kwnames[] = {
8434 (char *) "self",(char *) "pos", NULL
8435 };
8436
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8439 {
8440 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->ShowPosition(arg2);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj;
8459 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8460 wxPoint *arg2 = 0 ;
8461 long *arg3 = (long *) 0 ;
8462 long *arg4 = (long *) 0 ;
8463 int result;
8464 wxPoint temp2 ;
8465 long temp3 ;
8466 long temp4 ;
8467 PyObject * obj0 = 0 ;
8468 PyObject * obj1 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self",(char *) "pt", NULL
8471 };
8472
8473 arg3 = &temp3;
8474 arg4 = &temp4;
8475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8477 {
8478 arg2 = &temp2;
8479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8480 }
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = SWIG_PyObj_FromInt((int)result);
8489 {
8490 PyObject *o = PyInt_FromLong((long) (*arg3));
8491 resultobj = t_output_helper(resultobj,o);
8492 }
8493 {
8494 PyObject *o = PyInt_FromLong((long) (*arg4));
8495 resultobj = t_output_helper(resultobj,o);
8496 }
8497 return resultobj;
8498 fail:
8499 return NULL;
8500 }
8501
8502
8503 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj;
8505 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8506 PyObject * obj0 = 0 ;
8507 char *kwnames[] = {
8508 (char *) "self", NULL
8509 };
8510
8511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8513 {
8514 PyThreadState* __tstate = wxPyBeginAllowThreads();
8515 (arg1)->Copy();
8516
8517 wxPyEndAllowThreads(__tstate);
8518 if (PyErr_Occurred()) SWIG_fail;
8519 }
8520 Py_INCREF(Py_None); resultobj = Py_None;
8521 return resultobj;
8522 fail:
8523 return NULL;
8524 }
8525
8526
8527 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8528 PyObject *resultobj;
8529 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8530 PyObject * obj0 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "self", NULL
8533 };
8534
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 (arg1)->Cut();
8540
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 Py_INCREF(Py_None); resultobj = Py_None;
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8552 PyObject *resultobj;
8553 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8554 PyObject * obj0 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "self", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 (arg1)->Paste();
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 Py_INCREF(Py_None); resultobj = Py_None;
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8578 bool result;
8579 PyObject * obj0 = 0 ;
8580 char *kwnames[] = {
8581 (char *) "self", NULL
8582 };
8583
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8603 bool result;
8604 PyObject * obj0 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self", NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8628 bool result;
8629 PyObject * obj0 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8651 PyObject *resultobj;
8652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8653 PyObject * obj0 = 0 ;
8654 char *kwnames[] = {
8655 (char *) "self", NULL
8656 };
8657
8658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8660 {
8661 PyThreadState* __tstate = wxPyBeginAllowThreads();
8662 (arg1)->Undo();
8663
8664 wxPyEndAllowThreads(__tstate);
8665 if (PyErr_Occurred()) SWIG_fail;
8666 }
8667 Py_INCREF(Py_None); resultobj = Py_None;
8668 return resultobj;
8669 fail:
8670 return NULL;
8671 }
8672
8673
8674 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8675 PyObject *resultobj;
8676 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8677 PyObject * obj0 = 0 ;
8678 char *kwnames[] = {
8679 (char *) "self", NULL
8680 };
8681
8682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8684 {
8685 PyThreadState* __tstate = wxPyBeginAllowThreads();
8686 (arg1)->Redo();
8687
8688 wxPyEndAllowThreads(__tstate);
8689 if (PyErr_Occurred()) SWIG_fail;
8690 }
8691 Py_INCREF(Py_None); resultobj = Py_None;
8692 return resultobj;
8693 fail:
8694 return NULL;
8695 }
8696
8697
8698 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8699 PyObject *resultobj;
8700 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8701 bool result;
8702 PyObject * obj0 = 0 ;
8703 char *kwnames[] = {
8704 (char *) "self", NULL
8705 };
8706
8707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8712
8713 wxPyEndAllowThreads(__tstate);
8714 if (PyErr_Occurred()) SWIG_fail;
8715 }
8716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8717 return resultobj;
8718 fail:
8719 return NULL;
8720 }
8721
8722
8723 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8724 PyObject *resultobj;
8725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8726 bool result;
8727 PyObject * obj0 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "self", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8737
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8742 return resultobj;
8743 fail:
8744 return NULL;
8745 }
8746
8747
8748 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8749 PyObject *resultobj;
8750 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8751 long arg2 ;
8752 PyObject * obj0 = 0 ;
8753 PyObject * obj1 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self",(char *) "pos", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8760 {
8761 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 (arg1)->SetInsertionPoint(arg2);
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 Py_INCREF(Py_None); resultobj = Py_None;
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8781 PyObject * obj0 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 (arg1)->SetInsertionPointEnd();
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 Py_INCREF(Py_None); resultobj = Py_None;
8796 return resultobj;
8797 fail:
8798 return NULL;
8799 }
8800
8801
8802 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj;
8804 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8805 long result;
8806 PyObject * obj0 = 0 ;
8807 char *kwnames[] = {
8808 (char *) "self", NULL
8809 };
8810
8811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8813 {
8814 PyThreadState* __tstate = wxPyBeginAllowThreads();
8815 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8816
8817 wxPyEndAllowThreads(__tstate);
8818 if (PyErr_Occurred()) SWIG_fail;
8819 }
8820 resultobj = SWIG_PyObj_FromLong((long)result);
8821 return resultobj;
8822 fail:
8823 return NULL;
8824 }
8825
8826
8827 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8828 PyObject *resultobj;
8829 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8830 long result;
8831 PyObject * obj0 = 0 ;
8832 char *kwnames[] = {
8833 (char *) "self", NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8838 {
8839 PyThreadState* __tstate = wxPyBeginAllowThreads();
8840 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8841
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 resultobj = SWIG_PyObj_FromLong((long)result);
8846 return resultobj;
8847 fail:
8848 return NULL;
8849 }
8850
8851
8852 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj;
8854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8855 long arg2 ;
8856 long arg3 ;
8857 PyObject * obj0 = 0 ;
8858 PyObject * obj1 = 0 ;
8859 PyObject * obj2 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self",(char *) "from",(char *) "to", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8866 {
8867 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 {
8871 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 {
8875 PyThreadState* __tstate = wxPyBeginAllowThreads();
8876 (arg1)->SetSelection(arg2,arg3);
8877
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 Py_INCREF(Py_None); resultobj = Py_None;
8882 return resultobj;
8883 fail:
8884 return NULL;
8885 }
8886
8887
8888 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj;
8890 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8891 PyObject * obj0 = 0 ;
8892 char *kwnames[] = {
8893 (char *) "self", NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8898 {
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 (arg1)->SelectAll();
8901
8902 wxPyEndAllowThreads(__tstate);
8903 if (PyErr_Occurred()) SWIG_fail;
8904 }
8905 Py_INCREF(Py_None); resultobj = Py_None;
8906 return resultobj;
8907 fail:
8908 return NULL;
8909 }
8910
8911
8912 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8913 PyObject *resultobj;
8914 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8915 bool arg2 ;
8916 PyObject * obj0 = 0 ;
8917 PyObject * obj1 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self",(char *) "editable", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8924 {
8925 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 (arg1)->SetEditable(arg2);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 Py_INCREF(Py_None); resultobj = Py_None;
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8945 bool arg2 = (bool) True ;
8946 bool result;
8947 PyObject * obj0 = 0 ;
8948 PyObject * obj1 = 0 ;
8949 char *kwnames[] = {
8950 (char *) "self",(char *) "show", NULL
8951 };
8952
8953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
8954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8955 if (obj1) {
8956 {
8957 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8958 if (PyErr_Occurred()) SWIG_fail;
8959 }
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 result = (bool)(arg1)->ShowNativeCaret(arg2);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8969 return resultobj;
8970 fail:
8971 return NULL;
8972 }
8973
8974
8975 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8976 PyObject *resultobj;
8977 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8978 bool result;
8979 PyObject * obj0 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 result = (bool)(arg1)->HideNativeCaret();
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8994 return resultobj;
8995 fail:
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9003 wxString *arg2 = 0 ;
9004 bool temp2 = False ;
9005 PyObject * obj0 = 0 ;
9006 PyObject * obj1 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self",(char *) "text", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9013 {
9014 arg2 = wxString_in_helper(obj1);
9015 if (arg2 == NULL) SWIG_fail;
9016 temp2 = True;
9017 }
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9021
9022 wxPyEndAllowThreads(__tstate);
9023 if (PyErr_Occurred()) SWIG_fail;
9024 }
9025 Py_INCREF(Py_None); resultobj = Py_None;
9026 {
9027 if (temp2)
9028 delete arg2;
9029 }
9030 return resultobj;
9031 fail:
9032 {
9033 if (temp2)
9034 delete arg2;
9035 }
9036 return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9043 long arg2 ;
9044 long arg3 ;
9045 wxString result;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 PyObject * obj2 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self",(char *) "from",(char *) "to", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9055 {
9056 arg2 = (long) SWIG_PyObj_AsLong(obj1);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 {
9060 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9066
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 {
9071 #if wxUSE_UNICODE
9072 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9073 #else
9074 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9075 #endif
9076 }
9077 return resultobj;
9078 fail:
9079 return NULL;
9080 }
9081
9082
9083 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9084 PyObject *obj;
9085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9086 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9087 Py_INCREF(obj);
9088 return Py_BuildValue((char *)"");
9089 }
9090 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9091 PyObject *resultobj;
9092 int arg1 ;
9093 wxMouseEvent *arg2 = 0 ;
9094 long arg3 ;
9095 long arg4 ;
9096 wxTextUrlEvent *result;
9097 PyObject * obj0 = 0 ;
9098 PyObject * obj1 = 0 ;
9099 PyObject * obj2 = 0 ;
9100 PyObject * obj3 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9106 {
9107 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9108 if (PyErr_Occurred()) SWIG_fail;
9109 }
9110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9111 if (arg2 == NULL) {
9112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9113 }
9114 {
9115 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9116 if (PyErr_Occurred()) SWIG_fail;
9117 }
9118 {
9119 arg4 = (long) SWIG_PyObj_AsLong(obj3);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 {
9123 PyThreadState* __tstate = wxPyBeginAllowThreads();
9124 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9125
9126 wxPyEndAllowThreads(__tstate);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 }
9129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
9130 return resultobj;
9131 fail:
9132 return NULL;
9133 }
9134
9135
9136 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9137 PyObject *resultobj;
9138 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9139 wxMouseEvent *result;
9140 PyObject * obj0 = 0 ;
9141 char *kwnames[] = {
9142 (char *) "self", NULL
9143 };
9144
9145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 {
9150 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9151 result = (wxMouseEvent *) &_result_ref;
9152 }
9153
9154 wxPyEndAllowThreads(__tstate);
9155 if (PyErr_Occurred()) SWIG_fail;
9156 }
9157 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
9158 return resultobj;
9159 fail:
9160 return NULL;
9161 }
9162
9163
9164 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9165 PyObject *resultobj;
9166 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9167 long result;
9168 PyObject * obj0 = 0 ;
9169 char *kwnames[] = {
9170 (char *) "self", NULL
9171 };
9172
9173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9178
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 resultobj = SWIG_PyObj_FromLong((long)result);
9183 return resultobj;
9184 fail:
9185 return NULL;
9186 }
9187
9188
9189 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9190 PyObject *resultobj;
9191 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9192 long result;
9193 PyObject * obj0 = 0 ;
9194 char *kwnames[] = {
9195 (char *) "self", NULL
9196 };
9197
9198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9200 {
9201 PyThreadState* __tstate = wxPyBeginAllowThreads();
9202 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9203
9204 wxPyEndAllowThreads(__tstate);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 }
9207 resultobj = SWIG_PyObj_FromLong((long)result);
9208 return resultobj;
9209 fail:
9210 return NULL;
9211 }
9212
9213
9214 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9215 PyObject *obj;
9216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9217 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9218 Py_INCREF(obj);
9219 return Py_BuildValue((char *)"");
9220 }
9221 static int _wrap_ScrollBarNameStr_set(PyObject *) {
9222 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9223 return 1;
9224 }
9225
9226
9227 static PyObject *_wrap_ScrollBarNameStr_get() {
9228 PyObject *pyobj;
9229
9230 {
9231 #if wxUSE_UNICODE
9232 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9233 #else
9234 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9235 #endif
9236 }
9237 return pyobj;
9238 }
9239
9240
9241 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxWindow *arg1 = (wxWindow *) 0 ;
9244 int arg2 = (int) -1 ;
9245 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9246 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9247 wxSize const &arg4_defvalue = wxDefaultSize ;
9248 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9249 long arg5 = (long) wxSB_HORIZONTAL ;
9250 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9251 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9252 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9253 wxString *arg7 = (wxString *) &arg7_defvalue ;
9254 wxScrollBar *result;
9255 wxPoint temp3 ;
9256 wxSize temp4 ;
9257 bool temp7 = False ;
9258 PyObject * obj0 = 0 ;
9259 PyObject * obj1 = 0 ;
9260 PyObject * obj2 = 0 ;
9261 PyObject * obj3 = 0 ;
9262 PyObject * obj4 = 0 ;
9263 PyObject * obj5 = 0 ;
9264 PyObject * obj6 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9271 if (obj1) {
9272 {
9273 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
9276 }
9277 if (obj2) {
9278 {
9279 arg3 = &temp3;
9280 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9281 }
9282 }
9283 if (obj3) {
9284 {
9285 arg4 = &temp4;
9286 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9287 }
9288 }
9289 if (obj4) {
9290 {
9291 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 }
9295 if (obj5) {
9296 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9297 if (arg6 == NULL) {
9298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9299 }
9300 }
9301 if (obj6) {
9302 {
9303 arg7 = wxString_in_helper(obj6);
9304 if (arg7 == NULL) SWIG_fail;
9305 temp7 = True;
9306 }
9307 }
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9316 {
9317 if (temp7)
9318 delete arg7;
9319 }
9320 return resultobj;
9321 fail:
9322 {
9323 if (temp7)
9324 delete arg7;
9325 }
9326 return NULL;
9327 }
9328
9329
9330 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9331 PyObject *resultobj;
9332 wxScrollBar *result;
9333 char *kwnames[] = {
9334 NULL
9335 };
9336
9337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9338 {
9339 PyThreadState* __tstate = wxPyBeginAllowThreads();
9340 result = (wxScrollBar *)new wxScrollBar();
9341
9342 wxPyEndAllowThreads(__tstate);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 }
9345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9346 return resultobj;
9347 fail:
9348 return NULL;
9349 }
9350
9351
9352 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9353 PyObject *resultobj;
9354 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9355 wxWindow *arg2 = (wxWindow *) 0 ;
9356 int arg3 = (int) -1 ;
9357 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9358 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9359 wxSize const &arg5_defvalue = wxDefaultSize ;
9360 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9361 long arg6 = (long) wxSB_HORIZONTAL ;
9362 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9363 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9364 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9365 wxString *arg8 = (wxString *) &arg8_defvalue ;
9366 bool result;
9367 wxPoint temp4 ;
9368 wxSize temp5 ;
9369 bool temp8 = False ;
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372 PyObject * obj2 = 0 ;
9373 PyObject * obj3 = 0 ;
9374 PyObject * obj4 = 0 ;
9375 PyObject * obj5 = 0 ;
9376 PyObject * obj6 = 0 ;
9377 PyObject * obj7 = 0 ;
9378 char *kwnames[] = {
9379 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9380 };
9381
9382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9385 if (obj2) {
9386 {
9387 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 }
9391 if (obj3) {
9392 {
9393 arg4 = &temp4;
9394 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9395 }
9396 }
9397 if (obj4) {
9398 {
9399 arg5 = &temp5;
9400 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9401 }
9402 }
9403 if (obj5) {
9404 {
9405 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 }
9409 if (obj6) {
9410 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9411 if (arg7 == NULL) {
9412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9413 }
9414 }
9415 if (obj7) {
9416 {
9417 arg8 = wxString_in_helper(obj7);
9418 if (arg8 == NULL) SWIG_fail;
9419 temp8 = True;
9420 }
9421 }
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9425
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9430 {
9431 if (temp8)
9432 delete arg8;
9433 }
9434 return resultobj;
9435 fail:
9436 {
9437 if (temp8)
9438 delete arg8;
9439 }
9440 return NULL;
9441 }
9442
9443
9444 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9445 PyObject *resultobj;
9446 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9447 int result;
9448 PyObject * obj0 = 0 ;
9449 char *kwnames[] = {
9450 (char *) "self", NULL
9451 };
9452
9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
9462 resultobj = SWIG_PyObj_FromInt((int)result);
9463 return resultobj;
9464 fail:
9465 return NULL;
9466 }
9467
9468
9469 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9470 PyObject *resultobj;
9471 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9472 int result;
9473 PyObject * obj0 = 0 ;
9474 char *kwnames[] = {
9475 (char *) "self", NULL
9476 };
9477
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 resultobj = SWIG_PyObj_FromInt((int)result);
9488 return resultobj;
9489 fail:
9490 return NULL;
9491 }
9492
9493
9494 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj;
9496 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9497 int result;
9498 PyObject * obj0 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 resultobj = SWIG_PyObj_FromInt((int)result);
9513 return resultobj;
9514 fail:
9515 return NULL;
9516 }
9517
9518
9519 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9520 PyObject *resultobj;
9521 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9522 int result;
9523 PyObject * obj0 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 result = (int)((wxScrollBar const *)arg1)->GetRange();
9533
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 resultobj = SWIG_PyObj_FromInt((int)result);
9538 return resultobj;
9539 fail:
9540 return NULL;
9541 }
9542
9543
9544 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9545 PyObject *resultobj;
9546 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9547 bool result;
9548 PyObject * obj0 = 0 ;
9549 char *kwnames[] = {
9550 (char *) "self", NULL
9551 };
9552
9553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9555 {
9556 PyThreadState* __tstate = wxPyBeginAllowThreads();
9557 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9558
9559 wxPyEndAllowThreads(__tstate);
9560 if (PyErr_Occurred()) SWIG_fail;
9561 }
9562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9563 return resultobj;
9564 fail:
9565 return NULL;
9566 }
9567
9568
9569 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9570 PyObject *resultobj;
9571 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9572 int arg2 ;
9573 PyObject * obj0 = 0 ;
9574 PyObject * obj1 = 0 ;
9575 char *kwnames[] = {
9576 (char *) "self",(char *) "viewStart", NULL
9577 };
9578
9579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9581 {
9582 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 {
9586 PyThreadState* __tstate = wxPyBeginAllowThreads();
9587 (arg1)->SetThumbPosition(arg2);
9588
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 Py_INCREF(Py_None); resultobj = Py_None;
9593 return resultobj;
9594 fail:
9595 return NULL;
9596 }
9597
9598
9599 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9600 PyObject *resultobj;
9601 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9602 int arg2 ;
9603 int arg3 ;
9604 int arg4 ;
9605 int arg5 ;
9606 bool arg6 = (bool) True ;
9607 PyObject * obj0 = 0 ;
9608 PyObject * obj1 = 0 ;
9609 PyObject * obj2 = 0 ;
9610 PyObject * obj3 = 0 ;
9611 PyObject * obj4 = 0 ;
9612 PyObject * obj5 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619 {
9620 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 {
9624 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 {
9628 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 {
9632 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 if (obj5) {
9636 {
9637 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 }
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 Py_INCREF(Py_None); resultobj = Py_None;
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9656 PyObject *obj;
9657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9658 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9659 Py_INCREF(obj);
9660 return Py_BuildValue((char *)"");
9661 }
9662 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9663 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9664 return 1;
9665 }
9666
9667
9668 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9669 PyObject *pyobj;
9670
9671 {
9672 #if wxUSE_UNICODE
9673 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9674 #else
9675 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9676 #endif
9677 }
9678 return pyobj;
9679 }
9680
9681
9682 static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9683 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9684 return 1;
9685 }
9686
9687
9688 static PyObject *_wrap_SpinCtrlNameStr_get() {
9689 PyObject *pyobj;
9690
9691 {
9692 #if wxUSE_UNICODE
9693 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9694 #else
9695 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9696 #endif
9697 }
9698 return pyobj;
9699 }
9700
9701
9702 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9703 PyObject *resultobj;
9704 wxWindow *arg1 = (wxWindow *) 0 ;
9705 int arg2 = (int) -1 ;
9706 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9707 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9708 wxSize const &arg4_defvalue = wxDefaultSize ;
9709 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9710 long arg5 = (long) wxSP_HORIZONTAL ;
9711 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9712 wxString *arg6 = (wxString *) &arg6_defvalue ;
9713 wxSpinButton *result;
9714 wxPoint temp3 ;
9715 wxSize temp4 ;
9716 bool temp6 = False ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 PyObject * obj2 = 0 ;
9720 PyObject * obj3 = 0 ;
9721 PyObject * obj4 = 0 ;
9722 PyObject * obj5 = 0 ;
9723 char *kwnames[] = {
9724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9725 };
9726
9727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9729 if (obj1) {
9730 {
9731 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 }
9735 if (obj2) {
9736 {
9737 arg3 = &temp3;
9738 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9739 }
9740 }
9741 if (obj3) {
9742 {
9743 arg4 = &temp4;
9744 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9745 }
9746 }
9747 if (obj4) {
9748 {
9749 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 }
9753 if (obj5) {
9754 {
9755 arg6 = wxString_in_helper(obj5);
9756 if (arg6 == NULL) SWIG_fail;
9757 temp6 = True;
9758 }
9759 }
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9768 {
9769 if (temp6)
9770 delete arg6;
9771 }
9772 return resultobj;
9773 fail:
9774 {
9775 if (temp6)
9776 delete arg6;
9777 }
9778 return NULL;
9779 }
9780
9781
9782 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9783 PyObject *resultobj;
9784 wxSpinButton *result;
9785 char *kwnames[] = {
9786 NULL
9787 };
9788
9789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9790 {
9791 PyThreadState* __tstate = wxPyBeginAllowThreads();
9792 result = (wxSpinButton *)new wxSpinButton();
9793
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj;
9806 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9807 wxWindow *arg2 = (wxWindow *) 0 ;
9808 int arg3 = (int) -1 ;
9809 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9810 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9811 wxSize const &arg5_defvalue = wxDefaultSize ;
9812 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9813 long arg6 = (long) wxSP_HORIZONTAL ;
9814 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9815 wxString *arg7 = (wxString *) &arg7_defvalue ;
9816 bool result;
9817 wxPoint temp4 ;
9818 wxSize temp5 ;
9819 bool temp7 = False ;
9820 PyObject * obj0 = 0 ;
9821 PyObject * obj1 = 0 ;
9822 PyObject * obj2 = 0 ;
9823 PyObject * obj3 = 0 ;
9824 PyObject * obj4 = 0 ;
9825 PyObject * obj5 = 0 ;
9826 PyObject * obj6 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9834 if (obj2) {
9835 {
9836 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 }
9840 if (obj3) {
9841 {
9842 arg4 = &temp4;
9843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9844 }
9845 }
9846 if (obj4) {
9847 {
9848 arg5 = &temp5;
9849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9850 }
9851 }
9852 if (obj5) {
9853 {
9854 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 }
9858 if (obj6) {
9859 {
9860 arg7 = wxString_in_helper(obj6);
9861 if (arg7 == NULL) SWIG_fail;
9862 temp7 = True;
9863 }
9864 }
9865 {
9866 PyThreadState* __tstate = wxPyBeginAllowThreads();
9867 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9868
9869 wxPyEndAllowThreads(__tstate);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 }
9872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9873 {
9874 if (temp7)
9875 delete arg7;
9876 }
9877 return resultobj;
9878 fail:
9879 {
9880 if (temp7)
9881 delete arg7;
9882 }
9883 return NULL;
9884 }
9885
9886
9887 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9888 PyObject *resultobj;
9889 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9890 int result;
9891 PyObject * obj0 = 0 ;
9892 char *kwnames[] = {
9893 (char *) "self", NULL
9894 };
9895
9896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 result = (int)((wxSpinButton const *)arg1)->GetValue();
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 resultobj = SWIG_PyObj_FromInt((int)result);
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj;
9914 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9915 int result;
9916 PyObject * obj0 = 0 ;
9917 char *kwnames[] = {
9918 (char *) "self", NULL
9919 };
9920
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (int)((wxSpinButton const *)arg1)->GetMin();
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 resultobj = SWIG_PyObj_FromInt((int)result);
9931 return resultobj;
9932 fail:
9933 return NULL;
9934 }
9935
9936
9937 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9938 PyObject *resultobj;
9939 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9940 int result;
9941 PyObject * obj0 = 0 ;
9942 char *kwnames[] = {
9943 (char *) "self", NULL
9944 };
9945
9946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 result = (int)((wxSpinButton const *)arg1)->GetMax();
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 resultobj = SWIG_PyObj_FromInt((int)result);
9956 return resultobj;
9957 fail:
9958 return NULL;
9959 }
9960
9961
9962 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9963 PyObject *resultobj;
9964 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9965 int arg2 ;
9966 PyObject * obj0 = 0 ;
9967 PyObject * obj1 = 0 ;
9968 char *kwnames[] = {
9969 (char *) "self",(char *) "val", NULL
9970 };
9971
9972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9974 {
9975 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
9978 {
9979 PyThreadState* __tstate = wxPyBeginAllowThreads();
9980 (arg1)->SetValue(arg2);
9981
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 Py_INCREF(Py_None); resultobj = Py_None;
9986 return resultobj;
9987 fail:
9988 return NULL;
9989 }
9990
9991
9992 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj;
9994 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9995 int arg2 ;
9996 PyObject * obj0 = 0 ;
9997 PyObject * obj1 = 0 ;
9998 char *kwnames[] = {
9999 (char *) "self",(char *) "minVal", NULL
10000 };
10001
10002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10004 {
10005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 {
10009 PyThreadState* __tstate = wxPyBeginAllowThreads();
10010 (arg1)->SetMin(arg2);
10011
10012 wxPyEndAllowThreads(__tstate);
10013 if (PyErr_Occurred()) SWIG_fail;
10014 }
10015 Py_INCREF(Py_None); resultobj = Py_None;
10016 return resultobj;
10017 fail:
10018 return NULL;
10019 }
10020
10021
10022 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10023 PyObject *resultobj;
10024 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10025 int arg2 ;
10026 PyObject * obj0 = 0 ;
10027 PyObject * obj1 = 0 ;
10028 char *kwnames[] = {
10029 (char *) "self",(char *) "maxVal", NULL
10030 };
10031
10032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10034 {
10035 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 (arg1)->SetMax(arg2);
10041
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 Py_INCREF(Py_None); resultobj = Py_None;
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj;
10054 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10055 int arg2 ;
10056 int arg3 ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 PyObject * obj2 = 0 ;
10060 char *kwnames[] = {
10061 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10062 };
10063
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10066 {
10067 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10068 if (PyErr_Occurred()) SWIG_fail;
10069 }
10070 {
10071 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 (arg1)->SetRange(arg2,arg3);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 Py_INCREF(Py_None); resultobj = Py_None;
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10091 bool result;
10092 PyObject * obj0 = 0 ;
10093 char *kwnames[] = {
10094 (char *) "self", NULL
10095 };
10096
10097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10107 return resultobj;
10108 fail:
10109 return NULL;
10110 }
10111
10112
10113 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10114 PyObject *obj;
10115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10116 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10117 Py_INCREF(obj);
10118 return Py_BuildValue((char *)"");
10119 }
10120 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10121 PyObject *resultobj;
10122 wxWindow *arg1 = (wxWindow *) 0 ;
10123 int arg2 = (int) -1 ;
10124 wxString const &arg3_defvalue = wxPyEmptyString ;
10125 wxString *arg3 = (wxString *) &arg3_defvalue ;
10126 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10127 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10128 wxSize const &arg5_defvalue = wxDefaultSize ;
10129 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10130 long arg6 = (long) wxSP_ARROW_KEYS ;
10131 int arg7 = (int) 0 ;
10132 int arg8 = (int) 100 ;
10133 int arg9 = (int) 0 ;
10134 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10135 wxString *arg10 = (wxString *) &arg10_defvalue ;
10136 wxSpinCtrl *result;
10137 bool temp3 = False ;
10138 wxPoint temp4 ;
10139 wxSize temp5 ;
10140 bool temp10 = False ;
10141 PyObject * obj0 = 0 ;
10142 PyObject * obj1 = 0 ;
10143 PyObject * obj2 = 0 ;
10144 PyObject * obj3 = 0 ;
10145 PyObject * obj4 = 0 ;
10146 PyObject * obj5 = 0 ;
10147 PyObject * obj6 = 0 ;
10148 PyObject * obj7 = 0 ;
10149 PyObject * obj8 = 0 ;
10150 PyObject * obj9 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10157 if (obj1) {
10158 {
10159 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 }
10163 if (obj2) {
10164 {
10165 arg3 = wxString_in_helper(obj2);
10166 if (arg3 == NULL) SWIG_fail;
10167 temp3 = True;
10168 }
10169 }
10170 if (obj3) {
10171 {
10172 arg4 = &temp4;
10173 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10174 }
10175 }
10176 if (obj4) {
10177 {
10178 arg5 = &temp5;
10179 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10180 }
10181 }
10182 if (obj5) {
10183 {
10184 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 }
10187 }
10188 if (obj6) {
10189 {
10190 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 }
10194 if (obj7) {
10195 {
10196 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 }
10200 if (obj8) {
10201 {
10202 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 }
10206 if (obj9) {
10207 {
10208 arg10 = wxString_in_helper(obj9);
10209 if (arg10 == NULL) SWIG_fail;
10210 temp10 = True;
10211 }
10212 }
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10221 {
10222 if (temp3)
10223 delete arg3;
10224 }
10225 {
10226 if (temp10)
10227 delete arg10;
10228 }
10229 return resultobj;
10230 fail:
10231 {
10232 if (temp3)
10233 delete arg3;
10234 }
10235 {
10236 if (temp10)
10237 delete arg10;
10238 }
10239 return NULL;
10240 }
10241
10242
10243 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj;
10245 wxSpinCtrl *result;
10246 char *kwnames[] = {
10247 NULL
10248 };
10249
10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 result = (wxSpinCtrl *)new wxSpinCtrl();
10254
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10259 return resultobj;
10260 fail:
10261 return NULL;
10262 }
10263
10264
10265 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10266 PyObject *resultobj;
10267 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10268 wxWindow *arg2 = (wxWindow *) 0 ;
10269 int arg3 = (int) -1 ;
10270 wxString const &arg4_defvalue = wxPyEmptyString ;
10271 wxString *arg4 = (wxString *) &arg4_defvalue ;
10272 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10273 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10274 wxSize const &arg6_defvalue = wxDefaultSize ;
10275 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10276 long arg7 = (long) wxSP_ARROW_KEYS ;
10277 int arg8 = (int) 0 ;
10278 int arg9 = (int) 100 ;
10279 int arg10 = (int) 0 ;
10280 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10281 wxString *arg11 = (wxString *) &arg11_defvalue ;
10282 bool result;
10283 bool temp4 = False ;
10284 wxPoint temp5 ;
10285 wxSize temp6 ;
10286 bool temp11 = False ;
10287 PyObject * obj0 = 0 ;
10288 PyObject * obj1 = 0 ;
10289 PyObject * obj2 = 0 ;
10290 PyObject * obj3 = 0 ;
10291 PyObject * obj4 = 0 ;
10292 PyObject * obj5 = 0 ;
10293 PyObject * obj6 = 0 ;
10294 PyObject * obj7 = 0 ;
10295 PyObject * obj8 = 0 ;
10296 PyObject * obj9 = 0 ;
10297 PyObject * obj10 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10300 };
10301
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10305 if (obj2) {
10306 {
10307 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 }
10311 if (obj3) {
10312 {
10313 arg4 = wxString_in_helper(obj3);
10314 if (arg4 == NULL) SWIG_fail;
10315 temp4 = True;
10316 }
10317 }
10318 if (obj4) {
10319 {
10320 arg5 = &temp5;
10321 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10322 }
10323 }
10324 if (obj5) {
10325 {
10326 arg6 = &temp6;
10327 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10328 }
10329 }
10330 if (obj6) {
10331 {
10332 arg7 = (long) SWIG_PyObj_AsLong(obj6);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 }
10336 if (obj7) {
10337 {
10338 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 }
10342 if (obj8) {
10343 {
10344 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 }
10348 if (obj9) {
10349 {
10350 arg10 = (int) SWIG_PyObj_AsInt(obj9);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 }
10354 if (obj10) {
10355 {
10356 arg11 = wxString_in_helper(obj10);
10357 if (arg11 == NULL) SWIG_fail;
10358 temp11 = True;
10359 }
10360 }
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10369 {
10370 if (temp4)
10371 delete arg4;
10372 }
10373 {
10374 if (temp11)
10375 delete arg11;
10376 }
10377 return resultobj;
10378 fail:
10379 {
10380 if (temp4)
10381 delete arg4;
10382 }
10383 {
10384 if (temp11)
10385 delete arg11;
10386 }
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10392 PyObject *resultobj;
10393 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10394 int result;
10395 PyObject * obj0 = 0 ;
10396 char *kwnames[] = {
10397 (char *) "self", NULL
10398 };
10399
10400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 resultobj = SWIG_PyObj_FromInt((int)result);
10410 return resultobj;
10411 fail:
10412 return NULL;
10413 }
10414
10415
10416 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj;
10418 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10419 int arg2 ;
10420 PyObject * obj0 = 0 ;
10421 PyObject * obj1 = 0 ;
10422 char *kwnames[] = {
10423 (char *) "self",(char *) "value", NULL
10424 };
10425
10426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10428 {
10429 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10430 if (PyErr_Occurred()) SWIG_fail;
10431 }
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 (arg1)->SetValue(arg2);
10435
10436 wxPyEndAllowThreads(__tstate);
10437 if (PyErr_Occurred()) SWIG_fail;
10438 }
10439 Py_INCREF(Py_None); resultobj = Py_None;
10440 return resultobj;
10441 fail:
10442 return NULL;
10443 }
10444
10445
10446 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10447 PyObject *resultobj;
10448 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10449 wxString *arg2 = 0 ;
10450 bool temp2 = False ;
10451 PyObject * obj0 = 0 ;
10452 PyObject * obj1 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self",(char *) "text", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10459 {
10460 arg2 = wxString_in_helper(obj1);
10461 if (arg2 == NULL) SWIG_fail;
10462 temp2 = True;
10463 }
10464 {
10465 PyThreadState* __tstate = wxPyBeginAllowThreads();
10466 (arg1)->SetValue((wxString const &)*arg2);
10467
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 Py_INCREF(Py_None); resultobj = Py_None;
10472 {
10473 if (temp2)
10474 delete arg2;
10475 }
10476 return resultobj;
10477 fail:
10478 {
10479 if (temp2)
10480 delete arg2;
10481 }
10482 return NULL;
10483 }
10484
10485
10486 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10487 PyObject *resultobj;
10488 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10489 int arg2 ;
10490 int arg3 ;
10491 PyObject * obj0 = 0 ;
10492 PyObject * obj1 = 0 ;
10493 PyObject * obj2 = 0 ;
10494 char *kwnames[] = {
10495 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10496 };
10497
10498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10500 {
10501 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 {
10505 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 {
10509 PyThreadState* __tstate = wxPyBeginAllowThreads();
10510 (arg1)->SetRange(arg2,arg3);
10511
10512 wxPyEndAllowThreads(__tstate);
10513 if (PyErr_Occurred()) SWIG_fail;
10514 }
10515 Py_INCREF(Py_None); resultobj = Py_None;
10516 return resultobj;
10517 fail:
10518 return NULL;
10519 }
10520
10521
10522 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10523 PyObject *resultobj;
10524 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10525 int result;
10526 PyObject * obj0 = 0 ;
10527 char *kwnames[] = {
10528 (char *) "self", NULL
10529 };
10530
10531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10536
10537 wxPyEndAllowThreads(__tstate);
10538 if (PyErr_Occurred()) SWIG_fail;
10539 }
10540 resultobj = SWIG_PyObj_FromInt((int)result);
10541 return resultobj;
10542 fail:
10543 return NULL;
10544 }
10545
10546
10547 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10548 PyObject *resultobj;
10549 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10550 int result;
10551 PyObject * obj0 = 0 ;
10552 char *kwnames[] = {
10553 (char *) "self", NULL
10554 };
10555
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10561
10562 wxPyEndAllowThreads(__tstate);
10563 if (PyErr_Occurred()) SWIG_fail;
10564 }
10565 resultobj = SWIG_PyObj_FromInt((int)result);
10566 return resultobj;
10567 fail:
10568 return NULL;
10569 }
10570
10571
10572 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj;
10574 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10575 long arg2 ;
10576 long arg3 ;
10577 PyObject * obj0 = 0 ;
10578 PyObject * obj1 = 0 ;
10579 PyObject * obj2 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self",(char *) "from",(char *) "to", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10586 {
10587 arg2 = (long) SWIG_PyObj_AsLong(obj1);
10588 if (PyErr_Occurred()) SWIG_fail;
10589 }
10590 {
10591 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 (arg1)->SetSelection(arg2,arg3);
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 Py_INCREF(Py_None); resultobj = Py_None;
10602 return resultobj;
10603 fail:
10604 return NULL;
10605 }
10606
10607
10608 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10609 PyObject *obj;
10610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10611 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10612 Py_INCREF(obj);
10613 return Py_BuildValue((char *)"");
10614 }
10615 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10618 int arg2 = (int) 0 ;
10619 wxSpinEvent *result;
10620 PyObject * obj0 = 0 ;
10621 PyObject * obj1 = 0 ;
10622 char *kwnames[] = {
10623 (char *) "commandType",(char *) "winid", NULL
10624 };
10625
10626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10627 if (obj0) {
10628 {
10629 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 }
10633 if (obj1) {
10634 {
10635 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 }
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
10647 return resultobj;
10648 fail:
10649 return NULL;
10650 }
10651
10652
10653 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10654 PyObject *resultobj;
10655 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10656 int result;
10657 PyObject * obj0 = 0 ;
10658 char *kwnames[] = {
10659 (char *) "self", NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 resultobj = SWIG_PyObj_FromInt((int)result);
10672 return resultobj;
10673 fail:
10674 return NULL;
10675 }
10676
10677
10678 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10679 PyObject *resultobj;
10680 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10681 int arg2 ;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 char *kwnames[] = {
10685 (char *) "self",(char *) "pos", NULL
10686 };
10687
10688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10690 {
10691 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 (arg1)->SetPosition(arg2);
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 Py_INCREF(Py_None); resultobj = Py_None;
10702 return resultobj;
10703 fail:
10704 return NULL;
10705 }
10706
10707
10708 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10709 PyObject *obj;
10710 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10711 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10712 Py_INCREF(obj);
10713 return Py_BuildValue((char *)"");
10714 }
10715 static int _wrap_RadioBoxNameStr_set(PyObject *) {
10716 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10717 return 1;
10718 }
10719
10720
10721 static PyObject *_wrap_RadioBoxNameStr_get() {
10722 PyObject *pyobj;
10723
10724 {
10725 #if wxUSE_UNICODE
10726 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10727 #else
10728 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10729 #endif
10730 }
10731 return pyobj;
10732 }
10733
10734
10735 static int _wrap_RadioButtonNameStr_set(PyObject *) {
10736 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10737 return 1;
10738 }
10739
10740
10741 static PyObject *_wrap_RadioButtonNameStr_get() {
10742 PyObject *pyobj;
10743
10744 {
10745 #if wxUSE_UNICODE
10746 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10747 #else
10748 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10749 #endif
10750 }
10751 return pyobj;
10752 }
10753
10754
10755 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10756 PyObject *resultobj;
10757 wxWindow *arg1 = (wxWindow *) 0 ;
10758 int arg2 ;
10759 wxString *arg3 = 0 ;
10760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10762 wxSize const &arg5_defvalue = wxDefaultSize ;
10763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10764 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10765 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10766 int arg7 = (int) 0 ;
10767 long arg8 = (long) wxRA_HORIZONTAL ;
10768 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10769 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10770 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10771 wxString *arg10 = (wxString *) &arg10_defvalue ;
10772 wxRadioBox *result;
10773 bool temp3 = False ;
10774 wxPoint temp4 ;
10775 wxSize temp5 ;
10776 bool temp10 = False ;
10777 PyObject * obj0 = 0 ;
10778 PyObject * obj1 = 0 ;
10779 PyObject * obj2 = 0 ;
10780 PyObject * obj3 = 0 ;
10781 PyObject * obj4 = 0 ;
10782 PyObject * obj5 = 0 ;
10783 PyObject * obj6 = 0 ;
10784 PyObject * obj7 = 0 ;
10785 PyObject * obj8 = 0 ;
10786 PyObject * obj9 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10793 {
10794 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10795 if (PyErr_Occurred()) SWIG_fail;
10796 }
10797 {
10798 arg3 = wxString_in_helper(obj2);
10799 if (arg3 == NULL) SWIG_fail;
10800 temp3 = True;
10801 }
10802 if (obj3) {
10803 {
10804 arg4 = &temp4;
10805 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10806 }
10807 }
10808 if (obj4) {
10809 {
10810 arg5 = &temp5;
10811 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10812 }
10813 }
10814 if (obj5) {
10815 {
10816 if (! PySequence_Check(obj5)) {
10817 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10818 SWIG_fail;
10819 }
10820 arg6 = new wxArrayString;
10821 int i, len=PySequence_Length(obj5);
10822 for (i=0; i<len; i++) {
10823 PyObject* item = PySequence_GetItem(obj5, i);
10824 #if wxUSE_UNICODE
10825 PyObject* str = PyObject_Unicode(item);
10826 #else
10827 PyObject* str = PyObject_Str(item);
10828 #endif
10829 arg6->Add(Py2wxString(str));
10830 Py_DECREF(item);
10831 Py_DECREF(str);
10832 }
10833 }
10834 }
10835 if (obj6) {
10836 {
10837 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 }
10841 if (obj7) {
10842 {
10843 arg8 = (long) SWIG_PyObj_AsLong(obj7);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 }
10847 if (obj8) {
10848 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10849 if (arg9 == NULL) {
10850 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10851 }
10852 }
10853 if (obj9) {
10854 {
10855 arg10 = wxString_in_helper(obj9);
10856 if (arg10 == NULL) SWIG_fail;
10857 temp10 = True;
10858 }
10859 }
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10868 {
10869 if (temp3)
10870 delete arg3;
10871 }
10872 {
10873 if (arg6) delete arg6;
10874 }
10875 {
10876 if (temp10)
10877 delete arg10;
10878 }
10879 return resultobj;
10880 fail:
10881 {
10882 if (temp3)
10883 delete arg3;
10884 }
10885 {
10886 if (arg6) delete arg6;
10887 }
10888 {
10889 if (temp10)
10890 delete arg10;
10891 }
10892 return NULL;
10893 }
10894
10895
10896 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10897 PyObject *resultobj;
10898 wxRadioBox *result;
10899 char *kwnames[] = {
10900 NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10904 {
10905 PyThreadState* __tstate = wxPyBeginAllowThreads();
10906 result = (wxRadioBox *)new wxRadioBox();
10907
10908 wxPyEndAllowThreads(__tstate);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10912 return resultobj;
10913 fail:
10914 return NULL;
10915 }
10916
10917
10918 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10919 PyObject *resultobj;
10920 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10921 wxWindow *arg2 = (wxWindow *) 0 ;
10922 int arg3 ;
10923 wxString *arg4 = 0 ;
10924 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10925 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10926 wxSize const &arg6_defvalue = wxDefaultSize ;
10927 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10928 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
10929 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
10930 int arg8 = (int) 0 ;
10931 long arg9 = (long) wxRA_HORIZONTAL ;
10932 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10933 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10934 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
10935 wxString *arg11 = (wxString *) &arg11_defvalue ;
10936 bool result;
10937 bool temp4 = False ;
10938 wxPoint temp5 ;
10939 wxSize temp6 ;
10940 bool temp11 = False ;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 PyObject * obj2 = 0 ;
10944 PyObject * obj3 = 0 ;
10945 PyObject * obj4 = 0 ;
10946 PyObject * obj5 = 0 ;
10947 PyObject * obj6 = 0 ;
10948 PyObject * obj7 = 0 ;
10949 PyObject * obj8 = 0 ;
10950 PyObject * obj9 = 0 ;
10951 PyObject * obj10 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10959 {
10960 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 {
10964 arg4 = wxString_in_helper(obj3);
10965 if (arg4 == NULL) SWIG_fail;
10966 temp4 = True;
10967 }
10968 if (obj4) {
10969 {
10970 arg5 = &temp5;
10971 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10972 }
10973 }
10974 if (obj5) {
10975 {
10976 arg6 = &temp6;
10977 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10978 }
10979 }
10980 if (obj6) {
10981 {
10982 if (! PySequence_Check(obj6)) {
10983 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10984 SWIG_fail;
10985 }
10986 arg7 = new wxArrayString;
10987 int i, len=PySequence_Length(obj6);
10988 for (i=0; i<len; i++) {
10989 PyObject* item = PySequence_GetItem(obj6, i);
10990 #if wxUSE_UNICODE
10991 PyObject* str = PyObject_Unicode(item);
10992 #else
10993 PyObject* str = PyObject_Str(item);
10994 #endif
10995 arg7->Add(Py2wxString(str));
10996 Py_DECREF(item);
10997 Py_DECREF(str);
10998 }
10999 }
11000 }
11001 if (obj7) {
11002 {
11003 arg8 = (int) SWIG_PyObj_AsInt(obj7);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 }
11007 if (obj8) {
11008 {
11009 arg9 = (long) SWIG_PyObj_AsLong(obj8);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 }
11013 if (obj9) {
11014 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11015 if (arg10 == NULL) {
11016 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11017 }
11018 }
11019 if (obj10) {
11020 {
11021 arg11 = wxString_in_helper(obj10);
11022 if (arg11 == NULL) SWIG_fail;
11023 temp11 = True;
11024 }
11025 }
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
11029
11030 wxPyEndAllowThreads(__tstate);
11031 if (PyErr_Occurred()) SWIG_fail;
11032 }
11033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11034 {
11035 if (temp4)
11036 delete arg4;
11037 }
11038 {
11039 if (arg7) delete arg7;
11040 }
11041 {
11042 if (temp11)
11043 delete arg11;
11044 }
11045 return resultobj;
11046 fail:
11047 {
11048 if (temp4)
11049 delete arg4;
11050 }
11051 {
11052 if (arg7) delete arg7;
11053 }
11054 {
11055 if (temp11)
11056 delete arg11;
11057 }
11058 return NULL;
11059 }
11060
11061
11062 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11063 PyObject *resultobj;
11064 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11065 int arg2 ;
11066 PyObject * obj0 = 0 ;
11067 PyObject * obj1 = 0 ;
11068 char *kwnames[] = {
11069 (char *) "self",(char *) "n", NULL
11070 };
11071
11072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11074 {
11075 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 {
11079 PyThreadState* __tstate = wxPyBeginAllowThreads();
11080 (arg1)->SetSelection(arg2);
11081
11082 wxPyEndAllowThreads(__tstate);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
11085 Py_INCREF(Py_None); resultobj = Py_None;
11086 return resultobj;
11087 fail:
11088 return NULL;
11089 }
11090
11091
11092 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11093 PyObject *resultobj;
11094 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11095 int result;
11096 PyObject * obj0 = 0 ;
11097 char *kwnames[] = {
11098 (char *) "self", NULL
11099 };
11100
11101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11106
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 resultobj = SWIG_PyObj_FromInt((int)result);
11111 return resultobj;
11112 fail:
11113 return NULL;
11114 }
11115
11116
11117 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11118 PyObject *resultobj;
11119 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11120 wxString result;
11121 PyObject * obj0 = 0 ;
11122 char *kwnames[] = {
11123 (char *) "self", NULL
11124 };
11125
11126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11128 {
11129 PyThreadState* __tstate = wxPyBeginAllowThreads();
11130 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11131
11132 wxPyEndAllowThreads(__tstate);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 }
11135 {
11136 #if wxUSE_UNICODE
11137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11138 #else
11139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11140 #endif
11141 }
11142 return resultobj;
11143 fail:
11144 return NULL;
11145 }
11146
11147
11148 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj;
11150 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11151 wxString *arg2 = 0 ;
11152 bool result;
11153 bool temp2 = False ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 char *kwnames[] = {
11157 (char *) "self",(char *) "s", NULL
11158 };
11159
11160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11162 {
11163 arg2 = wxString_in_helper(obj1);
11164 if (arg2 == NULL) SWIG_fail;
11165 temp2 = True;
11166 }
11167 {
11168 PyThreadState* __tstate = wxPyBeginAllowThreads();
11169 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11170
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11175 {
11176 if (temp2)
11177 delete arg2;
11178 }
11179 return resultobj;
11180 fail:
11181 {
11182 if (temp2)
11183 delete arg2;
11184 }
11185 return NULL;
11186 }
11187
11188
11189 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11190 PyObject *resultobj;
11191 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11192 int result;
11193 PyObject * obj0 = 0 ;
11194 char *kwnames[] = {
11195 (char *) "self", NULL
11196 };
11197
11198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = (int)((wxRadioBox const *)arg1)->GetCount();
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 resultobj = SWIG_PyObj_FromInt((int)result);
11208 return resultobj;
11209 fail:
11210 return NULL;
11211 }
11212
11213
11214 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject *resultobj;
11216 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11217 wxString *arg2 = 0 ;
11218 int result;
11219 bool temp2 = False ;
11220 PyObject * obj0 = 0 ;
11221 PyObject * obj1 = 0 ;
11222 char *kwnames[] = {
11223 (char *) "self",(char *) "s", NULL
11224 };
11225
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11228 {
11229 arg2 = wxString_in_helper(obj1);
11230 if (arg2 == NULL) SWIG_fail;
11231 temp2 = True;
11232 }
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 resultobj = SWIG_PyObj_FromInt((int)result);
11241 {
11242 if (temp2)
11243 delete arg2;
11244 }
11245 return resultobj;
11246 fail:
11247 {
11248 if (temp2)
11249 delete arg2;
11250 }
11251 return NULL;
11252 }
11253
11254
11255 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11256 PyObject *resultobj;
11257 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11258 int arg2 ;
11259 wxString result;
11260 PyObject * obj0 = 0 ;
11261 PyObject * obj1 = 0 ;
11262 char *kwnames[] = {
11263 (char *) "self",(char *) "n", NULL
11264 };
11265
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11268 {
11269 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11275
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 {
11280 #if wxUSE_UNICODE
11281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11282 #else
11283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11284 #endif
11285 }
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11295 int arg2 ;
11296 wxString *arg3 = 0 ;
11297 bool temp3 = False ;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
11300 PyObject * obj2 = 0 ;
11301 char *kwnames[] = {
11302 (char *) "self",(char *) "n",(char *) "label", NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11307 {
11308 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 {
11312 arg3 = wxString_in_helper(obj2);
11313 if (arg3 == NULL) SWIG_fail;
11314 temp3 = True;
11315 }
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 (arg1)->SetString(arg2,(wxString const &)*arg3);
11319
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 Py_INCREF(Py_None); resultobj = Py_None;
11324 {
11325 if (temp3)
11326 delete arg3;
11327 }
11328 return resultobj;
11329 fail:
11330 {
11331 if (temp3)
11332 delete arg3;
11333 }
11334 return NULL;
11335 }
11336
11337
11338 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11341 int arg2 ;
11342 bool arg3 = (bool) True ;
11343 PyObject * obj0 = 0 ;
11344 PyObject * obj1 = 0 ;
11345 PyObject * obj2 = 0 ;
11346 char *kwnames[] = {
11347 (char *) "self",(char *) "n",(char *) "enable", NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11352 {
11353 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 if (obj2) {
11357 {
11358 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 }
11362 {
11363 PyThreadState* __tstate = wxPyBeginAllowThreads();
11364 (arg1)->Enable(arg2,arg3);
11365
11366 wxPyEndAllowThreads(__tstate);
11367 if (PyErr_Occurred()) SWIG_fail;
11368 }
11369 Py_INCREF(Py_None); resultobj = Py_None;
11370 return resultobj;
11371 fail:
11372 return NULL;
11373 }
11374
11375
11376 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11377 PyObject *resultobj;
11378 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11379 int arg2 ;
11380 bool arg3 = (bool) True ;
11381 PyObject * obj0 = 0 ;
11382 PyObject * obj1 = 0 ;
11383 PyObject * obj2 = 0 ;
11384 char *kwnames[] = {
11385 (char *) "self",(char *) "n",(char *) "show", NULL
11386 };
11387
11388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11390 {
11391 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 if (obj2) {
11395 {
11396 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 }
11400 {
11401 PyThreadState* __tstate = wxPyBeginAllowThreads();
11402 (arg1)->Show(arg2,arg3);
11403
11404 wxPyEndAllowThreads(__tstate);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 }
11407 Py_INCREF(Py_None); resultobj = Py_None;
11408 return resultobj;
11409 fail:
11410 return NULL;
11411 }
11412
11413
11414 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11417 int result;
11418 PyObject * obj0 = 0 ;
11419 char *kwnames[] = {
11420 (char *) "self", NULL
11421 };
11422
11423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11425 {
11426 PyThreadState* __tstate = wxPyBeginAllowThreads();
11427 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11428
11429 wxPyEndAllowThreads(__tstate);
11430 if (PyErr_Occurred()) SWIG_fail;
11431 }
11432 resultobj = SWIG_PyObj_FromInt((int)result);
11433 return resultobj;
11434 fail:
11435 return NULL;
11436 }
11437
11438
11439 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11440 PyObject *resultobj;
11441 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11442 int result;
11443 PyObject * obj0 = 0 ;
11444 char *kwnames[] = {
11445 (char *) "self", NULL
11446 };
11447
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
11457 resultobj = SWIG_PyObj_FromInt((int)result);
11458 return resultobj;
11459 fail:
11460 return NULL;
11461 }
11462
11463
11464 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11465 PyObject *resultobj;
11466 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11467 int arg2 ;
11468 int arg3 ;
11469 long arg4 ;
11470 int result;
11471 PyObject * obj0 = 0 ;
11472 PyObject * obj1 = 0 ;
11473 PyObject * obj2 = 0 ;
11474 PyObject * obj3 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11481 {
11482 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 {
11486 arg3 = (wxDirection) SWIG_PyObj_AsInt(obj2);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 {
11490 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11496
11497 wxPyEndAllowThreads(__tstate);
11498 if (PyErr_Occurred()) SWIG_fail;
11499 }
11500 resultobj = SWIG_PyObj_FromInt((int)result);
11501 return resultobj;
11502 fail:
11503 return NULL;
11504 }
11505
11506
11507 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11508 PyObject *obj;
11509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11510 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11511 Py_INCREF(obj);
11512 return Py_BuildValue((char *)"");
11513 }
11514 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxWindow *arg1 = (wxWindow *) 0 ;
11517 int arg2 ;
11518 wxString *arg3 = 0 ;
11519 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11520 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11521 wxSize const &arg5_defvalue = wxDefaultSize ;
11522 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11523 long arg6 = (long) 0 ;
11524 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11525 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11526 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11527 wxString *arg8 = (wxString *) &arg8_defvalue ;
11528 wxRadioButton *result;
11529 bool temp3 = False ;
11530 wxPoint temp4 ;
11531 wxSize temp5 ;
11532 bool temp8 = False ;
11533 PyObject * obj0 = 0 ;
11534 PyObject * obj1 = 0 ;
11535 PyObject * obj2 = 0 ;
11536 PyObject * obj3 = 0 ;
11537 PyObject * obj4 = 0 ;
11538 PyObject * obj5 = 0 ;
11539 PyObject * obj6 = 0 ;
11540 PyObject * obj7 = 0 ;
11541 char *kwnames[] = {
11542 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11543 };
11544
11545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11547 {
11548 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
11551 {
11552 arg3 = wxString_in_helper(obj2);
11553 if (arg3 == NULL) SWIG_fail;
11554 temp3 = True;
11555 }
11556 if (obj3) {
11557 {
11558 arg4 = &temp4;
11559 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11560 }
11561 }
11562 if (obj4) {
11563 {
11564 arg5 = &temp5;
11565 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11566 }
11567 }
11568 if (obj5) {
11569 {
11570 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11571 if (PyErr_Occurred()) SWIG_fail;
11572 }
11573 }
11574 if (obj6) {
11575 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11576 if (arg7 == NULL) {
11577 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11578 }
11579 }
11580 if (obj7) {
11581 {
11582 arg8 = wxString_in_helper(obj7);
11583 if (arg8 == NULL) SWIG_fail;
11584 temp8 = True;
11585 }
11586 }
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11590
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11595 {
11596 if (temp3)
11597 delete arg3;
11598 }
11599 {
11600 if (temp8)
11601 delete arg8;
11602 }
11603 return resultobj;
11604 fail:
11605 {
11606 if (temp3)
11607 delete arg3;
11608 }
11609 {
11610 if (temp8)
11611 delete arg8;
11612 }
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxRadioButton *result;
11620 char *kwnames[] = {
11621 NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 result = (wxRadioButton *)new wxRadioButton();
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11633 return resultobj;
11634 fail:
11635 return NULL;
11636 }
11637
11638
11639 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11642 wxWindow *arg2 = (wxWindow *) 0 ;
11643 int arg3 ;
11644 wxString *arg4 = 0 ;
11645 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11646 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11647 wxSize const &arg6_defvalue = wxDefaultSize ;
11648 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11649 long arg7 = (long) 0 ;
11650 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11651 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11652 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11653 wxString *arg9 = (wxString *) &arg9_defvalue ;
11654 bool result;
11655 bool temp4 = False ;
11656 wxPoint temp5 ;
11657 wxSize temp6 ;
11658 bool temp9 = False ;
11659 PyObject * obj0 = 0 ;
11660 PyObject * obj1 = 0 ;
11661 PyObject * obj2 = 0 ;
11662 PyObject * obj3 = 0 ;
11663 PyObject * obj4 = 0 ;
11664 PyObject * obj5 = 0 ;
11665 PyObject * obj6 = 0 ;
11666 PyObject * obj7 = 0 ;
11667 PyObject * obj8 = 0 ;
11668 char *kwnames[] = {
11669 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11670 };
11671
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11675 {
11676 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11677 if (PyErr_Occurred()) SWIG_fail;
11678 }
11679 {
11680 arg4 = wxString_in_helper(obj3);
11681 if (arg4 == NULL) SWIG_fail;
11682 temp4 = True;
11683 }
11684 if (obj4) {
11685 {
11686 arg5 = &temp5;
11687 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11688 }
11689 }
11690 if (obj5) {
11691 {
11692 arg6 = &temp6;
11693 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11694 }
11695 }
11696 if (obj6) {
11697 {
11698 arg7 = (long) SWIG_PyObj_AsLong(obj6);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 }
11702 if (obj7) {
11703 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11704 if (arg8 == NULL) {
11705 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11706 }
11707 }
11708 if (obj8) {
11709 {
11710 arg9 = wxString_in_helper(obj8);
11711 if (arg9 == NULL) SWIG_fail;
11712 temp9 = True;
11713 }
11714 }
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11718
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11723 {
11724 if (temp4)
11725 delete arg4;
11726 }
11727 {
11728 if (temp9)
11729 delete arg9;
11730 }
11731 return resultobj;
11732 fail:
11733 {
11734 if (temp4)
11735 delete arg4;
11736 }
11737 {
11738 if (temp9)
11739 delete arg9;
11740 }
11741 return NULL;
11742 }
11743
11744
11745 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11746 PyObject *resultobj;
11747 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11748 bool result;
11749 PyObject * obj0 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (bool)(arg1)->GetValue();
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11764 return resultobj;
11765 fail:
11766 return NULL;
11767 }
11768
11769
11770 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj;
11772 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11773 bool arg2 ;
11774 PyObject * obj0 = 0 ;
11775 PyObject * obj1 = 0 ;
11776 char *kwnames[] = {
11777 (char *) "self",(char *) "value", NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11782 {
11783 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 {
11787 PyThreadState* __tstate = wxPyBeginAllowThreads();
11788 (arg1)->SetValue(arg2);
11789
11790 wxPyEndAllowThreads(__tstate);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 }
11793 Py_INCREF(Py_None); resultobj = Py_None;
11794 return resultobj;
11795 fail:
11796 return NULL;
11797 }
11798
11799
11800 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11801 PyObject *obj;
11802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11803 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11804 Py_INCREF(obj);
11805 return Py_BuildValue((char *)"");
11806 }
11807 static int _wrap_SliderNameStr_set(PyObject *) {
11808 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11809 return 1;
11810 }
11811
11812
11813 static PyObject *_wrap_SliderNameStr_get() {
11814 PyObject *pyobj;
11815
11816 {
11817 #if wxUSE_UNICODE
11818 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11819 #else
11820 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11821 #endif
11822 }
11823 return pyobj;
11824 }
11825
11826
11827 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj;
11829 wxWindow *arg1 = (wxWindow *) 0 ;
11830 int arg2 ;
11831 int arg3 ;
11832 int arg4 ;
11833 int arg5 ;
11834 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11835 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11836 wxSize const &arg7_defvalue = wxDefaultSize ;
11837 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11838 long arg8 = (long) wxSL_HORIZONTAL ;
11839 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11840 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11841 wxString const &arg10_defvalue = wxPySliderNameStr ;
11842 wxString *arg10 = (wxString *) &arg10_defvalue ;
11843 wxSlider *result;
11844 wxPoint temp6 ;
11845 wxSize temp7 ;
11846 bool temp10 = False ;
11847 PyObject * obj0 = 0 ;
11848 PyObject * obj1 = 0 ;
11849 PyObject * obj2 = 0 ;
11850 PyObject * obj3 = 0 ;
11851 PyObject * obj4 = 0 ;
11852 PyObject * obj5 = 0 ;
11853 PyObject * obj6 = 0 ;
11854 PyObject * obj7 = 0 ;
11855 PyObject * obj8 = 0 ;
11856 PyObject * obj9 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11863 {
11864 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 {
11868 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 {
11872 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
11875 {
11876 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 if (obj5) {
11880 {
11881 arg6 = &temp6;
11882 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11883 }
11884 }
11885 if (obj6) {
11886 {
11887 arg7 = &temp7;
11888 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11889 }
11890 }
11891 if (obj7) {
11892 {
11893 arg8 = (long) SWIG_PyObj_AsLong(obj7);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 }
11897 if (obj8) {
11898 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11899 if (arg9 == NULL) {
11900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11901 }
11902 }
11903 if (obj9) {
11904 {
11905 arg10 = wxString_in_helper(obj9);
11906 if (arg10 == NULL) SWIG_fail;
11907 temp10 = True;
11908 }
11909 }
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11913
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11918 {
11919 if (temp10)
11920 delete arg10;
11921 }
11922 return resultobj;
11923 fail:
11924 {
11925 if (temp10)
11926 delete arg10;
11927 }
11928 return NULL;
11929 }
11930
11931
11932 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj;
11934 wxSlider *result;
11935 char *kwnames[] = {
11936 NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 result = (wxSlider *)new wxSlider();
11943
11944 wxPyEndAllowThreads(__tstate);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11948 return resultobj;
11949 fail:
11950 return NULL;
11951 }
11952
11953
11954 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj;
11956 wxSlider *arg1 = (wxSlider *) 0 ;
11957 wxWindow *arg2 = (wxWindow *) 0 ;
11958 int arg3 ;
11959 int arg4 ;
11960 int arg5 ;
11961 int arg6 ;
11962 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11963 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11964 wxSize const &arg8_defvalue = wxDefaultSize ;
11965 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
11966 long arg9 = (long) wxSL_HORIZONTAL ;
11967 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11968 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11969 wxString const &arg11_defvalue = wxPySliderNameStr ;
11970 wxString *arg11 = (wxString *) &arg11_defvalue ;
11971 bool result;
11972 wxPoint temp7 ;
11973 wxSize temp8 ;
11974 bool temp11 = False ;
11975 PyObject * obj0 = 0 ;
11976 PyObject * obj1 = 0 ;
11977 PyObject * obj2 = 0 ;
11978 PyObject * obj3 = 0 ;
11979 PyObject * obj4 = 0 ;
11980 PyObject * obj5 = 0 ;
11981 PyObject * obj6 = 0 ;
11982 PyObject * obj7 = 0 ;
11983 PyObject * obj8 = 0 ;
11984 PyObject * obj9 = 0 ;
11985 PyObject * obj10 = 0 ;
11986 char *kwnames[] = {
11987 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11988 };
11989
11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11993 {
11994 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11995 if (PyErr_Occurred()) SWIG_fail;
11996 }
11997 {
11998 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11999 if (PyErr_Occurred()) SWIG_fail;
12000 }
12001 {
12002 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 }
12005 {
12006 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 if (obj6) {
12010 {
12011 arg7 = &temp7;
12012 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12013 }
12014 }
12015 if (obj7) {
12016 {
12017 arg8 = &temp8;
12018 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12019 }
12020 }
12021 if (obj8) {
12022 {
12023 arg9 = (long) SWIG_PyObj_AsLong(obj8);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 }
12027 if (obj9) {
12028 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12029 if (arg10 == NULL) {
12030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12031 }
12032 }
12033 if (obj10) {
12034 {
12035 arg11 = wxString_in_helper(obj10);
12036 if (arg11 == NULL) SWIG_fail;
12037 temp11 = True;
12038 }
12039 }
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12048 {
12049 if (temp11)
12050 delete arg11;
12051 }
12052 return resultobj;
12053 fail:
12054 {
12055 if (temp11)
12056 delete arg11;
12057 }
12058 return NULL;
12059 }
12060
12061
12062 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj;
12064 wxSlider *arg1 = (wxSlider *) 0 ;
12065 int result;
12066 PyObject * obj0 = 0 ;
12067 char *kwnames[] = {
12068 (char *) "self", NULL
12069 };
12070
12071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12073 {
12074 PyThreadState* __tstate = wxPyBeginAllowThreads();
12075 result = (int)((wxSlider const *)arg1)->GetValue();
12076
12077 wxPyEndAllowThreads(__tstate);
12078 if (PyErr_Occurred()) SWIG_fail;
12079 }
12080 resultobj = SWIG_PyObj_FromInt((int)result);
12081 return resultobj;
12082 fail:
12083 return NULL;
12084 }
12085
12086
12087 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12088 PyObject *resultobj;
12089 wxSlider *arg1 = (wxSlider *) 0 ;
12090 int arg2 ;
12091 PyObject * obj0 = 0 ;
12092 PyObject * obj1 = 0 ;
12093 char *kwnames[] = {
12094 (char *) "self",(char *) "value", NULL
12095 };
12096
12097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12099 {
12100 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 (arg1)->SetValue(arg2);
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 Py_INCREF(Py_None); resultobj = Py_None;
12111 return resultobj;
12112 fail:
12113 return NULL;
12114 }
12115
12116
12117 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj;
12119 wxSlider *arg1 = (wxSlider *) 0 ;
12120 int arg2 ;
12121 int arg3 ;
12122 PyObject * obj0 = 0 ;
12123 PyObject * obj1 = 0 ;
12124 PyObject * obj2 = 0 ;
12125 char *kwnames[] = {
12126 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12127 };
12128
12129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12131 {
12132 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12133 if (PyErr_Occurred()) SWIG_fail;
12134 }
12135 {
12136 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12137 if (PyErr_Occurred()) SWIG_fail;
12138 }
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 (arg1)->SetRange(arg2,arg3);
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 Py_INCREF(Py_None); resultobj = Py_None;
12147 return resultobj;
12148 fail:
12149 return NULL;
12150 }
12151
12152
12153 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12154 PyObject *resultobj;
12155 wxSlider *arg1 = (wxSlider *) 0 ;
12156 int result;
12157 PyObject * obj0 = 0 ;
12158 char *kwnames[] = {
12159 (char *) "self", NULL
12160 };
12161
12162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 result = (int)((wxSlider const *)arg1)->GetMin();
12167
12168 wxPyEndAllowThreads(__tstate);
12169 if (PyErr_Occurred()) SWIG_fail;
12170 }
12171 resultobj = SWIG_PyObj_FromInt((int)result);
12172 return resultobj;
12173 fail:
12174 return NULL;
12175 }
12176
12177
12178 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12179 PyObject *resultobj;
12180 wxSlider *arg1 = (wxSlider *) 0 ;
12181 int result;
12182 PyObject * obj0 = 0 ;
12183 char *kwnames[] = {
12184 (char *) "self", NULL
12185 };
12186
12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (int)((wxSlider const *)arg1)->GetMax();
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 resultobj = SWIG_PyObj_FromInt((int)result);
12197 return resultobj;
12198 fail:
12199 return NULL;
12200 }
12201
12202
12203 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxSlider *arg1 = (wxSlider *) 0 ;
12206 int arg2 ;
12207 PyObject * obj0 = 0 ;
12208 PyObject * obj1 = 0 ;
12209 char *kwnames[] = {
12210 (char *) "self",(char *) "minValue", NULL
12211 };
12212
12213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12215 {
12216 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
12219 {
12220 PyThreadState* __tstate = wxPyBeginAllowThreads();
12221 (arg1)->SetMin(arg2);
12222
12223 wxPyEndAllowThreads(__tstate);
12224 if (PyErr_Occurred()) SWIG_fail;
12225 }
12226 Py_INCREF(Py_None); resultobj = Py_None;
12227 return resultobj;
12228 fail:
12229 return NULL;
12230 }
12231
12232
12233 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12234 PyObject *resultobj;
12235 wxSlider *arg1 = (wxSlider *) 0 ;
12236 int arg2 ;
12237 PyObject * obj0 = 0 ;
12238 PyObject * obj1 = 0 ;
12239 char *kwnames[] = {
12240 (char *) "self",(char *) "maxValue", NULL
12241 };
12242
12243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12245 {
12246 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12247 if (PyErr_Occurred()) SWIG_fail;
12248 }
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 (arg1)->SetMax(arg2);
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 Py_INCREF(Py_None); resultobj = Py_None;
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj;
12265 wxSlider *arg1 = (wxSlider *) 0 ;
12266 int arg2 ;
12267 PyObject * obj0 = 0 ;
12268 PyObject * obj1 = 0 ;
12269 char *kwnames[] = {
12270 (char *) "self",(char *) "lineSize", NULL
12271 };
12272
12273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12275 {
12276 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 (arg1)->SetLineSize(arg2);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 Py_INCREF(Py_None); resultobj = Py_None;
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxSlider *arg1 = (wxSlider *) 0 ;
12296 int arg2 ;
12297 PyObject * obj0 = 0 ;
12298 PyObject * obj1 = 0 ;
12299 char *kwnames[] = {
12300 (char *) "self",(char *) "pageSize", NULL
12301 };
12302
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12305 {
12306 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12307 if (PyErr_Occurred()) SWIG_fail;
12308 }
12309 {
12310 PyThreadState* __tstate = wxPyBeginAllowThreads();
12311 (arg1)->SetPageSize(arg2);
12312
12313 wxPyEndAllowThreads(__tstate);
12314 if (PyErr_Occurred()) SWIG_fail;
12315 }
12316 Py_INCREF(Py_None); resultobj = Py_None;
12317 return resultobj;
12318 fail:
12319 return NULL;
12320 }
12321
12322
12323 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12324 PyObject *resultobj;
12325 wxSlider *arg1 = (wxSlider *) 0 ;
12326 int result;
12327 PyObject * obj0 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12334 {
12335 PyThreadState* __tstate = wxPyBeginAllowThreads();
12336 result = (int)((wxSlider const *)arg1)->GetLineSize();
12337
12338 wxPyEndAllowThreads(__tstate);
12339 if (PyErr_Occurred()) SWIG_fail;
12340 }
12341 resultobj = SWIG_PyObj_FromInt((int)result);
12342 return resultobj;
12343 fail:
12344 return NULL;
12345 }
12346
12347
12348 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxSlider *arg1 = (wxSlider *) 0 ;
12351 int result;
12352 PyObject * obj0 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 result = (int)((wxSlider const *)arg1)->GetPageSize();
12362
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 resultobj = SWIG_PyObj_FromInt((int)result);
12367 return resultobj;
12368 fail:
12369 return NULL;
12370 }
12371
12372
12373 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12374 PyObject *resultobj;
12375 wxSlider *arg1 = (wxSlider *) 0 ;
12376 int arg2 ;
12377 PyObject * obj0 = 0 ;
12378 PyObject * obj1 = 0 ;
12379 char *kwnames[] = {
12380 (char *) "self",(char *) "lenPixels", NULL
12381 };
12382
12383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12385 {
12386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 (arg1)->SetThumbLength(arg2);
12392
12393 wxPyEndAllowThreads(__tstate);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 Py_INCREF(Py_None); resultobj = Py_None;
12397 return resultobj;
12398 fail:
12399 return NULL;
12400 }
12401
12402
12403 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12404 PyObject *resultobj;
12405 wxSlider *arg1 = (wxSlider *) 0 ;
12406 int result;
12407 PyObject * obj0 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "self", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12414 {
12415 PyThreadState* __tstate = wxPyBeginAllowThreads();
12416 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12417
12418 wxPyEndAllowThreads(__tstate);
12419 if (PyErr_Occurred()) SWIG_fail;
12420 }
12421 resultobj = SWIG_PyObj_FromInt((int)result);
12422 return resultobj;
12423 fail:
12424 return NULL;
12425 }
12426
12427
12428 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12429 PyObject *resultobj;
12430 wxSlider *arg1 = (wxSlider *) 0 ;
12431 int arg2 ;
12432 int arg3 = (int) 1 ;
12433 PyObject * obj0 = 0 ;
12434 PyObject * obj1 = 0 ;
12435 PyObject * obj2 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self",(char *) "n",(char *) "pos", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12442 {
12443 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12444 if (PyErr_Occurred()) SWIG_fail;
12445 }
12446 if (obj2) {
12447 {
12448 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12449 if (PyErr_Occurred()) SWIG_fail;
12450 }
12451 }
12452 {
12453 PyThreadState* __tstate = wxPyBeginAllowThreads();
12454 (arg1)->SetTickFreq(arg2,arg3);
12455
12456 wxPyEndAllowThreads(__tstate);
12457 if (PyErr_Occurred()) SWIG_fail;
12458 }
12459 Py_INCREF(Py_None); resultobj = Py_None;
12460 return resultobj;
12461 fail:
12462 return NULL;
12463 }
12464
12465
12466 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12467 PyObject *resultobj;
12468 wxSlider *arg1 = (wxSlider *) 0 ;
12469 int result;
12470 PyObject * obj0 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "self", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12480
12481 wxPyEndAllowThreads(__tstate);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 }
12484 resultobj = SWIG_PyObj_FromInt((int)result);
12485 return resultobj;
12486 fail:
12487 return NULL;
12488 }
12489
12490
12491 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxSlider *arg1 = (wxSlider *) 0 ;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "self", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 (arg1)->ClearTicks();
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 Py_INCREF(Py_None); resultobj = Py_None;
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxSlider *arg1 = (wxSlider *) 0 ;
12518 int arg2 ;
12519 PyObject * obj0 = 0 ;
12520 PyObject * obj1 = 0 ;
12521 char *kwnames[] = {
12522 (char *) "self",(char *) "tickPos", NULL
12523 };
12524
12525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12527 {
12528 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 {
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 (arg1)->SetTick(arg2);
12534
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 Py_INCREF(Py_None); resultobj = Py_None;
12539 return resultobj;
12540 fail:
12541 return NULL;
12542 }
12543
12544
12545 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject *resultobj;
12547 wxSlider *arg1 = (wxSlider *) 0 ;
12548 PyObject * obj0 = 0 ;
12549 char *kwnames[] = {
12550 (char *) "self", NULL
12551 };
12552
12553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12555 {
12556 PyThreadState* __tstate = wxPyBeginAllowThreads();
12557 (arg1)->ClearSel();
12558
12559 wxPyEndAllowThreads(__tstate);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 Py_INCREF(Py_None); resultobj = Py_None;
12563 return resultobj;
12564 fail:
12565 return NULL;
12566 }
12567
12568
12569 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12570 PyObject *resultobj;
12571 wxSlider *arg1 = (wxSlider *) 0 ;
12572 int result;
12573 PyObject * obj0 = 0 ;
12574 char *kwnames[] = {
12575 (char *) "self", NULL
12576 };
12577
12578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12580 {
12581 PyThreadState* __tstate = wxPyBeginAllowThreads();
12582 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12583
12584 wxPyEndAllowThreads(__tstate);
12585 if (PyErr_Occurred()) SWIG_fail;
12586 }
12587 resultobj = SWIG_PyObj_FromInt((int)result);
12588 return resultobj;
12589 fail:
12590 return NULL;
12591 }
12592
12593
12594 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12595 PyObject *resultobj;
12596 wxSlider *arg1 = (wxSlider *) 0 ;
12597 int result;
12598 PyObject * obj0 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 result = (int)((wxSlider const *)arg1)->GetSelStart();
12608
12609 wxPyEndAllowThreads(__tstate);
12610 if (PyErr_Occurred()) SWIG_fail;
12611 }
12612 resultobj = SWIG_PyObj_FromInt((int)result);
12613 return resultobj;
12614 fail:
12615 return NULL;
12616 }
12617
12618
12619 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj;
12621 wxSlider *arg1 = (wxSlider *) 0 ;
12622 int arg2 ;
12623 int arg3 ;
12624 PyObject * obj0 = 0 ;
12625 PyObject * obj1 = 0 ;
12626 PyObject * obj2 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self",(char *) "min",(char *) "max", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12633 {
12634 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 {
12638 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 {
12642 PyThreadState* __tstate = wxPyBeginAllowThreads();
12643 (arg1)->SetSelection(arg2,arg3);
12644
12645 wxPyEndAllowThreads(__tstate);
12646 if (PyErr_Occurred()) SWIG_fail;
12647 }
12648 Py_INCREF(Py_None); resultobj = Py_None;
12649 return resultobj;
12650 fail:
12651 return NULL;
12652 }
12653
12654
12655 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12656 PyObject *obj;
12657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12658 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12659 Py_INCREF(obj);
12660 return Py_BuildValue((char *)"");
12661 }
12662 static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12663 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12664 return 1;
12665 }
12666
12667
12668 static PyObject *_wrap_ToggleButtonNameStr_get() {
12669 PyObject *pyobj;
12670
12671 {
12672 #if wxUSE_UNICODE
12673 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12674 #else
12675 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12676 #endif
12677 }
12678 return pyobj;
12679 }
12680
12681
12682 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12683 PyObject *resultobj;
12684 wxWindow *arg1 = (wxWindow *) 0 ;
12685 int arg2 ;
12686 wxString *arg3 = 0 ;
12687 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12688 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12689 wxSize const &arg5_defvalue = wxDefaultSize ;
12690 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12691 long arg6 = (long) 0 ;
12692 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12693 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12694 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12695 wxString *arg8 = (wxString *) &arg8_defvalue ;
12696 wxToggleButton *result;
12697 bool temp3 = False ;
12698 wxPoint temp4 ;
12699 wxSize temp5 ;
12700 bool temp8 = False ;
12701 PyObject * obj0 = 0 ;
12702 PyObject * obj1 = 0 ;
12703 PyObject * obj2 = 0 ;
12704 PyObject * obj3 = 0 ;
12705 PyObject * obj4 = 0 ;
12706 PyObject * obj5 = 0 ;
12707 PyObject * obj6 = 0 ;
12708 PyObject * obj7 = 0 ;
12709 char *kwnames[] = {
12710 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12711 };
12712
12713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12715 {
12716 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 {
12720 arg3 = wxString_in_helper(obj2);
12721 if (arg3 == NULL) SWIG_fail;
12722 temp3 = True;
12723 }
12724 if (obj3) {
12725 {
12726 arg4 = &temp4;
12727 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12728 }
12729 }
12730 if (obj4) {
12731 {
12732 arg5 = &temp5;
12733 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12734 }
12735 }
12736 if (obj5) {
12737 {
12738 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 }
12742 if (obj6) {
12743 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12744 if (arg7 == NULL) {
12745 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12746 }
12747 }
12748 if (obj7) {
12749 {
12750 arg8 = wxString_in_helper(obj7);
12751 if (arg8 == NULL) SWIG_fail;
12752 temp8 = True;
12753 }
12754 }
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12763 {
12764 if (temp3)
12765 delete arg3;
12766 }
12767 {
12768 if (temp8)
12769 delete arg8;
12770 }
12771 return resultobj;
12772 fail:
12773 {
12774 if (temp3)
12775 delete arg3;
12776 }
12777 {
12778 if (temp8)
12779 delete arg8;
12780 }
12781 return NULL;
12782 }
12783
12784
12785 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxToggleButton *result;
12788 char *kwnames[] = {
12789 NULL
12790 };
12791
12792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12793 {
12794 PyThreadState* __tstate = wxPyBeginAllowThreads();
12795 result = (wxToggleButton *)new wxToggleButton();
12796
12797 wxPyEndAllowThreads(__tstate);
12798 if (PyErr_Occurred()) SWIG_fail;
12799 }
12800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12801 return resultobj;
12802 fail:
12803 return NULL;
12804 }
12805
12806
12807 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12810 wxWindow *arg2 = (wxWindow *) 0 ;
12811 int arg3 ;
12812 wxString *arg4 = 0 ;
12813 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12814 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12815 wxSize const &arg6_defvalue = wxDefaultSize ;
12816 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12817 long arg7 = (long) 0 ;
12818 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12819 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12820 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
12821 wxString *arg9 = (wxString *) &arg9_defvalue ;
12822 bool result;
12823 bool temp4 = False ;
12824 wxPoint temp5 ;
12825 wxSize temp6 ;
12826 bool temp9 = False ;
12827 PyObject * obj0 = 0 ;
12828 PyObject * obj1 = 0 ;
12829 PyObject * obj2 = 0 ;
12830 PyObject * obj3 = 0 ;
12831 PyObject * obj4 = 0 ;
12832 PyObject * obj5 = 0 ;
12833 PyObject * obj6 = 0 ;
12834 PyObject * obj7 = 0 ;
12835 PyObject * obj8 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12843 {
12844 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 {
12848 arg4 = wxString_in_helper(obj3);
12849 if (arg4 == NULL) SWIG_fail;
12850 temp4 = True;
12851 }
12852 if (obj4) {
12853 {
12854 arg5 = &temp5;
12855 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12856 }
12857 }
12858 if (obj5) {
12859 {
12860 arg6 = &temp6;
12861 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12862 }
12863 }
12864 if (obj6) {
12865 {
12866 arg7 = (long) SWIG_PyObj_AsLong(obj6);
12867 if (PyErr_Occurred()) SWIG_fail;
12868 }
12869 }
12870 if (obj7) {
12871 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12872 if (arg8 == NULL) {
12873 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12874 }
12875 }
12876 if (obj8) {
12877 {
12878 arg9 = wxString_in_helper(obj8);
12879 if (arg9 == NULL) SWIG_fail;
12880 temp9 = True;
12881 }
12882 }
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12891 {
12892 if (temp4)
12893 delete arg4;
12894 }
12895 {
12896 if (temp9)
12897 delete arg9;
12898 }
12899 return resultobj;
12900 fail:
12901 {
12902 if (temp4)
12903 delete arg4;
12904 }
12905 {
12906 if (temp9)
12907 delete arg9;
12908 }
12909 return NULL;
12910 }
12911
12912
12913 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12914 PyObject *resultobj;
12915 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12916 bool arg2 ;
12917 PyObject * obj0 = 0 ;
12918 PyObject * obj1 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self",(char *) "value", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12925 {
12926 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 {
12930 PyThreadState* __tstate = wxPyBeginAllowThreads();
12931 (arg1)->SetValue(arg2);
12932
12933 wxPyEndAllowThreads(__tstate);
12934 if (PyErr_Occurred()) SWIG_fail;
12935 }
12936 Py_INCREF(Py_None); resultobj = Py_None;
12937 return resultobj;
12938 fail:
12939 return NULL;
12940 }
12941
12942
12943 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12944 PyObject *resultobj;
12945 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12946 bool result;
12947 PyObject * obj0 = 0 ;
12948 char *kwnames[] = {
12949 (char *) "self", NULL
12950 };
12951
12952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
12953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12954 {
12955 PyThreadState* __tstate = wxPyBeginAllowThreads();
12956 result = (bool)((wxToggleButton const *)arg1)->GetValue();
12957
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12962 return resultobj;
12963 fail:
12964 return NULL;
12965 }
12966
12967
12968 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj;
12970 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12971 wxString *arg2 = 0 ;
12972 bool temp2 = False ;
12973 PyObject * obj0 = 0 ;
12974 PyObject * obj1 = 0 ;
12975 char *kwnames[] = {
12976 (char *) "self",(char *) "label", NULL
12977 };
12978
12979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
12980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12981 {
12982 arg2 = wxString_in_helper(obj1);
12983 if (arg2 == NULL) SWIG_fail;
12984 temp2 = True;
12985 }
12986 {
12987 PyThreadState* __tstate = wxPyBeginAllowThreads();
12988 (arg1)->SetLabel((wxString const &)*arg2);
12989
12990 wxPyEndAllowThreads(__tstate);
12991 if (PyErr_Occurred()) SWIG_fail;
12992 }
12993 Py_INCREF(Py_None); resultobj = Py_None;
12994 {
12995 if (temp2)
12996 delete arg2;
12997 }
12998 return resultobj;
12999 fail:
13000 {
13001 if (temp2)
13002 delete arg2;
13003 }
13004 return NULL;
13005 }
13006
13007
13008 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13009 PyObject *obj;
13010 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13011 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13012 Py_INCREF(obj);
13013 return Py_BuildValue((char *)"");
13014 }
13015 static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
13016 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13017 return 1;
13018 }
13019
13020
13021 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13022 PyObject *pyobj;
13023
13024 {
13025 #if wxUSE_UNICODE
13026 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13027 #else
13028 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13029 #endif
13030 }
13031 return pyobj;
13032 }
13033
13034
13035 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13036 PyObject *resultobj;
13037 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13038 size_t result;
13039 PyObject * obj0 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "self", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13049
13050 wxPyEndAllowThreads(__tstate);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
13054 return resultobj;
13055 fail:
13056 return NULL;
13057 }
13058
13059
13060 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13061 PyObject *resultobj;
13062 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13063 size_t arg2 ;
13064 wxWindow *result;
13065 PyObject * obj0 = 0 ;
13066 PyObject * obj1 = 0 ;
13067 char *kwnames[] = {
13068 (char *) "self",(char *) "n", NULL
13069 };
13070
13071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13073 {
13074 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (wxWindow *)(arg1)->GetPage(arg2);
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 {
13085 resultobj = wxPyMake_wxObject(result);
13086 }
13087 return resultobj;
13088 fail:
13089 return NULL;
13090 }
13091
13092
13093 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13094 PyObject *resultobj;
13095 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13096 int result;
13097 PyObject * obj0 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "self", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13107
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 resultobj = SWIG_PyObj_FromInt((int)result);
13112 return resultobj;
13113 fail:
13114 return NULL;
13115 }
13116
13117
13118 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj;
13120 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13121 size_t arg2 ;
13122 wxString *arg3 = 0 ;
13123 bool result;
13124 bool temp3 = False ;
13125 PyObject * obj0 = 0 ;
13126 PyObject * obj1 = 0 ;
13127 PyObject * obj2 = 0 ;
13128 char *kwnames[] = {
13129 (char *) "self",(char *) "n",(char *) "strText", NULL
13130 };
13131
13132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13134 {
13135 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13136 if (PyErr_Occurred()) SWIG_fail;
13137 }
13138 {
13139 arg3 = wxString_in_helper(obj2);
13140 if (arg3 == NULL) SWIG_fail;
13141 temp3 = True;
13142 }
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13146
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13151 {
13152 if (temp3)
13153 delete arg3;
13154 }
13155 return resultobj;
13156 fail:
13157 {
13158 if (temp3)
13159 delete arg3;
13160 }
13161 return NULL;
13162 }
13163
13164
13165 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13166 PyObject *resultobj;
13167 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13168 size_t arg2 ;
13169 wxString result;
13170 PyObject * obj0 = 0 ;
13171 PyObject * obj1 = 0 ;
13172 char *kwnames[] = {
13173 (char *) "self",(char *) "n", NULL
13174 };
13175
13176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13178 {
13179 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 {
13190 #if wxUSE_UNICODE
13191 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13192 #else
13193 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13194 #endif
13195 }
13196 return resultobj;
13197 fail:
13198 return NULL;
13199 }
13200
13201
13202 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13205 wxImageList *arg2 = (wxImageList *) 0 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self",(char *) "imageList", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 (arg1)->SetImageList(arg2);
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 Py_INCREF(Py_None); resultobj = Py_None;
13223 return resultobj;
13224 fail:
13225 return NULL;
13226 }
13227
13228
13229 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj;
13231 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13232 wxImageList *arg2 = (wxImageList *) 0 ;
13233 PyObject * obj0 = 0 ;
13234 PyObject * obj1 = 0 ;
13235 char *kwnames[] = {
13236 (char *) "self",(char *) "imageList", NULL
13237 };
13238
13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->AssignImageList(arg2);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253 }
13254
13255
13256 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13259 wxImageList *result;
13260 PyObject * obj0 = 0 ;
13261 char *kwnames[] = {
13262 (char *) "self", NULL
13263 };
13264
13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
13274 {
13275 resultobj = wxPyMake_wxObject(result);
13276 }
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13286 size_t arg2 ;
13287 int result;
13288 PyObject * obj0 = 0 ;
13289 PyObject * obj1 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self",(char *) "n", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13298 if (PyErr_Occurred()) SWIG_fail;
13299 }
13300 {
13301 PyThreadState* __tstate = wxPyBeginAllowThreads();
13302 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13303
13304 wxPyEndAllowThreads(__tstate);
13305 if (PyErr_Occurred()) SWIG_fail;
13306 }
13307 resultobj = SWIG_PyObj_FromInt((int)result);
13308 return resultobj;
13309 fail:
13310 return NULL;
13311 }
13312
13313
13314 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13315 PyObject *resultobj;
13316 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13317 size_t arg2 ;
13318 int arg3 ;
13319 bool result;
13320 PyObject * obj0 = 0 ;
13321 PyObject * obj1 = 0 ;
13322 PyObject * obj2 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self",(char *) "n",(char *) "imageId", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13329 {
13330 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13331 if (PyErr_Occurred()) SWIG_fail;
13332 }
13333 {
13334 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 {
13338 PyThreadState* __tstate = wxPyBeginAllowThreads();
13339 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13340
13341 wxPyEndAllowThreads(__tstate);
13342 if (PyErr_Occurred()) SWIG_fail;
13343 }
13344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13345 return resultobj;
13346 fail:
13347 return NULL;
13348 }
13349
13350
13351 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13352 PyObject *resultobj;
13353 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13354 wxSize *arg2 = 0 ;
13355 wxSize temp2 ;
13356 PyObject * obj0 = 0 ;
13357 PyObject * obj1 = 0 ;
13358 char *kwnames[] = {
13359 (char *) "self",(char *) "size", NULL
13360 };
13361
13362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13364 {
13365 arg2 = &temp2;
13366 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13367 }
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->SetPageSize((wxSize const &)*arg2);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 Py_INCREF(Py_None); resultobj = Py_None;
13376 return resultobj;
13377 fail:
13378 return NULL;
13379 }
13380
13381
13382 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13385 wxSize *arg2 = 0 ;
13386 wxSize result;
13387 wxSize temp2 ;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "sizePage", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 {
13397 arg2 = &temp2;
13398 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13399 }
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 {
13408 wxSize * resultptr;
13409 resultptr = new wxSize((wxSize &) result);
13410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13411 }
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13421 size_t arg2 ;
13422 bool result;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self",(char *) "n", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 {
13432 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 {
13436 PyThreadState* __tstate = wxPyBeginAllowThreads();
13437 result = (bool)(arg1)->DeletePage(arg2);
13438
13439 wxPyEndAllowThreads(__tstate);
13440 if (PyErr_Occurred()) SWIG_fail;
13441 }
13442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13443 return resultobj;
13444 fail:
13445 return NULL;
13446 }
13447
13448
13449 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj;
13451 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13452 size_t arg2 ;
13453 bool result;
13454 PyObject * obj0 = 0 ;
13455 PyObject * obj1 = 0 ;
13456 char *kwnames[] = {
13457 (char *) "self",(char *) "n", NULL
13458 };
13459
13460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13462 {
13463 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (bool)(arg1)->RemovePage(arg2);
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13483 bool result;
13484 PyObject * obj0 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13491 {
13492 PyThreadState* __tstate = wxPyBeginAllowThreads();
13493 result = (bool)(arg1)->DeleteAllPages();
13494
13495 wxPyEndAllowThreads(__tstate);
13496 if (PyErr_Occurred()) SWIG_fail;
13497 }
13498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13499 return resultobj;
13500 fail:
13501 return NULL;
13502 }
13503
13504
13505 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13506 PyObject *resultobj;
13507 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13508 wxWindow *arg2 = (wxWindow *) 0 ;
13509 wxString *arg3 = 0 ;
13510 bool arg4 = (bool) False ;
13511 int arg5 = (int) -1 ;
13512 bool result;
13513 bool temp3 = False ;
13514 PyObject * obj0 = 0 ;
13515 PyObject * obj1 = 0 ;
13516 PyObject * obj2 = 0 ;
13517 PyObject * obj3 = 0 ;
13518 PyObject * obj4 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13525 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13526 {
13527 arg3 = wxString_in_helper(obj2);
13528 if (arg3 == NULL) SWIG_fail;
13529 temp3 = True;
13530 }
13531 if (obj3) {
13532 {
13533 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 }
13537 if (obj4) {
13538 {
13539 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 }
13543 {
13544 PyThreadState* __tstate = wxPyBeginAllowThreads();
13545 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13546
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13551 {
13552 if (temp3)
13553 delete arg3;
13554 }
13555 return resultobj;
13556 fail:
13557 {
13558 if (temp3)
13559 delete arg3;
13560 }
13561 return NULL;
13562 }
13563
13564
13565 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject *resultobj;
13567 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13568 size_t arg2 ;
13569 wxWindow *arg3 = (wxWindow *) 0 ;
13570 wxString *arg4 = 0 ;
13571 bool arg5 = (bool) False ;
13572 int arg6 = (int) -1 ;
13573 bool result;
13574 bool temp4 = False ;
13575 PyObject * obj0 = 0 ;
13576 PyObject * obj1 = 0 ;
13577 PyObject * obj2 = 0 ;
13578 PyObject * obj3 = 0 ;
13579 PyObject * obj4 = 0 ;
13580 PyObject * obj5 = 0 ;
13581 char *kwnames[] = {
13582 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13583 };
13584
13585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13587 {
13588 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13592 {
13593 arg4 = wxString_in_helper(obj3);
13594 if (arg4 == NULL) SWIG_fail;
13595 temp4 = True;
13596 }
13597 if (obj4) {
13598 {
13599 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 }
13603 if (obj5) {
13604 {
13605 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13606 if (PyErr_Occurred()) SWIG_fail;
13607 }
13608 }
13609 {
13610 PyThreadState* __tstate = wxPyBeginAllowThreads();
13611 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13612
13613 wxPyEndAllowThreads(__tstate);
13614 if (PyErr_Occurred()) SWIG_fail;
13615 }
13616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13617 {
13618 if (temp4)
13619 delete arg4;
13620 }
13621 return resultobj;
13622 fail:
13623 {
13624 if (temp4)
13625 delete arg4;
13626 }
13627 return NULL;
13628 }
13629
13630
13631 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13632 PyObject *resultobj;
13633 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13634 size_t arg2 ;
13635 int result;
13636 PyObject * obj0 = 0 ;
13637 PyObject * obj1 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "self",(char *) "n", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13644 {
13645 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 }
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 result = (int)(arg1)->SetSelection(arg2);
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
13655 resultobj = SWIG_PyObj_FromInt((int)result);
13656 return resultobj;
13657 fail:
13658 return NULL;
13659 }
13660
13661
13662 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13665 bool arg2 = (bool) True ;
13666 PyObject * obj0 = 0 ;
13667 PyObject * obj1 = 0 ;
13668 char *kwnames[] = {
13669 (char *) "self",(char *) "forward", NULL
13670 };
13671
13672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13674 if (obj1) {
13675 {
13676 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 }
13680 {
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 (arg1)->AdvanceSelection(arg2);
13683
13684 wxPyEndAllowThreads(__tstate);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
13687 Py_INCREF(Py_None); resultobj = Py_None;
13688 return resultobj;
13689 fail:
13690 return NULL;
13691 }
13692
13693
13694 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13695 PyObject *obj;
13696 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13697 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13698 Py_INCREF(obj);
13699 return Py_BuildValue((char *)"");
13700 }
13701 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13702 PyObject *resultobj;
13703 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13704 int arg2 = (int) 0 ;
13705 int arg3 = (int) -1 ;
13706 int arg4 = (int) -1 ;
13707 wxBookCtrlEvent *result;
13708 PyObject * obj0 = 0 ;
13709 PyObject * obj1 = 0 ;
13710 PyObject * obj2 = 0 ;
13711 PyObject * obj3 = 0 ;
13712 char *kwnames[] = {
13713 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13714 };
13715
13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13717 if (obj0) {
13718 {
13719 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 }
13723 if (obj1) {
13724 {
13725 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13726 if (PyErr_Occurred()) SWIG_fail;
13727 }
13728 }
13729 if (obj2) {
13730 {
13731 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 }
13735 if (obj3) {
13736 {
13737 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
13740 }
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
13749 return resultobj;
13750 fail:
13751 return NULL;
13752 }
13753
13754
13755 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13758 int result;
13759 PyObject * obj0 = 0 ;
13760 char *kwnames[] = {
13761 (char *) "self", NULL
13762 };
13763
13764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 resultobj = SWIG_PyObj_FromInt((int)result);
13774 return resultobj;
13775 fail:
13776 return NULL;
13777 }
13778
13779
13780 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13781 PyObject *resultobj;
13782 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13783 int arg2 ;
13784 PyObject * obj0 = 0 ;
13785 PyObject * obj1 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "self",(char *) "nSel", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13792 {
13793 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 (arg1)->SetSelection(arg2);
13799
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 Py_INCREF(Py_None); resultobj = Py_None;
13804 return resultobj;
13805 fail:
13806 return NULL;
13807 }
13808
13809
13810 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13811 PyObject *resultobj;
13812 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13813 int result;
13814 PyObject * obj0 = 0 ;
13815 char *kwnames[] = {
13816 (char *) "self", NULL
13817 };
13818
13819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 resultobj = SWIG_PyObj_FromInt((int)result);
13829 return resultobj;
13830 fail:
13831 return NULL;
13832 }
13833
13834
13835 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13836 PyObject *resultobj;
13837 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13838 int arg2 ;
13839 PyObject * obj0 = 0 ;
13840 PyObject * obj1 = 0 ;
13841 char *kwnames[] = {
13842 (char *) "self",(char *) "nOldSel", NULL
13843 };
13844
13845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13847 {
13848 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 }
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 (arg1)->SetOldSelection(arg2);
13854
13855 wxPyEndAllowThreads(__tstate);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 Py_INCREF(Py_None); resultobj = Py_None;
13859 return resultobj;
13860 fail:
13861 return NULL;
13862 }
13863
13864
13865 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13866 PyObject *obj;
13867 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13868 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13869 Py_INCREF(obj);
13870 return Py_BuildValue((char *)"");
13871 }
13872 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxWindow *arg1 = (wxWindow *) 0 ;
13875 int arg2 ;
13876 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13877 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13878 wxSize const &arg4_defvalue = wxDefaultSize ;
13879 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13880 long arg5 = (long) 0 ;
13881 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13882 wxString *arg6 = (wxString *) &arg6_defvalue ;
13883 wxNotebook *result;
13884 wxPoint temp3 ;
13885 wxSize temp4 ;
13886 bool temp6 = False ;
13887 PyObject * obj0 = 0 ;
13888 PyObject * obj1 = 0 ;
13889 PyObject * obj2 = 0 ;
13890 PyObject * obj3 = 0 ;
13891 PyObject * obj4 = 0 ;
13892 PyObject * obj5 = 0 ;
13893 char *kwnames[] = {
13894 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13895 };
13896
13897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13899 {
13900 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13901 if (PyErr_Occurred()) SWIG_fail;
13902 }
13903 if (obj2) {
13904 {
13905 arg3 = &temp3;
13906 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13907 }
13908 }
13909 if (obj3) {
13910 {
13911 arg4 = &temp4;
13912 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13913 }
13914 }
13915 if (obj4) {
13916 {
13917 arg5 = (long) SWIG_PyObj_AsLong(obj4);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 }
13921 if (obj5) {
13922 {
13923 arg6 = wxString_in_helper(obj5);
13924 if (arg6 == NULL) SWIG_fail;
13925 temp6 = True;
13926 }
13927 }
13928 {
13929 PyThreadState* __tstate = wxPyBeginAllowThreads();
13930 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13931
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 {
13936 resultobj = wxPyMake_wxObject(result);
13937 }
13938 {
13939 if (temp6)
13940 delete arg6;
13941 }
13942 return resultobj;
13943 fail:
13944 {
13945 if (temp6)
13946 delete arg6;
13947 }
13948 return NULL;
13949 }
13950
13951
13952 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13953 PyObject *resultobj;
13954 wxNotebook *result;
13955 char *kwnames[] = {
13956 NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (wxNotebook *)new wxNotebook();
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 {
13968 resultobj = wxPyMake_wxObject(result);
13969 }
13970 return resultobj;
13971 fail:
13972 return NULL;
13973 }
13974
13975
13976 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13977 PyObject *resultobj;
13978 wxNotebook *arg1 = (wxNotebook *) 0 ;
13979 wxWindow *arg2 = (wxWindow *) 0 ;
13980 int arg3 ;
13981 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13982 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13983 wxSize const &arg5_defvalue = wxDefaultSize ;
13984 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13985 long arg6 = (long) 0 ;
13986 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
13987 wxString *arg7 = (wxString *) &arg7_defvalue ;
13988 bool result;
13989 wxPoint temp4 ;
13990 wxSize temp5 ;
13991 bool temp7 = False ;
13992 PyObject * obj0 = 0 ;
13993 PyObject * obj1 = 0 ;
13994 PyObject * obj2 = 0 ;
13995 PyObject * obj3 = 0 ;
13996 PyObject * obj4 = 0 ;
13997 PyObject * obj5 = 0 ;
13998 PyObject * obj6 = 0 ;
13999 char *kwnames[] = {
14000 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14001 };
14002
14003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14006 {
14007 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 if (obj3) {
14011 {
14012 arg4 = &temp4;
14013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14014 }
14015 }
14016 if (obj4) {
14017 {
14018 arg5 = &temp5;
14019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14020 }
14021 }
14022 if (obj5) {
14023 {
14024 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14025 if (PyErr_Occurred()) SWIG_fail;
14026 }
14027 }
14028 if (obj6) {
14029 {
14030 arg7 = wxString_in_helper(obj6);
14031 if (arg7 == NULL) SWIG_fail;
14032 temp7 = True;
14033 }
14034 }
14035 {
14036 PyThreadState* __tstate = wxPyBeginAllowThreads();
14037 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14038
14039 wxPyEndAllowThreads(__tstate);
14040 if (PyErr_Occurred()) SWIG_fail;
14041 }
14042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14043 {
14044 if (temp7)
14045 delete arg7;
14046 }
14047 return resultobj;
14048 fail:
14049 {
14050 if (temp7)
14051 delete arg7;
14052 }
14053 return NULL;
14054 }
14055
14056
14057 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj;
14059 wxNotebook *arg1 = (wxNotebook *) 0 ;
14060 int result;
14061 PyObject * obj0 = 0 ;
14062 char *kwnames[] = {
14063 (char *) "self", NULL
14064 };
14065
14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 resultobj = SWIG_PyObj_FromInt((int)result);
14076 return resultobj;
14077 fail:
14078 return NULL;
14079 }
14080
14081
14082 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxNotebook *arg1 = (wxNotebook *) 0 ;
14085 wxSize *arg2 = 0 ;
14086 wxSize temp2 ;
14087 PyObject * obj0 = 0 ;
14088 PyObject * obj1 = 0 ;
14089 char *kwnames[] = {
14090 (char *) "self",(char *) "padding", NULL
14091 };
14092
14093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14095 {
14096 arg2 = &temp2;
14097 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14098 }
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 (arg1)->SetPadding((wxSize const &)*arg2);
14102
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 Py_INCREF(Py_None); resultobj = Py_None;
14107 return resultobj;
14108 fail:
14109 return NULL;
14110 }
14111
14112
14113 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14114 PyObject *resultobj;
14115 wxNotebook *arg1 = (wxNotebook *) 0 ;
14116 wxSize *arg2 = 0 ;
14117 wxSize temp2 ;
14118 PyObject * obj0 = 0 ;
14119 PyObject * obj1 = 0 ;
14120 char *kwnames[] = {
14121 (char *) "self",(char *) "sz", NULL
14122 };
14123
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14126 {
14127 arg2 = &temp2;
14128 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14129 }
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 (arg1)->SetTabSize((wxSize const &)*arg2);
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 Py_INCREF(Py_None); resultobj = Py_None;
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxNotebook *arg1 = (wxNotebook *) 0 ;
14147 wxPoint *arg2 = 0 ;
14148 long *arg3 = (long *) 0 ;
14149 int result;
14150 wxPoint temp2 ;
14151 long temp3 ;
14152 PyObject * obj0 = 0 ;
14153 PyObject * obj1 = 0 ;
14154 char *kwnames[] = {
14155 (char *) "self",(char *) "pt", NULL
14156 };
14157
14158 arg3 = &temp3;
14159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14161 {
14162 arg2 = &temp2;
14163 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14164 }
14165 {
14166 PyThreadState* __tstate = wxPyBeginAllowThreads();
14167 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14168
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 resultobj = SWIG_PyObj_FromInt((int)result);
14173 {
14174 PyObject *o = PyInt_FromLong((long) (*arg3));
14175 resultobj = t_output_helper(resultobj,o);
14176 }
14177 return resultobj;
14178 fail:
14179 return NULL;
14180 }
14181
14182
14183 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14184 PyObject *resultobj;
14185 wxNotebook *arg1 = (wxNotebook *) 0 ;
14186 wxSize *arg2 = 0 ;
14187 wxSize result;
14188 wxSize temp2 ;
14189 PyObject * obj0 = 0 ;
14190 PyObject * obj1 = 0 ;
14191 char *kwnames[] = {
14192 (char *) "self",(char *) "sizePage", NULL
14193 };
14194
14195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14197 {
14198 arg2 = &temp2;
14199 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14200 }
14201 {
14202 PyThreadState* __tstate = wxPyBeginAllowThreads();
14203 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14204
14205 wxPyEndAllowThreads(__tstate);
14206 if (PyErr_Occurred()) SWIG_fail;
14207 }
14208 {
14209 wxSize * resultptr;
14210 resultptr = new wxSize((wxSize &) result);
14211 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14212 }
14213 return resultobj;
14214 fail:
14215 return NULL;
14216 }
14217
14218
14219 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxNotebook *arg1 = (wxNotebook *) 0 ;
14222 wxWindow *arg2 = (wxWindow *) 0 ;
14223 wxColour *arg3 = 0 ;
14224 wxColour temp3 ;
14225 PyObject * obj0 = 0 ;
14226 PyObject * obj1 = 0 ;
14227 PyObject * obj2 = 0 ;
14228 char *kwnames[] = {
14229 (char *) "self",(char *) "window",(char *) "colour", NULL
14230 };
14231
14232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
14233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14235 {
14236 arg3 = &temp3;
14237 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
14238 }
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 Py_INCREF(Py_None); resultobj = Py_None;
14247 return resultobj;
14248 fail:
14249 return NULL;
14250 }
14251
14252
14253 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14254 PyObject *obj;
14255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14256 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14257 Py_INCREF(obj);
14258 return Py_BuildValue((char *)"");
14259 }
14260 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14263 int arg2 = (int) 0 ;
14264 int arg3 = (int) -1 ;
14265 int arg4 = (int) -1 ;
14266 wxNotebookEvent *result;
14267 PyObject * obj0 = 0 ;
14268 PyObject * obj1 = 0 ;
14269 PyObject * obj2 = 0 ;
14270 PyObject * obj3 = 0 ;
14271 char *kwnames[] = {
14272 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14273 };
14274
14275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14276 if (obj0) {
14277 {
14278 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 }
14282 if (obj1) {
14283 {
14284 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14285 if (PyErr_Occurred()) SWIG_fail;
14286 }
14287 }
14288 if (obj2) {
14289 {
14290 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14291 if (PyErr_Occurred()) SWIG_fail;
14292 }
14293 }
14294 if (obj3) {
14295 {
14296 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 }
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
14308 return resultobj;
14309 fail:
14310 return NULL;
14311 }
14312
14313
14314 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14315 PyObject *obj;
14316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14317 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14318 Py_INCREF(obj);
14319 return Py_BuildValue((char *)"");
14320 }
14321 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14322 PyObject *resultobj;
14323 wxWindow *arg1 = (wxWindow *) 0 ;
14324 int arg2 ;
14325 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14326 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14327 wxSize const &arg4_defvalue = wxDefaultSize ;
14328 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14329 long arg5 = (long) 0 ;
14330 wxString const &arg6_defvalue = wxPyEmptyString ;
14331 wxString *arg6 = (wxString *) &arg6_defvalue ;
14332 wxListbook *result;
14333 wxPoint temp3 ;
14334 wxSize temp4 ;
14335 bool temp6 = False ;
14336 PyObject * obj0 = 0 ;
14337 PyObject * obj1 = 0 ;
14338 PyObject * obj2 = 0 ;
14339 PyObject * obj3 = 0 ;
14340 PyObject * obj4 = 0 ;
14341 PyObject * obj5 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14348 {
14349 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 if (obj2) {
14353 {
14354 arg3 = &temp3;
14355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14356 }
14357 }
14358 if (obj3) {
14359 {
14360 arg4 = &temp4;
14361 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14362 }
14363 }
14364 if (obj4) {
14365 {
14366 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 }
14370 if (obj5) {
14371 {
14372 arg6 = wxString_in_helper(obj5);
14373 if (arg6 == NULL) SWIG_fail;
14374 temp6 = True;
14375 }
14376 }
14377 {
14378 PyThreadState* __tstate = wxPyBeginAllowThreads();
14379 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14380
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14385 {
14386 if (temp6)
14387 delete arg6;
14388 }
14389 return resultobj;
14390 fail:
14391 {
14392 if (temp6)
14393 delete arg6;
14394 }
14395 return NULL;
14396 }
14397
14398
14399 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj;
14401 wxListbook *result;
14402 char *kwnames[] = {
14403 NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (wxListbook *)new wxListbook();
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14415 return resultobj;
14416 fail:
14417 return NULL;
14418 }
14419
14420
14421 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14422 PyObject *resultobj;
14423 wxListbook *arg1 = (wxListbook *) 0 ;
14424 wxWindow *arg2 = (wxWindow *) 0 ;
14425 int arg3 ;
14426 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14427 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14428 wxSize const &arg5_defvalue = wxDefaultSize ;
14429 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14430 long arg6 = (long) 0 ;
14431 wxString const &arg7_defvalue = wxPyEmptyString ;
14432 wxString *arg7 = (wxString *) &arg7_defvalue ;
14433 bool result;
14434 wxPoint temp4 ;
14435 wxSize temp5 ;
14436 bool temp7 = False ;
14437 PyObject * obj0 = 0 ;
14438 PyObject * obj1 = 0 ;
14439 PyObject * obj2 = 0 ;
14440 PyObject * obj3 = 0 ;
14441 PyObject * obj4 = 0 ;
14442 PyObject * obj5 = 0 ;
14443 PyObject * obj6 = 0 ;
14444 char *kwnames[] = {
14445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14446 };
14447
14448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14451 {
14452 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14453 if (PyErr_Occurred()) SWIG_fail;
14454 }
14455 if (obj3) {
14456 {
14457 arg4 = &temp4;
14458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14459 }
14460 }
14461 if (obj4) {
14462 {
14463 arg5 = &temp5;
14464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14465 }
14466 }
14467 if (obj5) {
14468 {
14469 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 }
14473 if (obj6) {
14474 {
14475 arg7 = wxString_in_helper(obj6);
14476 if (arg7 == NULL) SWIG_fail;
14477 temp7 = True;
14478 }
14479 }
14480 {
14481 PyThreadState* __tstate = wxPyBeginAllowThreads();
14482 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14483
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14488 {
14489 if (temp7)
14490 delete arg7;
14491 }
14492 return resultobj;
14493 fail:
14494 {
14495 if (temp7)
14496 delete arg7;
14497 }
14498 return NULL;
14499 }
14500
14501
14502 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14503 PyObject *resultobj;
14504 wxListbook *arg1 = (wxListbook *) 0 ;
14505 bool result;
14506 PyObject * obj0 = 0 ;
14507 char *kwnames[] = {
14508 (char *) "self", NULL
14509 };
14510
14511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14513 {
14514 PyThreadState* __tstate = wxPyBeginAllowThreads();
14515 result = (bool)((wxListbook const *)arg1)->IsVertical();
14516
14517 wxPyEndAllowThreads(__tstate);
14518 if (PyErr_Occurred()) SWIG_fail;
14519 }
14520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14521 return resultobj;
14522 fail:
14523 return NULL;
14524 }
14525
14526
14527 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14528 PyObject *obj;
14529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14530 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14531 Py_INCREF(obj);
14532 return Py_BuildValue((char *)"");
14533 }
14534 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj;
14536 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14537 int arg2 = (int) 0 ;
14538 int arg3 = (int) -1 ;
14539 int arg4 = (int) -1 ;
14540 wxListbookEvent *result;
14541 PyObject * obj0 = 0 ;
14542 PyObject * obj1 = 0 ;
14543 PyObject * obj2 = 0 ;
14544 PyObject * obj3 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14550 if (obj0) {
14551 {
14552 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 }
14556 if (obj1) {
14557 {
14558 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14559 if (PyErr_Occurred()) SWIG_fail;
14560 }
14561 }
14562 if (obj2) {
14563 {
14564 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 }
14568 if (obj3) {
14569 {
14570 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14571 if (PyErr_Occurred()) SWIG_fail;
14572 }
14573 }
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14577
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
14582 return resultobj;
14583 fail:
14584 return NULL;
14585 }
14586
14587
14588 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14589 PyObject *obj;
14590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14591 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14592 Py_INCREF(obj);
14593 return Py_BuildValue((char *)"");
14594 }
14595 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14596 PyObject *resultobj;
14597 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14598 wxBookCtrlSizer *result;
14599 PyObject * obj0 = 0 ;
14600 char *kwnames[] = {
14601 (char *) "nb", NULL
14602 };
14603
14604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14606 {
14607 PyThreadState* __tstate = wxPyBeginAllowThreads();
14608 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14609
14610 wxPyEndAllowThreads(__tstate);
14611 if (PyErr_Occurred()) SWIG_fail;
14612 }
14613 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
14614 return resultobj;
14615 fail:
14616 return NULL;
14617 }
14618
14619
14620 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14621 PyObject *resultobj;
14622 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14623 PyObject * obj0 = 0 ;
14624 char *kwnames[] = {
14625 (char *) "self", NULL
14626 };
14627
14628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 (arg1)->RecalcSizes();
14633
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 Py_INCREF(Py_None); resultobj = Py_None;
14638 return resultobj;
14639 fail:
14640 return NULL;
14641 }
14642
14643
14644 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14647 wxSize result;
14648 PyObject * obj0 = 0 ;
14649 char *kwnames[] = {
14650 (char *) "self", NULL
14651 };
14652
14653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14655 {
14656 PyThreadState* __tstate = wxPyBeginAllowThreads();
14657 result = (arg1)->CalcMin();
14658
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 {
14663 wxSize * resultptr;
14664 resultptr = new wxSize((wxSize &) result);
14665 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14666 }
14667 return resultobj;
14668 fail:
14669 return NULL;
14670 }
14671
14672
14673 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14674 PyObject *resultobj;
14675 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14676 wxBookCtrl *result;
14677 PyObject * obj0 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 result = (wxBookCtrl *)(arg1)->GetControl();
14687
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14699 PyObject *obj;
14700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14701 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14702 Py_INCREF(obj);
14703 return Py_BuildValue((char *)"");
14704 }
14705 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxNotebook *arg1 = (wxNotebook *) 0 ;
14708 wxNotebookSizer *result;
14709 PyObject * obj0 = 0 ;
14710 char *kwnames[] = {
14711 (char *) "nb", NULL
14712 };
14713
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14716 {
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14719
14720 wxPyEndAllowThreads(__tstate);
14721 if (PyErr_Occurred()) SWIG_fail;
14722 }
14723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
14724 return resultobj;
14725 fail:
14726 return NULL;
14727 }
14728
14729
14730 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14731 PyObject *resultobj;
14732 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14733 PyObject * obj0 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 (arg1)->RecalcSizes();
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 Py_INCREF(Py_None); resultobj = Py_None;
14748 return resultobj;
14749 fail:
14750 return NULL;
14751 }
14752
14753
14754 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14755 PyObject *resultobj;
14756 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14757 wxSize result;
14758 PyObject * obj0 = 0 ;
14759 char *kwnames[] = {
14760 (char *) "self", NULL
14761 };
14762
14763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 result = (arg1)->CalcMin();
14768
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 {
14773 wxSize * resultptr;
14774 resultptr = new wxSize((wxSize &) result);
14775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14776 }
14777 return resultobj;
14778 fail:
14779 return NULL;
14780 }
14781
14782
14783 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14784 PyObject *resultobj;
14785 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14786 wxNotebook *result;
14787 PyObject * obj0 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "self", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 result = (wxNotebook *)(arg1)->GetNotebook();
14797
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 {
14802 resultobj = wxPyMake_wxObject(result);
14803 }
14804 return resultobj;
14805 fail:
14806 return NULL;
14807 }
14808
14809
14810 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14811 PyObject *obj;
14812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14813 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14814 Py_INCREF(obj);
14815 return Py_BuildValue((char *)"");
14816 }
14817 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14820 int result;
14821 PyObject * obj0 = 0 ;
14822 char *kwnames[] = {
14823 (char *) "self", NULL
14824 };
14825
14826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14828 {
14829 PyThreadState* __tstate = wxPyBeginAllowThreads();
14830 result = (int)(arg1)->GetId();
14831
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = SWIG_PyObj_FromInt((int)result);
14836 return resultobj;
14837 fail:
14838 return NULL;
14839 }
14840
14841
14842 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj;
14844 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14845 wxControl *result;
14846 PyObject * obj0 = 0 ;
14847 char *kwnames[] = {
14848 (char *) "self", NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 result = (wxControl *)(arg1)->GetControl();
14856
14857 wxPyEndAllowThreads(__tstate);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 {
14861 resultobj = wxPyMake_wxObject(result);
14862 }
14863 return resultobj;
14864 fail:
14865 return NULL;
14866 }
14867
14868
14869 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14870 PyObject *resultobj;
14871 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14872 wxToolBarBase *result;
14873 PyObject * obj0 = 0 ;
14874 char *kwnames[] = {
14875 (char *) "self", NULL
14876 };
14877
14878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14880 {
14881 PyThreadState* __tstate = wxPyBeginAllowThreads();
14882 result = (wxToolBarBase *)(arg1)->GetToolBar();
14883
14884 wxPyEndAllowThreads(__tstate);
14885 if (PyErr_Occurred()) SWIG_fail;
14886 }
14887 {
14888 resultobj = wxPyMake_wxObject(result);
14889 }
14890 return resultobj;
14891 fail:
14892 return NULL;
14893 }
14894
14895
14896 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14897 PyObject *resultobj;
14898 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14899 int result;
14900 PyObject * obj0 = 0 ;
14901 char *kwnames[] = {
14902 (char *) "self", NULL
14903 };
14904
14905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
14909 result = (int)(arg1)->IsButton();
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
14914 resultobj = SWIG_PyObj_FromInt((int)result);
14915 return resultobj;
14916 fail:
14917 return NULL;
14918 }
14919
14920
14921 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14924 int result;
14925 PyObject * obj0 = 0 ;
14926 char *kwnames[] = {
14927 (char *) "self", NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14932 {
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 result = (int)(arg1)->IsControl();
14935
14936 wxPyEndAllowThreads(__tstate);
14937 if (PyErr_Occurred()) SWIG_fail;
14938 }
14939 resultobj = SWIG_PyObj_FromInt((int)result);
14940 return resultobj;
14941 fail:
14942 return NULL;
14943 }
14944
14945
14946 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14947 PyObject *resultobj;
14948 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14949 int result;
14950 PyObject * obj0 = 0 ;
14951 char *kwnames[] = {
14952 (char *) "self", NULL
14953 };
14954
14955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 result = (int)(arg1)->IsSeparator();
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 resultobj = SWIG_PyObj_FromInt((int)result);
14965 return resultobj;
14966 fail:
14967 return NULL;
14968 }
14969
14970
14971 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
14972 PyObject *resultobj;
14973 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14974 int result;
14975 PyObject * obj0 = 0 ;
14976 char *kwnames[] = {
14977 (char *) "self", NULL
14978 };
14979
14980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
14981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14982 {
14983 PyThreadState* __tstate = wxPyBeginAllowThreads();
14984 result = (int)(arg1)->GetStyle();
14985
14986 wxPyEndAllowThreads(__tstate);
14987 if (PyErr_Occurred()) SWIG_fail;
14988 }
14989 resultobj = SWIG_PyObj_FromInt((int)result);
14990 return resultobj;
14991 fail:
14992 return NULL;
14993 }
14994
14995
14996 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14999 int result;
15000 PyObject * obj0 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (int)(arg1)->GetKind();
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 resultobj = SWIG_PyObj_FromInt((int)result);
15015 return resultobj;
15016 fail:
15017 return NULL;
15018 }
15019
15020
15021 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj;
15023 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15024 bool result;
15025 PyObject * obj0 = 0 ;
15026 char *kwnames[] = {
15027 (char *) "self", NULL
15028 };
15029
15030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = (bool)(arg1)->IsEnabled();
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15040 return resultobj;
15041 fail:
15042 return NULL;
15043 }
15044
15045
15046 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15049 bool result;
15050 PyObject * obj0 = 0 ;
15051 char *kwnames[] = {
15052 (char *) "self", NULL
15053 };
15054
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15057 {
15058 PyThreadState* __tstate = wxPyBeginAllowThreads();
15059 result = (bool)(arg1)->IsToggled();
15060
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15065 return resultobj;
15066 fail:
15067 return NULL;
15068 }
15069
15070
15071 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15072 PyObject *resultobj;
15073 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15074 bool result;
15075 PyObject * obj0 = 0 ;
15076 char *kwnames[] = {
15077 (char *) "self", NULL
15078 };
15079
15080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 result = (bool)(arg1)->CanBeToggled();
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15099 wxBitmap *result;
15100 PyObject * obj0 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 {
15110 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15111 result = (wxBitmap *) &_result_ref;
15112 }
15113
15114 wxPyEndAllowThreads(__tstate);
15115 if (PyErr_Occurred()) SWIG_fail;
15116 }
15117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
15118 return resultobj;
15119 fail:
15120 return NULL;
15121 }
15122
15123
15124 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15125 PyObject *resultobj;
15126 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15127 wxBitmap *result;
15128 PyObject * obj0 = 0 ;
15129 char *kwnames[] = {
15130 (char *) "self", NULL
15131 };
15132
15133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 {
15138 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15139 result = (wxBitmap *) &_result_ref;
15140 }
15141
15142 wxPyEndAllowThreads(__tstate);
15143 if (PyErr_Occurred()) SWIG_fail;
15144 }
15145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
15146 return resultobj;
15147 fail:
15148 return NULL;
15149 }
15150
15151
15152 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15153 PyObject *resultobj;
15154 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15155 wxBitmap result;
15156 PyObject * obj0 = 0 ;
15157 char *kwnames[] = {
15158 (char *) "self", NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 result = (arg1)->GetBitmap();
15166
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 {
15171 wxBitmap * resultptr;
15172 resultptr = new wxBitmap((wxBitmap &) result);
15173 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
15174 }
15175 return resultobj;
15176 fail:
15177 return NULL;
15178 }
15179
15180
15181 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj;
15183 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15184 wxString result;
15185 PyObject * obj0 = 0 ;
15186 char *kwnames[] = {
15187 (char *) "self", NULL
15188 };
15189
15190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 result = (arg1)->GetLabel();
15195
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
15199 {
15200 #if wxUSE_UNICODE
15201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15202 #else
15203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15204 #endif
15205 }
15206 return resultobj;
15207 fail:
15208 return NULL;
15209 }
15210
15211
15212 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15213 PyObject *resultobj;
15214 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15215 wxString result;
15216 PyObject * obj0 = 0 ;
15217 char *kwnames[] = {
15218 (char *) "self", NULL
15219 };
15220
15221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (arg1)->GetShortHelp();
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 {
15231 #if wxUSE_UNICODE
15232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15233 #else
15234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15235 #endif
15236 }
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15246 wxString result;
15247 PyObject * obj0 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = (arg1)->GetLongHelp();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 {
15262 #if wxUSE_UNICODE
15263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15264 #else
15265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15266 #endif
15267 }
15268 return resultobj;
15269 fail:
15270 return NULL;
15271 }
15272
15273
15274 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15277 bool arg2 ;
15278 bool result;
15279 PyObject * obj0 = 0 ;
15280 PyObject * obj1 = 0 ;
15281 char *kwnames[] = {
15282 (char *) "self",(char *) "enable", NULL
15283 };
15284
15285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15287 {
15288 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 result = (bool)(arg1)->Enable(arg2);
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15299 return resultobj;
15300 fail:
15301 return NULL;
15302 }
15303
15304
15305 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15308 PyObject * obj0 = 0 ;
15309 char *kwnames[] = {
15310 (char *) "self", NULL
15311 };
15312
15313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15315 {
15316 PyThreadState* __tstate = wxPyBeginAllowThreads();
15317 (arg1)->Toggle();
15318
15319 wxPyEndAllowThreads(__tstate);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 Py_INCREF(Py_None); resultobj = Py_None;
15323 return resultobj;
15324 fail:
15325 return NULL;
15326 }
15327
15328
15329 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15330 PyObject *resultobj;
15331 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15332 bool arg2 ;
15333 bool result;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "self",(char *) "toggle", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15342 {
15343 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 result = (bool)(arg1)->SetToggle(arg2);
15349
15350 wxPyEndAllowThreads(__tstate);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
15353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15354 return resultobj;
15355 fail:
15356 return NULL;
15357 }
15358
15359
15360 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15363 wxString *arg2 = 0 ;
15364 bool result;
15365 bool temp2 = False ;
15366 PyObject * obj0 = 0 ;
15367 PyObject * obj1 = 0 ;
15368 char *kwnames[] = {
15369 (char *) "self",(char *) "help", NULL
15370 };
15371
15372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15374 {
15375 arg2 = wxString_in_helper(obj1);
15376 if (arg2 == NULL) SWIG_fail;
15377 temp2 = True;
15378 }
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15382
15383 wxPyEndAllowThreads(__tstate);
15384 if (PyErr_Occurred()) SWIG_fail;
15385 }
15386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15387 {
15388 if (temp2)
15389 delete arg2;
15390 }
15391 return resultobj;
15392 fail:
15393 {
15394 if (temp2)
15395 delete arg2;
15396 }
15397 return NULL;
15398 }
15399
15400
15401 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj;
15403 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15404 wxString *arg2 = 0 ;
15405 bool result;
15406 bool temp2 = False ;
15407 PyObject * obj0 = 0 ;
15408 PyObject * obj1 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self",(char *) "help", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15415 {
15416 arg2 = wxString_in_helper(obj1);
15417 if (arg2 == NULL) SWIG_fail;
15418 temp2 = True;
15419 }
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15423
15424 wxPyEndAllowThreads(__tstate);
15425 if (PyErr_Occurred()) SWIG_fail;
15426 }
15427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15428 {
15429 if (temp2)
15430 delete arg2;
15431 }
15432 return resultobj;
15433 fail:
15434 {
15435 if (temp2)
15436 delete arg2;
15437 }
15438 return NULL;
15439 }
15440
15441
15442 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj;
15444 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15445 wxBitmap *arg2 = 0 ;
15446 PyObject * obj0 = 0 ;
15447 PyObject * obj1 = 0 ;
15448 char *kwnames[] = {
15449 (char *) "self",(char *) "bmp", NULL
15450 };
15451
15452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15455 if (arg2 == NULL) {
15456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15457 }
15458 {
15459 PyThreadState* __tstate = wxPyBeginAllowThreads();
15460 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15461
15462 wxPyEndAllowThreads(__tstate);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 }
15465 Py_INCREF(Py_None); resultobj = Py_None;
15466 return resultobj;
15467 fail:
15468 return NULL;
15469 }
15470
15471
15472 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15473 PyObject *resultobj;
15474 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15475 wxBitmap *arg2 = 0 ;
15476 PyObject * obj0 = 0 ;
15477 PyObject * obj1 = 0 ;
15478 char *kwnames[] = {
15479 (char *) "self",(char *) "bmp", NULL
15480 };
15481
15482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15485 if (arg2 == NULL) {
15486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15487 }
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 Py_INCREF(Py_None); resultobj = Py_None;
15496 return resultobj;
15497 fail:
15498 return NULL;
15499 }
15500
15501
15502 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15505 wxString *arg2 = 0 ;
15506 bool temp2 = False ;
15507 PyObject * obj0 = 0 ;
15508 PyObject * obj1 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self",(char *) "label", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15515 {
15516 arg2 = wxString_in_helper(obj1);
15517 if (arg2 == NULL) SWIG_fail;
15518 temp2 = True;
15519 }
15520 {
15521 PyThreadState* __tstate = wxPyBeginAllowThreads();
15522 (arg1)->SetLabel((wxString const &)*arg2);
15523
15524 wxPyEndAllowThreads(__tstate);
15525 if (PyErr_Occurred()) SWIG_fail;
15526 }
15527 Py_INCREF(Py_None); resultobj = Py_None;
15528 {
15529 if (temp2)
15530 delete arg2;
15531 }
15532 return resultobj;
15533 fail:
15534 {
15535 if (temp2)
15536 delete arg2;
15537 }
15538 return NULL;
15539 }
15540
15541
15542 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15543 PyObject *resultobj;
15544 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15545 PyObject * obj0 = 0 ;
15546 char *kwnames[] = {
15547 (char *) "self", NULL
15548 };
15549
15550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 (arg1)->Detach();
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 Py_INCREF(Py_None); resultobj = Py_None;
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15569 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 char *kwnames[] = {
15573 (char *) "self",(char *) "tbar", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15579 {
15580 PyThreadState* __tstate = wxPyBeginAllowThreads();
15581 (arg1)->Attach(arg2);
15582
15583 wxPyEndAllowThreads(__tstate);
15584 if (PyErr_Occurred()) SWIG_fail;
15585 }
15586 Py_INCREF(Py_None); resultobj = Py_None;
15587 return resultobj;
15588 fail:
15589 return NULL;
15590 }
15591
15592
15593 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15594 PyObject *resultobj;
15595 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15596 PyObject *result;
15597 PyObject * obj0 = 0 ;
15598 char *kwnames[] = {
15599 (char *) "self", NULL
15600 };
15601
15602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 resultobj = result;
15612 return resultobj;
15613 fail:
15614 return NULL;
15615 }
15616
15617
15618 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj;
15620 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15621 PyObject *arg2 = (PyObject *) 0 ;
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self",(char *) "clientData", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15630 arg2 = obj1;
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 wxToolBarToolBase_SetClientData(arg1,arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 Py_INCREF(Py_None); resultobj = Py_None;
15639 return resultobj;
15640 fail:
15641 return NULL;
15642 }
15643
15644
15645 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15646 PyObject *obj;
15647 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15648 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15649 Py_INCREF(obj);
15650 return Py_BuildValue((char *)"");
15651 }
15652 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15653 PyObject *resultobj;
15654 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15655 int arg2 ;
15656 wxString *arg3 = 0 ;
15657 wxBitmap *arg4 = 0 ;
15658 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15659 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15660 int arg6 = (int) wxITEM_NORMAL ;
15661 wxString const &arg7_defvalue = wxPyEmptyString ;
15662 wxString *arg7 = (wxString *) &arg7_defvalue ;
15663 wxString const &arg8_defvalue = wxPyEmptyString ;
15664 wxString *arg8 = (wxString *) &arg8_defvalue ;
15665 PyObject *arg9 = (PyObject *) NULL ;
15666 wxToolBarToolBase *result;
15667 bool temp3 = False ;
15668 bool temp7 = False ;
15669 bool temp8 = False ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 PyObject * obj2 = 0 ;
15673 PyObject * obj3 = 0 ;
15674 PyObject * obj4 = 0 ;
15675 PyObject * obj5 = 0 ;
15676 PyObject * obj6 = 0 ;
15677 PyObject * obj7 = 0 ;
15678 PyObject * obj8 = 0 ;
15679 char *kwnames[] = {
15680 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15681 };
15682
15683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15685 {
15686 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 {
15690 arg3 = wxString_in_helper(obj2);
15691 if (arg3 == NULL) SWIG_fail;
15692 temp3 = True;
15693 }
15694 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15695 if (arg4 == NULL) {
15696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15697 }
15698 if (obj4) {
15699 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15700 if (arg5 == NULL) {
15701 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15702 }
15703 }
15704 if (obj5) {
15705 {
15706 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 }
15710 if (obj6) {
15711 {
15712 arg7 = wxString_in_helper(obj6);
15713 if (arg7 == NULL) SWIG_fail;
15714 temp7 = True;
15715 }
15716 }
15717 if (obj7) {
15718 {
15719 arg8 = wxString_in_helper(obj7);
15720 if (arg8 == NULL) SWIG_fail;
15721 temp8 = True;
15722 }
15723 }
15724 if (obj8) {
15725 arg9 = obj8;
15726 }
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 {
15735 resultobj = wxPyMake_wxObject(result);
15736 }
15737 {
15738 if (temp3)
15739 delete arg3;
15740 }
15741 {
15742 if (temp7)
15743 delete arg7;
15744 }
15745 {
15746 if (temp8)
15747 delete arg8;
15748 }
15749 return resultobj;
15750 fail:
15751 {
15752 if (temp3)
15753 delete arg3;
15754 }
15755 {
15756 if (temp7)
15757 delete arg7;
15758 }
15759 {
15760 if (temp8)
15761 delete arg8;
15762 }
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15770 size_t arg2 ;
15771 int arg3 ;
15772 wxString *arg4 = 0 ;
15773 wxBitmap *arg5 = 0 ;
15774 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15775 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15776 int arg7 = (int) wxITEM_NORMAL ;
15777 wxString const &arg8_defvalue = wxPyEmptyString ;
15778 wxString *arg8 = (wxString *) &arg8_defvalue ;
15779 wxString const &arg9_defvalue = wxPyEmptyString ;
15780 wxString *arg9 = (wxString *) &arg9_defvalue ;
15781 PyObject *arg10 = (PyObject *) NULL ;
15782 wxToolBarToolBase *result;
15783 bool temp4 = False ;
15784 bool temp8 = False ;
15785 bool temp9 = False ;
15786 PyObject * obj0 = 0 ;
15787 PyObject * obj1 = 0 ;
15788 PyObject * obj2 = 0 ;
15789 PyObject * obj3 = 0 ;
15790 PyObject * obj4 = 0 ;
15791 PyObject * obj5 = 0 ;
15792 PyObject * obj6 = 0 ;
15793 PyObject * obj7 = 0 ;
15794 PyObject * obj8 = 0 ;
15795 PyObject * obj9 = 0 ;
15796 char *kwnames[] = {
15797 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15798 };
15799
15800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15802 {
15803 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 {
15807 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 {
15811 arg4 = wxString_in_helper(obj3);
15812 if (arg4 == NULL) SWIG_fail;
15813 temp4 = True;
15814 }
15815 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15816 if (arg5 == NULL) {
15817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15818 }
15819 if (obj5) {
15820 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15821 if (arg6 == NULL) {
15822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15823 }
15824 }
15825 if (obj6) {
15826 {
15827 arg7 = (wxItemKind) SWIG_PyObj_AsInt(obj6);
15828 if (PyErr_Occurred()) SWIG_fail;
15829 }
15830 }
15831 if (obj7) {
15832 {
15833 arg8 = wxString_in_helper(obj7);
15834 if (arg8 == NULL) SWIG_fail;
15835 temp8 = True;
15836 }
15837 }
15838 if (obj8) {
15839 {
15840 arg9 = wxString_in_helper(obj8);
15841 if (arg9 == NULL) SWIG_fail;
15842 temp9 = True;
15843 }
15844 }
15845 if (obj9) {
15846 arg10 = obj9;
15847 }
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 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);
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 {
15856 resultobj = wxPyMake_wxObject(result);
15857 }
15858 {
15859 if (temp4)
15860 delete arg4;
15861 }
15862 {
15863 if (temp8)
15864 delete arg8;
15865 }
15866 {
15867 if (temp9)
15868 delete arg9;
15869 }
15870 return resultobj;
15871 fail:
15872 {
15873 if (temp4)
15874 delete arg4;
15875 }
15876 {
15877 if (temp8)
15878 delete arg8;
15879 }
15880 {
15881 if (temp9)
15882 delete arg9;
15883 }
15884 return NULL;
15885 }
15886
15887
15888 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15889 PyObject *resultobj;
15890 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15891 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15892 wxToolBarToolBase *result;
15893 PyObject * obj0 = 0 ;
15894 PyObject * obj1 = 0 ;
15895 char *kwnames[] = {
15896 (char *) "self",(char *) "tool", NULL
15897 };
15898
15899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
15904 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 {
15910 resultobj = wxPyMake_wxObject(result);
15911 }
15912 return resultobj;
15913 fail:
15914 return NULL;
15915 }
15916
15917
15918 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj;
15920 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15921 size_t arg2 ;
15922 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15923 wxToolBarToolBase *result;
15924 PyObject * obj0 = 0 ;
15925 PyObject * obj1 = 0 ;
15926 PyObject * obj2 = 0 ;
15927 char *kwnames[] = {
15928 (char *) "self",(char *) "pos",(char *) "tool", NULL
15929 };
15930
15931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15933 {
15934 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 {
15946 resultobj = wxPyMake_wxObject(result);
15947 }
15948 return resultobj;
15949 fail:
15950 return NULL;
15951 }
15952
15953
15954 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15957 wxControl *arg2 = (wxControl *) 0 ;
15958 wxToolBarToolBase *result;
15959 PyObject * obj0 = 0 ;
15960 PyObject * obj1 = 0 ;
15961 char *kwnames[] = {
15962 (char *) "self",(char *) "control", NULL
15963 };
15964
15965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 {
15976 resultobj = wxPyMake_wxObject(result);
15977 }
15978 return resultobj;
15979 fail:
15980 return NULL;
15981 }
15982
15983
15984 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj;
15986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15987 size_t arg2 ;
15988 wxControl *arg3 = (wxControl *) 0 ;
15989 wxToolBarToolBase *result;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 PyObject * obj2 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self",(char *) "pos",(char *) "control", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15999 {
16000 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16004 {
16005 PyThreadState* __tstate = wxPyBeginAllowThreads();
16006 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16007
16008 wxPyEndAllowThreads(__tstate);
16009 if (PyErr_Occurred()) SWIG_fail;
16010 }
16011 {
16012 resultobj = wxPyMake_wxObject(result);
16013 }
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16021 PyObject *resultobj;
16022 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16023 int arg2 ;
16024 wxControl *result;
16025 PyObject * obj0 = 0 ;
16026 PyObject * obj1 = 0 ;
16027 char *kwnames[] = {
16028 (char *) "self",(char *) "id", NULL
16029 };
16030
16031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16033 {
16034 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16035 if (PyErr_Occurred()) SWIG_fail;
16036 }
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 result = (wxControl *)(arg1)->FindControl(arg2);
16040
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 {
16045 resultobj = wxPyMake_wxObject(result);
16046 }
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16056 wxToolBarToolBase *result;
16057 PyObject * obj0 = 0 ;
16058 char *kwnames[] = {
16059 (char *) "self", NULL
16060 };
16061
16062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 {
16072 resultobj = wxPyMake_wxObject(result);
16073 }
16074 return resultobj;
16075 fail:
16076 return NULL;
16077 }
16078
16079
16080 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16081 PyObject *resultobj;
16082 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16083 size_t arg2 ;
16084 wxToolBarToolBase *result;
16085 PyObject * obj0 = 0 ;
16086 PyObject * obj1 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self",(char *) "pos", NULL
16089 };
16090
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16093 {
16094 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16100
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 {
16105 resultobj = wxPyMake_wxObject(result);
16106 }
16107 return resultobj;
16108 fail:
16109 return NULL;
16110 }
16111
16112
16113 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16116 int arg2 ;
16117 wxToolBarToolBase *result;
16118 PyObject * obj0 = 0 ;
16119 PyObject * obj1 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self",(char *) "id", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16126 {
16127 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 {
16131 PyThreadState* __tstate = wxPyBeginAllowThreads();
16132 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16133
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 {
16138 resultobj = wxPyMake_wxObject(result);
16139 }
16140 return resultobj;
16141 fail:
16142 return NULL;
16143 }
16144
16145
16146 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16147 PyObject *resultobj;
16148 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16149 size_t arg2 ;
16150 bool result;
16151 PyObject * obj0 = 0 ;
16152 PyObject * obj1 = 0 ;
16153 char *kwnames[] = {
16154 (char *) "self",(char *) "pos", NULL
16155 };
16156
16157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16159 {
16160 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 {
16164 PyThreadState* __tstate = wxPyBeginAllowThreads();
16165 result = (bool)(arg1)->DeleteToolByPos(arg2);
16166
16167 wxPyEndAllowThreads(__tstate);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16171 return resultobj;
16172 fail:
16173 return NULL;
16174 }
16175
16176
16177 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj;
16179 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16180 int arg2 ;
16181 bool result;
16182 PyObject * obj0 = 0 ;
16183 PyObject * obj1 = 0 ;
16184 char *kwnames[] = {
16185 (char *) "self",(char *) "id", NULL
16186 };
16187
16188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16190 {
16191 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 result = (bool)(arg1)->DeleteTool(arg2);
16197
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16202 return resultobj;
16203 fail:
16204 return NULL;
16205 }
16206
16207
16208 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16211 PyObject * obj0 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16218 {
16219 PyThreadState* __tstate = wxPyBeginAllowThreads();
16220 (arg1)->ClearTools();
16221
16222 wxPyEndAllowThreads(__tstate);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 Py_INCREF(Py_None); resultobj = Py_None;
16226 return resultobj;
16227 fail:
16228 return NULL;
16229 }
16230
16231
16232 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16233 PyObject *resultobj;
16234 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16235 bool result;
16236 PyObject * obj0 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "self", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 result = (bool)(arg1)->Realize();
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16251 return resultobj;
16252 fail:
16253 return NULL;
16254 }
16255
16256
16257 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16258 PyObject *resultobj;
16259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16260 int arg2 ;
16261 bool arg3 ;
16262 PyObject * obj0 = 0 ;
16263 PyObject * obj1 = 0 ;
16264 PyObject * obj2 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "self",(char *) "id",(char *) "enable", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16271 {
16272 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 {
16276 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16277 if (PyErr_Occurred()) SWIG_fail;
16278 }
16279 {
16280 PyThreadState* __tstate = wxPyBeginAllowThreads();
16281 (arg1)->EnableTool(arg2,arg3);
16282
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16296 int arg2 ;
16297 bool arg3 ;
16298 PyObject * obj0 = 0 ;
16299 PyObject * obj1 = 0 ;
16300 PyObject * obj2 = 0 ;
16301 char *kwnames[] = {
16302 (char *) "self",(char *) "id",(char *) "toggle", NULL
16303 };
16304
16305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16307 {
16308 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16309 if (PyErr_Occurred()) SWIG_fail;
16310 }
16311 {
16312 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 }
16315 {
16316 PyThreadState* __tstate = wxPyBeginAllowThreads();
16317 (arg1)->ToggleTool(arg2,arg3);
16318
16319 wxPyEndAllowThreads(__tstate);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 }
16322 Py_INCREF(Py_None); resultobj = Py_None;
16323 return resultobj;
16324 fail:
16325 return NULL;
16326 }
16327
16328
16329 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16332 int arg2 ;
16333 bool arg3 ;
16334 PyObject * obj0 = 0 ;
16335 PyObject * obj1 = 0 ;
16336 PyObject * obj2 = 0 ;
16337 char *kwnames[] = {
16338 (char *) "self",(char *) "id",(char *) "toggle", NULL
16339 };
16340
16341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16343 {
16344 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16345 if (PyErr_Occurred()) SWIG_fail;
16346 }
16347 {
16348 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 {
16352 PyThreadState* __tstate = wxPyBeginAllowThreads();
16353 (arg1)->SetToggle(arg2,arg3);
16354
16355 wxPyEndAllowThreads(__tstate);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 }
16358 Py_INCREF(Py_None); resultobj = Py_None;
16359 return resultobj;
16360 fail:
16361 return NULL;
16362 }
16363
16364
16365 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16368 int arg2 ;
16369 PyObject *result;
16370 PyObject * obj0 = 0 ;
16371 PyObject * obj1 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self",(char *) "id", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16378 {
16379 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
16384 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16385
16386 wxPyEndAllowThreads(__tstate);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 }
16389 resultobj = result;
16390 return resultobj;
16391 fail:
16392 return NULL;
16393 }
16394
16395
16396 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16397 PyObject *resultobj;
16398 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16399 int arg2 ;
16400 PyObject *arg3 = (PyObject *) 0 ;
16401 PyObject * obj0 = 0 ;
16402 PyObject * obj1 = 0 ;
16403 PyObject * obj2 = 0 ;
16404 char *kwnames[] = {
16405 (char *) "self",(char *) "id",(char *) "clientData", NULL
16406 };
16407
16408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16410 {
16411 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 arg3 = obj2;
16415 {
16416 PyThreadState* __tstate = wxPyBeginAllowThreads();
16417 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16418
16419 wxPyEndAllowThreads(__tstate);
16420 if (PyErr_Occurred()) SWIG_fail;
16421 }
16422 Py_INCREF(Py_None); resultobj = Py_None;
16423 return resultobj;
16424 fail:
16425 return NULL;
16426 }
16427
16428
16429 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj;
16431 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16432 int arg2 ;
16433 int result;
16434 PyObject * obj0 = 0 ;
16435 PyObject * obj1 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self",(char *) "id", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16442 {
16443 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 }
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16449
16450 wxPyEndAllowThreads(__tstate);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 resultobj = SWIG_PyObj_FromInt((int)result);
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16463 int arg2 ;
16464 bool result;
16465 PyObject * obj0 = 0 ;
16466 PyObject * obj1 = 0 ;
16467 char *kwnames[] = {
16468 (char *) "self",(char *) "id", NULL
16469 };
16470
16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16473 {
16474 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 {
16478 PyThreadState* __tstate = wxPyBeginAllowThreads();
16479 result = (bool)(arg1)->GetToolState(arg2);
16480
16481 wxPyEndAllowThreads(__tstate);
16482 if (PyErr_Occurred()) SWIG_fail;
16483 }
16484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16485 return resultobj;
16486 fail:
16487 return NULL;
16488 }
16489
16490
16491 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj;
16493 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16494 int arg2 ;
16495 bool result;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self",(char *) "id", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16504 {
16505 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (bool)(arg1)->GetToolEnabled(arg2);
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16525 int arg2 ;
16526 wxString *arg3 = 0 ;
16527 bool temp3 = False ;
16528 PyObject * obj0 = 0 ;
16529 PyObject * obj1 = 0 ;
16530 PyObject * obj2 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self",(char *) "id",(char *) "helpString", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16537 {
16538 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 {
16542 arg3 = wxString_in_helper(obj2);
16543 if (arg3 == NULL) SWIG_fail;
16544 temp3 = True;
16545 }
16546 {
16547 PyThreadState* __tstate = wxPyBeginAllowThreads();
16548 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16549
16550 wxPyEndAllowThreads(__tstate);
16551 if (PyErr_Occurred()) SWIG_fail;
16552 }
16553 Py_INCREF(Py_None); resultobj = Py_None;
16554 {
16555 if (temp3)
16556 delete arg3;
16557 }
16558 return resultobj;
16559 fail:
16560 {
16561 if (temp3)
16562 delete arg3;
16563 }
16564 return NULL;
16565 }
16566
16567
16568 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16569 PyObject *resultobj;
16570 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16571 int arg2 ;
16572 wxString result;
16573 PyObject * obj0 = 0 ;
16574 PyObject * obj1 = 0 ;
16575 char *kwnames[] = {
16576 (char *) "self",(char *) "id", NULL
16577 };
16578
16579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16581 {
16582 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16583 if (PyErr_Occurred()) SWIG_fail;
16584 }
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = (arg1)->GetToolShortHelp(arg2);
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 {
16593 #if wxUSE_UNICODE
16594 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16595 #else
16596 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16597 #endif
16598 }
16599 return resultobj;
16600 fail:
16601 return NULL;
16602 }
16603
16604
16605 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj;
16607 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16608 int arg2 ;
16609 wxString *arg3 = 0 ;
16610 bool temp3 = False ;
16611 PyObject * obj0 = 0 ;
16612 PyObject * obj1 = 0 ;
16613 PyObject * obj2 = 0 ;
16614 char *kwnames[] = {
16615 (char *) "self",(char *) "id",(char *) "helpString", NULL
16616 };
16617
16618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16620 {
16621 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16622 if (PyErr_Occurred()) SWIG_fail;
16623 }
16624 {
16625 arg3 = wxString_in_helper(obj2);
16626 if (arg3 == NULL) SWIG_fail;
16627 temp3 = True;
16628 }
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16632
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 Py_INCREF(Py_None); resultobj = Py_None;
16637 {
16638 if (temp3)
16639 delete arg3;
16640 }
16641 return resultobj;
16642 fail:
16643 {
16644 if (temp3)
16645 delete arg3;
16646 }
16647 return NULL;
16648 }
16649
16650
16651 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16652 PyObject *resultobj;
16653 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16654 int arg2 ;
16655 wxString result;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self",(char *) "id", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16664 {
16665 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = (arg1)->GetToolLongHelp(arg2);
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 {
16676 #if wxUSE_UNICODE
16677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16678 #else
16679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16680 #endif
16681 }
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16691 int arg2 ;
16692 int arg3 ;
16693 PyObject * obj0 = 0 ;
16694 PyObject * obj1 = 0 ;
16695 PyObject * obj2 = 0 ;
16696 char *kwnames[] = {
16697 (char *) "self",(char *) "x",(char *) "y", NULL
16698 };
16699
16700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16702 {
16703 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 {
16707 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 {
16711 PyThreadState* __tstate = wxPyBeginAllowThreads();
16712 (arg1)->SetMargins(arg2,arg3);
16713
16714 wxPyEndAllowThreads(__tstate);
16715 if (PyErr_Occurred()) SWIG_fail;
16716 }
16717 Py_INCREF(Py_None); resultobj = Py_None;
16718 return resultobj;
16719 fail:
16720 return NULL;
16721 }
16722
16723
16724 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16725 PyObject *resultobj;
16726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16727 wxSize *arg2 = 0 ;
16728 wxSize temp2 ;
16729 PyObject * obj0 = 0 ;
16730 PyObject * obj1 = 0 ;
16731 char *kwnames[] = {
16732 (char *) "self",(char *) "size", NULL
16733 };
16734
16735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16737 {
16738 arg2 = &temp2;
16739 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16740 }
16741 {
16742 PyThreadState* __tstate = wxPyBeginAllowThreads();
16743 (arg1)->SetMargins((wxSize const &)*arg2);
16744
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 Py_INCREF(Py_None); resultobj = Py_None;
16749 return resultobj;
16750 fail:
16751 return NULL;
16752 }
16753
16754
16755 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj;
16757 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16758 int arg2 ;
16759 PyObject * obj0 = 0 ;
16760 PyObject * obj1 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self",(char *) "packing", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16767 {
16768 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 }
16771 {
16772 PyThreadState* __tstate = wxPyBeginAllowThreads();
16773 (arg1)->SetToolPacking(arg2);
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 Py_INCREF(Py_None); resultobj = Py_None;
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16788 int arg2 ;
16789 PyObject * obj0 = 0 ;
16790 PyObject * obj1 = 0 ;
16791 char *kwnames[] = {
16792 (char *) "self",(char *) "separation", NULL
16793 };
16794
16795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16797 {
16798 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 (arg1)->SetToolSeparation(arg2);
16804
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 Py_INCREF(Py_None); resultobj = Py_None;
16809 return resultobj;
16810 fail:
16811 return NULL;
16812 }
16813
16814
16815 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16816 PyObject *resultobj;
16817 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16818 wxSize result;
16819 PyObject * obj0 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self", NULL
16822 };
16823
16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (arg1)->GetToolMargins();
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 {
16834 wxSize * resultptr;
16835 resultptr = new wxSize((wxSize &) result);
16836 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16837 }
16838 return resultobj;
16839 fail:
16840 return NULL;
16841 }
16842
16843
16844 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16845 PyObject *resultobj;
16846 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16847 wxSize result;
16848 PyObject * obj0 = 0 ;
16849 char *kwnames[] = {
16850 (char *) "self", NULL
16851 };
16852
16853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 result = (arg1)->GetMargins();
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 {
16863 wxSize * resultptr;
16864 resultptr = new wxSize((wxSize &) result);
16865 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16866 }
16867 return resultobj;
16868 fail:
16869 return NULL;
16870 }
16871
16872
16873 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16874 PyObject *resultobj;
16875 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16876 int result;
16877 PyObject * obj0 = 0 ;
16878 char *kwnames[] = {
16879 (char *) "self", NULL
16880 };
16881
16882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = (int)(arg1)->GetToolPacking();
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 resultobj = SWIG_PyObj_FromInt((int)result);
16892 return resultobj;
16893 fail:
16894 return NULL;
16895 }
16896
16897
16898 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16899 PyObject *resultobj;
16900 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16901 int result;
16902 PyObject * obj0 = 0 ;
16903 char *kwnames[] = {
16904 (char *) "self", NULL
16905 };
16906
16907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 result = (int)(arg1)->GetToolSeparation();
16912
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 resultobj = SWIG_PyObj_FromInt((int)result);
16917 return resultobj;
16918 fail:
16919 return NULL;
16920 }
16921
16922
16923 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16924 PyObject *resultobj;
16925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16926 int arg2 ;
16927 PyObject * obj0 = 0 ;
16928 PyObject * obj1 = 0 ;
16929 char *kwnames[] = {
16930 (char *) "self",(char *) "nRows", NULL
16931 };
16932
16933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16935 {
16936 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 {
16940 PyThreadState* __tstate = wxPyBeginAllowThreads();
16941 (arg1)->SetRows(arg2);
16942
16943 wxPyEndAllowThreads(__tstate);
16944 if (PyErr_Occurred()) SWIG_fail;
16945 }
16946 Py_INCREF(Py_None); resultobj = Py_None;
16947 return resultobj;
16948 fail:
16949 return NULL;
16950 }
16951
16952
16953 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16954 PyObject *resultobj;
16955 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16956 int arg2 ;
16957 int arg3 ;
16958 PyObject * obj0 = 0 ;
16959 PyObject * obj1 = 0 ;
16960 PyObject * obj2 = 0 ;
16961 char *kwnames[] = {
16962 (char *) "self",(char *) "rows",(char *) "cols", NULL
16963 };
16964
16965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16967 {
16968 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 }
16971 {
16972 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 }
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 (arg1)->SetMaxRowsCols(arg2,arg3);
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 Py_INCREF(Py_None); resultobj = Py_None;
16983 return resultobj;
16984 fail:
16985 return NULL;
16986 }
16987
16988
16989 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16990 PyObject *resultobj;
16991 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16992 int result;
16993 PyObject * obj0 = 0 ;
16994 char *kwnames[] = {
16995 (char *) "self", NULL
16996 };
16997
16998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
16999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (int)(arg1)->GetMaxRows();
17003
17004 wxPyEndAllowThreads(__tstate);
17005 if (PyErr_Occurred()) SWIG_fail;
17006 }
17007 resultobj = SWIG_PyObj_FromInt((int)result);
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17017 int result;
17018 PyObject * obj0 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "self", NULL
17021 };
17022
17023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17025 {
17026 PyThreadState* __tstate = wxPyBeginAllowThreads();
17027 result = (int)(arg1)->GetMaxCols();
17028
17029 wxPyEndAllowThreads(__tstate);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
17032 resultobj = SWIG_PyObj_FromInt((int)result);
17033 return resultobj;
17034 fail:
17035 return NULL;
17036 }
17037
17038
17039 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17040 PyObject *resultobj;
17041 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17042 wxSize *arg2 = 0 ;
17043 wxSize temp2 ;
17044 PyObject * obj0 = 0 ;
17045 PyObject * obj1 = 0 ;
17046 char *kwnames[] = {
17047 (char *) "self",(char *) "size", NULL
17048 };
17049
17050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17052 {
17053 arg2 = &temp2;
17054 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17055 }
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17059
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 Py_INCREF(Py_None); resultobj = Py_None;
17064 return resultobj;
17065 fail:
17066 return NULL;
17067 }
17068
17069
17070 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17071 PyObject *resultobj;
17072 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17073 wxSize result;
17074 PyObject * obj0 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 result = (arg1)->GetToolBitmapSize();
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 {
17089 wxSize * resultptr;
17090 resultptr = new wxSize((wxSize &) result);
17091 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17092 }
17093 return resultobj;
17094 fail:
17095 return NULL;
17096 }
17097
17098
17099 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj;
17101 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17102 wxSize result;
17103 PyObject * obj0 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17110 {
17111 PyThreadState* __tstate = wxPyBeginAllowThreads();
17112 result = (arg1)->GetToolSize();
17113
17114 wxPyEndAllowThreads(__tstate);
17115 if (PyErr_Occurred()) SWIG_fail;
17116 }
17117 {
17118 wxSize * resultptr;
17119 resultptr = new wxSize((wxSize &) result);
17120 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17121 }
17122 return resultobj;
17123 fail:
17124 return NULL;
17125 }
17126
17127
17128 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17131 int arg2 ;
17132 int arg3 ;
17133 wxToolBarToolBase *result;
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 PyObject * obj2 = 0 ;
17137 char *kwnames[] = {
17138 (char *) "self",(char *) "x",(char *) "y", NULL
17139 };
17140
17141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17143 {
17144 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 {
17148 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17154
17155 wxPyEndAllowThreads(__tstate);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 }
17158 {
17159 resultobj = wxPyMake_wxObject(result);
17160 }
17161 return resultobj;
17162 fail:
17163 return NULL;
17164 }
17165
17166
17167 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17170 int arg2 ;
17171 wxToolBarToolBase *result;
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj1 = 0 ;
17174 char *kwnames[] = {
17175 (char *) "self",(char *) "toolid", NULL
17176 };
17177
17178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17180 {
17181 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17182 if (PyErr_Occurred()) SWIG_fail;
17183 }
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17187
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 {
17192 resultobj = wxPyMake_wxObject(result);
17193 }
17194 return resultobj;
17195 fail:
17196 return NULL;
17197 }
17198
17199
17200 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17201 PyObject *resultobj;
17202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17203 bool result;
17204 PyObject * obj0 = 0 ;
17205 char *kwnames[] = {
17206 (char *) "self", NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17211 {
17212 PyThreadState* __tstate = wxPyBeginAllowThreads();
17213 result = (bool)(arg1)->IsVertical();
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17226 PyObject *obj;
17227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17228 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17229 Py_INCREF(obj);
17230 return Py_BuildValue((char *)"");
17231 }
17232 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17233 PyObject *resultobj;
17234 wxWindow *arg1 = (wxWindow *) 0 ;
17235 int arg2 ;
17236 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17237 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17238 wxSize const &arg4_defvalue = wxDefaultSize ;
17239 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17240 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17241 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17242 wxString *arg6 = (wxString *) &arg6_defvalue ;
17243 wxToolBar *result;
17244 wxPoint temp3 ;
17245 wxSize temp4 ;
17246 bool temp6 = False ;
17247 PyObject * obj0 = 0 ;
17248 PyObject * obj1 = 0 ;
17249 PyObject * obj2 = 0 ;
17250 PyObject * obj3 = 0 ;
17251 PyObject * obj4 = 0 ;
17252 PyObject * obj5 = 0 ;
17253 char *kwnames[] = {
17254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17255 };
17256
17257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17259 {
17260 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 if (obj2) {
17264 {
17265 arg3 = &temp3;
17266 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17267 }
17268 }
17269 if (obj3) {
17270 {
17271 arg4 = &temp4;
17272 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17273 }
17274 }
17275 if (obj4) {
17276 {
17277 arg5 = (long) SWIG_PyObj_AsLong(obj4);
17278 if (PyErr_Occurred()) SWIG_fail;
17279 }
17280 }
17281 if (obj5) {
17282 {
17283 arg6 = wxString_in_helper(obj5);
17284 if (arg6 == NULL) SWIG_fail;
17285 temp6 = True;
17286 }
17287 }
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17291
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 {
17296 resultobj = wxPyMake_wxObject(result);
17297 }
17298 {
17299 if (temp6)
17300 delete arg6;
17301 }
17302 return resultobj;
17303 fail:
17304 {
17305 if (temp6)
17306 delete arg6;
17307 }
17308 return NULL;
17309 }
17310
17311
17312 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17313 PyObject *resultobj;
17314 wxToolBar *result;
17315 char *kwnames[] = {
17316 NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 result = (wxToolBar *)new wxToolBar();
17323
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 {
17328 resultobj = wxPyMake_wxObject(result);
17329 }
17330 return resultobj;
17331 fail:
17332 return NULL;
17333 }
17334
17335
17336 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxToolBar *arg1 = (wxToolBar *) 0 ;
17339 wxWindow *arg2 = (wxWindow *) 0 ;
17340 int arg3 ;
17341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17343 wxSize const &arg5_defvalue = wxDefaultSize ;
17344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17345 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17346 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17347 wxString *arg7 = (wxString *) &arg7_defvalue ;
17348 bool result;
17349 wxPoint temp4 ;
17350 wxSize temp5 ;
17351 bool temp7 = False ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 PyObject * obj2 = 0 ;
17355 PyObject * obj3 = 0 ;
17356 PyObject * obj4 = 0 ;
17357 PyObject * obj5 = 0 ;
17358 PyObject * obj6 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17366 {
17367 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17368 if (PyErr_Occurred()) SWIG_fail;
17369 }
17370 if (obj3) {
17371 {
17372 arg4 = &temp4;
17373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17374 }
17375 }
17376 if (obj4) {
17377 {
17378 arg5 = &temp5;
17379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17380 }
17381 }
17382 if (obj5) {
17383 {
17384 arg6 = (long) SWIG_PyObj_AsLong(obj5);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 }
17388 if (obj6) {
17389 {
17390 arg7 = wxString_in_helper(obj6);
17391 if (arg7 == NULL) SWIG_fail;
17392 temp7 = True;
17393 }
17394 }
17395 {
17396 PyThreadState* __tstate = wxPyBeginAllowThreads();
17397 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17398
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
17402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17403 {
17404 if (temp7)
17405 delete arg7;
17406 }
17407 return resultobj;
17408 fail:
17409 {
17410 if (temp7)
17411 delete arg7;
17412 }
17413 return NULL;
17414 }
17415
17416
17417 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj;
17419 wxToolBar *arg1 = (wxToolBar *) 0 ;
17420 int arg2 ;
17421 int arg3 ;
17422 wxToolBarToolBase *result;
17423 PyObject * obj0 = 0 ;
17424 PyObject * obj1 = 0 ;
17425 PyObject * obj2 = 0 ;
17426 char *kwnames[] = {
17427 (char *) "self",(char *) "x",(char *) "y", NULL
17428 };
17429
17430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17432 {
17433 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17434 if (PyErr_Occurred()) SWIG_fail;
17435 }
17436 {
17437 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 {
17448 resultobj = wxPyMake_wxObject(result);
17449 }
17450 return resultobj;
17451 fail:
17452 return NULL;
17453 }
17454
17455
17456 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17457 PyObject *obj;
17458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17459 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17460 Py_INCREF(obj);
17461 return Py_BuildValue((char *)"");
17462 }
17463 static int _wrap_ListCtrlNameStr_set(PyObject *) {
17464 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17465 return 1;
17466 }
17467
17468
17469 static PyObject *_wrap_ListCtrlNameStr_get() {
17470 PyObject *pyobj;
17471
17472 {
17473 #if wxUSE_UNICODE
17474 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17475 #else
17476 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17477 #endif
17478 }
17479 return pyobj;
17480 }
17481
17482
17483 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxColour const &arg1_defvalue = wxNullColour ;
17486 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17487 wxColour const &arg2_defvalue = wxNullColour ;
17488 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17489 wxFont const &arg3_defvalue = wxNullFont ;
17490 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17491 wxListItemAttr *result;
17492 wxColour temp1 ;
17493 wxColour temp2 ;
17494 PyObject * obj0 = 0 ;
17495 PyObject * obj1 = 0 ;
17496 PyObject * obj2 = 0 ;
17497 char *kwnames[] = {
17498 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17499 };
17500
17501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17502 if (obj0) {
17503 {
17504 arg1 = &temp1;
17505 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17506 }
17507 }
17508 if (obj1) {
17509 {
17510 arg2 = &temp2;
17511 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17512 }
17513 }
17514 if (obj2) {
17515 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17516 if (arg3 == NULL) {
17517 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17518 }
17519 }
17520 {
17521 PyThreadState* __tstate = wxPyBeginAllowThreads();
17522 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17523
17524 wxPyEndAllowThreads(__tstate);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 }
17527 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
17528 return resultobj;
17529 fail:
17530 return NULL;
17531 }
17532
17533
17534 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17535 PyObject *resultobj;
17536 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17537 wxColour *arg2 = 0 ;
17538 wxColour temp2 ;
17539 PyObject * obj0 = 0 ;
17540 PyObject * obj1 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self",(char *) "colText", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17547 {
17548 arg2 = &temp2;
17549 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17550 }
17551 {
17552 PyThreadState* __tstate = wxPyBeginAllowThreads();
17553 (arg1)->SetTextColour((wxColour const &)*arg2);
17554
17555 wxPyEndAllowThreads(__tstate);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 }
17558 Py_INCREF(Py_None); resultobj = Py_None;
17559 return resultobj;
17560 fail:
17561 return NULL;
17562 }
17563
17564
17565 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17566 PyObject *resultobj;
17567 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17568 wxColour *arg2 = 0 ;
17569 wxColour temp2 ;
17570 PyObject * obj0 = 0 ;
17571 PyObject * obj1 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self",(char *) "colBack", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17578 {
17579 arg2 = &temp2;
17580 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17581 }
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 Py_INCREF(Py_None); resultobj = Py_None;
17590 return resultobj;
17591 fail:
17592 return NULL;
17593 }
17594
17595
17596 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17599 wxFont *arg2 = 0 ;
17600 PyObject * obj0 = 0 ;
17601 PyObject * obj1 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self",(char *) "font", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17609 if (arg2 == NULL) {
17610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17611 }
17612 {
17613 PyThreadState* __tstate = wxPyBeginAllowThreads();
17614 (arg1)->SetFont((wxFont const &)*arg2);
17615
17616 wxPyEndAllowThreads(__tstate);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 }
17619 Py_INCREF(Py_None); resultobj = Py_None;
17620 return resultobj;
17621 fail:
17622 return NULL;
17623 }
17624
17625
17626 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17627 PyObject *resultobj;
17628 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17629 bool result;
17630 PyObject * obj0 = 0 ;
17631 char *kwnames[] = {
17632 (char *) "self", NULL
17633 };
17634
17635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 result = (bool)(arg1)->HasTextColour();
17640
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17645 return resultobj;
17646 fail:
17647 return NULL;
17648 }
17649
17650
17651 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj;
17653 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17654 bool result;
17655 PyObject * obj0 = 0 ;
17656 char *kwnames[] = {
17657 (char *) "self", NULL
17658 };
17659
17660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17662 {
17663 PyThreadState* __tstate = wxPyBeginAllowThreads();
17664 result = (bool)(arg1)->HasBackgroundColour();
17665
17666 wxPyEndAllowThreads(__tstate);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17670 return resultobj;
17671 fail:
17672 return NULL;
17673 }
17674
17675
17676 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17677 PyObject *resultobj;
17678 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17679 bool result;
17680 PyObject * obj0 = 0 ;
17681 char *kwnames[] = {
17682 (char *) "self", NULL
17683 };
17684
17685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17687 {
17688 PyThreadState* __tstate = wxPyBeginAllowThreads();
17689 result = (bool)(arg1)->HasFont();
17690
17691 wxPyEndAllowThreads(__tstate);
17692 if (PyErr_Occurred()) SWIG_fail;
17693 }
17694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17695 return resultobj;
17696 fail:
17697 return NULL;
17698 }
17699
17700
17701 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17702 PyObject *resultobj;
17703 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17704 wxColour result;
17705 PyObject * obj0 = 0 ;
17706 char *kwnames[] = {
17707 (char *) "self", NULL
17708 };
17709
17710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17712 {
17713 PyThreadState* __tstate = wxPyBeginAllowThreads();
17714 result = (arg1)->GetTextColour();
17715
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 {
17720 wxColour * resultptr;
17721 resultptr = new wxColour((wxColour &) result);
17722 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17723 }
17724 return resultobj;
17725 fail:
17726 return NULL;
17727 }
17728
17729
17730 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17733 wxColour result;
17734 PyObject * obj0 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "self", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = (arg1)->GetBackgroundColour();
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 {
17749 wxColour * resultptr;
17750 resultptr = new wxColour((wxColour &) result);
17751 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17752 }
17753 return resultobj;
17754 fail:
17755 return NULL;
17756 }
17757
17758
17759 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17762 wxFont result;
17763 PyObject * obj0 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 result = (arg1)->GetFont();
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 {
17778 wxFont * resultptr;
17779 resultptr = new wxFont((wxFont &) result);
17780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17781 }
17782 return resultobj;
17783 fail:
17784 return NULL;
17785 }
17786
17787
17788 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17791 PyObject * obj0 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 wxListItemAttr_Destroy(arg1);
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 Py_INCREF(Py_None); resultobj = Py_None;
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17813 PyObject *obj;
17814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17815 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17816 Py_INCREF(obj);
17817 return Py_BuildValue((char *)"");
17818 }
17819 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxListItem *result;
17822 char *kwnames[] = {
17823 NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17827 {
17828 PyThreadState* __tstate = wxPyBeginAllowThreads();
17829 result = (wxListItem *)new wxListItem();
17830
17831 wxPyEndAllowThreads(__tstate);
17832 if (PyErr_Occurred()) SWIG_fail;
17833 }
17834 {
17835 resultobj = wxPyMake_wxObject(result);
17836 }
17837 return resultobj;
17838 fail:
17839 return NULL;
17840 }
17841
17842
17843 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17844 PyObject *resultobj;
17845 wxListItem *arg1 = (wxListItem *) 0 ;
17846 PyObject * obj0 = 0 ;
17847 char *kwnames[] = {
17848 (char *) "self", NULL
17849 };
17850
17851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 delete arg1;
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 Py_INCREF(Py_None); resultobj = Py_None;
17861 return resultobj;
17862 fail:
17863 return NULL;
17864 }
17865
17866
17867 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxListItem *arg1 = (wxListItem *) 0 ;
17870 PyObject * obj0 = 0 ;
17871 char *kwnames[] = {
17872 (char *) "self", NULL
17873 };
17874
17875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 (arg1)->Clear();
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 Py_INCREF(Py_None); resultobj = Py_None;
17885 return resultobj;
17886 fail:
17887 return NULL;
17888 }
17889
17890
17891 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17892 PyObject *resultobj;
17893 wxListItem *arg1 = (wxListItem *) 0 ;
17894 PyObject * obj0 = 0 ;
17895 char *kwnames[] = {
17896 (char *) "self", NULL
17897 };
17898
17899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17901 {
17902 PyThreadState* __tstate = wxPyBeginAllowThreads();
17903 (arg1)->ClearAttributes();
17904
17905 wxPyEndAllowThreads(__tstate);
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 Py_INCREF(Py_None); resultobj = Py_None;
17909 return resultobj;
17910 fail:
17911 return NULL;
17912 }
17913
17914
17915 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17916 PyObject *resultobj;
17917 wxListItem *arg1 = (wxListItem *) 0 ;
17918 long arg2 ;
17919 PyObject * obj0 = 0 ;
17920 PyObject * obj1 = 0 ;
17921 char *kwnames[] = {
17922 (char *) "self",(char *) "mask", NULL
17923 };
17924
17925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17927 {
17928 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 {
17932 PyThreadState* __tstate = wxPyBeginAllowThreads();
17933 (arg1)->SetMask(arg2);
17934
17935 wxPyEndAllowThreads(__tstate);
17936 if (PyErr_Occurred()) SWIG_fail;
17937 }
17938 Py_INCREF(Py_None); resultobj = Py_None;
17939 return resultobj;
17940 fail:
17941 return NULL;
17942 }
17943
17944
17945 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17946 PyObject *resultobj;
17947 wxListItem *arg1 = (wxListItem *) 0 ;
17948 long arg2 ;
17949 PyObject * obj0 = 0 ;
17950 PyObject * obj1 = 0 ;
17951 char *kwnames[] = {
17952 (char *) "self",(char *) "id", NULL
17953 };
17954
17955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17957 {
17958 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 (arg1)->SetId(arg2);
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 Py_INCREF(Py_None); resultobj = Py_None;
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxListItem *arg1 = (wxListItem *) 0 ;
17978 int arg2 ;
17979 PyObject * obj0 = 0 ;
17980 PyObject * obj1 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self",(char *) "col", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17987 {
17988 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 (arg1)->SetColumn(arg2);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 Py_INCREF(Py_None); resultobj = Py_None;
17999 return resultobj;
18000 fail:
18001 return NULL;
18002 }
18003
18004
18005 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxListItem *arg1 = (wxListItem *) 0 ;
18008 long arg2 ;
18009 PyObject * obj0 = 0 ;
18010 PyObject * obj1 = 0 ;
18011 char *kwnames[] = {
18012 (char *) "self",(char *) "state", NULL
18013 };
18014
18015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18017 {
18018 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 (arg1)->SetState(arg2);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxListItem *arg1 = (wxListItem *) 0 ;
18038 long arg2 ;
18039 PyObject * obj0 = 0 ;
18040 PyObject * obj1 = 0 ;
18041 char *kwnames[] = {
18042 (char *) "self",(char *) "stateMask", NULL
18043 };
18044
18045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18047 {
18048 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 }
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 (arg1)->SetStateMask(arg2);
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 Py_INCREF(Py_None); resultobj = Py_None;
18059 return resultobj;
18060 fail:
18061 return NULL;
18062 }
18063
18064
18065 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxListItem *arg1 = (wxListItem *) 0 ;
18068 wxString *arg2 = 0 ;
18069 bool temp2 = False ;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "text", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 {
18079 arg2 = wxString_in_helper(obj1);
18080 if (arg2 == NULL) SWIG_fail;
18081 temp2 = True;
18082 }
18083 {
18084 PyThreadState* __tstate = wxPyBeginAllowThreads();
18085 (arg1)->SetText((wxString const &)*arg2);
18086
18087 wxPyEndAllowThreads(__tstate);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 }
18090 Py_INCREF(Py_None); resultobj = Py_None;
18091 {
18092 if (temp2)
18093 delete arg2;
18094 }
18095 return resultobj;
18096 fail:
18097 {
18098 if (temp2)
18099 delete arg2;
18100 }
18101 return NULL;
18102 }
18103
18104
18105 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18106 PyObject *resultobj;
18107 wxListItem *arg1 = (wxListItem *) 0 ;
18108 int arg2 ;
18109 PyObject * obj0 = 0 ;
18110 PyObject * obj1 = 0 ;
18111 char *kwnames[] = {
18112 (char *) "self",(char *) "image", NULL
18113 };
18114
18115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18117 {
18118 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 (arg1)->SetImage(arg2);
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 Py_INCREF(Py_None); resultobj = Py_None;
18129 return resultobj;
18130 fail:
18131 return NULL;
18132 }
18133
18134
18135 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj;
18137 wxListItem *arg1 = (wxListItem *) 0 ;
18138 long arg2 ;
18139 PyObject * obj0 = 0 ;
18140 PyObject * obj1 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self",(char *) "data", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18147 {
18148 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 {
18152 PyThreadState* __tstate = wxPyBeginAllowThreads();
18153 (arg1)->SetData(arg2);
18154
18155 wxPyEndAllowThreads(__tstate);
18156 if (PyErr_Occurred()) SWIG_fail;
18157 }
18158 Py_INCREF(Py_None); resultobj = Py_None;
18159 return resultobj;
18160 fail:
18161 return NULL;
18162 }
18163
18164
18165 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18166 PyObject *resultobj;
18167 wxListItem *arg1 = (wxListItem *) 0 ;
18168 int arg2 ;
18169 PyObject * obj0 = 0 ;
18170 PyObject * obj1 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self",(char *) "width", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18177 {
18178 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 {
18182 PyThreadState* __tstate = wxPyBeginAllowThreads();
18183 (arg1)->SetWidth(arg2);
18184
18185 wxPyEndAllowThreads(__tstate);
18186 if (PyErr_Occurred()) SWIG_fail;
18187 }
18188 Py_INCREF(Py_None); resultobj = Py_None;
18189 return resultobj;
18190 fail:
18191 return NULL;
18192 }
18193
18194
18195 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18196 PyObject *resultobj;
18197 wxListItem *arg1 = (wxListItem *) 0 ;
18198 int arg2 ;
18199 PyObject * obj0 = 0 ;
18200 PyObject * obj1 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "self",(char *) "align", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18207 {
18208 arg2 = (wxListColumnFormat) SWIG_PyObj_AsInt(obj1);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 {
18212 PyThreadState* __tstate = wxPyBeginAllowThreads();
18213 (arg1)->SetAlign((wxListColumnFormat )arg2);
18214
18215 wxPyEndAllowThreads(__tstate);
18216 if (PyErr_Occurred()) SWIG_fail;
18217 }
18218 Py_INCREF(Py_None); resultobj = Py_None;
18219 return resultobj;
18220 fail:
18221 return NULL;
18222 }
18223
18224
18225 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxListItem *arg1 = (wxListItem *) 0 ;
18228 wxColour *arg2 = 0 ;
18229 wxColour temp2 ;
18230 PyObject * obj0 = 0 ;
18231 PyObject * obj1 = 0 ;
18232 char *kwnames[] = {
18233 (char *) "self",(char *) "colText", NULL
18234 };
18235
18236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18238 {
18239 arg2 = &temp2;
18240 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18241 }
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 (arg1)->SetTextColour((wxColour const &)*arg2);
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 Py_INCREF(Py_None); resultobj = Py_None;
18250 return resultobj;
18251 fail:
18252 return NULL;
18253 }
18254
18255
18256 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxListItem *arg1 = (wxListItem *) 0 ;
18259 wxColour *arg2 = 0 ;
18260 wxColour temp2 ;
18261 PyObject * obj0 = 0 ;
18262 PyObject * obj1 = 0 ;
18263 char *kwnames[] = {
18264 (char *) "self",(char *) "colBack", NULL
18265 };
18266
18267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18269 {
18270 arg2 = &temp2;
18271 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18272 }
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18276
18277 wxPyEndAllowThreads(__tstate);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 Py_INCREF(Py_None); resultobj = Py_None;
18281 return resultobj;
18282 fail:
18283 return NULL;
18284 }
18285
18286
18287 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxListItem *arg1 = (wxListItem *) 0 ;
18290 wxFont *arg2 = 0 ;
18291 PyObject * obj0 = 0 ;
18292 PyObject * obj1 = 0 ;
18293 char *kwnames[] = {
18294 (char *) "self",(char *) "font", NULL
18295 };
18296
18297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18300 if (arg2 == NULL) {
18301 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18302 }
18303 {
18304 PyThreadState* __tstate = wxPyBeginAllowThreads();
18305 (arg1)->SetFont((wxFont const &)*arg2);
18306
18307 wxPyEndAllowThreads(__tstate);
18308 if (PyErr_Occurred()) SWIG_fail;
18309 }
18310 Py_INCREF(Py_None); resultobj = Py_None;
18311 return resultobj;
18312 fail:
18313 return NULL;
18314 }
18315
18316
18317 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18318 PyObject *resultobj;
18319 wxListItem *arg1 = (wxListItem *) 0 ;
18320 long result;
18321 PyObject * obj0 = 0 ;
18322 char *kwnames[] = {
18323 (char *) "self", NULL
18324 };
18325
18326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18328 {
18329 PyThreadState* __tstate = wxPyBeginAllowThreads();
18330 result = (long)(arg1)->GetMask();
18331
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 resultobj = SWIG_PyObj_FromLong((long)result);
18336 return resultobj;
18337 fail:
18338 return NULL;
18339 }
18340
18341
18342 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18343 PyObject *resultobj;
18344 wxListItem *arg1 = (wxListItem *) 0 ;
18345 long result;
18346 PyObject * obj0 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 result = (long)(arg1)->GetId();
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 resultobj = SWIG_PyObj_FromLong((long)result);
18361 return resultobj;
18362 fail:
18363 return NULL;
18364 }
18365
18366
18367 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxListItem *arg1 = (wxListItem *) 0 ;
18370 int result;
18371 PyObject * obj0 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 result = (int)(arg1)->GetColumn();
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 resultobj = SWIG_PyObj_FromInt((int)result);
18386 return resultobj;
18387 fail:
18388 return NULL;
18389 }
18390
18391
18392 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxListItem *arg1 = (wxListItem *) 0 ;
18395 long result;
18396 PyObject * obj0 = 0 ;
18397 char *kwnames[] = {
18398 (char *) "self", NULL
18399 };
18400
18401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 result = (long)(arg1)->GetState();
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 resultobj = SWIG_PyObj_FromLong((long)result);
18411 return resultobj;
18412 fail:
18413 return NULL;
18414 }
18415
18416
18417 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18418 PyObject *resultobj;
18419 wxListItem *arg1 = (wxListItem *) 0 ;
18420 wxString *result;
18421 PyObject * obj0 = 0 ;
18422 char *kwnames[] = {
18423 (char *) "self", NULL
18424 };
18425
18426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 {
18431 wxString const &_result_ref = (arg1)->GetText();
18432 result = (wxString *) &_result_ref;
18433 }
18434
18435 wxPyEndAllowThreads(__tstate);
18436 if (PyErr_Occurred()) SWIG_fail;
18437 }
18438 {
18439 #if wxUSE_UNICODE
18440 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18441 #else
18442 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18443 #endif
18444 }
18445 return resultobj;
18446 fail:
18447 return NULL;
18448 }
18449
18450
18451 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18452 PyObject *resultobj;
18453 wxListItem *arg1 = (wxListItem *) 0 ;
18454 int result;
18455 PyObject * obj0 = 0 ;
18456 char *kwnames[] = {
18457 (char *) "self", NULL
18458 };
18459
18460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (int)(arg1)->GetImage();
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 resultobj = SWIG_PyObj_FromInt((int)result);
18470 return resultobj;
18471 fail:
18472 return NULL;
18473 }
18474
18475
18476 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxListItem *arg1 = (wxListItem *) 0 ;
18479 long result;
18480 PyObject * obj0 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "self", NULL
18483 };
18484
18485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18487 {
18488 PyThreadState* __tstate = wxPyBeginAllowThreads();
18489 result = (long)(arg1)->GetData();
18490
18491 wxPyEndAllowThreads(__tstate);
18492 if (PyErr_Occurred()) SWIG_fail;
18493 }
18494 resultobj = SWIG_PyObj_FromLong((long)result);
18495 return resultobj;
18496 fail:
18497 return NULL;
18498 }
18499
18500
18501 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18502 PyObject *resultobj;
18503 wxListItem *arg1 = (wxListItem *) 0 ;
18504 int result;
18505 PyObject * obj0 = 0 ;
18506 char *kwnames[] = {
18507 (char *) "self", NULL
18508 };
18509
18510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 result = (int)(arg1)->GetWidth();
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 resultobj = SWIG_PyObj_FromInt((int)result);
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxListItem *arg1 = (wxListItem *) 0 ;
18529 int result;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 result = (int)(arg1)->GetAlign();
18540
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 resultobj = SWIG_PyObj_FromInt((int)result);
18545 return resultobj;
18546 fail:
18547 return NULL;
18548 }
18549
18550
18551 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18552 PyObject *resultobj;
18553 wxListItem *arg1 = (wxListItem *) 0 ;
18554 wxListItemAttr *result;
18555 PyObject * obj0 = 0 ;
18556 char *kwnames[] = {
18557 (char *) "self", NULL
18558 };
18559
18560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18562 {
18563 PyThreadState* __tstate = wxPyBeginAllowThreads();
18564 result = (wxListItemAttr *)(arg1)->GetAttributes();
18565
18566 wxPyEndAllowThreads(__tstate);
18567 if (PyErr_Occurred()) SWIG_fail;
18568 }
18569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
18570 return resultobj;
18571 fail:
18572 return NULL;
18573 }
18574
18575
18576 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18577 PyObject *resultobj;
18578 wxListItem *arg1 = (wxListItem *) 0 ;
18579 bool result;
18580 PyObject * obj0 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 result = (bool)(arg1)->HasAttributes();
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18595 return resultobj;
18596 fail:
18597 return NULL;
18598 }
18599
18600
18601 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxListItem *arg1 = (wxListItem *) 0 ;
18604 wxColour result;
18605 PyObject * obj0 = 0 ;
18606 char *kwnames[] = {
18607 (char *) "self", NULL
18608 };
18609
18610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18612 {
18613 PyThreadState* __tstate = wxPyBeginAllowThreads();
18614 result = ((wxListItem const *)arg1)->GetTextColour();
18615
18616 wxPyEndAllowThreads(__tstate);
18617 if (PyErr_Occurred()) SWIG_fail;
18618 }
18619 {
18620 wxColour * resultptr;
18621 resultptr = new wxColour((wxColour &) result);
18622 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18623 }
18624 return resultobj;
18625 fail:
18626 return NULL;
18627 }
18628
18629
18630 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxListItem *arg1 = (wxListItem *) 0 ;
18633 wxColour result;
18634 PyObject * obj0 = 0 ;
18635 char *kwnames[] = {
18636 (char *) "self", NULL
18637 };
18638
18639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18644
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 {
18649 wxColour * resultptr;
18650 resultptr = new wxColour((wxColour &) result);
18651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18652 }
18653 return resultobj;
18654 fail:
18655 return NULL;
18656 }
18657
18658
18659 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj;
18661 wxListItem *arg1 = (wxListItem *) 0 ;
18662 wxFont result;
18663 PyObject * obj0 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 result = ((wxListItem const *)arg1)->GetFont();
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 {
18678 wxFont * resultptr;
18679 resultptr = new wxFont((wxFont &) result);
18680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
18681 }
18682 return resultobj;
18683 fail:
18684 return NULL;
18685 }
18686
18687
18688 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxListItem *arg1 = (wxListItem *) 0 ;
18691 long arg2 ;
18692 PyObject * obj0 = 0 ;
18693 PyObject * obj1 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self",(char *) "m_mask", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18700 {
18701 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 }
18704 if (arg1) (arg1)->m_mask = arg2;
18705
18706 Py_INCREF(Py_None); resultobj = Py_None;
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxListItem *arg1 = (wxListItem *) 0 ;
18716 long result;
18717 PyObject * obj0 = 0 ;
18718 char *kwnames[] = {
18719 (char *) "self", NULL
18720 };
18721
18722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18724 result = (long) ((arg1)->m_mask);
18725
18726 resultobj = SWIG_PyObj_FromLong((long)result);
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxListItem *arg1 = (wxListItem *) 0 ;
18736 long arg2 ;
18737 PyObject * obj0 = 0 ;
18738 PyObject * obj1 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self",(char *) "m_itemId", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18745 {
18746 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 }
18749 if (arg1) (arg1)->m_itemId = arg2;
18750
18751 Py_INCREF(Py_None); resultobj = Py_None;
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxListItem *arg1 = (wxListItem *) 0 ;
18761 long result;
18762 PyObject * obj0 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18769 result = (long) ((arg1)->m_itemId);
18770
18771 resultobj = SWIG_PyObj_FromLong((long)result);
18772 return resultobj;
18773 fail:
18774 return NULL;
18775 }
18776
18777
18778 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxListItem *arg1 = (wxListItem *) 0 ;
18781 int arg2 ;
18782 PyObject * obj0 = 0 ;
18783 PyObject * obj1 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self",(char *) "m_col", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18790 {
18791 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 if (arg1) (arg1)->m_col = arg2;
18795
18796 Py_INCREF(Py_None); resultobj = Py_None;
18797 return resultobj;
18798 fail:
18799 return NULL;
18800 }
18801
18802
18803 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxListItem *arg1 = (wxListItem *) 0 ;
18806 int result;
18807 PyObject * obj0 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18814 result = (int) ((arg1)->m_col);
18815
18816 resultobj = SWIG_PyObj_FromInt((int)result);
18817 return resultobj;
18818 fail:
18819 return NULL;
18820 }
18821
18822
18823 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18824 PyObject *resultobj;
18825 wxListItem *arg1 = (wxListItem *) 0 ;
18826 long arg2 ;
18827 PyObject * obj0 = 0 ;
18828 PyObject * obj1 = 0 ;
18829 char *kwnames[] = {
18830 (char *) "self",(char *) "m_state", NULL
18831 };
18832
18833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18835 {
18836 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18837 if (PyErr_Occurred()) SWIG_fail;
18838 }
18839 if (arg1) (arg1)->m_state = arg2;
18840
18841 Py_INCREF(Py_None); resultobj = Py_None;
18842 return resultobj;
18843 fail:
18844 return NULL;
18845 }
18846
18847
18848 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxListItem *arg1 = (wxListItem *) 0 ;
18851 long result;
18852 PyObject * obj0 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18859 result = (long) ((arg1)->m_state);
18860
18861 resultobj = SWIG_PyObj_FromLong((long)result);
18862 return resultobj;
18863 fail:
18864 return NULL;
18865 }
18866
18867
18868 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxListItem *arg1 = (wxListItem *) 0 ;
18871 long arg2 ;
18872 PyObject * obj0 = 0 ;
18873 PyObject * obj1 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self",(char *) "m_stateMask", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18880 {
18881 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 if (arg1) (arg1)->m_stateMask = arg2;
18885
18886 Py_INCREF(Py_None); resultobj = Py_None;
18887 return resultobj;
18888 fail:
18889 return NULL;
18890 }
18891
18892
18893 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxListItem *arg1 = (wxListItem *) 0 ;
18896 long result;
18897 PyObject * obj0 = 0 ;
18898 char *kwnames[] = {
18899 (char *) "self", NULL
18900 };
18901
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18904 result = (long) ((arg1)->m_stateMask);
18905
18906 resultobj = SWIG_PyObj_FromLong((long)result);
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxListItem *arg1 = (wxListItem *) 0 ;
18916 wxString *arg2 = (wxString *) 0 ;
18917 bool temp2 = False ;
18918 PyObject * obj0 = 0 ;
18919 PyObject * obj1 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self",(char *) "m_text", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 {
18927 arg2 = wxString_in_helper(obj1);
18928 if (arg2 == NULL) SWIG_fail;
18929 temp2 = True;
18930 }
18931 if (arg1) (arg1)->m_text = *arg2;
18932
18933 Py_INCREF(Py_None); resultobj = Py_None;
18934 {
18935 if (temp2)
18936 delete arg2;
18937 }
18938 return resultobj;
18939 fail:
18940 {
18941 if (temp2)
18942 delete arg2;
18943 }
18944 return NULL;
18945 }
18946
18947
18948 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxListItem *arg1 = (wxListItem *) 0 ;
18951 wxString *result;
18952 PyObject * obj0 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18959 result = (wxString *)& ((arg1)->m_text);
18960
18961 {
18962 #if wxUSE_UNICODE
18963 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18964 #else
18965 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18966 #endif
18967 }
18968 return resultobj;
18969 fail:
18970 return NULL;
18971 }
18972
18973
18974 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18975 PyObject *resultobj;
18976 wxListItem *arg1 = (wxListItem *) 0 ;
18977 int arg2 ;
18978 PyObject * obj0 = 0 ;
18979 PyObject * obj1 = 0 ;
18980 char *kwnames[] = {
18981 (char *) "self",(char *) "m_image", NULL
18982 };
18983
18984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
18985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18986 {
18987 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 if (arg1) (arg1)->m_image = arg2;
18991
18992 Py_INCREF(Py_None); resultobj = Py_None;
18993 return resultobj;
18994 fail:
18995 return NULL;
18996 }
18997
18998
18999 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj;
19001 wxListItem *arg1 = (wxListItem *) 0 ;
19002 int result;
19003 PyObject * obj0 = 0 ;
19004 char *kwnames[] = {
19005 (char *) "self", NULL
19006 };
19007
19008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19010 result = (int) ((arg1)->m_image);
19011
19012 resultobj = SWIG_PyObj_FromInt((int)result);
19013 return resultobj;
19014 fail:
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxListItem *arg1 = (wxListItem *) 0 ;
19022 long arg2 ;
19023 PyObject * obj0 = 0 ;
19024 PyObject * obj1 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self",(char *) "m_data", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19031 {
19032 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19033 if (PyErr_Occurred()) SWIG_fail;
19034 }
19035 if (arg1) (arg1)->m_data = arg2;
19036
19037 Py_INCREF(Py_None); resultobj = Py_None;
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxListItem *arg1 = (wxListItem *) 0 ;
19047 long result;
19048 PyObject * obj0 = 0 ;
19049 char *kwnames[] = {
19050 (char *) "self", NULL
19051 };
19052
19053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19055 result = (long) ((arg1)->m_data);
19056
19057 resultobj = SWIG_PyObj_FromLong((long)result);
19058 return resultobj;
19059 fail:
19060 return NULL;
19061 }
19062
19063
19064 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj;
19066 wxListItem *arg1 = (wxListItem *) 0 ;
19067 int arg2 ;
19068 PyObject * obj0 = 0 ;
19069 PyObject * obj1 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self",(char *) "m_format", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19076 {
19077 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 if (arg1) (arg1)->m_format = arg2;
19081
19082 Py_INCREF(Py_None); resultobj = Py_None;
19083 return resultobj;
19084 fail:
19085 return NULL;
19086 }
19087
19088
19089 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 wxListItem *arg1 = (wxListItem *) 0 ;
19092 int result;
19093 PyObject * obj0 = 0 ;
19094 char *kwnames[] = {
19095 (char *) "self", NULL
19096 };
19097
19098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19100 result = (int) ((arg1)->m_format);
19101
19102 resultobj = SWIG_PyObj_FromInt((int)result);
19103 return resultobj;
19104 fail:
19105 return NULL;
19106 }
19107
19108
19109 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj;
19111 wxListItem *arg1 = (wxListItem *) 0 ;
19112 int arg2 ;
19113 PyObject * obj0 = 0 ;
19114 PyObject * obj1 = 0 ;
19115 char *kwnames[] = {
19116 (char *) "self",(char *) "m_width", NULL
19117 };
19118
19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19121 {
19122 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 if (arg1) (arg1)->m_width = arg2;
19126
19127 Py_INCREF(Py_None); resultobj = Py_None;
19128 return resultobj;
19129 fail:
19130 return NULL;
19131 }
19132
19133
19134 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19135 PyObject *resultobj;
19136 wxListItem *arg1 = (wxListItem *) 0 ;
19137 int result;
19138 PyObject * obj0 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19145 result = (int) ((arg1)->m_width);
19146
19147 resultobj = SWIG_PyObj_FromInt((int)result);
19148 return resultobj;
19149 fail:
19150 return NULL;
19151 }
19152
19153
19154 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19155 PyObject *obj;
19156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19157 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19158 Py_INCREF(obj);
19159 return Py_BuildValue((char *)"");
19160 }
19161 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19162 PyObject *resultobj;
19163 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19164 int arg2 = (int) 0 ;
19165 wxListEvent *result;
19166 PyObject * obj0 = 0 ;
19167 PyObject * obj1 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "commandType",(char *) "id", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19173 if (obj0) {
19174 {
19175 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 }
19178 }
19179 if (obj1) {
19180 {
19181 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 }
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
19193 return resultobj;
19194 fail:
19195 return NULL;
19196 }
19197
19198
19199 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj;
19201 wxListEvent *arg1 = (wxListEvent *) 0 ;
19202 int arg2 ;
19203 PyObject * obj0 = 0 ;
19204 PyObject * obj1 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "m_code", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 {
19212 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
19215 if (arg1) (arg1)->m_code = arg2;
19216
19217 Py_INCREF(Py_None); resultobj = Py_None;
19218 return resultobj;
19219 fail:
19220 return NULL;
19221 }
19222
19223
19224 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19225 PyObject *resultobj;
19226 wxListEvent *arg1 = (wxListEvent *) 0 ;
19227 int result;
19228 PyObject * obj0 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19235 result = (int) ((arg1)->m_code);
19236
19237 resultobj = SWIG_PyObj_FromInt((int)result);
19238 return resultobj;
19239 fail:
19240 return NULL;
19241 }
19242
19243
19244 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19245 PyObject *resultobj;
19246 wxListEvent *arg1 = (wxListEvent *) 0 ;
19247 long arg2 ;
19248 PyObject * obj0 = 0 ;
19249 PyObject * obj1 = 0 ;
19250 char *kwnames[] = {
19251 (char *) "self",(char *) "m_oldItemIndex", NULL
19252 };
19253
19254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19256 {
19257 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 if (arg1) (arg1)->m_oldItemIndex = arg2;
19261
19262 Py_INCREF(Py_None); resultobj = Py_None;
19263 return resultobj;
19264 fail:
19265 return NULL;
19266 }
19267
19268
19269 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19270 PyObject *resultobj;
19271 wxListEvent *arg1 = (wxListEvent *) 0 ;
19272 long result;
19273 PyObject * obj0 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19280 result = (long) ((arg1)->m_oldItemIndex);
19281
19282 resultobj = SWIG_PyObj_FromLong((long)result);
19283 return resultobj;
19284 fail:
19285 return NULL;
19286 }
19287
19288
19289 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19290 PyObject *resultobj;
19291 wxListEvent *arg1 = (wxListEvent *) 0 ;
19292 long arg2 ;
19293 PyObject * obj0 = 0 ;
19294 PyObject * obj1 = 0 ;
19295 char *kwnames[] = {
19296 (char *) "self",(char *) "m_itemIndex", NULL
19297 };
19298
19299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19301 {
19302 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 if (arg1) (arg1)->m_itemIndex = arg2;
19306
19307 Py_INCREF(Py_None); resultobj = Py_None;
19308 return resultobj;
19309 fail:
19310 return NULL;
19311 }
19312
19313
19314 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19315 PyObject *resultobj;
19316 wxListEvent *arg1 = (wxListEvent *) 0 ;
19317 long result;
19318 PyObject * obj0 = 0 ;
19319 char *kwnames[] = {
19320 (char *) "self", NULL
19321 };
19322
19323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19325 result = (long) ((arg1)->m_itemIndex);
19326
19327 resultobj = SWIG_PyObj_FromLong((long)result);
19328 return resultobj;
19329 fail:
19330 return NULL;
19331 }
19332
19333
19334 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj;
19336 wxListEvent *arg1 = (wxListEvent *) 0 ;
19337 int arg2 ;
19338 PyObject * obj0 = 0 ;
19339 PyObject * obj1 = 0 ;
19340 char *kwnames[] = {
19341 (char *) "self",(char *) "m_col", NULL
19342 };
19343
19344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19346 {
19347 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 if (arg1) (arg1)->m_col = arg2;
19351
19352 Py_INCREF(Py_None); resultobj = Py_None;
19353 return resultobj;
19354 fail:
19355 return NULL;
19356 }
19357
19358
19359 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxListEvent *arg1 = (wxListEvent *) 0 ;
19362 int result;
19363 PyObject * obj0 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self", NULL
19366 };
19367
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19370 result = (int) ((arg1)->m_col);
19371
19372 resultobj = SWIG_PyObj_FromInt((int)result);
19373 return resultobj;
19374 fail:
19375 return NULL;
19376 }
19377
19378
19379 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19380 PyObject *resultobj;
19381 wxListEvent *arg1 = (wxListEvent *) 0 ;
19382 wxPoint *arg2 = (wxPoint *) 0 ;
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 char *kwnames[] = {
19386 (char *) "self",(char *) "m_pointDrag", NULL
19387 };
19388
19389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19392 if (arg1) (arg1)->m_pointDrag = *arg2;
19393
19394 Py_INCREF(Py_None); resultobj = Py_None;
19395 return resultobj;
19396 fail:
19397 return NULL;
19398 }
19399
19400
19401 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj;
19403 wxListEvent *arg1 = (wxListEvent *) 0 ;
19404 wxPoint *result;
19405 PyObject * obj0 = 0 ;
19406 char *kwnames[] = {
19407 (char *) "self", NULL
19408 };
19409
19410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19412 result = (wxPoint *)& ((arg1)->m_pointDrag);
19413
19414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxListEvent *arg1 = (wxListEvent *) 0 ;
19424 wxListItem *result;
19425 PyObject * obj0 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19432 result = (wxListItem *)& ((arg1)->m_item);
19433
19434 {
19435 resultobj = wxPyMake_wxObject(result);
19436 }
19437 return resultobj;
19438 fail:
19439 return NULL;
19440 }
19441
19442
19443 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19444 PyObject *resultobj;
19445 wxListEvent *arg1 = (wxListEvent *) 0 ;
19446 int result;
19447 PyObject * obj0 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 result = (int)(arg1)->GetKeyCode();
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = SWIG_PyObj_FromInt((int)result);
19462 return resultobj;
19463 fail:
19464 return NULL;
19465 }
19466
19467
19468 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxListEvent *arg1 = (wxListEvent *) 0 ;
19471 long result;
19472 PyObject * obj0 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 result = (long)(arg1)->GetIndex();
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 resultobj = SWIG_PyObj_FromLong((long)result);
19487 return resultobj;
19488 fail:
19489 return NULL;
19490 }
19491
19492
19493 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj;
19495 wxListEvent *arg1 = (wxListEvent *) 0 ;
19496 int result;
19497 PyObject * obj0 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 result = (int)(arg1)->GetColumn();
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 resultobj = SWIG_PyObj_FromInt((int)result);
19512 return resultobj;
19513 fail:
19514 return NULL;
19515 }
19516
19517
19518 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxListEvent *arg1 = (wxListEvent *) 0 ;
19521 wxPoint result;
19522 PyObject * obj0 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19529 {
19530 PyThreadState* __tstate = wxPyBeginAllowThreads();
19531 result = (arg1)->GetPoint();
19532
19533 wxPyEndAllowThreads(__tstate);
19534 if (PyErr_Occurred()) SWIG_fail;
19535 }
19536 {
19537 wxPoint * resultptr;
19538 resultptr = new wxPoint((wxPoint &) result);
19539 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19540 }
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxListEvent *arg1 = (wxListEvent *) 0 ;
19550 wxString *result;
19551 PyObject * obj0 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self", NULL
19554 };
19555
19556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19558 {
19559 PyThreadState* __tstate = wxPyBeginAllowThreads();
19560 {
19561 wxString const &_result_ref = (arg1)->GetLabel();
19562 result = (wxString *) &_result_ref;
19563 }
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 {
19569 #if wxUSE_UNICODE
19570 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19571 #else
19572 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19573 #endif
19574 }
19575 return resultobj;
19576 fail:
19577 return NULL;
19578 }
19579
19580
19581 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19582 PyObject *resultobj;
19583 wxListEvent *arg1 = (wxListEvent *) 0 ;
19584 wxString *result;
19585 PyObject * obj0 = 0 ;
19586 char *kwnames[] = {
19587 (char *) "self", NULL
19588 };
19589
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 {
19595 wxString const &_result_ref = (arg1)->GetText();
19596 result = (wxString *) &_result_ref;
19597 }
19598
19599 wxPyEndAllowThreads(__tstate);
19600 if (PyErr_Occurred()) SWIG_fail;
19601 }
19602 {
19603 #if wxUSE_UNICODE
19604 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19605 #else
19606 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19607 #endif
19608 }
19609 return resultobj;
19610 fail:
19611 return NULL;
19612 }
19613
19614
19615 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19616 PyObject *resultobj;
19617 wxListEvent *arg1 = (wxListEvent *) 0 ;
19618 int result;
19619 PyObject * obj0 = 0 ;
19620 char *kwnames[] = {
19621 (char *) "self", NULL
19622 };
19623
19624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (int)(arg1)->GetImage();
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 resultobj = SWIG_PyObj_FromInt((int)result);
19634 return resultobj;
19635 fail:
19636 return NULL;
19637 }
19638
19639
19640 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj;
19642 wxListEvent *arg1 = (wxListEvent *) 0 ;
19643 long result;
19644 PyObject * obj0 = 0 ;
19645 char *kwnames[] = {
19646 (char *) "self", NULL
19647 };
19648
19649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19651 {
19652 PyThreadState* __tstate = wxPyBeginAllowThreads();
19653 result = (long)(arg1)->GetData();
19654
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 resultobj = SWIG_PyObj_FromLong((long)result);
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj;
19667 wxListEvent *arg1 = (wxListEvent *) 0 ;
19668 long result;
19669 PyObject * obj0 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 result = (long)(arg1)->GetMask();
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 resultobj = SWIG_PyObj_FromLong((long)result);
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxListEvent *arg1 = (wxListEvent *) 0 ;
19693 wxListItem *result;
19694 PyObject * obj0 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 {
19704 wxListItem const &_result_ref = (arg1)->GetItem();
19705 result = (wxListItem *) &_result_ref;
19706 }
19707
19708 wxPyEndAllowThreads(__tstate);
19709 if (PyErr_Occurred()) SWIG_fail;
19710 }
19711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
19712 return resultobj;
19713 fail:
19714 return NULL;
19715 }
19716
19717
19718 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19719 PyObject *resultobj;
19720 wxListEvent *arg1 = (wxListEvent *) 0 ;
19721 long result;
19722 PyObject * obj0 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 result = (long)(arg1)->GetCacheFrom();
19732
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 resultobj = SWIG_PyObj_FromLong((long)result);
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxListEvent *arg1 = (wxListEvent *) 0 ;
19746 long result;
19747 PyObject * obj0 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19754 {
19755 PyThreadState* __tstate = wxPyBeginAllowThreads();
19756 result = (long)(arg1)->GetCacheTo();
19757
19758 wxPyEndAllowThreads(__tstate);
19759 if (PyErr_Occurred()) SWIG_fail;
19760 }
19761 resultobj = SWIG_PyObj_FromLong((long)result);
19762 return resultobj;
19763 fail:
19764 return NULL;
19765 }
19766
19767
19768 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19769 PyObject *resultobj;
19770 wxListEvent *arg1 = (wxListEvent *) 0 ;
19771 bool result;
19772 PyObject * obj0 = 0 ;
19773 char *kwnames[] = {
19774 (char *) "self", NULL
19775 };
19776
19777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19779 {
19780 PyThreadState* __tstate = wxPyBeginAllowThreads();
19781 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19782
19783 wxPyEndAllowThreads(__tstate);
19784 if (PyErr_Occurred()) SWIG_fail;
19785 }
19786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19787 return resultobj;
19788 fail:
19789 return NULL;
19790 }
19791
19792
19793 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19794 PyObject *resultobj;
19795 wxListEvent *arg1 = (wxListEvent *) 0 ;
19796 bool arg2 ;
19797 PyObject * obj0 = 0 ;
19798 PyObject * obj1 = 0 ;
19799 char *kwnames[] = {
19800 (char *) "self",(char *) "editCancelled", NULL
19801 };
19802
19803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 {
19806 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 (arg1)->SetEditCanceled(arg2);
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 Py_INCREF(Py_None); resultobj = Py_None;
19817 return resultobj;
19818 fail:
19819 return NULL;
19820 }
19821
19822
19823 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19824 PyObject *obj;
19825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19826 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19827 Py_INCREF(obj);
19828 return Py_BuildValue((char *)"");
19829 }
19830 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxWindow *arg1 = (wxWindow *) 0 ;
19833 int arg2 = (int) -1 ;
19834 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19835 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19836 wxSize const &arg4_defvalue = wxDefaultSize ;
19837 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19838 long arg5 = (long) wxLC_ICON ;
19839 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19840 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19841 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19842 wxString *arg7 = (wxString *) &arg7_defvalue ;
19843 wxPyListCtrl *result;
19844 wxPoint temp3 ;
19845 wxSize temp4 ;
19846 bool temp7 = False ;
19847 PyObject * obj0 = 0 ;
19848 PyObject * obj1 = 0 ;
19849 PyObject * obj2 = 0 ;
19850 PyObject * obj3 = 0 ;
19851 PyObject * obj4 = 0 ;
19852 PyObject * obj5 = 0 ;
19853 PyObject * obj6 = 0 ;
19854 char *kwnames[] = {
19855 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19856 };
19857
19858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19860 if (obj1) {
19861 {
19862 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 }
19866 if (obj2) {
19867 {
19868 arg3 = &temp3;
19869 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19870 }
19871 }
19872 if (obj3) {
19873 {
19874 arg4 = &temp4;
19875 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19876 }
19877 }
19878 if (obj4) {
19879 {
19880 arg5 = (long) SWIG_PyObj_AsLong(obj4);
19881 if (PyErr_Occurred()) SWIG_fail;
19882 }
19883 }
19884 if (obj5) {
19885 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19886 if (arg6 == NULL) {
19887 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19888 }
19889 }
19890 if (obj6) {
19891 {
19892 arg7 = wxString_in_helper(obj6);
19893 if (arg7 == NULL) SWIG_fail;
19894 temp7 = True;
19895 }
19896 }
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19900
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19905 {
19906 if (temp7)
19907 delete arg7;
19908 }
19909 return resultobj;
19910 fail:
19911 {
19912 if (temp7)
19913 delete arg7;
19914 }
19915 return NULL;
19916 }
19917
19918
19919 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj;
19921 wxPyListCtrl *result;
19922 char *kwnames[] = {
19923 NULL
19924 };
19925
19926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 result = (wxPyListCtrl *)new wxPyListCtrl();
19930
19931 wxPyEndAllowThreads(__tstate);
19932 if (PyErr_Occurred()) SWIG_fail;
19933 }
19934 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19935 return resultobj;
19936 fail:
19937 return NULL;
19938 }
19939
19940
19941 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19942 PyObject *resultobj;
19943 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19944 wxWindow *arg2 = (wxWindow *) 0 ;
19945 int arg3 = (int) -1 ;
19946 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19947 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19948 wxSize const &arg5_defvalue = wxDefaultSize ;
19949 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19950 long arg6 = (long) wxLC_ICON ;
19951 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19952 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19953 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19954 wxString *arg8 = (wxString *) &arg8_defvalue ;
19955 bool result;
19956 wxPoint temp4 ;
19957 wxSize temp5 ;
19958 bool temp8 = False ;
19959 PyObject * obj0 = 0 ;
19960 PyObject * obj1 = 0 ;
19961 PyObject * obj2 = 0 ;
19962 PyObject * obj3 = 0 ;
19963 PyObject * obj4 = 0 ;
19964 PyObject * obj5 = 0 ;
19965 PyObject * obj6 = 0 ;
19966 PyObject * obj7 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
19972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19974 if (obj2) {
19975 {
19976 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 }
19980 if (obj3) {
19981 {
19982 arg4 = &temp4;
19983 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19984 }
19985 }
19986 if (obj4) {
19987 {
19988 arg5 = &temp5;
19989 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19990 }
19991 }
19992 if (obj5) {
19993 {
19994 arg6 = (long) SWIG_PyObj_AsLong(obj5);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 }
19998 if (obj6) {
19999 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 if (arg7 == NULL) {
20001 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20002 }
20003 }
20004 if (obj7) {
20005 {
20006 arg8 = wxString_in_helper(obj7);
20007 if (arg8 == NULL) SWIG_fail;
20008 temp8 = True;
20009 }
20010 }
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20019 {
20020 if (temp8)
20021 delete arg8;
20022 }
20023 return resultobj;
20024 fail:
20025 {
20026 if (temp8)
20027 delete arg8;
20028 }
20029 return NULL;
20030 }
20031
20032
20033 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20036 PyObject *arg2 = (PyObject *) 0 ;
20037 PyObject *arg3 = (PyObject *) 0 ;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040 PyObject * obj2 = 0 ;
20041 char *kwnames[] = {
20042 (char *) "self",(char *) "self",(char *) "_class", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20047 arg2 = obj1;
20048 arg3 = obj2;
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 (arg1)->_setCallbackInfo(arg2,arg3);
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 Py_INCREF(Py_None); resultobj = Py_None;
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20066 wxColour *arg2 = 0 ;
20067 bool result;
20068 wxColour temp2 ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 char *kwnames[] = {
20072 (char *) "self",(char *) "col", NULL
20073 };
20074
20075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20077 {
20078 arg2 = &temp2;
20079 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20080 }
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20084
20085 wxPyEndAllowThreads(__tstate);
20086 if (PyErr_Occurred()) SWIG_fail;
20087 }
20088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20089 return resultobj;
20090 fail:
20091 return NULL;
20092 }
20093
20094
20095 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20096 PyObject *resultobj;
20097 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20098 wxColour *arg2 = 0 ;
20099 bool result;
20100 wxColour temp2 ;
20101 PyObject * obj0 = 0 ;
20102 PyObject * obj1 = 0 ;
20103 char *kwnames[] = {
20104 (char *) "self",(char *) "col", NULL
20105 };
20106
20107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20109 {
20110 arg2 = &temp2;
20111 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20112 }
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20121 return resultobj;
20122 fail:
20123 return NULL;
20124 }
20125
20126
20127 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20128 PyObject *resultobj;
20129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20130 int arg2 ;
20131 wxListItem *result;
20132 PyObject * obj0 = 0 ;
20133 PyObject * obj1 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self",(char *) "col", NULL
20136 };
20137
20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20140 {
20141 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20142 if (PyErr_Occurred()) SWIG_fail;
20143 }
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20147
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 {
20152 resultobj = wxPyMake_wxObject(result);
20153 }
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj;
20162 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20163 int arg2 ;
20164 wxListItem *arg3 = 0 ;
20165 bool result;
20166 PyObject * obj0 = 0 ;
20167 PyObject * obj1 = 0 ;
20168 PyObject * obj2 = 0 ;
20169 char *kwnames[] = {
20170 (char *) "self",(char *) "col",(char *) "item", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20175 {
20176 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20180 if (arg3 == NULL) {
20181 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20182 }
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20200 int arg2 ;
20201 int result;
20202 PyObject * obj0 = 0 ;
20203 PyObject * obj1 = 0 ;
20204 char *kwnames[] = {
20205 (char *) "self",(char *) "col", NULL
20206 };
20207
20208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20210 {
20211 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20212 if (PyErr_Occurred()) SWIG_fail;
20213 }
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 resultobj = SWIG_PyObj_FromInt((int)result);
20222 return resultobj;
20223 fail:
20224 return NULL;
20225 }
20226
20227
20228 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20231 int arg2 ;
20232 int arg3 ;
20233 bool result;
20234 PyObject * obj0 = 0 ;
20235 PyObject * obj1 = 0 ;
20236 PyObject * obj2 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self",(char *) "col",(char *) "width", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20243 {
20244 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 {
20248 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20268 int result;
20269 PyObject * obj0 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 resultobj = SWIG_PyObj_FromInt((int)result);
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20293 wxRect result;
20294 PyObject * obj0 = 0 ;
20295 char *kwnames[] = {
20296 (char *) "self", NULL
20297 };
20298
20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 {
20309 wxRect * resultptr;
20310 resultptr = new wxRect((wxRect &) result);
20311 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20312 }
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20320 PyObject *resultobj;
20321 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20322 wxTextCtrl *result;
20323 PyObject * obj0 = 0 ;
20324 char *kwnames[] = {
20325 (char *) "self", NULL
20326 };
20327
20328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
20329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 {
20338 resultobj = wxPyMake_wxObject(result);
20339 }
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20349 long arg2 ;
20350 int arg3 = (int) 0 ;
20351 wxListItem *result;
20352 PyObject * obj0 = 0 ;
20353 PyObject * obj1 = 0 ;
20354 PyObject * obj2 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self",(char *) "itemId",(char *) "col", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20361 {
20362 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 if (obj2) {
20366 {
20367 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 }
20371 {
20372 PyThreadState* __tstate = wxPyBeginAllowThreads();
20373 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20374
20375 wxPyEndAllowThreads(__tstate);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 }
20378 {
20379 resultobj = wxPyMake_wxObject(result);
20380 }
20381 return resultobj;
20382 fail:
20383 return NULL;
20384 }
20385
20386
20387 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20388 PyObject *resultobj;
20389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20390 wxListItem *arg2 = 0 ;
20391 bool result;
20392 PyObject * obj0 = 0 ;
20393 PyObject * obj1 = 0 ;
20394 char *kwnames[] = {
20395 (char *) "self",(char *) "info", NULL
20396 };
20397
20398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20401 if (arg2 == NULL) {
20402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20403 }
20404 {
20405 PyThreadState* __tstate = wxPyBeginAllowThreads();
20406 result = (bool)(arg1)->SetItem(*arg2);
20407
20408 wxPyEndAllowThreads(__tstate);
20409 if (PyErr_Occurred()) SWIG_fail;
20410 }
20411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20412 return resultobj;
20413 fail:
20414 return NULL;
20415 }
20416
20417
20418 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20421 long arg2 ;
20422 int arg3 ;
20423 wxString *arg4 = 0 ;
20424 int arg5 = (int) -1 ;
20425 long result;
20426 bool temp4 = False ;
20427 PyObject * obj0 = 0 ;
20428 PyObject * obj1 = 0 ;
20429 PyObject * obj2 = 0 ;
20430 PyObject * obj3 = 0 ;
20431 PyObject * obj4 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20438 {
20439 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 {
20443 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 {
20447 arg4 = wxString_in_helper(obj3);
20448 if (arg4 == NULL) SWIG_fail;
20449 temp4 = True;
20450 }
20451 if (obj4) {
20452 {
20453 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20454 if (PyErr_Occurred()) SWIG_fail;
20455 }
20456 }
20457 {
20458 PyThreadState* __tstate = wxPyBeginAllowThreads();
20459 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20460
20461 wxPyEndAllowThreads(__tstate);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 }
20464 resultobj = SWIG_PyObj_FromLong((long)result);
20465 {
20466 if (temp4)
20467 delete arg4;
20468 }
20469 return resultobj;
20470 fail:
20471 {
20472 if (temp4)
20473 delete arg4;
20474 }
20475 return NULL;
20476 }
20477
20478
20479 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20480 PyObject *resultobj;
20481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20482 long arg2 ;
20483 long arg3 ;
20484 int result;
20485 PyObject * obj0 = 0 ;
20486 PyObject * obj1 = 0 ;
20487 PyObject * obj2 = 0 ;
20488 char *kwnames[] = {
20489 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20490 };
20491
20492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20494 {
20495 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 {
20499 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 {
20503 PyThreadState* __tstate = wxPyBeginAllowThreads();
20504 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20505
20506 wxPyEndAllowThreads(__tstate);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 }
20509 resultobj = SWIG_PyObj_FromInt((int)result);
20510 return resultobj;
20511 fail:
20512 return NULL;
20513 }
20514
20515
20516 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20517 PyObject *resultobj;
20518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20519 long arg2 ;
20520 long arg3 ;
20521 long arg4 ;
20522 bool result;
20523 PyObject * obj0 = 0 ;
20524 PyObject * obj1 = 0 ;
20525 PyObject * obj2 = 0 ;
20526 PyObject * obj3 = 0 ;
20527 char *kwnames[] = {
20528 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20529 };
20530
20531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20533 {
20534 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20535 if (PyErr_Occurred()) SWIG_fail;
20536 }
20537 {
20538 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 {
20542 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 {
20546 PyThreadState* __tstate = wxPyBeginAllowThreads();
20547 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20548
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20553 return resultobj;
20554 fail:
20555 return NULL;
20556 }
20557
20558
20559 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20560 PyObject *resultobj;
20561 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20562 long arg2 ;
20563 int arg3 ;
20564 int arg4 ;
20565 bool result;
20566 PyObject * obj0 = 0 ;
20567 PyObject * obj1 = 0 ;
20568 PyObject * obj2 = 0 ;
20569 PyObject * obj3 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20576 {
20577 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20578 if (PyErr_Occurred()) SWIG_fail;
20579 }
20580 {
20581 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 {
20585 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20586 if (PyErr_Occurred()) SWIG_fail;
20587 }
20588 {
20589 PyThreadState* __tstate = wxPyBeginAllowThreads();
20590 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20591
20592 wxPyEndAllowThreads(__tstate);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 }
20595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20596 return resultobj;
20597 fail:
20598 return NULL;
20599 }
20600
20601
20602 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20603 PyObject *resultobj;
20604 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20605 long arg2 ;
20606 wxString result;
20607 PyObject * obj0 = 0 ;
20608 PyObject * obj1 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self",(char *) "item", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20615 {
20616 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 {
20627 #if wxUSE_UNICODE
20628 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20629 #else
20630 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20631 #endif
20632 }
20633 return resultobj;
20634 fail:
20635 return NULL;
20636 }
20637
20638
20639 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20640 PyObject *resultobj;
20641 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20642 long arg2 ;
20643 wxString *arg3 = 0 ;
20644 bool temp3 = False ;
20645 PyObject * obj0 = 0 ;
20646 PyObject * obj1 = 0 ;
20647 PyObject * obj2 = 0 ;
20648 char *kwnames[] = {
20649 (char *) "self",(char *) "item",(char *) "str", NULL
20650 };
20651
20652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20654 {
20655 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 {
20659 arg3 = wxString_in_helper(obj2);
20660 if (arg3 == NULL) SWIG_fail;
20661 temp3 = True;
20662 }
20663 {
20664 PyThreadState* __tstate = wxPyBeginAllowThreads();
20665 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20666
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 Py_INCREF(Py_None); resultobj = Py_None;
20671 {
20672 if (temp3)
20673 delete arg3;
20674 }
20675 return resultobj;
20676 fail:
20677 {
20678 if (temp3)
20679 delete arg3;
20680 }
20681 return NULL;
20682 }
20683
20684
20685 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20686 PyObject *resultobj;
20687 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20688 long arg2 ;
20689 long result;
20690 PyObject * obj0 = 0 ;
20691 PyObject * obj1 = 0 ;
20692 char *kwnames[] = {
20693 (char *) "self",(char *) "item", NULL
20694 };
20695
20696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20698 {
20699 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 resultobj = SWIG_PyObj_FromLong((long)result);
20710 return resultobj;
20711 fail:
20712 return NULL;
20713 }
20714
20715
20716 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj;
20718 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20719 long arg2 ;
20720 long arg3 ;
20721 bool result;
20722 PyObject * obj0 = 0 ;
20723 PyObject * obj1 = 0 ;
20724 PyObject * obj2 = 0 ;
20725 char *kwnames[] = {
20726 (char *) "self",(char *) "item",(char *) "data", NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20731 {
20732 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20733 if (PyErr_Occurred()) SWIG_fail;
20734 }
20735 {
20736 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20737 if (PyErr_Occurred()) SWIG_fail;
20738 }
20739 {
20740 PyThreadState* __tstate = wxPyBeginAllowThreads();
20741 result = (bool)(arg1)->SetItemData(arg2,arg3);
20742
20743 wxPyEndAllowThreads(__tstate);
20744 if (PyErr_Occurred()) SWIG_fail;
20745 }
20746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20747 return resultobj;
20748 fail:
20749 return NULL;
20750 }
20751
20752
20753 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20754 PyObject *resultobj;
20755 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20756 long arg2 ;
20757 wxPoint result;
20758 PyObject * obj0 = 0 ;
20759 PyObject * obj1 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self",(char *) "item", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20766 {
20767 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 {
20778 wxPoint * resultptr;
20779 resultptr = new wxPoint((wxPoint &) result);
20780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20781 }
20782 return resultobj;
20783 fail:
20784 return NULL;
20785 }
20786
20787
20788 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20789 PyObject *resultobj;
20790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20791 long arg2 ;
20792 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20793 wxRect result;
20794 PyObject * obj0 = 0 ;
20795 PyObject * obj1 = 0 ;
20796 PyObject * obj2 = 0 ;
20797 char *kwnames[] = {
20798 (char *) "self",(char *) "item",(char *) "code", NULL
20799 };
20800
20801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20803 {
20804 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 if (obj2) {
20808 {
20809 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 }
20813 {
20814 PyThreadState* __tstate = wxPyBeginAllowThreads();
20815 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20816
20817 wxPyEndAllowThreads(__tstate);
20818 if (PyErr_Occurred()) SWIG_fail;
20819 }
20820 {
20821 wxRect * resultptr;
20822 resultptr = new wxRect((wxRect &) result);
20823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20824 }
20825 return resultobj;
20826 fail:
20827 return NULL;
20828 }
20829
20830
20831 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20832 PyObject *resultobj;
20833 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20834 long arg2 ;
20835 wxPoint *arg3 = 0 ;
20836 bool result;
20837 wxPoint temp3 ;
20838 PyObject * obj0 = 0 ;
20839 PyObject * obj1 = 0 ;
20840 PyObject * obj2 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self",(char *) "item",(char *) "pos", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20847 {
20848 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 {
20852 arg3 = &temp3;
20853 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20854 }
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20863 return resultobj;
20864 fail:
20865 return NULL;
20866 }
20867
20868
20869 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20870 PyObject *resultobj;
20871 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20872 int result;
20873 PyObject * obj0 = 0 ;
20874 char *kwnames[] = {
20875 (char *) "self", NULL
20876 };
20877
20878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 resultobj = SWIG_PyObj_FromInt((int)result);
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20897 int result;
20898 PyObject * obj0 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "self", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20905 {
20906 PyThreadState* __tstate = wxPyBeginAllowThreads();
20907 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20908
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 resultobj = SWIG_PyObj_FromInt((int)result);
20913 return resultobj;
20914 fail:
20915 return NULL;
20916 }
20917
20918
20919 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj;
20921 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20922 wxSize result;
20923 PyObject * obj0 = 0 ;
20924 char *kwnames[] = {
20925 (char *) "self", NULL
20926 };
20927
20928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 {
20938 wxSize * resultptr;
20939 resultptr = new wxSize((wxSize &) result);
20940 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20941 }
20942 return resultobj;
20943 fail:
20944 return NULL;
20945 }
20946
20947
20948 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20949 PyObject *resultobj;
20950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20951 int result;
20952 PyObject * obj0 = 0 ;
20953 char *kwnames[] = {
20954 (char *) "self", NULL
20955 };
20956
20957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",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 = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20962
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 resultobj = SWIG_PyObj_FromInt((int)result);
20967 return resultobj;
20968 fail:
20969 return NULL;
20970 }
20971
20972
20973 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20974 PyObject *resultobj;
20975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20976 wxColour result;
20977 PyObject * obj0 = 0 ;
20978 char *kwnames[] = {
20979 (char *) "self", NULL
20980 };
20981
20982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
20983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20984 {
20985 PyThreadState* __tstate = wxPyBeginAllowThreads();
20986 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
20987
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 {
20992 wxColour * resultptr;
20993 resultptr = new wxColour((wxColour &) result);
20994 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20995 }
20996 return resultobj;
20997 fail:
20998 return NULL;
20999 }
21000
21001
21002 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21003 PyObject *resultobj;
21004 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21005 wxColour *arg2 = 0 ;
21006 wxColour temp2 ;
21007 PyObject * obj0 = 0 ;
21008 PyObject * obj1 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self",(char *) "col", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21015 {
21016 arg2 = &temp2;
21017 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21018 }
21019 {
21020 PyThreadState* __tstate = wxPyBeginAllowThreads();
21021 (arg1)->SetTextColour((wxColour const &)*arg2);
21022
21023 wxPyEndAllowThreads(__tstate);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 Py_INCREF(Py_None); resultobj = Py_None;
21027 return resultobj;
21028 fail:
21029 return NULL;
21030 }
21031
21032
21033 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21034 PyObject *resultobj;
21035 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21036 long result;
21037 PyObject * obj0 = 0 ;
21038 char *kwnames[] = {
21039 (char *) "self", NULL
21040 };
21041
21042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21047
21048 wxPyEndAllowThreads(__tstate);
21049 if (PyErr_Occurred()) SWIG_fail;
21050 }
21051 resultobj = SWIG_PyObj_FromLong((long)result);
21052 return resultobj;
21053 fail:
21054 return NULL;
21055 }
21056
21057
21058 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21059 PyObject *resultobj;
21060 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21061 long arg2 ;
21062 bool arg3 = (bool) True ;
21063 PyObject * obj0 = 0 ;
21064 PyObject * obj1 = 0 ;
21065 PyObject * obj2 = 0 ;
21066 char *kwnames[] = {
21067 (char *) "self",(char *) "style",(char *) "add", NULL
21068 };
21069
21070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21072 {
21073 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 if (obj2) {
21077 {
21078 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
21079 if (PyErr_Occurred()) SWIG_fail;
21080 }
21081 }
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 (arg1)->SetSingleStyle(arg2,arg3);
21085
21086 wxPyEndAllowThreads(__tstate);
21087 if (PyErr_Occurred()) SWIG_fail;
21088 }
21089 Py_INCREF(Py_None); resultobj = Py_None;
21090 return resultobj;
21091 fail:
21092 return NULL;
21093 }
21094
21095
21096 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21097 PyObject *resultobj;
21098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21099 long arg2 ;
21100 PyObject * obj0 = 0 ;
21101 PyObject * obj1 = 0 ;
21102 char *kwnames[] = {
21103 (char *) "self",(char *) "style", NULL
21104 };
21105
21106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21108 {
21109 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 (arg1)->SetWindowStyleFlag(arg2);
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 Py_INCREF(Py_None); resultobj = Py_None;
21120 return resultobj;
21121 fail:
21122 return NULL;
21123 }
21124
21125
21126 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21127 PyObject *resultobj;
21128 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21129 long arg2 ;
21130 int arg3 = (int) wxLIST_NEXT_ALL ;
21131 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21132 long result;
21133 PyObject * obj0 = 0 ;
21134 PyObject * obj1 = 0 ;
21135 PyObject * obj2 = 0 ;
21136 PyObject * obj3 = 0 ;
21137 char *kwnames[] = {
21138 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21139 };
21140
21141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21143 {
21144 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21145 if (PyErr_Occurred()) SWIG_fail;
21146 }
21147 if (obj2) {
21148 {
21149 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21150 if (PyErr_Occurred()) SWIG_fail;
21151 }
21152 }
21153 if (obj3) {
21154 {
21155 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
21158 }
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 resultobj = SWIG_PyObj_FromLong((long)result);
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21176 int arg2 ;
21177 wxImageList *result;
21178 PyObject * obj0 = 0 ;
21179 PyObject * obj1 = 0 ;
21180 char *kwnames[] = {
21181 (char *) "self",(char *) "which", NULL
21182 };
21183
21184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21186 {
21187 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21188 if (PyErr_Occurred()) SWIG_fail;
21189 }
21190 {
21191 PyThreadState* __tstate = wxPyBeginAllowThreads();
21192 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21193
21194 wxPyEndAllowThreads(__tstate);
21195 if (PyErr_Occurred()) SWIG_fail;
21196 }
21197 {
21198 resultobj = wxPyMake_wxObject(result);
21199 }
21200 return resultobj;
21201 fail:
21202 return NULL;
21203 }
21204
21205
21206 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21209 wxImageList *arg2 = (wxImageList *) 0 ;
21210 int arg3 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 PyObject * obj2 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "self",(char *) "imageList",(char *) "which", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21221 {
21222 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21223 if (PyErr_Occurred()) SWIG_fail;
21224 }
21225 {
21226 PyThreadState* __tstate = wxPyBeginAllowThreads();
21227 (arg1)->SetImageList(arg2,arg3);
21228
21229 wxPyEndAllowThreads(__tstate);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 Py_INCREF(Py_None); resultobj = Py_None;
21233 return resultobj;
21234 fail:
21235 return NULL;
21236 }
21237
21238
21239 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21240 PyObject *resultobj;
21241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21242 wxImageList *arg2 = (wxImageList *) 0 ;
21243 int arg3 ;
21244 PyObject * obj0 = 0 ;
21245 PyObject * obj1 = 0 ;
21246 PyObject * obj2 = 0 ;
21247 char *kwnames[] = {
21248 (char *) "self",(char *) "imageList",(char *) "which", NULL
21249 };
21250
21251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21254 {
21255 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 }
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 (arg1)->AssignImageList(arg2,arg3);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 Py_INCREF(Py_None); resultobj = Py_None;
21266 return resultobj;
21267 fail:
21268 return NULL;
21269 }
21270
21271
21272 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21273 PyObject *resultobj;
21274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21275 bool result;
21276 PyObject * obj0 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21283 {
21284 PyThreadState* __tstate = wxPyBeginAllowThreads();
21285 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21286
21287 wxPyEndAllowThreads(__tstate);
21288 if (PyErr_Occurred()) SWIG_fail;
21289 }
21290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21291 return resultobj;
21292 fail:
21293 return NULL;
21294 }
21295
21296
21297 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21298 PyObject *resultobj;
21299 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21300 long arg2 ;
21301 PyObject * obj0 = 0 ;
21302 PyObject * obj1 = 0 ;
21303 char *kwnames[] = {
21304 (char *) "self",(char *) "item", NULL
21305 };
21306
21307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21309 {
21310 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21311 if (PyErr_Occurred()) SWIG_fail;
21312 }
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 (arg1)->RefreshItem(arg2);
21316
21317 wxPyEndAllowThreads(__tstate);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 Py_INCREF(Py_None); resultobj = Py_None;
21321 return resultobj;
21322 fail:
21323 return NULL;
21324 }
21325
21326
21327 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21330 long arg2 ;
21331 long arg3 ;
21332 PyObject * obj0 = 0 ;
21333 PyObject * obj1 = 0 ;
21334 PyObject * obj2 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21341 {
21342 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 {
21346 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21347 if (PyErr_Occurred()) SWIG_fail;
21348 }
21349 {
21350 PyThreadState* __tstate = wxPyBeginAllowThreads();
21351 (arg1)->RefreshItems(arg2,arg3);
21352
21353 wxPyEndAllowThreads(__tstate);
21354 if (PyErr_Occurred()) SWIG_fail;
21355 }
21356 Py_INCREF(Py_None); resultobj = Py_None;
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21366 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21367 bool result;
21368 PyObject * obj0 = 0 ;
21369 PyObject * obj1 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self",(char *) "flag", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21376 if (obj1) {
21377 {
21378 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 }
21382 {
21383 PyThreadState* __tstate = wxPyBeginAllowThreads();
21384 result = (bool)(arg1)->Arrange(arg2);
21385
21386 wxPyEndAllowThreads(__tstate);
21387 if (PyErr_Occurred()) SWIG_fail;
21388 }
21389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21390 return resultobj;
21391 fail:
21392 return NULL;
21393 }
21394
21395
21396 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21397 PyObject *resultobj;
21398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21399 long arg2 ;
21400 bool result;
21401 PyObject * obj0 = 0 ;
21402 PyObject * obj1 = 0 ;
21403 char *kwnames[] = {
21404 (char *) "self",(char *) "item", NULL
21405 };
21406
21407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21409 {
21410 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21411 if (PyErr_Occurred()) SWIG_fail;
21412 }
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 result = (bool)(arg1)->DeleteItem(arg2);
21416
21417 wxPyEndAllowThreads(__tstate);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21421 return resultobj;
21422 fail:
21423 return NULL;
21424 }
21425
21426
21427 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21428 PyObject *resultobj;
21429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21430 bool result;
21431 PyObject * obj0 = 0 ;
21432 char *kwnames[] = {
21433 (char *) "self", NULL
21434 };
21435
21436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21438 {
21439 PyThreadState* __tstate = wxPyBeginAllowThreads();
21440 result = (bool)(arg1)->DeleteAllItems();
21441
21442 wxPyEndAllowThreads(__tstate);
21443 if (PyErr_Occurred()) SWIG_fail;
21444 }
21445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21446 return resultobj;
21447 fail:
21448 return NULL;
21449 }
21450
21451
21452 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21453 PyObject *resultobj;
21454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21455 int arg2 ;
21456 bool result;
21457 PyObject * obj0 = 0 ;
21458 PyObject * obj1 = 0 ;
21459 char *kwnames[] = {
21460 (char *) "self",(char *) "col", NULL
21461 };
21462
21463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21465 {
21466 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (bool)(arg1)->DeleteColumn(arg2);
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21477 return resultobj;
21478 fail:
21479 return NULL;
21480 }
21481
21482
21483 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21486 bool result;
21487 PyObject * obj0 = 0 ;
21488 char *kwnames[] = {
21489 (char *) "self", NULL
21490 };
21491
21492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21494 {
21495 PyThreadState* __tstate = wxPyBeginAllowThreads();
21496 result = (bool)(arg1)->DeleteAllColumns();
21497
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21502 return resultobj;
21503 fail:
21504 return NULL;
21505 }
21506
21507
21508 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21509 PyObject *resultobj;
21510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21511 PyObject * obj0 = 0 ;
21512 char *kwnames[] = {
21513 (char *) "self", NULL
21514 };
21515
21516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 (arg1)->ClearAll();
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 Py_INCREF(Py_None); resultobj = Py_None;
21526 return resultobj;
21527 fail:
21528 return NULL;
21529 }
21530
21531
21532 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21535 long arg2 ;
21536 wxTextCtrl *result;
21537 PyObject * obj0 = 0 ;
21538 PyObject * obj1 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "item", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21545 {
21546 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 {
21557 resultobj = wxPyMake_wxObject(result);
21558 }
21559 return resultobj;
21560 fail:
21561 return NULL;
21562 }
21563
21564
21565 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21566 PyObject *resultobj;
21567 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21568 bool arg2 ;
21569 bool result;
21570 PyObject * obj0 = 0 ;
21571 PyObject * obj1 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "cancel", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21578 {
21579 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21580 if (PyErr_Occurred()) SWIG_fail;
21581 }
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
21584 result = (bool)(arg1)->EndEditLabel(arg2);
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
21589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21590 return resultobj;
21591 fail:
21592 return NULL;
21593 }
21594
21595
21596 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21599 long arg2 ;
21600 bool result;
21601 PyObject * obj0 = 0 ;
21602 PyObject * obj1 = 0 ;
21603 char *kwnames[] = {
21604 (char *) "self",(char *) "item", NULL
21605 };
21606
21607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21609 {
21610 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 result = (bool)(arg1)->EnsureVisible(arg2);
21616
21617 wxPyEndAllowThreads(__tstate);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21621 return resultobj;
21622 fail:
21623 return NULL;
21624 }
21625
21626
21627 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21628 PyObject *resultobj;
21629 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21630 long arg2 ;
21631 wxString *arg3 = 0 ;
21632 bool arg4 = (bool) False ;
21633 long result;
21634 bool temp3 = False ;
21635 PyObject * obj0 = 0 ;
21636 PyObject * obj1 = 0 ;
21637 PyObject * obj2 = 0 ;
21638 PyObject * obj3 = 0 ;
21639 char *kwnames[] = {
21640 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21641 };
21642
21643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21645 {
21646 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 }
21649 {
21650 arg3 = wxString_in_helper(obj2);
21651 if (arg3 == NULL) SWIG_fail;
21652 temp3 = True;
21653 }
21654 if (obj3) {
21655 {
21656 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 }
21660 {
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21663
21664 wxPyEndAllowThreads(__tstate);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 resultobj = SWIG_PyObj_FromLong((long)result);
21668 {
21669 if (temp3)
21670 delete arg3;
21671 }
21672 return resultobj;
21673 fail:
21674 {
21675 if (temp3)
21676 delete arg3;
21677 }
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21685 long arg2 ;
21686 long arg3 ;
21687 long result;
21688 PyObject * obj0 = 0 ;
21689 PyObject * obj1 = 0 ;
21690 PyObject * obj2 = 0 ;
21691 char *kwnames[] = {
21692 (char *) "self",(char *) "start",(char *) "data", NULL
21693 };
21694
21695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21697 {
21698 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 {
21702 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21703 if (PyErr_Occurred()) SWIG_fail;
21704 }
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 result = (long)(arg1)->FindItem(arg2,arg3);
21708
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 resultobj = SWIG_PyObj_FromLong((long)result);
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21722 long arg2 ;
21723 wxPoint *arg3 = 0 ;
21724 int arg4 ;
21725 long result;
21726 wxPoint temp3 ;
21727 PyObject * obj0 = 0 ;
21728 PyObject * obj1 = 0 ;
21729 PyObject * obj2 = 0 ;
21730 PyObject * obj3 = 0 ;
21731 char *kwnames[] = {
21732 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21733 };
21734
21735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21737 {
21738 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21739 if (PyErr_Occurred()) SWIG_fail;
21740 }
21741 {
21742 arg3 = &temp3;
21743 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21744 }
21745 {
21746 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 }
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 resultobj = SWIG_PyObj_FromLong((long)result);
21757 return resultobj;
21758 fail:
21759 return NULL;
21760 }
21761
21762
21763 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21766 wxPoint *arg2 = 0 ;
21767 int *arg3 = 0 ;
21768 long result;
21769 wxPoint temp2 ;
21770 int temp3 ;
21771 PyObject * obj0 = 0 ;
21772 PyObject * obj1 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "point", NULL
21775 };
21776
21777 arg3 = &temp3;
21778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21780 {
21781 arg2 = &temp2;
21782 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21783 }
21784 {
21785 PyThreadState* __tstate = wxPyBeginAllowThreads();
21786 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21787
21788 wxPyEndAllowThreads(__tstate);
21789 if (PyErr_Occurred()) SWIG_fail;
21790 }
21791 resultobj = SWIG_PyObj_FromLong((long)result);
21792 {
21793 PyObject *o = PyInt_FromLong((long) (*arg3));
21794 resultobj = t_output_helper(resultobj,o);
21795 }
21796 return resultobj;
21797 fail:
21798 return NULL;
21799 }
21800
21801
21802 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj;
21804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21805 wxListItem *arg2 = 0 ;
21806 long result;
21807 PyObject * obj0 = 0 ;
21808 PyObject * obj1 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "self",(char *) "info", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21816 if (arg2 == NULL) {
21817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 result = (long)(arg1)->InsertItem(*arg2);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 resultobj = SWIG_PyObj_FromLong((long)result);
21827 return resultobj;
21828 fail:
21829 return NULL;
21830 }
21831
21832
21833 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21834 PyObject *resultobj;
21835 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21836 long arg2 ;
21837 wxString *arg3 = 0 ;
21838 long result;
21839 bool temp3 = False ;
21840 PyObject * obj0 = 0 ;
21841 PyObject * obj1 = 0 ;
21842 PyObject * obj2 = 0 ;
21843 char *kwnames[] = {
21844 (char *) "self",(char *) "index",(char *) "label", NULL
21845 };
21846
21847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21849 {
21850 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
21853 {
21854 arg3 = wxString_in_helper(obj2);
21855 if (arg3 == NULL) SWIG_fail;
21856 temp3 = True;
21857 }
21858 {
21859 PyThreadState* __tstate = wxPyBeginAllowThreads();
21860 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21861
21862 wxPyEndAllowThreads(__tstate);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 }
21865 resultobj = SWIG_PyObj_FromLong((long)result);
21866 {
21867 if (temp3)
21868 delete arg3;
21869 }
21870 return resultobj;
21871 fail:
21872 {
21873 if (temp3)
21874 delete arg3;
21875 }
21876 return NULL;
21877 }
21878
21879
21880 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21881 PyObject *resultobj;
21882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21883 long arg2 ;
21884 int arg3 ;
21885 long result;
21886 PyObject * obj0 = 0 ;
21887 PyObject * obj1 = 0 ;
21888 PyObject * obj2 = 0 ;
21889 char *kwnames[] = {
21890 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21891 };
21892
21893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21895 {
21896 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21897 if (PyErr_Occurred()) SWIG_fail;
21898 }
21899 {
21900 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 result = (long)(arg1)->InsertItem(arg2,arg3);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 resultobj = SWIG_PyObj_FromLong((long)result);
21911 return resultobj;
21912 fail:
21913 return NULL;
21914 }
21915
21916
21917 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21918 PyObject *resultobj;
21919 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21920 long arg2 ;
21921 wxString *arg3 = 0 ;
21922 int arg4 ;
21923 long result;
21924 bool temp3 = False ;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 PyObject * obj2 = 0 ;
21928 PyObject * obj3 = 0 ;
21929 char *kwnames[] = {
21930 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 {
21936 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 }
21939 {
21940 arg3 = wxString_in_helper(obj2);
21941 if (arg3 == NULL) SWIG_fail;
21942 temp3 = True;
21943 }
21944 {
21945 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 {
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21951
21952 wxPyEndAllowThreads(__tstate);
21953 if (PyErr_Occurred()) SWIG_fail;
21954 }
21955 resultobj = SWIG_PyObj_FromLong((long)result);
21956 {
21957 if (temp3)
21958 delete arg3;
21959 }
21960 return resultobj;
21961 fail:
21962 {
21963 if (temp3)
21964 delete arg3;
21965 }
21966 return NULL;
21967 }
21968
21969
21970 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21971 PyObject *resultobj;
21972 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21973 long arg2 ;
21974 wxListItem *arg3 = 0 ;
21975 long result;
21976 PyObject * obj0 = 0 ;
21977 PyObject * obj1 = 0 ;
21978 PyObject * obj2 = 0 ;
21979 char *kwnames[] = {
21980 (char *) "self",(char *) "col",(char *) "info", NULL
21981 };
21982
21983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21985 {
21986 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21987 if (PyErr_Occurred()) SWIG_fail;
21988 }
21989 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21990 if (arg3 == NULL) {
21991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21992 }
21993 {
21994 PyThreadState* __tstate = wxPyBeginAllowThreads();
21995 result = (long)(arg1)->InsertColumn(arg2,*arg3);
21996
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 resultobj = SWIG_PyObj_FromLong((long)result);
22001 return resultobj;
22002 fail:
22003 return NULL;
22004 }
22005
22006
22007 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj;
22009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22010 long arg2 ;
22011 wxString *arg3 = 0 ;
22012 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22013 int arg5 = (int) -1 ;
22014 long result;
22015 bool temp3 = False ;
22016 PyObject * obj0 = 0 ;
22017 PyObject * obj1 = 0 ;
22018 PyObject * obj2 = 0 ;
22019 PyObject * obj3 = 0 ;
22020 PyObject * obj4 = 0 ;
22021 char *kwnames[] = {
22022 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22023 };
22024
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22027 {
22028 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 {
22032 arg3 = wxString_in_helper(obj2);
22033 if (arg3 == NULL) SWIG_fail;
22034 temp3 = True;
22035 }
22036 if (obj3) {
22037 {
22038 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 }
22042 if (obj4) {
22043 {
22044 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 }
22048 {
22049 PyThreadState* __tstate = wxPyBeginAllowThreads();
22050 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22051
22052 wxPyEndAllowThreads(__tstate);
22053 if (PyErr_Occurred()) SWIG_fail;
22054 }
22055 resultobj = SWIG_PyObj_FromLong((long)result);
22056 {
22057 if (temp3)
22058 delete arg3;
22059 }
22060 return resultobj;
22061 fail:
22062 {
22063 if (temp3)
22064 delete arg3;
22065 }
22066 return NULL;
22067 }
22068
22069
22070 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22073 long arg2 ;
22074 PyObject * obj0 = 0 ;
22075 PyObject * obj1 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self",(char *) "count", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22082 {
22083 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 (arg1)->SetItemCount(arg2);
22089
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 Py_INCREF(Py_None); resultobj = Py_None;
22094 return resultobj;
22095 fail:
22096 return NULL;
22097 }
22098
22099
22100 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22101 PyObject *resultobj;
22102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22103 int arg2 ;
22104 int arg3 ;
22105 bool result;
22106 PyObject * obj0 = 0 ;
22107 PyObject * obj1 = 0 ;
22108 PyObject * obj2 = 0 ;
22109 char *kwnames[] = {
22110 (char *) "self",(char *) "dx",(char *) "dy", NULL
22111 };
22112
22113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22115 {
22116 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 {
22120 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 }
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 result = (bool)(arg1)->ScrollList(arg2,arg3);
22126
22127 wxPyEndAllowThreads(__tstate);
22128 if (PyErr_Occurred()) SWIG_fail;
22129 }
22130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22131 return resultobj;
22132 fail:
22133 return NULL;
22134 }
22135
22136
22137 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22138 PyObject *resultobj;
22139 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22140 long arg2 ;
22141 wxColour *arg3 = 0 ;
22142 wxColour temp3 ;
22143 PyObject * obj0 = 0 ;
22144 PyObject * obj1 = 0 ;
22145 PyObject * obj2 = 0 ;
22146 char *kwnames[] = {
22147 (char *) "self",(char *) "item",(char *) "col", NULL
22148 };
22149
22150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22152 {
22153 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 {
22157 arg3 = &temp3;
22158 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22159 }
22160 {
22161 PyThreadState* __tstate = wxPyBeginAllowThreads();
22162 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22163
22164 wxPyEndAllowThreads(__tstate);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 }
22167 Py_INCREF(Py_None); resultobj = Py_None;
22168 return resultobj;
22169 fail:
22170 return NULL;
22171 }
22172
22173
22174 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22175 PyObject *resultobj;
22176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22177 long arg2 ;
22178 wxColour result;
22179 PyObject * obj0 = 0 ;
22180 PyObject * obj1 = 0 ;
22181 char *kwnames[] = {
22182 (char *) "self",(char *) "item", NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22187 {
22188 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 {
22199 wxColour * resultptr;
22200 resultptr = new wxColour((wxColour &) result);
22201 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22202 }
22203 return resultobj;
22204 fail:
22205 return NULL;
22206 }
22207
22208
22209 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22210 PyObject *resultobj;
22211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22212 long arg2 ;
22213 wxColour *arg3 = 0 ;
22214 wxColour temp3 ;
22215 PyObject * obj0 = 0 ;
22216 PyObject * obj1 = 0 ;
22217 PyObject * obj2 = 0 ;
22218 char *kwnames[] = {
22219 (char *) "self",(char *) "item",(char *) "col", NULL
22220 };
22221
22222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22224 {
22225 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
22228 {
22229 arg3 = &temp3;
22230 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22231 }
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 Py_INCREF(Py_None); resultobj = Py_None;
22240 return resultobj;
22241 fail:
22242 return NULL;
22243 }
22244
22245
22246 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22247 PyObject *resultobj;
22248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22249 long arg2 ;
22250 wxColour result;
22251 PyObject * obj0 = 0 ;
22252 PyObject * obj1 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self",(char *) "item", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22259 {
22260 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 {
22271 wxColour * resultptr;
22272 resultptr = new wxColour((wxColour &) result);
22273 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22274 }
22275 return resultobj;
22276 fail:
22277 return NULL;
22278 }
22279
22280
22281 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22282 PyObject *resultobj;
22283 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22284 PyObject *arg2 = (PyObject *) 0 ;
22285 bool result;
22286 PyObject * obj0 = 0 ;
22287 PyObject * obj1 = 0 ;
22288 char *kwnames[] = {
22289 (char *) "self",(char *) "func", NULL
22290 };
22291
22292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22294 arg2 = obj1;
22295 {
22296 PyThreadState* __tstate = wxPyBeginAllowThreads();
22297 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22298
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22303 return resultobj;
22304 fail:
22305 return NULL;
22306 }
22307
22308
22309 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22310 PyObject *resultobj;
22311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22312 wxWindow *result;
22313 PyObject * obj0 = 0 ;
22314 char *kwnames[] = {
22315 (char *) "self", NULL
22316 };
22317
22318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22323
22324 wxPyEndAllowThreads(__tstate);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 }
22327 {
22328 resultobj = wxPyMake_wxObject(result);
22329 }
22330 return resultobj;
22331 fail:
22332 return NULL;
22333 }
22334
22335
22336 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22337 PyObject *obj;
22338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22339 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22340 Py_INCREF(obj);
22341 return Py_BuildValue((char *)"");
22342 }
22343 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22344 PyObject *resultobj;
22345 wxWindow *arg1 = (wxWindow *) 0 ;
22346 int arg2 = (int) -1 ;
22347 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22348 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22349 wxSize const &arg4_defvalue = wxDefaultSize ;
22350 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22351 long arg5 = (long) wxLC_REPORT ;
22352 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22353 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22354 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22355 wxString *arg7 = (wxString *) &arg7_defvalue ;
22356 wxListView *result;
22357 wxPoint temp3 ;
22358 wxSize temp4 ;
22359 bool temp7 = False ;
22360 PyObject * obj0 = 0 ;
22361 PyObject * obj1 = 0 ;
22362 PyObject * obj2 = 0 ;
22363 PyObject * obj3 = 0 ;
22364 PyObject * obj4 = 0 ;
22365 PyObject * obj5 = 0 ;
22366 PyObject * obj6 = 0 ;
22367 char *kwnames[] = {
22368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22369 };
22370
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22373 if (obj1) {
22374 {
22375 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 }
22379 if (obj2) {
22380 {
22381 arg3 = &temp3;
22382 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22383 }
22384 }
22385 if (obj3) {
22386 {
22387 arg4 = &temp4;
22388 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22389 }
22390 }
22391 if (obj4) {
22392 {
22393 arg5 = (long) SWIG_PyObj_AsLong(obj4);
22394 if (PyErr_Occurred()) SWIG_fail;
22395 }
22396 }
22397 if (obj5) {
22398 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22399 if (arg6 == NULL) {
22400 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22401 }
22402 }
22403 if (obj6) {
22404 {
22405 arg7 = wxString_in_helper(obj6);
22406 if (arg7 == NULL) SWIG_fail;
22407 temp7 = True;
22408 }
22409 }
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22418 {
22419 if (temp7)
22420 delete arg7;
22421 }
22422 return resultobj;
22423 fail:
22424 {
22425 if (temp7)
22426 delete arg7;
22427 }
22428 return NULL;
22429 }
22430
22431
22432 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22433 PyObject *resultobj;
22434 wxListView *result;
22435 char *kwnames[] = {
22436 NULL
22437 };
22438
22439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22440 {
22441 PyThreadState* __tstate = wxPyBeginAllowThreads();
22442 result = (wxListView *)new wxListView();
22443
22444 wxPyEndAllowThreads(__tstate);
22445 if (PyErr_Occurred()) SWIG_fail;
22446 }
22447 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22448 return resultobj;
22449 fail:
22450 return NULL;
22451 }
22452
22453
22454 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22455 PyObject *resultobj;
22456 wxListView *arg1 = (wxListView *) 0 ;
22457 wxWindow *arg2 = (wxWindow *) 0 ;
22458 int arg3 = (int) -1 ;
22459 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22460 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22461 wxSize const &arg5_defvalue = wxDefaultSize ;
22462 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22463 long arg6 = (long) wxLC_REPORT ;
22464 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22465 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22466 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22467 wxString *arg8 = (wxString *) &arg8_defvalue ;
22468 bool result;
22469 wxPoint temp4 ;
22470 wxSize temp5 ;
22471 bool temp8 = False ;
22472 PyObject * obj0 = 0 ;
22473 PyObject * obj1 = 0 ;
22474 PyObject * obj2 = 0 ;
22475 PyObject * obj3 = 0 ;
22476 PyObject * obj4 = 0 ;
22477 PyObject * obj5 = 0 ;
22478 PyObject * obj6 = 0 ;
22479 PyObject * obj7 = 0 ;
22480 char *kwnames[] = {
22481 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22482 };
22483
22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22487 if (obj2) {
22488 {
22489 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 }
22493 if (obj3) {
22494 {
22495 arg4 = &temp4;
22496 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22497 }
22498 }
22499 if (obj4) {
22500 {
22501 arg5 = &temp5;
22502 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22503 }
22504 }
22505 if (obj5) {
22506 {
22507 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22508 if (PyErr_Occurred()) SWIG_fail;
22509 }
22510 }
22511 if (obj6) {
22512 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22513 if (arg7 == NULL) {
22514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22515 }
22516 }
22517 if (obj7) {
22518 {
22519 arg8 = wxString_in_helper(obj7);
22520 if (arg8 == NULL) SWIG_fail;
22521 temp8 = True;
22522 }
22523 }
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22527
22528 wxPyEndAllowThreads(__tstate);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 }
22531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22532 {
22533 if (temp8)
22534 delete arg8;
22535 }
22536 return resultobj;
22537 fail:
22538 {
22539 if (temp8)
22540 delete arg8;
22541 }
22542 return NULL;
22543 }
22544
22545
22546 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22547 PyObject *resultobj;
22548 wxListView *arg1 = (wxListView *) 0 ;
22549 long arg2 ;
22550 bool arg3 = (bool) True ;
22551 PyObject * obj0 = 0 ;
22552 PyObject * obj1 = 0 ;
22553 PyObject * obj2 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self",(char *) "n",(char *) "on", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22560 {
22561 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22562 if (PyErr_Occurred()) SWIG_fail;
22563 }
22564 if (obj2) {
22565 {
22566 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 }
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 (arg1)->Select(arg2,arg3);
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 Py_INCREF(Py_None); resultobj = Py_None;
22578 return resultobj;
22579 fail:
22580 return NULL;
22581 }
22582
22583
22584 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22585 PyObject *resultobj;
22586 wxListView *arg1 = (wxListView *) 0 ;
22587 long arg2 ;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self",(char *) "index", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22596 {
22597 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 {
22601 PyThreadState* __tstate = wxPyBeginAllowThreads();
22602 (arg1)->Focus(arg2);
22603
22604 wxPyEndAllowThreads(__tstate);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 }
22607 Py_INCREF(Py_None); resultobj = Py_None;
22608 return resultobj;
22609 fail:
22610 return NULL;
22611 }
22612
22613
22614 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22615 PyObject *resultobj;
22616 wxListView *arg1 = (wxListView *) 0 ;
22617 long result;
22618 PyObject * obj0 = 0 ;
22619 char *kwnames[] = {
22620 (char *) "self", NULL
22621 };
22622
22623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22625 {
22626 PyThreadState* __tstate = wxPyBeginAllowThreads();
22627 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22628
22629 wxPyEndAllowThreads(__tstate);
22630 if (PyErr_Occurred()) SWIG_fail;
22631 }
22632 resultobj = SWIG_PyObj_FromLong((long)result);
22633 return resultobj;
22634 fail:
22635 return NULL;
22636 }
22637
22638
22639 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22640 PyObject *resultobj;
22641 wxListView *arg1 = (wxListView *) 0 ;
22642 long arg2 ;
22643 long result;
22644 PyObject * obj0 = 0 ;
22645 PyObject * obj1 = 0 ;
22646 char *kwnames[] = {
22647 (char *) "self",(char *) "item", NULL
22648 };
22649
22650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22652 {
22653 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 {
22657 PyThreadState* __tstate = wxPyBeginAllowThreads();
22658 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22659
22660 wxPyEndAllowThreads(__tstate);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 resultobj = SWIG_PyObj_FromLong((long)result);
22664 return resultobj;
22665 fail:
22666 return NULL;
22667 }
22668
22669
22670 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22671 PyObject *resultobj;
22672 wxListView *arg1 = (wxListView *) 0 ;
22673 long result;
22674 PyObject * obj0 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22681 {
22682 PyThreadState* __tstate = wxPyBeginAllowThreads();
22683 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22684
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 resultobj = SWIG_PyObj_FromLong((long)result);
22689 return resultobj;
22690 fail:
22691 return NULL;
22692 }
22693
22694
22695 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj;
22697 wxListView *arg1 = (wxListView *) 0 ;
22698 long arg2 ;
22699 bool result;
22700 PyObject * obj0 = 0 ;
22701 PyObject * obj1 = 0 ;
22702 char *kwnames[] = {
22703 (char *) "self",(char *) "index", NULL
22704 };
22705
22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22708 {
22709 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 result = (bool)(arg1)->IsSelected(arg2);
22715
22716 wxPyEndAllowThreads(__tstate);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 }
22719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22720 return resultobj;
22721 fail:
22722 return NULL;
22723 }
22724
22725
22726 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22727 PyObject *resultobj;
22728 wxListView *arg1 = (wxListView *) 0 ;
22729 int arg2 ;
22730 int arg3 ;
22731 PyObject * obj0 = 0 ;
22732 PyObject * obj1 = 0 ;
22733 PyObject * obj2 = 0 ;
22734 char *kwnames[] = {
22735 (char *) "self",(char *) "col",(char *) "image", NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22740 {
22741 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 {
22745 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22746 if (PyErr_Occurred()) SWIG_fail;
22747 }
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 (arg1)->SetColumnImage(arg2,arg3);
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 Py_INCREF(Py_None); resultobj = Py_None;
22756 return resultobj;
22757 fail:
22758 return NULL;
22759 }
22760
22761
22762 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxListView *arg1 = (wxListView *) 0 ;
22765 int arg2 ;
22766 PyObject * obj0 = 0 ;
22767 PyObject * obj1 = 0 ;
22768 char *kwnames[] = {
22769 (char *) "self",(char *) "col", NULL
22770 };
22771
22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22774 {
22775 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 {
22779 PyThreadState* __tstate = wxPyBeginAllowThreads();
22780 (arg1)->ClearColumnImage(arg2);
22781
22782 wxPyEndAllowThreads(__tstate);
22783 if (PyErr_Occurred()) SWIG_fail;
22784 }
22785 Py_INCREF(Py_None); resultobj = Py_None;
22786 return resultobj;
22787 fail:
22788 return NULL;
22789 }
22790
22791
22792 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22793 PyObject *obj;
22794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22795 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22796 Py_INCREF(obj);
22797 return Py_BuildValue((char *)"");
22798 }
22799 static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22800 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22801 return 1;
22802 }
22803
22804
22805 static PyObject *_wrap_TreeCtrlNameStr_get() {
22806 PyObject *pyobj;
22807
22808 {
22809 #if wxUSE_UNICODE
22810 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22811 #else
22812 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22813 #endif
22814 }
22815 return pyobj;
22816 }
22817
22818
22819 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxTreeItemId *result;
22822 char *kwnames[] = {
22823 NULL
22824 };
22825
22826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22827 {
22828 PyThreadState* __tstate = wxPyBeginAllowThreads();
22829 result = (wxTreeItemId *)new wxTreeItemId();
22830
22831 wxPyEndAllowThreads(__tstate);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 }
22834 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
22835 return resultobj;
22836 fail:
22837 return NULL;
22838 }
22839
22840
22841 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22842 PyObject *resultobj;
22843 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22844 PyObject * obj0 = 0 ;
22845 char *kwnames[] = {
22846 (char *) "self", NULL
22847 };
22848
22849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 delete arg1;
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22868 bool result;
22869 PyObject * obj0 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self", NULL
22872 };
22873
22874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22884 return resultobj;
22885 fail:
22886 return NULL;
22887 }
22888
22889
22890 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22891 PyObject *resultobj;
22892 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22893 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22894 bool result;
22895 PyObject * obj0 = 0 ;
22896 PyObject * obj1 = 0 ;
22897 char *kwnames[] = {
22898 (char *) "self",(char *) "other", NULL
22899 };
22900
22901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22904 {
22905 PyThreadState* __tstate = wxPyBeginAllowThreads();
22906 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
22907
22908 wxPyEndAllowThreads(__tstate);
22909 if (PyErr_Occurred()) SWIG_fail;
22910 }
22911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22912 return resultobj;
22913 fail:
22914 return NULL;
22915 }
22916
22917
22918 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22919 PyObject *resultobj;
22920 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22921 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22922 bool result;
22923 PyObject * obj0 = 0 ;
22924 PyObject * obj1 = 0 ;
22925 char *kwnames[] = {
22926 (char *) "self",(char *) "other", NULL
22927 };
22928
22929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22931 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
22935
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22940 return resultobj;
22941 fail:
22942 return NULL;
22943 }
22944
22945
22946 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22947 PyObject *resultobj;
22948 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22949 void *arg2 = (void *) 0 ;
22950 PyObject * obj0 = 0 ;
22951 PyObject * obj1 = 0 ;
22952 char *kwnames[] = {
22953 (char *) "self",(char *) "m_pItem", NULL
22954 };
22955
22956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
22959 if (arg1) (arg1)->m_pItem = arg2;
22960
22961 Py_INCREF(Py_None); resultobj = Py_None;
22962 return resultobj;
22963 fail:
22964 return NULL;
22965 }
22966
22967
22968 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
22969 PyObject *resultobj;
22970 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22971 void *result;
22972 PyObject * obj0 = 0 ;
22973 char *kwnames[] = {
22974 (char *) "self", NULL
22975 };
22976
22977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
22978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22979 result = (void *) ((arg1)->m_pItem);
22980
22981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
22989 PyObject *obj;
22990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22991 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
22992 Py_INCREF(obj);
22993 return Py_BuildValue((char *)"");
22994 }
22995 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22996 PyObject *resultobj;
22997 PyObject *arg1 = (PyObject *) NULL ;
22998 wxPyTreeItemData *result;
22999 PyObject * obj0 = 0 ;
23000 char *kwnames[] = {
23001 (char *) "obj", NULL
23002 };
23003
23004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23005 if (obj0) {
23006 arg1 = obj0;
23007 }
23008 {
23009 PyThreadState* __tstate = wxPyBeginAllowThreads();
23010 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23011
23012 wxPyEndAllowThreads(__tstate);
23013 if (PyErr_Occurred()) SWIG_fail;
23014 }
23015 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
23016 return resultobj;
23017 fail:
23018 return NULL;
23019 }
23020
23021
23022 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23023 PyObject *resultobj;
23024 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23025 PyObject *result;
23026 PyObject * obj0 = 0 ;
23027 char *kwnames[] = {
23028 (char *) "self", NULL
23029 };
23030
23031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23033 {
23034 PyThreadState* __tstate = wxPyBeginAllowThreads();
23035 result = (PyObject *)(arg1)->GetData();
23036
23037 wxPyEndAllowThreads(__tstate);
23038 if (PyErr_Occurred()) SWIG_fail;
23039 }
23040 resultobj = result;
23041 return resultobj;
23042 fail:
23043 return NULL;
23044 }
23045
23046
23047 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj;
23049 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23050 PyObject *arg2 = (PyObject *) 0 ;
23051 PyObject * obj0 = 0 ;
23052 PyObject * obj1 = 0 ;
23053 char *kwnames[] = {
23054 (char *) "self",(char *) "obj", NULL
23055 };
23056
23057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23059 arg2 = obj1;
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 (arg1)->SetData(arg2);
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 Py_INCREF(Py_None); resultobj = Py_None;
23068 return resultobj;
23069 fail:
23070 return NULL;
23071 }
23072
23073
23074 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23075 PyObject *resultobj;
23076 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23077 wxTreeItemId *result;
23078 PyObject * obj0 = 0 ;
23079 char *kwnames[] = {
23080 (char *) "self", NULL
23081 };
23082
23083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 {
23088 wxTreeItemId const &_result_ref = (arg1)->GetId();
23089 result = (wxTreeItemId *) &_result_ref;
23090 }
23091
23092 wxPyEndAllowThreads(__tstate);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 }
23095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
23096 return resultobj;
23097 fail:
23098 return NULL;
23099 }
23100
23101
23102 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23103 PyObject *resultobj;
23104 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23105 wxTreeItemId *arg2 = 0 ;
23106 PyObject * obj0 = 0 ;
23107 PyObject * obj1 = 0 ;
23108 char *kwnames[] = {
23109 (char *) "self",(char *) "id", NULL
23110 };
23111
23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23115 if (arg2 == NULL) {
23116 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23117 }
23118 {
23119 PyThreadState* __tstate = wxPyBeginAllowThreads();
23120 (arg1)->SetId((wxTreeItemId const &)*arg2);
23121
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 Py_INCREF(Py_None); resultobj = Py_None;
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj;
23134 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23135 PyObject * obj0 = 0 ;
23136 char *kwnames[] = {
23137 (char *) "self", NULL
23138 };
23139
23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 wxPyTreeItemData_Destroy(arg1);
23145
23146 wxPyEndAllowThreads(__tstate);
23147 if (PyErr_Occurred()) SWIG_fail;
23148 }
23149 Py_INCREF(Py_None); resultobj = Py_None;
23150 return resultobj;
23151 fail:
23152 return NULL;
23153 }
23154
23155
23156 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23157 PyObject *obj;
23158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23159 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23160 Py_INCREF(obj);
23161 return Py_BuildValue((char *)"");
23162 }
23163 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23164 PyObject *resultobj;
23165 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23166 int arg2 = (int) 0 ;
23167 wxTreeEvent *result;
23168 PyObject * obj0 = 0 ;
23169 PyObject * obj1 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "commandType",(char *) "id", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23175 if (obj0) {
23176 {
23177 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
23178 if (PyErr_Occurred()) SWIG_fail;
23179 }
23180 }
23181 if (obj1) {
23182 {
23183 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23184 if (PyErr_Occurred()) SWIG_fail;
23185 }
23186 }
23187 {
23188 PyThreadState* __tstate = wxPyBeginAllowThreads();
23189 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23190
23191 wxPyEndAllowThreads(__tstate);
23192 if (PyErr_Occurred()) SWIG_fail;
23193 }
23194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
23195 return resultobj;
23196 fail:
23197 return NULL;
23198 }
23199
23200
23201 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23202 PyObject *resultobj;
23203 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23204 wxTreeItemId result;
23205 PyObject * obj0 = 0 ;
23206 char *kwnames[] = {
23207 (char *) "self", NULL
23208 };
23209
23210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 result = ((wxTreeEvent const *)arg1)->GetItem();
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 {
23220 wxTreeItemId * resultptr;
23221 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23222 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23223 }
23224 return resultobj;
23225 fail:
23226 return NULL;
23227 }
23228
23229
23230 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23231 PyObject *resultobj;
23232 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23233 wxTreeItemId *arg2 = 0 ;
23234 PyObject * obj0 = 0 ;
23235 PyObject * obj1 = 0 ;
23236 char *kwnames[] = {
23237 (char *) "self",(char *) "item", NULL
23238 };
23239
23240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23243 if (arg2 == NULL) {
23244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23245 }
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23249
23250 wxPyEndAllowThreads(__tstate);
23251 if (PyErr_Occurred()) SWIG_fail;
23252 }
23253 Py_INCREF(Py_None); resultobj = Py_None;
23254 return resultobj;
23255 fail:
23256 return NULL;
23257 }
23258
23259
23260 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23261 PyObject *resultobj;
23262 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23263 wxTreeItemId result;
23264 PyObject * obj0 = 0 ;
23265 char *kwnames[] = {
23266 (char *) "self", NULL
23267 };
23268
23269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23271 {
23272 PyThreadState* __tstate = wxPyBeginAllowThreads();
23273 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23274
23275 wxPyEndAllowThreads(__tstate);
23276 if (PyErr_Occurred()) SWIG_fail;
23277 }
23278 {
23279 wxTreeItemId * resultptr;
23280 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23281 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23282 }
23283 return resultobj;
23284 fail:
23285 return NULL;
23286 }
23287
23288
23289 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23290 PyObject *resultobj;
23291 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23292 wxTreeItemId *arg2 = 0 ;
23293 PyObject * obj0 = 0 ;
23294 PyObject * obj1 = 0 ;
23295 char *kwnames[] = {
23296 (char *) "self",(char *) "item", NULL
23297 };
23298
23299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23302 if (arg2 == NULL) {
23303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23304 }
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 Py_INCREF(Py_None); resultobj = Py_None;
23313 return resultobj;
23314 fail:
23315 return NULL;
23316 }
23317
23318
23319 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23320 PyObject *resultobj;
23321 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23322 wxPoint result;
23323 PyObject * obj0 = 0 ;
23324 char *kwnames[] = {
23325 (char *) "self", NULL
23326 };
23327
23328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 result = ((wxTreeEvent const *)arg1)->GetPoint();
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 {
23338 wxPoint * resultptr;
23339 resultptr = new wxPoint((wxPoint &) result);
23340 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23341 }
23342 return resultobj;
23343 fail:
23344 return NULL;
23345 }
23346
23347
23348 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23349 PyObject *resultobj;
23350 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23351 wxPoint *arg2 = 0 ;
23352 wxPoint temp2 ;
23353 PyObject * obj0 = 0 ;
23354 PyObject * obj1 = 0 ;
23355 char *kwnames[] = {
23356 (char *) "self",(char *) "pt", NULL
23357 };
23358
23359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23361 {
23362 arg2 = &temp2;
23363 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23364 }
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 (arg1)->SetPoint((wxPoint const &)*arg2);
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 Py_INCREF(Py_None); resultobj = Py_None;
23373 return resultobj;
23374 fail:
23375 return NULL;
23376 }
23377
23378
23379 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23380 PyObject *resultobj;
23381 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23382 wxKeyEvent *result;
23383 PyObject * obj0 = 0 ;
23384 char *kwnames[] = {
23385 (char *) "self", NULL
23386 };
23387
23388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 {
23393 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23394 result = (wxKeyEvent *) &_result_ref;
23395 }
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
23401 return resultobj;
23402 fail:
23403 return NULL;
23404 }
23405
23406
23407 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23408 PyObject *resultobj;
23409 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23410 int result;
23411 PyObject * obj0 = 0 ;
23412 char *kwnames[] = {
23413 (char *) "self", NULL
23414 };
23415
23416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23421
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 resultobj = SWIG_PyObj_FromInt((int)result);
23426 return resultobj;
23427 fail:
23428 return NULL;
23429 }
23430
23431
23432 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23433 PyObject *resultobj;
23434 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23435 wxKeyEvent *arg2 = 0 ;
23436 PyObject * obj0 = 0 ;
23437 PyObject * obj1 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self",(char *) "evt", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23445 if (arg2 == NULL) {
23446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23447 }
23448 {
23449 PyThreadState* __tstate = wxPyBeginAllowThreads();
23450 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23451
23452 wxPyEndAllowThreads(__tstate);
23453 if (PyErr_Occurred()) SWIG_fail;
23454 }
23455 Py_INCREF(Py_None); resultobj = Py_None;
23456 return resultobj;
23457 fail:
23458 return NULL;
23459 }
23460
23461
23462 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23463 PyObject *resultobj;
23464 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23465 wxString *result;
23466 PyObject * obj0 = 0 ;
23467 char *kwnames[] = {
23468 (char *) "self", NULL
23469 };
23470
23471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23473 {
23474 PyThreadState* __tstate = wxPyBeginAllowThreads();
23475 {
23476 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23477 result = (wxString *) &_result_ref;
23478 }
23479
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 {
23484 #if wxUSE_UNICODE
23485 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23486 #else
23487 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23488 #endif
23489 }
23490 return resultobj;
23491 fail:
23492 return NULL;
23493 }
23494
23495
23496 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23497 PyObject *resultobj;
23498 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23499 wxString *arg2 = 0 ;
23500 bool temp2 = False ;
23501 PyObject * obj0 = 0 ;
23502 PyObject * obj1 = 0 ;
23503 char *kwnames[] = {
23504 (char *) "self",(char *) "label", NULL
23505 };
23506
23507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23509 {
23510 arg2 = wxString_in_helper(obj1);
23511 if (arg2 == NULL) SWIG_fail;
23512 temp2 = True;
23513 }
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 (arg1)->SetLabel((wxString const &)*arg2);
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 Py_INCREF(Py_None); resultobj = Py_None;
23522 {
23523 if (temp2)
23524 delete arg2;
23525 }
23526 return resultobj;
23527 fail:
23528 {
23529 if (temp2)
23530 delete arg2;
23531 }
23532 return NULL;
23533 }
23534
23535
23536 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23537 PyObject *resultobj;
23538 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23539 bool result;
23540 PyObject * obj0 = 0 ;
23541 char *kwnames[] = {
23542 (char *) "self", NULL
23543 };
23544
23545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23547 {
23548 PyThreadState* __tstate = wxPyBeginAllowThreads();
23549 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23550
23551 wxPyEndAllowThreads(__tstate);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 }
23554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23555 return resultobj;
23556 fail:
23557 return NULL;
23558 }
23559
23560
23561 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23562 PyObject *resultobj;
23563 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23564 bool arg2 ;
23565 PyObject * obj0 = 0 ;
23566 PyObject * obj1 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self",(char *) "editCancelled", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23573 {
23574 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 (arg1)->SetEditCanceled(arg2);
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 Py_INCREF(Py_None); resultobj = Py_None;
23585 return resultobj;
23586 fail:
23587 return NULL;
23588 }
23589
23590
23591 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23592 PyObject *resultobj;
23593 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23594 wxString *arg2 = 0 ;
23595 bool temp2 = False ;
23596 PyObject * obj0 = 0 ;
23597 PyObject * obj1 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self",(char *) "toolTip", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23604 {
23605 arg2 = wxString_in_helper(obj1);
23606 if (arg2 == NULL) SWIG_fail;
23607 temp2 = True;
23608 }
23609 {
23610 PyThreadState* __tstate = wxPyBeginAllowThreads();
23611 (arg1)->SetToolTip((wxString const &)*arg2);
23612
23613 wxPyEndAllowThreads(__tstate);
23614 if (PyErr_Occurred()) SWIG_fail;
23615 }
23616 Py_INCREF(Py_None); resultobj = Py_None;
23617 {
23618 if (temp2)
23619 delete arg2;
23620 }
23621 return resultobj;
23622 fail:
23623 {
23624 if (temp2)
23625 delete arg2;
23626 }
23627 return NULL;
23628 }
23629
23630
23631 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23632 PyObject *obj;
23633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23634 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23635 Py_INCREF(obj);
23636 return Py_BuildValue((char *)"");
23637 }
23638 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23639 PyObject *resultobj;
23640 wxWindow *arg1 = (wxWindow *) 0 ;
23641 int arg2 = (int) -1 ;
23642 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23643 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23644 wxSize const &arg4_defvalue = wxDefaultSize ;
23645 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23646 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23647 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23648 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23649 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23650 wxString *arg7 = (wxString *) &arg7_defvalue ;
23651 wxPyTreeCtrl *result;
23652 wxPoint temp3 ;
23653 wxSize temp4 ;
23654 bool temp7 = False ;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 PyObject * obj2 = 0 ;
23658 PyObject * obj3 = 0 ;
23659 PyObject * obj4 = 0 ;
23660 PyObject * obj5 = 0 ;
23661 PyObject * obj6 = 0 ;
23662 char *kwnames[] = {
23663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23664 };
23665
23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23668 if (obj1) {
23669 {
23670 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 }
23674 if (obj2) {
23675 {
23676 arg3 = &temp3;
23677 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23678 }
23679 }
23680 if (obj3) {
23681 {
23682 arg4 = &temp4;
23683 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23684 }
23685 }
23686 if (obj4) {
23687 {
23688 arg5 = (long) SWIG_PyObj_AsLong(obj4);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 }
23692 if (obj5) {
23693 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23694 if (arg6 == NULL) {
23695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23696 }
23697 }
23698 if (obj6) {
23699 {
23700 arg7 = wxString_in_helper(obj6);
23701 if (arg7 == NULL) SWIG_fail;
23702 temp7 = True;
23703 }
23704 }
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 {
23713 resultobj = wxPyMake_wxObject(result);
23714 }
23715 {
23716 if (temp7)
23717 delete arg7;
23718 }
23719 return resultobj;
23720 fail:
23721 {
23722 if (temp7)
23723 delete arg7;
23724 }
23725 return NULL;
23726 }
23727
23728
23729 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23730 PyObject *resultobj;
23731 wxPyTreeCtrl *result;
23732 char *kwnames[] = {
23733 NULL
23734 };
23735
23736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23737 {
23738 PyThreadState* __tstate = wxPyBeginAllowThreads();
23739 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23740
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 {
23745 resultobj = wxPyMake_wxObject(result);
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23754 PyObject *resultobj;
23755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23756 wxWindow *arg2 = (wxWindow *) 0 ;
23757 int arg3 = (int) -1 ;
23758 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23759 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23760 wxSize const &arg5_defvalue = wxDefaultSize ;
23761 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23762 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23763 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23764 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23765 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23766 wxString *arg8 = (wxString *) &arg8_defvalue ;
23767 bool result;
23768 wxPoint temp4 ;
23769 wxSize temp5 ;
23770 bool temp8 = False ;
23771 PyObject * obj0 = 0 ;
23772 PyObject * obj1 = 0 ;
23773 PyObject * obj2 = 0 ;
23774 PyObject * obj3 = 0 ;
23775 PyObject * obj4 = 0 ;
23776 PyObject * obj5 = 0 ;
23777 PyObject * obj6 = 0 ;
23778 PyObject * obj7 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23786 if (obj2) {
23787 {
23788 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23789 if (PyErr_Occurred()) SWIG_fail;
23790 }
23791 }
23792 if (obj3) {
23793 {
23794 arg4 = &temp4;
23795 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23796 }
23797 }
23798 if (obj4) {
23799 {
23800 arg5 = &temp5;
23801 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23802 }
23803 }
23804 if (obj5) {
23805 {
23806 arg6 = (long) SWIG_PyObj_AsLong(obj5);
23807 if (PyErr_Occurred()) SWIG_fail;
23808 }
23809 }
23810 if (obj6) {
23811 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23812 if (arg7 == NULL) {
23813 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23814 }
23815 }
23816 if (obj7) {
23817 {
23818 arg8 = wxString_in_helper(obj7);
23819 if (arg8 == NULL) SWIG_fail;
23820 temp8 = True;
23821 }
23822 }
23823 {
23824 PyThreadState* __tstate = wxPyBeginAllowThreads();
23825 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23826
23827 wxPyEndAllowThreads(__tstate);
23828 if (PyErr_Occurred()) SWIG_fail;
23829 }
23830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23831 {
23832 if (temp8)
23833 delete arg8;
23834 }
23835 return resultobj;
23836 fail:
23837 {
23838 if (temp8)
23839 delete arg8;
23840 }
23841 return NULL;
23842 }
23843
23844
23845 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23846 PyObject *resultobj;
23847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23848 PyObject *arg2 = (PyObject *) 0 ;
23849 PyObject *arg3 = (PyObject *) 0 ;
23850 PyObject * obj0 = 0 ;
23851 PyObject * obj1 = 0 ;
23852 PyObject * obj2 = 0 ;
23853 char *kwnames[] = {
23854 (char *) "self",(char *) "self",(char *) "_class", NULL
23855 };
23856
23857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23859 arg2 = obj1;
23860 arg3 = obj2;
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 (arg1)->_setCallbackInfo(arg2,arg3);
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 Py_INCREF(Py_None); resultobj = Py_None;
23869 return resultobj;
23870 fail:
23871 return NULL;
23872 }
23873
23874
23875 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23876 PyObject *resultobj;
23877 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23878 size_t result;
23879 PyObject * obj0 = 0 ;
23880 char *kwnames[] = {
23881 (char *) "self", NULL
23882 };
23883
23884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23889
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23894 return resultobj;
23895 fail:
23896 return NULL;
23897 }
23898
23899
23900 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23901 PyObject *resultobj;
23902 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23903 unsigned int result;
23904 PyObject * obj0 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self", NULL
23907 };
23908
23909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
23918 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23919 return resultobj;
23920 fail:
23921 return NULL;
23922 }
23923
23924
23925 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23926 PyObject *resultobj;
23927 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23928 unsigned int arg2 ;
23929 PyObject * obj0 = 0 ;
23930 PyObject * obj1 = 0 ;
23931 char *kwnames[] = {
23932 (char *) "self",(char *) "indent", NULL
23933 };
23934
23935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23937 {
23938 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 }
23941 {
23942 PyThreadState* __tstate = wxPyBeginAllowThreads();
23943 (arg1)->SetIndent(arg2);
23944
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 Py_INCREF(Py_None); resultobj = Py_None;
23949 return resultobj;
23950 fail:
23951 return NULL;
23952 }
23953
23954
23955 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23956 PyObject *resultobj;
23957 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23958 unsigned int result;
23959 PyObject * obj0 = 0 ;
23960 char *kwnames[] = {
23961 (char *) "self", NULL
23962 };
23963
23964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
23969
23970 wxPyEndAllowThreads(__tstate);
23971 if (PyErr_Occurred()) SWIG_fail;
23972 }
23973 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23974 return resultobj;
23975 fail:
23976 return NULL;
23977 }
23978
23979
23980 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23981 PyObject *resultobj;
23982 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23983 unsigned int arg2 ;
23984 PyObject * obj0 = 0 ;
23985 PyObject * obj1 = 0 ;
23986 char *kwnames[] = {
23987 (char *) "self",(char *) "spacing", NULL
23988 };
23989
23990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
23991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23992 {
23993 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 (arg1)->SetSpacing(arg2);
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
24003 Py_INCREF(Py_None); resultobj = Py_None;
24004 return resultobj;
24005 fail:
24006 return NULL;
24007 }
24008
24009
24010 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24011 PyObject *resultobj;
24012 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24013 wxImageList *result;
24014 PyObject * obj0 = 0 ;
24015 char *kwnames[] = {
24016 (char *) "self", NULL
24017 };
24018
24019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 {
24029 resultobj = wxPyMake_wxObject(result);
24030 }
24031 return resultobj;
24032 fail:
24033 return NULL;
24034 }
24035
24036
24037 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24038 PyObject *resultobj;
24039 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24040 wxImageList *result;
24041 PyObject * obj0 = 0 ;
24042 char *kwnames[] = {
24043 (char *) "self", NULL
24044 };
24045
24046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24048 {
24049 PyThreadState* __tstate = wxPyBeginAllowThreads();
24050 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24051
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 {
24056 resultobj = wxPyMake_wxObject(result);
24057 }
24058 return resultobj;
24059 fail:
24060 return NULL;
24061 }
24062
24063
24064 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24065 PyObject *resultobj;
24066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24067 wxImageList *arg2 = (wxImageList *) 0 ;
24068 PyObject * obj0 = 0 ;
24069 PyObject * obj1 = 0 ;
24070 char *kwnames[] = {
24071 (char *) "self",(char *) "imageList", NULL
24072 };
24073
24074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24077 {
24078 PyThreadState* __tstate = wxPyBeginAllowThreads();
24079 (arg1)->SetImageList(arg2);
24080
24081 wxPyEndAllowThreads(__tstate);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 }
24084 Py_INCREF(Py_None); resultobj = Py_None;
24085 return resultobj;
24086 fail:
24087 return NULL;
24088 }
24089
24090
24091 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24092 PyObject *resultobj;
24093 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24094 wxImageList *arg2 = (wxImageList *) 0 ;
24095 PyObject * obj0 = 0 ;
24096 PyObject * obj1 = 0 ;
24097 char *kwnames[] = {
24098 (char *) "self",(char *) "imageList", NULL
24099 };
24100
24101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 (arg1)->SetStateImageList(arg2);
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 Py_INCREF(Py_None); resultobj = Py_None;
24112 return resultobj;
24113 fail:
24114 return NULL;
24115 }
24116
24117
24118 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24119 PyObject *resultobj;
24120 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24121 wxImageList *arg2 = (wxImageList *) 0 ;
24122 PyObject * obj0 = 0 ;
24123 PyObject * obj1 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self",(char *) "imageList", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 (arg1)->AssignImageList(arg2);
24134
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 Py_INCREF(Py_None); resultobj = Py_None;
24139 return resultobj;
24140 fail:
24141 return NULL;
24142 }
24143
24144
24145 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24146 PyObject *resultobj;
24147 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24148 wxImageList *arg2 = (wxImageList *) 0 ;
24149 PyObject * obj0 = 0 ;
24150 PyObject * obj1 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self",(char *) "imageList", NULL
24153 };
24154
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
24160 (arg1)->AssignStateImageList(arg2);
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
24165 Py_INCREF(Py_None); resultobj = Py_None;
24166 return resultobj;
24167 fail:
24168 return NULL;
24169 }
24170
24171
24172 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24173 PyObject *resultobj;
24174 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24175 wxTreeItemId *arg2 = 0 ;
24176 wxString result;
24177 PyObject * obj0 = 0 ;
24178 PyObject * obj1 = 0 ;
24179 char *kwnames[] = {
24180 (char *) "self",(char *) "item", NULL
24181 };
24182
24183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24186 if (arg2 == NULL) {
24187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24188 }
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24192
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 {
24197 #if wxUSE_UNICODE
24198 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24199 #else
24200 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24201 #endif
24202 }
24203 return resultobj;
24204 fail:
24205 return NULL;
24206 }
24207
24208
24209 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24210 PyObject *resultobj;
24211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24212 wxTreeItemId *arg2 = 0 ;
24213 int arg3 = (int) wxTreeItemIcon_Normal ;
24214 int result;
24215 PyObject * obj0 = 0 ;
24216 PyObject * obj1 = 0 ;
24217 PyObject * obj2 = 0 ;
24218 char *kwnames[] = {
24219 (char *) "self",(char *) "item",(char *) "which", NULL
24220 };
24221
24222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24225 if (arg2 == NULL) {
24226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24227 }
24228 if (obj2) {
24229 {
24230 arg3 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj2);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 }
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24237
24238 wxPyEndAllowThreads(__tstate);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 }
24241 resultobj = SWIG_PyObj_FromInt((int)result);
24242 return resultobj;
24243 fail:
24244 return NULL;
24245 }
24246
24247
24248 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24249 PyObject *resultobj;
24250 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24251 wxTreeItemId *arg2 = 0 ;
24252 wxPyTreeItemData *result;
24253 PyObject * obj0 = 0 ;
24254 PyObject * obj1 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self",(char *) "item", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24262 if (arg2 == NULL) {
24263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24264 }
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
24273 return resultobj;
24274 fail:
24275 return NULL;
24276 }
24277
24278
24279 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj;
24281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24282 wxTreeItemId *arg2 = 0 ;
24283 PyObject *result;
24284 PyObject * obj0 = 0 ;
24285 PyObject * obj1 = 0 ;
24286 char *kwnames[] = {
24287 (char *) "self",(char *) "item", NULL
24288 };
24289
24290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24293 if (arg2 == NULL) {
24294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24295 }
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 resultobj = result;
24304 return resultobj;
24305 fail:
24306 return NULL;
24307 }
24308
24309
24310 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24313 wxTreeItemId *arg2 = 0 ;
24314 wxColour result;
24315 PyObject * obj0 = 0 ;
24316 PyObject * obj1 = 0 ;
24317 char *kwnames[] = {
24318 (char *) "self",(char *) "item", NULL
24319 };
24320
24321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24324 if (arg2 == NULL) {
24325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24326 }
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 {
24335 wxColour * resultptr;
24336 resultptr = new wxColour((wxColour &) result);
24337 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24338 }
24339 return resultobj;
24340 fail:
24341 return NULL;
24342 }
24343
24344
24345 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24346 PyObject *resultobj;
24347 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24348 wxTreeItemId *arg2 = 0 ;
24349 wxColour result;
24350 PyObject * obj0 = 0 ;
24351 PyObject * obj1 = 0 ;
24352 char *kwnames[] = {
24353 (char *) "self",(char *) "item", NULL
24354 };
24355
24356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24359 if (arg2 == NULL) {
24360 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24361 }
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 {
24370 wxColour * resultptr;
24371 resultptr = new wxColour((wxColour &) result);
24372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24373 }
24374 return resultobj;
24375 fail:
24376 return NULL;
24377 }
24378
24379
24380 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24381 PyObject *resultobj;
24382 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24383 wxTreeItemId *arg2 = 0 ;
24384 wxFont result;
24385 PyObject * obj0 = 0 ;
24386 PyObject * obj1 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "self",(char *) "item", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24394 if (arg2 == NULL) {
24395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24396 }
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24400
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 {
24405 wxFont * resultptr;
24406 resultptr = new wxFont((wxFont &) result);
24407 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
24408 }
24409 return resultobj;
24410 fail:
24411 return NULL;
24412 }
24413
24414
24415 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24416 PyObject *resultobj;
24417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24418 wxTreeItemId *arg2 = 0 ;
24419 wxString *arg3 = 0 ;
24420 bool temp3 = False ;
24421 PyObject * obj0 = 0 ;
24422 PyObject * obj1 = 0 ;
24423 PyObject * obj2 = 0 ;
24424 char *kwnames[] = {
24425 (char *) "self",(char *) "item",(char *) "text", NULL
24426 };
24427
24428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24431 if (arg2 == NULL) {
24432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24433 }
24434 {
24435 arg3 = wxString_in_helper(obj2);
24436 if (arg3 == NULL) SWIG_fail;
24437 temp3 = True;
24438 }
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 Py_INCREF(Py_None); resultobj = Py_None;
24447 {
24448 if (temp3)
24449 delete arg3;
24450 }
24451 return resultobj;
24452 fail:
24453 {
24454 if (temp3)
24455 delete arg3;
24456 }
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24464 wxTreeItemId *arg2 = 0 ;
24465 int arg3 ;
24466 int arg4 = (int) wxTreeItemIcon_Normal ;
24467 PyObject * obj0 = 0 ;
24468 PyObject * obj1 = 0 ;
24469 PyObject * obj2 = 0 ;
24470 PyObject * obj3 = 0 ;
24471 char *kwnames[] = {
24472 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24473 };
24474
24475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24477 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24478 if (arg2 == NULL) {
24479 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24480 }
24481 {
24482 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 if (obj3) {
24486 {
24487 arg4 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj3);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 }
24491 {
24492 PyThreadState* __tstate = wxPyBeginAllowThreads();
24493 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24494
24495 wxPyEndAllowThreads(__tstate);
24496 if (PyErr_Occurred()) SWIG_fail;
24497 }
24498 Py_INCREF(Py_None); resultobj = Py_None;
24499 return resultobj;
24500 fail:
24501 return NULL;
24502 }
24503
24504
24505 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24506 PyObject *resultobj;
24507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24508 wxTreeItemId *arg2 = 0 ;
24509 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24510 PyObject * obj0 = 0 ;
24511 PyObject * obj1 = 0 ;
24512 PyObject * obj2 = 0 ;
24513 char *kwnames[] = {
24514 (char *) "self",(char *) "item",(char *) "data", NULL
24515 };
24516
24517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24520 if (arg2 == NULL) {
24521 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24522 }
24523 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24524 {
24525 PyThreadState* __tstate = wxPyBeginAllowThreads();
24526 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24527
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
24531 Py_INCREF(Py_None); resultobj = Py_None;
24532 return resultobj;
24533 fail:
24534 return NULL;
24535 }
24536
24537
24538 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24539 PyObject *resultobj;
24540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24541 wxTreeItemId *arg2 = 0 ;
24542 PyObject *arg3 = (PyObject *) 0 ;
24543 PyObject * obj0 = 0 ;
24544 PyObject * obj1 = 0 ;
24545 PyObject * obj2 = 0 ;
24546 char *kwnames[] = {
24547 (char *) "self",(char *) "item",(char *) "obj", NULL
24548 };
24549
24550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24552 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24553 if (arg2 == NULL) {
24554 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24555 }
24556 arg3 = obj2;
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 Py_INCREF(Py_None); resultobj = Py_None;
24565 return resultobj;
24566 fail:
24567 return NULL;
24568 }
24569
24570
24571 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24572 PyObject *resultobj;
24573 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24574 wxTreeItemId *arg2 = 0 ;
24575 bool arg3 = (bool) True ;
24576 PyObject * obj0 = 0 ;
24577 PyObject * obj1 = 0 ;
24578 PyObject * obj2 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self",(char *) "item",(char *) "has", NULL
24581 };
24582
24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24586 if (arg2 == NULL) {
24587 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24588 }
24589 if (obj2) {
24590 {
24591 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 }
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24598
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 Py_INCREF(Py_None); resultobj = Py_None;
24603 return resultobj;
24604 fail:
24605 return NULL;
24606 }
24607
24608
24609 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24610 PyObject *resultobj;
24611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24612 wxTreeItemId *arg2 = 0 ;
24613 bool arg3 = (bool) True ;
24614 PyObject * obj0 = 0 ;
24615 PyObject * obj1 = 0 ;
24616 PyObject * obj2 = 0 ;
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "item",(char *) "bold", NULL
24619 };
24620
24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24624 if (arg2 == NULL) {
24625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24626 }
24627 if (obj2) {
24628 {
24629 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24630 if (PyErr_Occurred()) SWIG_fail;
24631 }
24632 }
24633 {
24634 PyThreadState* __tstate = wxPyBeginAllowThreads();
24635 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24636
24637 wxPyEndAllowThreads(__tstate);
24638 if (PyErr_Occurred()) SWIG_fail;
24639 }
24640 Py_INCREF(Py_None); resultobj = Py_None;
24641 return resultobj;
24642 fail:
24643 return NULL;
24644 }
24645
24646
24647 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
24648 PyObject *resultobj;
24649 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24650 wxTreeItemId *arg2 = 0 ;
24651 bool arg3 = (bool) True ;
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
24654 PyObject * obj2 = 0 ;
24655 char *kwnames[] = {
24656 (char *) "self",(char *) "item",(char *) "highlight", NULL
24657 };
24658
24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
24660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24662 if (arg2 == NULL) {
24663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24664 }
24665 if (obj2) {
24666 {
24667 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 }
24671 {
24672 PyThreadState* __tstate = wxPyBeginAllowThreads();
24673 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
24674
24675 wxPyEndAllowThreads(__tstate);
24676 if (PyErr_Occurred()) SWIG_fail;
24677 }
24678 Py_INCREF(Py_None); resultobj = Py_None;
24679 return resultobj;
24680 fail:
24681 return NULL;
24682 }
24683
24684
24685 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24686 PyObject *resultobj;
24687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24688 wxTreeItemId *arg2 = 0 ;
24689 wxColour *arg3 = 0 ;
24690 wxColour temp3 ;
24691 PyObject * obj0 = 0 ;
24692 PyObject * obj1 = 0 ;
24693 PyObject * obj2 = 0 ;
24694 char *kwnames[] = {
24695 (char *) "self",(char *) "item",(char *) "col", NULL
24696 };
24697
24698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24701 if (arg2 == NULL) {
24702 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24703 }
24704 {
24705 arg3 = &temp3;
24706 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24707 }
24708 {
24709 PyThreadState* __tstate = wxPyBeginAllowThreads();
24710 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24711
24712 wxPyEndAllowThreads(__tstate);
24713 if (PyErr_Occurred()) SWIG_fail;
24714 }
24715 Py_INCREF(Py_None); resultobj = Py_None;
24716 return resultobj;
24717 fail:
24718 return NULL;
24719 }
24720
24721
24722 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24723 PyObject *resultobj;
24724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24725 wxTreeItemId *arg2 = 0 ;
24726 wxColour *arg3 = 0 ;
24727 wxColour temp3 ;
24728 PyObject * obj0 = 0 ;
24729 PyObject * obj1 = 0 ;
24730 PyObject * obj2 = 0 ;
24731 char *kwnames[] = {
24732 (char *) "self",(char *) "item",(char *) "col", NULL
24733 };
24734
24735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24738 if (arg2 == NULL) {
24739 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24740 }
24741 {
24742 arg3 = &temp3;
24743 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24744 }
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
24752 Py_INCREF(Py_None); resultobj = Py_None;
24753 return resultobj;
24754 fail:
24755 return NULL;
24756 }
24757
24758
24759 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24762 wxTreeItemId *arg2 = 0 ;
24763 wxFont *arg3 = 0 ;
24764 PyObject * obj0 = 0 ;
24765 PyObject * obj1 = 0 ;
24766 PyObject * obj2 = 0 ;
24767 char *kwnames[] = {
24768 (char *) "self",(char *) "item",(char *) "font", NULL
24769 };
24770
24771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24774 if (arg2 == NULL) {
24775 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24776 }
24777 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24778 if (arg3 == NULL) {
24779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24780 }
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 Py_INCREF(Py_None); resultobj = Py_None;
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24798 wxTreeItemId *arg2 = 0 ;
24799 bool result;
24800 PyObject * obj0 = 0 ;
24801 PyObject * obj1 = 0 ;
24802 char *kwnames[] = {
24803 (char *) "self",(char *) "item", NULL
24804 };
24805
24806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24808 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24809 if (arg2 == NULL) {
24810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24811 }
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24815
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
24819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24820 return resultobj;
24821 fail:
24822 return NULL;
24823 }
24824
24825
24826 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24827 PyObject *resultobj;
24828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24829 wxTreeItemId *arg2 = 0 ;
24830 bool result;
24831 PyObject * obj0 = 0 ;
24832 PyObject * obj1 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self",(char *) "item", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24840 if (arg2 == NULL) {
24841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24842 }
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24851 return resultobj;
24852 fail:
24853 return NULL;
24854 }
24855
24856
24857 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24860 wxTreeItemId *arg2 = 0 ;
24861 bool result;
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char *kwnames[] = {
24865 (char *) "self",(char *) "item", NULL
24866 };
24867
24868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24871 if (arg2 == NULL) {
24872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24873 }
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24877
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24882 return resultobj;
24883 fail:
24884 return NULL;
24885 }
24886
24887
24888 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24891 wxTreeItemId *arg2 = 0 ;
24892 bool result;
24893 PyObject * obj0 = 0 ;
24894 PyObject * obj1 = 0 ;
24895 char *kwnames[] = {
24896 (char *) "self",(char *) "item", NULL
24897 };
24898
24899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24902 if (arg2 == NULL) {
24903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24904 }
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24908
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24913 return resultobj;
24914 fail:
24915 return NULL;
24916 }
24917
24918
24919 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24920 PyObject *resultobj;
24921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24922 wxTreeItemId *arg2 = 0 ;
24923 bool result;
24924 PyObject * obj0 = 0 ;
24925 PyObject * obj1 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "self",(char *) "item", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24933 if (arg2 == NULL) {
24934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24935 }
24936 {
24937 PyThreadState* __tstate = wxPyBeginAllowThreads();
24938 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24939
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24953 wxTreeItemId *arg2 = 0 ;
24954 bool arg3 = (bool) True ;
24955 size_t result;
24956 PyObject * obj0 = 0 ;
24957 PyObject * obj1 = 0 ;
24958 PyObject * obj2 = 0 ;
24959 char *kwnames[] = {
24960 (char *) "self",(char *) "item",(char *) "recursively", NULL
24961 };
24962
24963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24966 if (arg2 == NULL) {
24967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24968 }
24969 if (obj2) {
24970 {
24971 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 }
24975 {
24976 PyThreadState* __tstate = wxPyBeginAllowThreads();
24977 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
24978
24979 wxPyEndAllowThreads(__tstate);
24980 if (PyErr_Occurred()) SWIG_fail;
24981 }
24982 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
24983 return resultobj;
24984 fail:
24985 return NULL;
24986 }
24987
24988
24989 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24990 PyObject *resultobj;
24991 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24992 wxTreeItemId result;
24993 PyObject * obj0 = 0 ;
24994 char *kwnames[] = {
24995 (char *) "self", NULL
24996 };
24997
24998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
24999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25000 {
25001 PyThreadState* __tstate = wxPyBeginAllowThreads();
25002 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25003
25004 wxPyEndAllowThreads(__tstate);
25005 if (PyErr_Occurred()) SWIG_fail;
25006 }
25007 {
25008 wxTreeItemId * resultptr;
25009 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25010 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25011 }
25012 return resultobj;
25013 fail:
25014 return NULL;
25015 }
25016
25017
25018 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25019 PyObject *resultobj;
25020 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25021 wxTreeItemId result;
25022 PyObject * obj0 = 0 ;
25023 char *kwnames[] = {
25024 (char *) "self", NULL
25025 };
25026
25027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25029 {
25030 PyThreadState* __tstate = wxPyBeginAllowThreads();
25031 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25032
25033 wxPyEndAllowThreads(__tstate);
25034 if (PyErr_Occurred()) SWIG_fail;
25035 }
25036 {
25037 wxTreeItemId * resultptr;
25038 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25039 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25040 }
25041 return resultobj;
25042 fail:
25043 return NULL;
25044 }
25045
25046
25047 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25048 PyObject *resultobj;
25049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25050 PyObject *result;
25051 PyObject * obj0 = 0 ;
25052 char *kwnames[] = {
25053 (char *) "self", NULL
25054 };
25055
25056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 resultobj = result;
25066 return resultobj;
25067 fail:
25068 return NULL;
25069 }
25070
25071
25072 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25073 PyObject *resultobj;
25074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25075 wxTreeItemId *arg2 = 0 ;
25076 wxTreeItemId result;
25077 PyObject * obj0 = 0 ;
25078 PyObject * obj1 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self",(char *) "item", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25086 if (arg2 == NULL) {
25087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25088 }
25089 {
25090 PyThreadState* __tstate = wxPyBeginAllowThreads();
25091 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25092
25093 wxPyEndAllowThreads(__tstate);
25094 if (PyErr_Occurred()) SWIG_fail;
25095 }
25096 {
25097 wxTreeItemId * resultptr;
25098 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25100 }
25101 return resultobj;
25102 fail:
25103 return NULL;
25104 }
25105
25106
25107 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25108 PyObject *resultobj;
25109 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25110 wxTreeItemId *arg2 = 0 ;
25111 PyObject *result;
25112 PyObject * obj0 = 0 ;
25113 PyObject * obj1 = 0 ;
25114 char *kwnames[] = {
25115 (char *) "self",(char *) "item", NULL
25116 };
25117
25118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25121 if (arg2 == NULL) {
25122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25123 }
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 resultobj = result;
25132 return resultobj;
25133 fail:
25134 return NULL;
25135 }
25136
25137
25138 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25139 PyObject *resultobj;
25140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25141 wxTreeItemId *arg2 = 0 ;
25142 void *arg3 = (void *) 0 ;
25143 PyObject *result;
25144 PyObject * obj0 = 0 ;
25145 PyObject * obj1 = 0 ;
25146 PyObject * obj2 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "self",(char *) "item",(char *) "cookie", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25154 if (arg2 == NULL) {
25155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25156 }
25157 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 resultobj = result;
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj;
25174 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25175 wxTreeItemId *arg2 = 0 ;
25176 wxTreeItemId result;
25177 PyObject * obj0 = 0 ;
25178 PyObject * obj1 = 0 ;
25179 char *kwnames[] = {
25180 (char *) "self",(char *) "item", NULL
25181 };
25182
25183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25186 if (arg2 == NULL) {
25187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25188 }
25189 {
25190 PyThreadState* __tstate = wxPyBeginAllowThreads();
25191 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25192
25193 wxPyEndAllowThreads(__tstate);
25194 if (PyErr_Occurred()) SWIG_fail;
25195 }
25196 {
25197 wxTreeItemId * resultptr;
25198 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25199 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25200 }
25201 return resultobj;
25202 fail:
25203 return NULL;
25204 }
25205
25206
25207 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25208 PyObject *resultobj;
25209 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25210 wxTreeItemId *arg2 = 0 ;
25211 wxTreeItemId result;
25212 PyObject * obj0 = 0 ;
25213 PyObject * obj1 = 0 ;
25214 char *kwnames[] = {
25215 (char *) "self",(char *) "item", NULL
25216 };
25217
25218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25227
25228 wxPyEndAllowThreads(__tstate);
25229 if (PyErr_Occurred()) SWIG_fail;
25230 }
25231 {
25232 wxTreeItemId * resultptr;
25233 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25234 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25235 }
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25243 PyObject *resultobj;
25244 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25245 wxTreeItemId *arg2 = 0 ;
25246 wxTreeItemId result;
25247 PyObject * obj0 = 0 ;
25248 PyObject * obj1 = 0 ;
25249 char *kwnames[] = {
25250 (char *) "self",(char *) "item", NULL
25251 };
25252
25253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25256 if (arg2 == NULL) {
25257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25258 }
25259 {
25260 PyThreadState* __tstate = wxPyBeginAllowThreads();
25261 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25262
25263 wxPyEndAllowThreads(__tstate);
25264 if (PyErr_Occurred()) SWIG_fail;
25265 }
25266 {
25267 wxTreeItemId * resultptr;
25268 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25269 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25270 }
25271 return resultobj;
25272 fail:
25273 return NULL;
25274 }
25275
25276
25277 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25278 PyObject *resultobj;
25279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25280 wxTreeItemId result;
25281 PyObject * obj0 = 0 ;
25282 char *kwnames[] = {
25283 (char *) "self", NULL
25284 };
25285
25286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25288 {
25289 PyThreadState* __tstate = wxPyBeginAllowThreads();
25290 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25291
25292 wxPyEndAllowThreads(__tstate);
25293 if (PyErr_Occurred()) SWIG_fail;
25294 }
25295 {
25296 wxTreeItemId * resultptr;
25297 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25298 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25299 }
25300 return resultobj;
25301 fail:
25302 return NULL;
25303 }
25304
25305
25306 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj;
25308 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25309 wxTreeItemId *arg2 = 0 ;
25310 wxTreeItemId result;
25311 PyObject * obj0 = 0 ;
25312 PyObject * obj1 = 0 ;
25313 char *kwnames[] = {
25314 (char *) "self",(char *) "item", NULL
25315 };
25316
25317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25319 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25320 if (arg2 == NULL) {
25321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25322 }
25323 {
25324 PyThreadState* __tstate = wxPyBeginAllowThreads();
25325 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25326
25327 wxPyEndAllowThreads(__tstate);
25328 if (PyErr_Occurred()) SWIG_fail;
25329 }
25330 {
25331 wxTreeItemId * resultptr;
25332 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25333 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25334 }
25335 return resultobj;
25336 fail:
25337 return NULL;
25338 }
25339
25340
25341 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25342 PyObject *resultobj;
25343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25344 wxTreeItemId *arg2 = 0 ;
25345 wxTreeItemId result;
25346 PyObject * obj0 = 0 ;
25347 PyObject * obj1 = 0 ;
25348 char *kwnames[] = {
25349 (char *) "self",(char *) "item", NULL
25350 };
25351
25352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25355 if (arg2 == NULL) {
25356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25357 }
25358 {
25359 PyThreadState* __tstate = wxPyBeginAllowThreads();
25360 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25361
25362 wxPyEndAllowThreads(__tstate);
25363 if (PyErr_Occurred()) SWIG_fail;
25364 }
25365 {
25366 wxTreeItemId * resultptr;
25367 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25368 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25369 }
25370 return resultobj;
25371 fail:
25372 return NULL;
25373 }
25374
25375
25376 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25377 PyObject *resultobj;
25378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25379 wxString *arg2 = 0 ;
25380 int arg3 = (int) -1 ;
25381 int arg4 = (int) -1 ;
25382 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25383 wxTreeItemId result;
25384 bool temp2 = False ;
25385 PyObject * obj0 = 0 ;
25386 PyObject * obj1 = 0 ;
25387 PyObject * obj2 = 0 ;
25388 PyObject * obj3 = 0 ;
25389 PyObject * obj4 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25396 {
25397 arg2 = wxString_in_helper(obj1);
25398 if (arg2 == NULL) SWIG_fail;
25399 temp2 = True;
25400 }
25401 if (obj2) {
25402 {
25403 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 }
25407 if (obj3) {
25408 {
25409 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25410 if (PyErr_Occurred()) SWIG_fail;
25411 }
25412 }
25413 if (obj4) {
25414 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25415 }
25416 {
25417 PyThreadState* __tstate = wxPyBeginAllowThreads();
25418 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25419
25420 wxPyEndAllowThreads(__tstate);
25421 if (PyErr_Occurred()) SWIG_fail;
25422 }
25423 {
25424 wxTreeItemId * resultptr;
25425 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25426 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25427 }
25428 {
25429 if (temp2)
25430 delete arg2;
25431 }
25432 return resultobj;
25433 fail:
25434 {
25435 if (temp2)
25436 delete arg2;
25437 }
25438 return NULL;
25439 }
25440
25441
25442 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25443 PyObject *resultobj;
25444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25445 wxTreeItemId *arg2 = 0 ;
25446 wxString *arg3 = 0 ;
25447 int arg4 = (int) -1 ;
25448 int arg5 = (int) -1 ;
25449 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25450 wxTreeItemId result;
25451 bool temp3 = False ;
25452 PyObject * obj0 = 0 ;
25453 PyObject * obj1 = 0 ;
25454 PyObject * obj2 = 0 ;
25455 PyObject * obj3 = 0 ;
25456 PyObject * obj4 = 0 ;
25457 PyObject * obj5 = 0 ;
25458 char *kwnames[] = {
25459 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25460 };
25461
25462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25465 if (arg2 == NULL) {
25466 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25467 }
25468 {
25469 arg3 = wxString_in_helper(obj2);
25470 if (arg3 == NULL) SWIG_fail;
25471 temp3 = True;
25472 }
25473 if (obj3) {
25474 {
25475 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25476 if (PyErr_Occurred()) SWIG_fail;
25477 }
25478 }
25479 if (obj4) {
25480 {
25481 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25482 if (PyErr_Occurred()) SWIG_fail;
25483 }
25484 }
25485 if (obj5) {
25486 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25487 }
25488 {
25489 PyThreadState* __tstate = wxPyBeginAllowThreads();
25490 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 {
25496 wxTreeItemId * resultptr;
25497 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25499 }
25500 {
25501 if (temp3)
25502 delete arg3;
25503 }
25504 return resultobj;
25505 fail:
25506 {
25507 if (temp3)
25508 delete arg3;
25509 }
25510 return NULL;
25511 }
25512
25513
25514 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25515 PyObject *resultobj;
25516 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25517 wxTreeItemId *arg2 = 0 ;
25518 wxTreeItemId *arg3 = 0 ;
25519 wxString *arg4 = 0 ;
25520 int arg5 = (int) -1 ;
25521 int arg6 = (int) -1 ;
25522 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25523 wxTreeItemId result;
25524 bool temp4 = False ;
25525 PyObject * obj0 = 0 ;
25526 PyObject * obj1 = 0 ;
25527 PyObject * obj2 = 0 ;
25528 PyObject * obj3 = 0 ;
25529 PyObject * obj4 = 0 ;
25530 PyObject * obj5 = 0 ;
25531 PyObject * obj6 = 0 ;
25532 char *kwnames[] = {
25533 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25534 };
25535
25536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25539 if (arg2 == NULL) {
25540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25541 }
25542 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25543 if (arg3 == NULL) {
25544 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25545 }
25546 {
25547 arg4 = wxString_in_helper(obj3);
25548 if (arg4 == NULL) SWIG_fail;
25549 temp4 = True;
25550 }
25551 if (obj4) {
25552 {
25553 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 }
25557 if (obj5) {
25558 {
25559 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
25562 }
25563 if (obj6) {
25564 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25565 }
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25569
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 {
25574 wxTreeItemId * resultptr;
25575 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25576 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25577 }
25578 {
25579 if (temp4)
25580 delete arg4;
25581 }
25582 return resultobj;
25583 fail:
25584 {
25585 if (temp4)
25586 delete arg4;
25587 }
25588 return NULL;
25589 }
25590
25591
25592 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25593 PyObject *resultobj;
25594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25595 wxTreeItemId *arg2 = 0 ;
25596 size_t arg3 ;
25597 wxString *arg4 = 0 ;
25598 int arg5 = (int) -1 ;
25599 int arg6 = (int) -1 ;
25600 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25601 wxTreeItemId result;
25602 bool temp4 = False ;
25603 PyObject * obj0 = 0 ;
25604 PyObject * obj1 = 0 ;
25605 PyObject * obj2 = 0 ;
25606 PyObject * obj3 = 0 ;
25607 PyObject * obj4 = 0 ;
25608 PyObject * obj5 = 0 ;
25609 PyObject * obj6 = 0 ;
25610 char *kwnames[] = {
25611 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25612 };
25613
25614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25617 if (arg2 == NULL) {
25618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25619 }
25620 {
25621 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
25622 if (PyErr_Occurred()) SWIG_fail;
25623 }
25624 {
25625 arg4 = wxString_in_helper(obj3);
25626 if (arg4 == NULL) SWIG_fail;
25627 temp4 = True;
25628 }
25629 if (obj4) {
25630 {
25631 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25632 if (PyErr_Occurred()) SWIG_fail;
25633 }
25634 }
25635 if (obj5) {
25636 {
25637 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25638 if (PyErr_Occurred()) SWIG_fail;
25639 }
25640 }
25641 if (obj6) {
25642 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25643 }
25644 {
25645 PyThreadState* __tstate = wxPyBeginAllowThreads();
25646 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25647
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 {
25652 wxTreeItemId * resultptr;
25653 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25654 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25655 }
25656 {
25657 if (temp4)
25658 delete arg4;
25659 }
25660 return resultobj;
25661 fail:
25662 {
25663 if (temp4)
25664 delete arg4;
25665 }
25666 return NULL;
25667 }
25668
25669
25670 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25671 PyObject *resultobj;
25672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25673 wxTreeItemId *arg2 = 0 ;
25674 wxString *arg3 = 0 ;
25675 int arg4 = (int) -1 ;
25676 int arg5 = (int) -1 ;
25677 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25678 wxTreeItemId result;
25679 bool temp3 = False ;
25680 PyObject * obj0 = 0 ;
25681 PyObject * obj1 = 0 ;
25682 PyObject * obj2 = 0 ;
25683 PyObject * obj3 = 0 ;
25684 PyObject * obj4 = 0 ;
25685 PyObject * obj5 = 0 ;
25686 char *kwnames[] = {
25687 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25688 };
25689
25690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25693 if (arg2 == NULL) {
25694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25695 }
25696 {
25697 arg3 = wxString_in_helper(obj2);
25698 if (arg3 == NULL) SWIG_fail;
25699 temp3 = True;
25700 }
25701 if (obj3) {
25702 {
25703 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25704 if (PyErr_Occurred()) SWIG_fail;
25705 }
25706 }
25707 if (obj4) {
25708 {
25709 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 }
25713 if (obj5) {
25714 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25715 }
25716 {
25717 PyThreadState* __tstate = wxPyBeginAllowThreads();
25718 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25719
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 {
25724 wxTreeItemId * resultptr;
25725 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25726 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25727 }
25728 {
25729 if (temp3)
25730 delete arg3;
25731 }
25732 return resultobj;
25733 fail:
25734 {
25735 if (temp3)
25736 delete arg3;
25737 }
25738 return NULL;
25739 }
25740
25741
25742 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25743 PyObject *resultobj;
25744 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25745 wxTreeItemId *arg2 = 0 ;
25746 PyObject * obj0 = 0 ;
25747 PyObject * obj1 = 0 ;
25748 char *kwnames[] = {
25749 (char *) "self",(char *) "item", NULL
25750 };
25751
25752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25755 if (arg2 == NULL) {
25756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25757 }
25758 {
25759 PyThreadState* __tstate = wxPyBeginAllowThreads();
25760 (arg1)->Delete((wxTreeItemId const &)*arg2);
25761
25762 wxPyEndAllowThreads(__tstate);
25763 if (PyErr_Occurred()) SWIG_fail;
25764 }
25765 Py_INCREF(Py_None); resultobj = Py_None;
25766 return resultobj;
25767 fail:
25768 return NULL;
25769 }
25770
25771
25772 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25773 PyObject *resultobj;
25774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25775 wxTreeItemId *arg2 = 0 ;
25776 PyObject * obj0 = 0 ;
25777 PyObject * obj1 = 0 ;
25778 char *kwnames[] = {
25779 (char *) "self",(char *) "item", NULL
25780 };
25781
25782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25785 if (arg2 == NULL) {
25786 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25787 }
25788 {
25789 PyThreadState* __tstate = wxPyBeginAllowThreads();
25790 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25791
25792 wxPyEndAllowThreads(__tstate);
25793 if (PyErr_Occurred()) SWIG_fail;
25794 }
25795 Py_INCREF(Py_None); resultobj = Py_None;
25796 return resultobj;
25797 fail:
25798 return NULL;
25799 }
25800
25801
25802 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25803 PyObject *resultobj;
25804 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25805 PyObject * obj0 = 0 ;
25806 char *kwnames[] = {
25807 (char *) "self", NULL
25808 };
25809
25810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 (arg1)->DeleteAllItems();
25815
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 Py_INCREF(Py_None); resultobj = Py_None;
25820 return resultobj;
25821 fail:
25822 return NULL;
25823 }
25824
25825
25826 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25827 PyObject *resultobj;
25828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25829 wxTreeItemId *arg2 = 0 ;
25830 PyObject * obj0 = 0 ;
25831 PyObject * obj1 = 0 ;
25832 char *kwnames[] = {
25833 (char *) "self",(char *) "item", NULL
25834 };
25835
25836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25839 if (arg2 == NULL) {
25840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25841 }
25842 {
25843 PyThreadState* __tstate = wxPyBeginAllowThreads();
25844 (arg1)->Expand((wxTreeItemId const &)*arg2);
25845
25846 wxPyEndAllowThreads(__tstate);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 }
25849 Py_INCREF(Py_None); resultobj = Py_None;
25850 return resultobj;
25851 fail:
25852 return NULL;
25853 }
25854
25855
25856 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
25857 PyObject *resultobj;
25858 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25859 wxTreeItemId *arg2 = 0 ;
25860 PyObject * obj0 = 0 ;
25861 PyObject * obj1 = 0 ;
25862 char *kwnames[] = {
25863 (char *) "self",(char *) "item", NULL
25864 };
25865
25866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25869 if (arg2 == NULL) {
25870 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25871 }
25872 {
25873 PyThreadState* __tstate = wxPyBeginAllowThreads();
25874 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25875
25876 wxPyEndAllowThreads(__tstate);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 }
25879 Py_INCREF(Py_None); resultobj = Py_None;
25880 return resultobj;
25881 fail:
25882 return NULL;
25883 }
25884
25885
25886 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
25887 PyObject *resultobj;
25888 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25889 wxTreeItemId *arg2 = 0 ;
25890 PyObject * obj0 = 0 ;
25891 PyObject * obj1 = 0 ;
25892 char *kwnames[] = {
25893 (char *) "self",(char *) "item", NULL
25894 };
25895
25896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25899 if (arg2 == NULL) {
25900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25901 }
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 Py_INCREF(Py_None); resultobj = Py_None;
25910 return resultobj;
25911 fail:
25912 return NULL;
25913 }
25914
25915
25916 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
25917 PyObject *resultobj;
25918 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25919 wxTreeItemId *arg2 = 0 ;
25920 PyObject * obj0 = 0 ;
25921 PyObject * obj1 = 0 ;
25922 char *kwnames[] = {
25923 (char *) "self",(char *) "item", NULL
25924 };
25925
25926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25929 if (arg2 == NULL) {
25930 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25931 }
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25935
25936 wxPyEndAllowThreads(__tstate);
25937 if (PyErr_Occurred()) SWIG_fail;
25938 }
25939 Py_INCREF(Py_None); resultobj = Py_None;
25940 return resultobj;
25941 fail:
25942 return NULL;
25943 }
25944
25945
25946 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
25947 PyObject *resultobj;
25948 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25949 PyObject * obj0 = 0 ;
25950 char *kwnames[] = {
25951 (char *) "self", NULL
25952 };
25953
25954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 (arg1)->Unselect();
25959
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 Py_INCREF(Py_None); resultobj = Py_None;
25964 return resultobj;
25965 fail:
25966 return NULL;
25967 }
25968
25969
25970 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
25971 PyObject *resultobj;
25972 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25973 PyObject * obj0 = 0 ;
25974 char *kwnames[] = {
25975 (char *) "self", NULL
25976 };
25977
25978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
25979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 (arg1)->UnselectAll();
25983
25984 wxPyEndAllowThreads(__tstate);
25985 if (PyErr_Occurred()) SWIG_fail;
25986 }
25987 Py_INCREF(Py_None); resultobj = Py_None;
25988 return resultobj;
25989 fail:
25990 return NULL;
25991 }
25992
25993
25994 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25995 PyObject *resultobj;
25996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25997 wxTreeItemId *arg2 = 0 ;
25998 PyObject * obj0 = 0 ;
25999 PyObject * obj1 = 0 ;
26000 char *kwnames[] = {
26001 (char *) "self",(char *) "item", NULL
26002 };
26003
26004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
26005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26007 if (arg2 == NULL) {
26008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26009 }
26010 {
26011 PyThreadState* __tstate = wxPyBeginAllowThreads();
26012 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
26013
26014 wxPyEndAllowThreads(__tstate);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 Py_INCREF(Py_None); resultobj = Py_None;
26018 return resultobj;
26019 fail:
26020 return NULL;
26021 }
26022
26023
26024 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26025 PyObject *resultobj;
26026 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26027 wxTreeItemId *arg2 = 0 ;
26028 PyObject * obj0 = 0 ;
26029 PyObject * obj1 = 0 ;
26030 char *kwnames[] = {
26031 (char *) "self",(char *) "item", NULL
26032 };
26033
26034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26037 if (arg2 == NULL) {
26038 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26039 }
26040 {
26041 PyThreadState* __tstate = wxPyBeginAllowThreads();
26042 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26043
26044 wxPyEndAllowThreads(__tstate);
26045 if (PyErr_Occurred()) SWIG_fail;
26046 }
26047 Py_INCREF(Py_None); resultobj = Py_None;
26048 return resultobj;
26049 fail:
26050 return NULL;
26051 }
26052
26053
26054 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26055 PyObject *resultobj;
26056 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26057 wxTreeItemId *arg2 = 0 ;
26058 PyObject * obj0 = 0 ;
26059 PyObject * obj1 = 0 ;
26060 char *kwnames[] = {
26061 (char *) "self",(char *) "item", NULL
26062 };
26063
26064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26067 if (arg2 == NULL) {
26068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26069 }
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 Py_INCREF(Py_None); resultobj = Py_None;
26078 return resultobj;
26079 fail:
26080 return NULL;
26081 }
26082
26083
26084 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26085 PyObject *resultobj;
26086 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26087 wxTreeItemId *arg2 = 0 ;
26088 PyObject * obj0 = 0 ;
26089 PyObject * obj1 = 0 ;
26090 char *kwnames[] = {
26091 (char *) "self",(char *) "item", NULL
26092 };
26093
26094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26097 if (arg2 == NULL) {
26098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26099 }
26100 {
26101 PyThreadState* __tstate = wxPyBeginAllowThreads();
26102 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26103
26104 wxPyEndAllowThreads(__tstate);
26105 if (PyErr_Occurred()) SWIG_fail;
26106 }
26107 Py_INCREF(Py_None); resultobj = Py_None;
26108 return resultobj;
26109 fail:
26110 return NULL;
26111 }
26112
26113
26114 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26115 PyObject *resultobj;
26116 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26117 wxTextCtrl *result;
26118 PyObject * obj0 = 0 ;
26119 char *kwnames[] = {
26120 (char *) "self", NULL
26121 };
26122
26123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26128
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
26132 {
26133 resultobj = wxPyMake_wxObject(result);
26134 }
26135 return resultobj;
26136 fail:
26137 return NULL;
26138 }
26139
26140
26141 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26142 PyObject *resultobj;
26143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26144 wxTreeItemId *arg2 = 0 ;
26145 bool arg3 = (bool) False ;
26146 PyObject * obj0 = 0 ;
26147 PyObject * obj1 = 0 ;
26148 PyObject * obj2 = 0 ;
26149 char *kwnames[] = {
26150 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26151 };
26152
26153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
26154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26156 if (arg2 == NULL) {
26157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26158 }
26159 if (obj2) {
26160 {
26161 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26162 if (PyErr_Occurred()) SWIG_fail;
26163 }
26164 }
26165 {
26166 PyThreadState* __tstate = wxPyBeginAllowThreads();
26167 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
26168
26169 wxPyEndAllowThreads(__tstate);
26170 if (PyErr_Occurred()) SWIG_fail;
26171 }
26172 Py_INCREF(Py_None); resultobj = Py_None;
26173 return resultobj;
26174 fail:
26175 return NULL;
26176 }
26177
26178
26179 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26180 PyObject *resultobj;
26181 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26182 wxTreeItemId *arg2 = 0 ;
26183 PyObject * obj0 = 0 ;
26184 PyObject * obj1 = 0 ;
26185 char *kwnames[] = {
26186 (char *) "self",(char *) "item", NULL
26187 };
26188
26189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26192 if (arg2 == NULL) {
26193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26194 }
26195 {
26196 PyThreadState* __tstate = wxPyBeginAllowThreads();
26197 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26198
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 Py_INCREF(Py_None); resultobj = Py_None;
26203 return resultobj;
26204 fail:
26205 return NULL;
26206 }
26207
26208
26209 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26210 PyObject *resultobj;
26211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26212 wxPoint *arg2 = 0 ;
26213 int *arg3 = 0 ;
26214 wxTreeItemId result;
26215 wxPoint temp2 ;
26216 int temp3 ;
26217 PyObject * obj0 = 0 ;
26218 PyObject * obj1 = 0 ;
26219 char *kwnames[] = {
26220 (char *) "self",(char *) "point", NULL
26221 };
26222
26223 arg3 = &temp3;
26224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26226 {
26227 arg2 = &temp2;
26228 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26229 }
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26233
26234 wxPyEndAllowThreads(__tstate);
26235 if (PyErr_Occurred()) SWIG_fail;
26236 }
26237 {
26238 wxTreeItemId * resultptr;
26239 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26241 }
26242 {
26243 PyObject *o = PyInt_FromLong((long) (*arg3));
26244 resultobj = t_output_helper(resultobj,o);
26245 }
26246 return resultobj;
26247 fail:
26248 return NULL;
26249 }
26250
26251
26252 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26253 PyObject *resultobj;
26254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26255 wxTreeItemId *arg2 = 0 ;
26256 bool arg3 = (bool) False ;
26257 PyObject *result;
26258 PyObject * obj0 = 0 ;
26259 PyObject * obj1 = 0 ;
26260 PyObject * obj2 = 0 ;
26261 char *kwnames[] = {
26262 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26263 };
26264
26265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26268 if (arg2 == NULL) {
26269 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26270 }
26271 if (obj2) {
26272 {
26273 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26274 if (PyErr_Occurred()) SWIG_fail;
26275 }
26276 }
26277 {
26278 PyThreadState* __tstate = wxPyBeginAllowThreads();
26279 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26280
26281 wxPyEndAllowThreads(__tstate);
26282 if (PyErr_Occurred()) SWIG_fail;
26283 }
26284 resultobj = result;
26285 return resultobj;
26286 fail:
26287 return NULL;
26288 }
26289
26290
26291 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26292 PyObject *obj;
26293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26294 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26295 Py_INCREF(obj);
26296 return Py_BuildValue((char *)"");
26297 }
26298 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26299 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26300 return 1;
26301 }
26302
26303
26304 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26305 PyObject *pyobj;
26306
26307 {
26308 #if wxUSE_UNICODE
26309 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26310 #else
26311 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26312 #endif
26313 }
26314 return pyobj;
26315 }
26316
26317
26318 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26319 PyObject *resultobj;
26320 wxWindow *arg1 = (wxWindow *) 0 ;
26321 int arg2 = (int) (int)-1 ;
26322 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26323 wxString *arg3 = (wxString *) &arg3_defvalue ;
26324 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26325 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26326 wxSize const &arg5_defvalue = wxDefaultSize ;
26327 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26328 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26329 wxString const &arg7_defvalue = wxPyEmptyString ;
26330 wxString *arg7 = (wxString *) &arg7_defvalue ;
26331 int arg8 = (int) 0 ;
26332 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26333 wxString *arg9 = (wxString *) &arg9_defvalue ;
26334 wxGenericDirCtrl *result;
26335 bool temp3 = False ;
26336 wxPoint temp4 ;
26337 wxSize temp5 ;
26338 bool temp7 = False ;
26339 bool temp9 = False ;
26340 PyObject * obj0 = 0 ;
26341 PyObject * obj1 = 0 ;
26342 PyObject * obj2 = 0 ;
26343 PyObject * obj3 = 0 ;
26344 PyObject * obj4 = 0 ;
26345 PyObject * obj5 = 0 ;
26346 PyObject * obj6 = 0 ;
26347 PyObject * obj7 = 0 ;
26348 PyObject * obj8 = 0 ;
26349 char *kwnames[] = {
26350 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26351 };
26352
26353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26355 if (obj1) {
26356 {
26357 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26358 if (PyErr_Occurred()) SWIG_fail;
26359 }
26360 }
26361 if (obj2) {
26362 {
26363 arg3 = wxString_in_helper(obj2);
26364 if (arg3 == NULL) SWIG_fail;
26365 temp3 = True;
26366 }
26367 }
26368 if (obj3) {
26369 {
26370 arg4 = &temp4;
26371 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26372 }
26373 }
26374 if (obj4) {
26375 {
26376 arg5 = &temp5;
26377 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26378 }
26379 }
26380 if (obj5) {
26381 {
26382 arg6 = (long) SWIG_PyObj_AsLong(obj5);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 }
26386 if (obj6) {
26387 {
26388 arg7 = wxString_in_helper(obj6);
26389 if (arg7 == NULL) SWIG_fail;
26390 temp7 = True;
26391 }
26392 }
26393 if (obj7) {
26394 {
26395 arg8 = (int) SWIG_PyObj_AsInt(obj7);
26396 if (PyErr_Occurred()) SWIG_fail;
26397 }
26398 }
26399 if (obj8) {
26400 {
26401 arg9 = wxString_in_helper(obj8);
26402 if (arg9 == NULL) SWIG_fail;
26403 temp9 = True;
26404 }
26405 }
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
26413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26414 {
26415 if (temp3)
26416 delete arg3;
26417 }
26418 {
26419 if (temp7)
26420 delete arg7;
26421 }
26422 {
26423 if (temp9)
26424 delete arg9;
26425 }
26426 return resultobj;
26427 fail:
26428 {
26429 if (temp3)
26430 delete arg3;
26431 }
26432 {
26433 if (temp7)
26434 delete arg7;
26435 }
26436 {
26437 if (temp9)
26438 delete arg9;
26439 }
26440 return NULL;
26441 }
26442
26443
26444 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26445 PyObject *resultobj;
26446 wxGenericDirCtrl *result;
26447 char *kwnames[] = {
26448 NULL
26449 };
26450
26451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26452 {
26453 PyThreadState* __tstate = wxPyBeginAllowThreads();
26454 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26455
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26460 return resultobj;
26461 fail:
26462 return NULL;
26463 }
26464
26465
26466 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26467 PyObject *resultobj;
26468 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26469 wxWindow *arg2 = (wxWindow *) 0 ;
26470 int arg3 = (int) (int)-1 ;
26471 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26472 wxString *arg4 = (wxString *) &arg4_defvalue ;
26473 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26474 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26475 wxSize const &arg6_defvalue = wxDefaultSize ;
26476 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26477 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26478 wxString const &arg8_defvalue = wxPyEmptyString ;
26479 wxString *arg8 = (wxString *) &arg8_defvalue ;
26480 int arg9 = (int) 0 ;
26481 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26482 wxString *arg10 = (wxString *) &arg10_defvalue ;
26483 bool result;
26484 bool temp4 = False ;
26485 wxPoint temp5 ;
26486 wxSize temp6 ;
26487 bool temp8 = False ;
26488 bool temp10 = False ;
26489 PyObject * obj0 = 0 ;
26490 PyObject * obj1 = 0 ;
26491 PyObject * obj2 = 0 ;
26492 PyObject * obj3 = 0 ;
26493 PyObject * obj4 = 0 ;
26494 PyObject * obj5 = 0 ;
26495 PyObject * obj6 = 0 ;
26496 PyObject * obj7 = 0 ;
26497 PyObject * obj8 = 0 ;
26498 PyObject * obj9 = 0 ;
26499 char *kwnames[] = {
26500 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26501 };
26502
26503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26506 if (obj2) {
26507 {
26508 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 }
26512 if (obj3) {
26513 {
26514 arg4 = wxString_in_helper(obj3);
26515 if (arg4 == NULL) SWIG_fail;
26516 temp4 = True;
26517 }
26518 }
26519 if (obj4) {
26520 {
26521 arg5 = &temp5;
26522 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26523 }
26524 }
26525 if (obj5) {
26526 {
26527 arg6 = &temp6;
26528 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26529 }
26530 }
26531 if (obj6) {
26532 {
26533 arg7 = (long) SWIG_PyObj_AsLong(obj6);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 }
26537 if (obj7) {
26538 {
26539 arg8 = wxString_in_helper(obj7);
26540 if (arg8 == NULL) SWIG_fail;
26541 temp8 = True;
26542 }
26543 }
26544 if (obj8) {
26545 {
26546 arg9 = (int) SWIG_PyObj_AsInt(obj8);
26547 if (PyErr_Occurred()) SWIG_fail;
26548 }
26549 }
26550 if (obj9) {
26551 {
26552 arg10 = wxString_in_helper(obj9);
26553 if (arg10 == NULL) SWIG_fail;
26554 temp10 = True;
26555 }
26556 }
26557 {
26558 PyThreadState* __tstate = wxPyBeginAllowThreads();
26559 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26560
26561 wxPyEndAllowThreads(__tstate);
26562 if (PyErr_Occurred()) SWIG_fail;
26563 }
26564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26565 {
26566 if (temp4)
26567 delete arg4;
26568 }
26569 {
26570 if (temp8)
26571 delete arg8;
26572 }
26573 {
26574 if (temp10)
26575 delete arg10;
26576 }
26577 return resultobj;
26578 fail:
26579 {
26580 if (temp4)
26581 delete arg4;
26582 }
26583 {
26584 if (temp8)
26585 delete arg8;
26586 }
26587 {
26588 if (temp10)
26589 delete arg10;
26590 }
26591 return NULL;
26592 }
26593
26594
26595 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26596 PyObject *resultobj;
26597 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26598 wxString *arg2 = 0 ;
26599 bool result;
26600 bool temp2 = False ;
26601 PyObject * obj0 = 0 ;
26602 PyObject * obj1 = 0 ;
26603 char *kwnames[] = {
26604 (char *) "self",(char *) "path", NULL
26605 };
26606
26607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26609 {
26610 arg2 = wxString_in_helper(obj1);
26611 if (arg2 == NULL) SWIG_fail;
26612 temp2 = True;
26613 }
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26617
26618 wxPyEndAllowThreads(__tstate);
26619 if (PyErr_Occurred()) SWIG_fail;
26620 }
26621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26622 {
26623 if (temp2)
26624 delete arg2;
26625 }
26626 return resultobj;
26627 fail:
26628 {
26629 if (temp2)
26630 delete arg2;
26631 }
26632 return NULL;
26633 }
26634
26635
26636 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj;
26638 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26639 wxString result;
26640 PyObject * obj0 = 0 ;
26641 char *kwnames[] = {
26642 (char *) "self", NULL
26643 };
26644
26645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26647 {
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26650
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 {
26655 #if wxUSE_UNICODE
26656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26657 #else
26658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26659 #endif
26660 }
26661 return resultobj;
26662 fail:
26663 return NULL;
26664 }
26665
26666
26667 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26668 PyObject *resultobj;
26669 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26670 wxString *arg2 = 0 ;
26671 bool temp2 = False ;
26672 PyObject * obj0 = 0 ;
26673 PyObject * obj1 = 0 ;
26674 char *kwnames[] = {
26675 (char *) "self",(char *) "path", NULL
26676 };
26677
26678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26680 {
26681 arg2 = wxString_in_helper(obj1);
26682 if (arg2 == NULL) SWIG_fail;
26683 temp2 = True;
26684 }
26685 {
26686 PyThreadState* __tstate = wxPyBeginAllowThreads();
26687 (arg1)->SetDefaultPath((wxString const &)*arg2);
26688
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 Py_INCREF(Py_None); resultobj = Py_None;
26693 {
26694 if (temp2)
26695 delete arg2;
26696 }
26697 return resultobj;
26698 fail:
26699 {
26700 if (temp2)
26701 delete arg2;
26702 }
26703 return NULL;
26704 }
26705
26706
26707 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26708 PyObject *resultobj;
26709 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26710 wxString result;
26711 PyObject * obj0 = 0 ;
26712 char *kwnames[] = {
26713 (char *) "self", NULL
26714 };
26715
26716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26718 {
26719 PyThreadState* __tstate = wxPyBeginAllowThreads();
26720 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26721
26722 wxPyEndAllowThreads(__tstate);
26723 if (PyErr_Occurred()) SWIG_fail;
26724 }
26725 {
26726 #if wxUSE_UNICODE
26727 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26728 #else
26729 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26730 #endif
26731 }
26732 return resultobj;
26733 fail:
26734 return NULL;
26735 }
26736
26737
26738 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26739 PyObject *resultobj;
26740 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26741 wxString result;
26742 PyObject * obj0 = 0 ;
26743 char *kwnames[] = {
26744 (char *) "self", NULL
26745 };
26746
26747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26749 {
26750 PyThreadState* __tstate = wxPyBeginAllowThreads();
26751 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26752
26753 wxPyEndAllowThreads(__tstate);
26754 if (PyErr_Occurred()) SWIG_fail;
26755 }
26756 {
26757 #if wxUSE_UNICODE
26758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26759 #else
26760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26761 #endif
26762 }
26763 return resultobj;
26764 fail:
26765 return NULL;
26766 }
26767
26768
26769 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26770 PyObject *resultobj;
26771 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26772 wxString *arg2 = 0 ;
26773 bool temp2 = False ;
26774 PyObject * obj0 = 0 ;
26775 PyObject * obj1 = 0 ;
26776 char *kwnames[] = {
26777 (char *) "self",(char *) "path", NULL
26778 };
26779
26780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26782 {
26783 arg2 = wxString_in_helper(obj1);
26784 if (arg2 == NULL) SWIG_fail;
26785 temp2 = True;
26786 }
26787 {
26788 PyThreadState* __tstate = wxPyBeginAllowThreads();
26789 (arg1)->SetPath((wxString const &)*arg2);
26790
26791 wxPyEndAllowThreads(__tstate);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 }
26794 Py_INCREF(Py_None); resultobj = Py_None;
26795 {
26796 if (temp2)
26797 delete arg2;
26798 }
26799 return resultobj;
26800 fail:
26801 {
26802 if (temp2)
26803 delete arg2;
26804 }
26805 return NULL;
26806 }
26807
26808
26809 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26810 PyObject *resultobj;
26811 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26812 bool arg2 ;
26813 PyObject * obj0 = 0 ;
26814 PyObject * obj1 = 0 ;
26815 char *kwnames[] = {
26816 (char *) "self",(char *) "show", NULL
26817 };
26818
26819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26821 {
26822 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26823 if (PyErr_Occurred()) SWIG_fail;
26824 }
26825 {
26826 PyThreadState* __tstate = wxPyBeginAllowThreads();
26827 (arg1)->ShowHidden(arg2);
26828
26829 wxPyEndAllowThreads(__tstate);
26830 if (PyErr_Occurred()) SWIG_fail;
26831 }
26832 Py_INCREF(Py_None); resultobj = Py_None;
26833 return resultobj;
26834 fail:
26835 return NULL;
26836 }
26837
26838
26839 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26840 PyObject *resultobj;
26841 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26842 bool result;
26843 PyObject * obj0 = 0 ;
26844 char *kwnames[] = {
26845 (char *) "self", NULL
26846 };
26847
26848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26850 {
26851 PyThreadState* __tstate = wxPyBeginAllowThreads();
26852 result = (bool)(arg1)->GetShowHidden();
26853
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj;
26866 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26867 wxString result;
26868 PyObject * obj0 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26875 {
26876 PyThreadState* __tstate = wxPyBeginAllowThreads();
26877 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26878
26879 wxPyEndAllowThreads(__tstate);
26880 if (PyErr_Occurred()) SWIG_fail;
26881 }
26882 {
26883 #if wxUSE_UNICODE
26884 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26885 #else
26886 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26887 #endif
26888 }
26889 return resultobj;
26890 fail:
26891 return NULL;
26892 }
26893
26894
26895 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26896 PyObject *resultobj;
26897 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26898 wxString *arg2 = 0 ;
26899 bool temp2 = False ;
26900 PyObject * obj0 = 0 ;
26901 PyObject * obj1 = 0 ;
26902 char *kwnames[] = {
26903 (char *) "self",(char *) "filter", NULL
26904 };
26905
26906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
26907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26908 {
26909 arg2 = wxString_in_helper(obj1);
26910 if (arg2 == NULL) SWIG_fail;
26911 temp2 = True;
26912 }
26913 {
26914 PyThreadState* __tstate = wxPyBeginAllowThreads();
26915 (arg1)->SetFilter((wxString const &)*arg2);
26916
26917 wxPyEndAllowThreads(__tstate);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 Py_INCREF(Py_None); resultobj = Py_None;
26921 {
26922 if (temp2)
26923 delete arg2;
26924 }
26925 return resultobj;
26926 fail:
26927 {
26928 if (temp2)
26929 delete arg2;
26930 }
26931 return NULL;
26932 }
26933
26934
26935 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26936 PyObject *resultobj;
26937 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26938 int result;
26939 PyObject * obj0 = 0 ;
26940 char *kwnames[] = {
26941 (char *) "self", NULL
26942 };
26943
26944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
26945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26946 {
26947 PyThreadState* __tstate = wxPyBeginAllowThreads();
26948 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
26949
26950 wxPyEndAllowThreads(__tstate);
26951 if (PyErr_Occurred()) SWIG_fail;
26952 }
26953 resultobj = SWIG_PyObj_FromInt((int)result);
26954 return resultobj;
26955 fail:
26956 return NULL;
26957 }
26958
26959
26960 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
26961 PyObject *resultobj;
26962 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26963 int arg2 ;
26964 PyObject * obj0 = 0 ;
26965 PyObject * obj1 = 0 ;
26966 char *kwnames[] = {
26967 (char *) "self",(char *) "n", NULL
26968 };
26969
26970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
26971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26972 {
26973 arg2 = (int) SWIG_PyObj_AsInt(obj1);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
26976 {
26977 PyThreadState* __tstate = wxPyBeginAllowThreads();
26978 (arg1)->SetFilterIndex(arg2);
26979
26980 wxPyEndAllowThreads(__tstate);
26981 if (PyErr_Occurred()) SWIG_fail;
26982 }
26983 Py_INCREF(Py_None); resultobj = Py_None;
26984 return resultobj;
26985 fail:
26986 return NULL;
26987 }
26988
26989
26990 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
26991 PyObject *resultobj;
26992 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26993 wxTreeItemId result;
26994 PyObject * obj0 = 0 ;
26995 char *kwnames[] = {
26996 (char *) "self", NULL
26997 };
26998
26999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27001 {
27002 PyThreadState* __tstate = wxPyBeginAllowThreads();
27003 result = (arg1)->GetRootId();
27004
27005 wxPyEndAllowThreads(__tstate);
27006 if (PyErr_Occurred()) SWIG_fail;
27007 }
27008 {
27009 wxTreeItemId * resultptr;
27010 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27011 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
27012 }
27013 return resultobj;
27014 fail:
27015 return NULL;
27016 }
27017
27018
27019 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27020 PyObject *resultobj;
27021 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27022 wxPyTreeCtrl *result;
27023 PyObject * obj0 = 0 ;
27024 char *kwnames[] = {
27025 (char *) "self", NULL
27026 };
27027
27028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27030 {
27031 PyThreadState* __tstate = wxPyBeginAllowThreads();
27032 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27033
27034 wxPyEndAllowThreads(__tstate);
27035 if (PyErr_Occurred()) SWIG_fail;
27036 }
27037 {
27038 resultobj = wxPyMake_wxObject(result);
27039 }
27040 return resultobj;
27041 fail:
27042 return NULL;
27043 }
27044
27045
27046 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27047 PyObject *resultobj;
27048 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27049 wxDirFilterListCtrl *result;
27050 PyObject * obj0 = 0 ;
27051 char *kwnames[] = {
27052 (char *) "self", NULL
27053 };
27054
27055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27057 {
27058 PyThreadState* __tstate = wxPyBeginAllowThreads();
27059 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27060
27061 wxPyEndAllowThreads(__tstate);
27062 if (PyErr_Occurred()) SWIG_fail;
27063 }
27064 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
27065 return resultobj;
27066 fail:
27067 return NULL;
27068 }
27069
27070
27071 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27072 PyObject *resultobj;
27073 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27074 wxTreeItemId arg2 ;
27075 wxString *arg3 = 0 ;
27076 bool *arg4 = 0 ;
27077 wxTreeItemId result;
27078 wxTreeItemId *argp2 ;
27079 bool temp3 = False ;
27080 bool temp4 ;
27081 PyObject * obj0 = 0 ;
27082 PyObject * obj1 = 0 ;
27083 PyObject * obj2 = 0 ;
27084 char *kwnames[] = {
27085 (char *) "self",(char *) "parentId",(char *) "path", NULL
27086 };
27087
27088 arg4 = &temp4;
27089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27091 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27092 arg2 = *argp2;
27093 {
27094 arg3 = wxString_in_helper(obj2);
27095 if (arg3 == NULL) SWIG_fail;
27096 temp3 = True;
27097 }
27098 {
27099 PyThreadState* __tstate = wxPyBeginAllowThreads();
27100 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27101
27102 wxPyEndAllowThreads(__tstate);
27103 if (PyErr_Occurred()) SWIG_fail;
27104 }
27105 {
27106 wxTreeItemId * resultptr;
27107 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
27109 }
27110 {
27111 PyObject *o = PyInt_FromLong((long) (*arg4));
27112 resultobj = t_output_helper(resultobj,o);
27113 }
27114 {
27115 if (temp3)
27116 delete arg3;
27117 }
27118 return resultobj;
27119 fail:
27120 {
27121 if (temp3)
27122 delete arg3;
27123 }
27124 return NULL;
27125 }
27126
27127
27128 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27129 PyObject *resultobj;
27130 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27131 PyObject * obj0 = 0 ;
27132 char *kwnames[] = {
27133 (char *) "self", NULL
27134 };
27135
27136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27138 {
27139 PyThreadState* __tstate = wxPyBeginAllowThreads();
27140 (arg1)->DoResize();
27141
27142 wxPyEndAllowThreads(__tstate);
27143 if (PyErr_Occurred()) SWIG_fail;
27144 }
27145 Py_INCREF(Py_None); resultobj = Py_None;
27146 return resultobj;
27147 fail:
27148 return NULL;
27149 }
27150
27151
27152 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27153 PyObject *resultobj;
27154 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27155 PyObject * obj0 = 0 ;
27156 char *kwnames[] = {
27157 (char *) "self", NULL
27158 };
27159
27160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27162 {
27163 PyThreadState* __tstate = wxPyBeginAllowThreads();
27164 (arg1)->ReCreateTree();
27165
27166 wxPyEndAllowThreads(__tstate);
27167 if (PyErr_Occurred()) SWIG_fail;
27168 }
27169 Py_INCREF(Py_None); resultobj = Py_None;
27170 return resultobj;
27171 fail:
27172 return NULL;
27173 }
27174
27175
27176 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27177 PyObject *obj;
27178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27179 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27180 Py_INCREF(obj);
27181 return Py_BuildValue((char *)"");
27182 }
27183 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27184 PyObject *resultobj;
27185 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27186 int arg2 = (int) (int)-1 ;
27187 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27188 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27189 wxSize const &arg4_defvalue = wxDefaultSize ;
27190 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27191 long arg5 = (long) 0 ;
27192 wxDirFilterListCtrl *result;
27193 wxPoint temp3 ;
27194 wxSize temp4 ;
27195 PyObject * obj0 = 0 ;
27196 PyObject * obj1 = 0 ;
27197 PyObject * obj2 = 0 ;
27198 PyObject * obj3 = 0 ;
27199 PyObject * obj4 = 0 ;
27200 char *kwnames[] = {
27201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27202 };
27203
27204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27206 if (obj1) {
27207 {
27208 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27209 if (PyErr_Occurred()) SWIG_fail;
27210 }
27211 }
27212 if (obj2) {
27213 {
27214 arg3 = &temp3;
27215 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27216 }
27217 }
27218 if (obj3) {
27219 {
27220 arg4 = &temp4;
27221 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27222 }
27223 }
27224 if (obj4) {
27225 {
27226 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27227 if (PyErr_Occurred()) SWIG_fail;
27228 }
27229 }
27230 {
27231 PyThreadState* __tstate = wxPyBeginAllowThreads();
27232 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27233
27234 wxPyEndAllowThreads(__tstate);
27235 if (PyErr_Occurred()) SWIG_fail;
27236 }
27237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27238 return resultobj;
27239 fail:
27240 return NULL;
27241 }
27242
27243
27244 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27245 PyObject *resultobj;
27246 wxDirFilterListCtrl *result;
27247 char *kwnames[] = {
27248 NULL
27249 };
27250
27251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27252 {
27253 PyThreadState* __tstate = wxPyBeginAllowThreads();
27254 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27255
27256 wxPyEndAllowThreads(__tstate);
27257 if (PyErr_Occurred()) SWIG_fail;
27258 }
27259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27260 return resultobj;
27261 fail:
27262 return NULL;
27263 }
27264
27265
27266 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27267 PyObject *resultobj;
27268 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27269 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27270 int arg3 = (int) (int)-1 ;
27271 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27272 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27273 wxSize const &arg5_defvalue = wxDefaultSize ;
27274 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27275 long arg6 = (long) 0 ;
27276 bool result;
27277 wxPoint temp4 ;
27278 wxSize temp5 ;
27279 PyObject * obj0 = 0 ;
27280 PyObject * obj1 = 0 ;
27281 PyObject * obj2 = 0 ;
27282 PyObject * obj3 = 0 ;
27283 PyObject * obj4 = 0 ;
27284 PyObject * obj5 = 0 ;
27285 char *kwnames[] = {
27286 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27287 };
27288
27289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27292 if (obj2) {
27293 {
27294 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
27295 if (PyErr_Occurred()) SWIG_fail;
27296 }
27297 }
27298 if (obj3) {
27299 {
27300 arg4 = &temp4;
27301 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27302 }
27303 }
27304 if (obj4) {
27305 {
27306 arg5 = &temp5;
27307 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27308 }
27309 }
27310 if (obj5) {
27311 {
27312 arg6 = (long) SWIG_PyObj_AsLong(obj5);
27313 if (PyErr_Occurred()) SWIG_fail;
27314 }
27315 }
27316 {
27317 PyThreadState* __tstate = wxPyBeginAllowThreads();
27318 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27319
27320 wxPyEndAllowThreads(__tstate);
27321 if (PyErr_Occurred()) SWIG_fail;
27322 }
27323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27324 return resultobj;
27325 fail:
27326 return NULL;
27327 }
27328
27329
27330 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27331 PyObject *resultobj;
27332 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27333 wxString *arg2 = 0 ;
27334 int arg3 ;
27335 bool temp2 = False ;
27336 PyObject * obj0 = 0 ;
27337 PyObject * obj1 = 0 ;
27338 PyObject * obj2 = 0 ;
27339 char *kwnames[] = {
27340 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27341 };
27342
27343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27345 {
27346 arg2 = wxString_in_helper(obj1);
27347 if (arg2 == NULL) SWIG_fail;
27348 temp2 = True;
27349 }
27350 {
27351 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27352 if (PyErr_Occurred()) SWIG_fail;
27353 }
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 Py_INCREF(Py_None); resultobj = Py_None;
27362 {
27363 if (temp2)
27364 delete arg2;
27365 }
27366 return resultobj;
27367 fail:
27368 {
27369 if (temp2)
27370 delete arg2;
27371 }
27372 return NULL;
27373 }
27374
27375
27376 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27377 PyObject *obj;
27378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27379 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27380 Py_INCREF(obj);
27381 return Py_BuildValue((char *)"");
27382 }
27383 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27384 PyObject *resultobj;
27385 wxWindow *arg1 = (wxWindow *) 0 ;
27386 int arg2 ;
27387 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27388 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27389 wxSize const &arg4_defvalue = wxDefaultSize ;
27390 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27391 long arg5 = (long) 0 ;
27392 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27393 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27394 wxString const &arg7_defvalue = wxPyControlNameStr ;
27395 wxString *arg7 = (wxString *) &arg7_defvalue ;
27396 wxPyControl *result;
27397 wxPoint temp3 ;
27398 wxSize temp4 ;
27399 bool temp7 = False ;
27400 PyObject * obj0 = 0 ;
27401 PyObject * obj1 = 0 ;
27402 PyObject * obj2 = 0 ;
27403 PyObject * obj3 = 0 ;
27404 PyObject * obj4 = 0 ;
27405 PyObject * obj5 = 0 ;
27406 PyObject * obj6 = 0 ;
27407 char *kwnames[] = {
27408 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27409 };
27410
27411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27413 {
27414 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27415 if (PyErr_Occurred()) SWIG_fail;
27416 }
27417 if (obj2) {
27418 {
27419 arg3 = &temp3;
27420 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27421 }
27422 }
27423 if (obj3) {
27424 {
27425 arg4 = &temp4;
27426 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27427 }
27428 }
27429 if (obj4) {
27430 {
27431 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27432 if (PyErr_Occurred()) SWIG_fail;
27433 }
27434 }
27435 if (obj5) {
27436 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27437 if (arg6 == NULL) {
27438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27439 }
27440 }
27441 if (obj6) {
27442 {
27443 arg7 = wxString_in_helper(obj6);
27444 if (arg7 == NULL) SWIG_fail;
27445 temp7 = True;
27446 }
27447 }
27448 {
27449 PyThreadState* __tstate = wxPyBeginAllowThreads();
27450 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27451
27452 wxPyEndAllowThreads(__tstate);
27453 if (PyErr_Occurred()) SWIG_fail;
27454 }
27455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
27456 {
27457 if (temp7)
27458 delete arg7;
27459 }
27460 return resultobj;
27461 fail:
27462 {
27463 if (temp7)
27464 delete arg7;
27465 }
27466 return NULL;
27467 }
27468
27469
27470 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27471 PyObject *resultobj;
27472 wxPyControl *arg1 = (wxPyControl *) 0 ;
27473 PyObject *arg2 = (PyObject *) 0 ;
27474 PyObject *arg3 = (PyObject *) 0 ;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 PyObject * obj2 = 0 ;
27478 char *kwnames[] = {
27479 (char *) "self",(char *) "self",(char *) "_class", NULL
27480 };
27481
27482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27484 arg2 = obj1;
27485 arg3 = obj2;
27486 {
27487 PyThreadState* __tstate = wxPyBeginAllowThreads();
27488 (arg1)->_setCallbackInfo(arg2,arg3);
27489
27490 wxPyEndAllowThreads(__tstate);
27491 if (PyErr_Occurred()) SWIG_fail;
27492 }
27493 Py_INCREF(Py_None); resultobj = Py_None;
27494 return resultobj;
27495 fail:
27496 return NULL;
27497 }
27498
27499
27500 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27501 PyObject *resultobj;
27502 wxPyControl *arg1 = (wxPyControl *) 0 ;
27503 int arg2 ;
27504 int arg3 ;
27505 int arg4 ;
27506 int arg5 ;
27507 PyObject * obj0 = 0 ;
27508 PyObject * obj1 = 0 ;
27509 PyObject * obj2 = 0 ;
27510 PyObject * obj3 = 0 ;
27511 PyObject * obj4 = 0 ;
27512 char *kwnames[] = {
27513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27514 };
27515
27516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27518 {
27519 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27520 if (PyErr_Occurred()) SWIG_fail;
27521 }
27522 {
27523 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
27526 {
27527 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 {
27531 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27532 if (PyErr_Occurred()) SWIG_fail;
27533 }
27534 {
27535 PyThreadState* __tstate = wxPyBeginAllowThreads();
27536 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27537
27538 wxPyEndAllowThreads(__tstate);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 }
27541 Py_INCREF(Py_None); resultobj = Py_None;
27542 return resultobj;
27543 fail:
27544 return NULL;
27545 }
27546
27547
27548 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27549 PyObject *resultobj;
27550 wxPyControl *arg1 = (wxPyControl *) 0 ;
27551 int arg2 ;
27552 int arg3 ;
27553 int arg4 ;
27554 int arg5 ;
27555 int arg6 = (int) wxSIZE_AUTO ;
27556 PyObject * obj0 = 0 ;
27557 PyObject * obj1 = 0 ;
27558 PyObject * obj2 = 0 ;
27559 PyObject * obj3 = 0 ;
27560 PyObject * obj4 = 0 ;
27561 PyObject * obj5 = 0 ;
27562 char *kwnames[] = {
27563 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27564 };
27565
27566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27568 {
27569 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
27572 {
27573 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 }
27576 {
27577 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27578 if (PyErr_Occurred()) SWIG_fail;
27579 }
27580 {
27581 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27582 if (PyErr_Occurred()) SWIG_fail;
27583 }
27584 if (obj5) {
27585 {
27586 arg6 = (int) SWIG_PyObj_AsInt(obj5);
27587 if (PyErr_Occurred()) SWIG_fail;
27588 }
27589 }
27590 {
27591 PyThreadState* __tstate = wxPyBeginAllowThreads();
27592 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27593
27594 wxPyEndAllowThreads(__tstate);
27595 if (PyErr_Occurred()) SWIG_fail;
27596 }
27597 Py_INCREF(Py_None); resultobj = Py_None;
27598 return resultobj;
27599 fail:
27600 return NULL;
27601 }
27602
27603
27604 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27605 PyObject *resultobj;
27606 wxPyControl *arg1 = (wxPyControl *) 0 ;
27607 int arg2 ;
27608 int arg3 ;
27609 PyObject * obj0 = 0 ;
27610 PyObject * obj1 = 0 ;
27611 PyObject * obj2 = 0 ;
27612 char *kwnames[] = {
27613 (char *) "self",(char *) "width",(char *) "height", NULL
27614 };
27615
27616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27618 {
27619 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27620 if (PyErr_Occurred()) SWIG_fail;
27621 }
27622 {
27623 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 {
27627 PyThreadState* __tstate = wxPyBeginAllowThreads();
27628 (arg1)->base_DoSetClientSize(arg2,arg3);
27629
27630 wxPyEndAllowThreads(__tstate);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 Py_INCREF(Py_None); resultobj = Py_None;
27634 return resultobj;
27635 fail:
27636 return NULL;
27637 }
27638
27639
27640 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27641 PyObject *resultobj;
27642 wxPyControl *arg1 = (wxPyControl *) 0 ;
27643 int arg2 ;
27644 int arg3 ;
27645 PyObject * obj0 = 0 ;
27646 PyObject * obj1 = 0 ;
27647 PyObject * obj2 = 0 ;
27648 char *kwnames[] = {
27649 (char *) "self",(char *) "x",(char *) "y", NULL
27650 };
27651
27652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27654 {
27655 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27656 if (PyErr_Occurred()) SWIG_fail;
27657 }
27658 {
27659 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27660 if (PyErr_Occurred()) SWIG_fail;
27661 }
27662 {
27663 PyThreadState* __tstate = wxPyBeginAllowThreads();
27664 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27665
27666 wxPyEndAllowThreads(__tstate);
27667 if (PyErr_Occurred()) SWIG_fail;
27668 }
27669 Py_INCREF(Py_None); resultobj = Py_None;
27670 return resultobj;
27671 fail:
27672 return NULL;
27673 }
27674
27675
27676 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27677 PyObject *resultobj;
27678 wxPyControl *arg1 = (wxPyControl *) 0 ;
27679 int *arg2 = (int *) 0 ;
27680 int *arg3 = (int *) 0 ;
27681 int temp2 ;
27682 int temp3 ;
27683 PyObject * obj0 = 0 ;
27684 char *kwnames[] = {
27685 (char *) "self", NULL
27686 };
27687
27688 arg2 = &temp2;
27689 arg3 = &temp3;
27690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27692 {
27693 PyThreadState* __tstate = wxPyBeginAllowThreads();
27694 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27695
27696 wxPyEndAllowThreads(__tstate);
27697 if (PyErr_Occurred()) SWIG_fail;
27698 }
27699 Py_INCREF(Py_None); resultobj = Py_None;
27700 {
27701 PyObject *o = PyInt_FromLong((long) (*arg2));
27702 resultobj = t_output_helper(resultobj,o);
27703 }
27704 {
27705 PyObject *o = PyInt_FromLong((long) (*arg3));
27706 resultobj = t_output_helper(resultobj,o);
27707 }
27708 return resultobj;
27709 fail:
27710 return NULL;
27711 }
27712
27713
27714 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27715 PyObject *resultobj;
27716 wxPyControl *arg1 = (wxPyControl *) 0 ;
27717 int *arg2 = (int *) 0 ;
27718 int *arg3 = (int *) 0 ;
27719 int temp2 ;
27720 int temp3 ;
27721 PyObject * obj0 = 0 ;
27722 char *kwnames[] = {
27723 (char *) "self", NULL
27724 };
27725
27726 arg2 = &temp2;
27727 arg3 = &temp3;
27728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27730 {
27731 PyThreadState* __tstate = wxPyBeginAllowThreads();
27732 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27733
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 Py_INCREF(Py_None); resultobj = Py_None;
27738 {
27739 PyObject *o = PyInt_FromLong((long) (*arg2));
27740 resultobj = t_output_helper(resultobj,o);
27741 }
27742 {
27743 PyObject *o = PyInt_FromLong((long) (*arg3));
27744 resultobj = t_output_helper(resultobj,o);
27745 }
27746 return resultobj;
27747 fail:
27748 return NULL;
27749 }
27750
27751
27752 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27753 PyObject *resultobj;
27754 wxPyControl *arg1 = (wxPyControl *) 0 ;
27755 int *arg2 = (int *) 0 ;
27756 int *arg3 = (int *) 0 ;
27757 int temp2 ;
27758 int temp3 ;
27759 PyObject * obj0 = 0 ;
27760 char *kwnames[] = {
27761 (char *) "self", NULL
27762 };
27763
27764 arg2 = &temp2;
27765 arg3 = &temp3;
27766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27768 {
27769 PyThreadState* __tstate = wxPyBeginAllowThreads();
27770 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27771
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 Py_INCREF(Py_None); resultobj = Py_None;
27776 {
27777 PyObject *o = PyInt_FromLong((long) (*arg2));
27778 resultobj = t_output_helper(resultobj,o);
27779 }
27780 {
27781 PyObject *o = PyInt_FromLong((long) (*arg3));
27782 resultobj = t_output_helper(resultobj,o);
27783 }
27784 return resultobj;
27785 fail:
27786 return NULL;
27787 }
27788
27789
27790 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27791 PyObject *resultobj;
27792 wxPyControl *arg1 = (wxPyControl *) 0 ;
27793 wxSize result;
27794 PyObject * obj0 = 0 ;
27795 char *kwnames[] = {
27796 (char *) "self", NULL
27797 };
27798
27799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27801 {
27802 PyThreadState* __tstate = wxPyBeginAllowThreads();
27803 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27804
27805 wxPyEndAllowThreads(__tstate);
27806 if (PyErr_Occurred()) SWIG_fail;
27807 }
27808 {
27809 wxSize * resultptr;
27810 resultptr = new wxSize((wxSize &) result);
27811 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27812 }
27813 return resultobj;
27814 fail:
27815 return NULL;
27816 }
27817
27818
27819 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27820 PyObject *resultobj;
27821 wxPyControl *arg1 = (wxPyControl *) 0 ;
27822 wxSize result;
27823 PyObject * obj0 = 0 ;
27824 char *kwnames[] = {
27825 (char *) "self", NULL
27826 };
27827
27828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27830 {
27831 PyThreadState* __tstate = wxPyBeginAllowThreads();
27832 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27833
27834 wxPyEndAllowThreads(__tstate);
27835 if (PyErr_Occurred()) SWIG_fail;
27836 }
27837 {
27838 wxSize * resultptr;
27839 resultptr = new wxSize((wxSize &) result);
27840 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27841 }
27842 return resultobj;
27843 fail:
27844 return NULL;
27845 }
27846
27847
27848 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
27849 PyObject *resultobj;
27850 wxPyControl *arg1 = (wxPyControl *) 0 ;
27851 PyObject * obj0 = 0 ;
27852 char *kwnames[] = {
27853 (char *) "self", NULL
27854 };
27855
27856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27858 {
27859 PyThreadState* __tstate = wxPyBeginAllowThreads();
27860 (arg1)->base_InitDialog();
27861
27862 wxPyEndAllowThreads(__tstate);
27863 if (PyErr_Occurred()) SWIG_fail;
27864 }
27865 Py_INCREF(Py_None); resultobj = Py_None;
27866 return resultobj;
27867 fail:
27868 return NULL;
27869 }
27870
27871
27872 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27873 PyObject *resultobj;
27874 wxPyControl *arg1 = (wxPyControl *) 0 ;
27875 bool result;
27876 PyObject * obj0 = 0 ;
27877 char *kwnames[] = {
27878 (char *) "self", NULL
27879 };
27880
27881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27883 {
27884 PyThreadState* __tstate = wxPyBeginAllowThreads();
27885 result = (bool)(arg1)->base_TransferDataToWindow();
27886
27887 wxPyEndAllowThreads(__tstate);
27888 if (PyErr_Occurred()) SWIG_fail;
27889 }
27890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27891 return resultobj;
27892 fail:
27893 return NULL;
27894 }
27895
27896
27897 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27898 PyObject *resultobj;
27899 wxPyControl *arg1 = (wxPyControl *) 0 ;
27900 bool result;
27901 PyObject * obj0 = 0 ;
27902 char *kwnames[] = {
27903 (char *) "self", NULL
27904 };
27905
27906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
27907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27908 {
27909 PyThreadState* __tstate = wxPyBeginAllowThreads();
27910 result = (bool)(arg1)->base_TransferDataFromWindow();
27911
27912 wxPyEndAllowThreads(__tstate);
27913 if (PyErr_Occurred()) SWIG_fail;
27914 }
27915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27916 return resultobj;
27917 fail:
27918 return NULL;
27919 }
27920
27921
27922 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27923 PyObject *resultobj;
27924 wxPyControl *arg1 = (wxPyControl *) 0 ;
27925 bool result;
27926 PyObject * obj0 = 0 ;
27927 char *kwnames[] = {
27928 (char *) "self", NULL
27929 };
27930
27931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
27932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27933 {
27934 PyThreadState* __tstate = wxPyBeginAllowThreads();
27935 result = (bool)(arg1)->base_Validate();
27936
27937 wxPyEndAllowThreads(__tstate);
27938 if (PyErr_Occurred()) SWIG_fail;
27939 }
27940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27941 return resultobj;
27942 fail:
27943 return NULL;
27944 }
27945
27946
27947 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
27948 PyObject *resultobj;
27949 wxPyControl *arg1 = (wxPyControl *) 0 ;
27950 bool result;
27951 PyObject * obj0 = 0 ;
27952 char *kwnames[] = {
27953 (char *) "self", NULL
27954 };
27955
27956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
27957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27958 {
27959 PyThreadState* __tstate = wxPyBeginAllowThreads();
27960 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
27961
27962 wxPyEndAllowThreads(__tstate);
27963 if (PyErr_Occurred()) SWIG_fail;
27964 }
27965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27966 return resultobj;
27967 fail:
27968 return NULL;
27969 }
27970
27971
27972 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
27973 PyObject *resultobj;
27974 wxPyControl *arg1 = (wxPyControl *) 0 ;
27975 bool result;
27976 PyObject * obj0 = 0 ;
27977 char *kwnames[] = {
27978 (char *) "self", NULL
27979 };
27980
27981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
27982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27983 {
27984 PyThreadState* __tstate = wxPyBeginAllowThreads();
27985 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
27986
27987 wxPyEndAllowThreads(__tstate);
27988 if (PyErr_Occurred()) SWIG_fail;
27989 }
27990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27991 return resultobj;
27992 fail:
27993 return NULL;
27994 }
27995
27996
27997 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27998 PyObject *resultobj;
27999 wxPyControl *arg1 = (wxPyControl *) 0 ;
28000 wxSize result;
28001 PyObject * obj0 = 0 ;
28002 char *kwnames[] = {
28003 (char *) "self", NULL
28004 };
28005
28006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28008 {
28009 PyThreadState* __tstate = wxPyBeginAllowThreads();
28010 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28011
28012 wxPyEndAllowThreads(__tstate);
28013 if (PyErr_Occurred()) SWIG_fail;
28014 }
28015 {
28016 wxSize * resultptr;
28017 resultptr = new wxSize((wxSize &) result);
28018 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
28019 }
28020 return resultobj;
28021 fail:
28022 return NULL;
28023 }
28024
28025
28026 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28027 PyObject *resultobj;
28028 wxPyControl *arg1 = (wxPyControl *) 0 ;
28029 wxWindow *arg2 = (wxWindow *) 0 ;
28030 PyObject * obj0 = 0 ;
28031 PyObject * obj1 = 0 ;
28032 char *kwnames[] = {
28033 (char *) "self",(char *) "child", NULL
28034 };
28035
28036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28039 {
28040 PyThreadState* __tstate = wxPyBeginAllowThreads();
28041 (arg1)->base_AddChild(arg2);
28042
28043 wxPyEndAllowThreads(__tstate);
28044 if (PyErr_Occurred()) SWIG_fail;
28045 }
28046 Py_INCREF(Py_None); resultobj = Py_None;
28047 return resultobj;
28048 fail:
28049 return NULL;
28050 }
28051
28052
28053 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28054 PyObject *resultobj;
28055 wxPyControl *arg1 = (wxPyControl *) 0 ;
28056 wxWindow *arg2 = (wxWindow *) 0 ;
28057 PyObject * obj0 = 0 ;
28058 PyObject * obj1 = 0 ;
28059 char *kwnames[] = {
28060 (char *) "self",(char *) "child", NULL
28061 };
28062
28063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28066 {
28067 PyThreadState* __tstate = wxPyBeginAllowThreads();
28068 (arg1)->base_RemoveChild(arg2);
28069
28070 wxPyEndAllowThreads(__tstate);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 Py_INCREF(Py_None); resultobj = Py_None;
28074 return resultobj;
28075 fail:
28076 return NULL;
28077 }
28078
28079
28080 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28081 PyObject *obj;
28082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28083 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28084 Py_INCREF(obj);
28085 return Py_BuildValue((char *)"");
28086 }
28087 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28088 PyObject *resultobj;
28089 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28090 int arg2 = (int) 0 ;
28091 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28092 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28093 wxHelpEvent *result;
28094 wxPoint temp3 ;
28095 PyObject * obj0 = 0 ;
28096 PyObject * obj1 = 0 ;
28097 PyObject * obj2 = 0 ;
28098 char *kwnames[] = {
28099 (char *) "type",(char *) "winid",(char *) "pt", NULL
28100 };
28101
28102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28103 if (obj0) {
28104 {
28105 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
28106 if (PyErr_Occurred()) SWIG_fail;
28107 }
28108 }
28109 if (obj1) {
28110 {
28111 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28112 if (PyErr_Occurred()) SWIG_fail;
28113 }
28114 }
28115 if (obj2) {
28116 {
28117 arg3 = &temp3;
28118 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28119 }
28120 }
28121 {
28122 PyThreadState* __tstate = wxPyBeginAllowThreads();
28123 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28124
28125 wxPyEndAllowThreads(__tstate);
28126 if (PyErr_Occurred()) SWIG_fail;
28127 }
28128 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
28129 return resultobj;
28130 fail:
28131 return NULL;
28132 }
28133
28134
28135 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28136 PyObject *resultobj;
28137 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28138 wxPoint *result;
28139 PyObject * obj0 = 0 ;
28140 char *kwnames[] = {
28141 (char *) "self", NULL
28142 };
28143
28144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28146 {
28147 PyThreadState* __tstate = wxPyBeginAllowThreads();
28148 {
28149 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
28150 result = (wxPoint *) &_result_ref;
28151 }
28152
28153 wxPyEndAllowThreads(__tstate);
28154 if (PyErr_Occurred()) SWIG_fail;
28155 }
28156 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
28157 return resultobj;
28158 fail:
28159 return NULL;
28160 }
28161
28162
28163 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28164 PyObject *resultobj;
28165 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28166 wxPoint *arg2 = 0 ;
28167 wxPoint temp2 ;
28168 PyObject * obj0 = 0 ;
28169 PyObject * obj1 = 0 ;
28170 char *kwnames[] = {
28171 (char *) "self",(char *) "pos", NULL
28172 };
28173
28174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28176 {
28177 arg2 = &temp2;
28178 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28179 }
28180 {
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 (arg1)->SetPosition((wxPoint const &)*arg2);
28183
28184 wxPyEndAllowThreads(__tstate);
28185 if (PyErr_Occurred()) SWIG_fail;
28186 }
28187 Py_INCREF(Py_None); resultobj = Py_None;
28188 return resultobj;
28189 fail:
28190 return NULL;
28191 }
28192
28193
28194 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28195 PyObject *resultobj;
28196 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28197 wxString *result;
28198 PyObject * obj0 = 0 ;
28199 char *kwnames[] = {
28200 (char *) "self", NULL
28201 };
28202
28203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28205 {
28206 PyThreadState* __tstate = wxPyBeginAllowThreads();
28207 {
28208 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28209 result = (wxString *) &_result_ref;
28210 }
28211
28212 wxPyEndAllowThreads(__tstate);
28213 if (PyErr_Occurred()) SWIG_fail;
28214 }
28215 {
28216 #if wxUSE_UNICODE
28217 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28218 #else
28219 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28220 #endif
28221 }
28222 return resultobj;
28223 fail:
28224 return NULL;
28225 }
28226
28227
28228 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28229 PyObject *resultobj;
28230 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28231 wxString *arg2 = 0 ;
28232 bool temp2 = False ;
28233 PyObject * obj0 = 0 ;
28234 PyObject * obj1 = 0 ;
28235 char *kwnames[] = {
28236 (char *) "self",(char *) "link", NULL
28237 };
28238
28239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28241 {
28242 arg2 = wxString_in_helper(obj1);
28243 if (arg2 == NULL) SWIG_fail;
28244 temp2 = True;
28245 }
28246 {
28247 PyThreadState* __tstate = wxPyBeginAllowThreads();
28248 (arg1)->SetLink((wxString const &)*arg2);
28249
28250 wxPyEndAllowThreads(__tstate);
28251 if (PyErr_Occurred()) SWIG_fail;
28252 }
28253 Py_INCREF(Py_None); resultobj = Py_None;
28254 {
28255 if (temp2)
28256 delete arg2;
28257 }
28258 return resultobj;
28259 fail:
28260 {
28261 if (temp2)
28262 delete arg2;
28263 }
28264 return NULL;
28265 }
28266
28267
28268 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28269 PyObject *resultobj;
28270 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28271 wxString *result;
28272 PyObject * obj0 = 0 ;
28273 char *kwnames[] = {
28274 (char *) "self", NULL
28275 };
28276
28277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28279 {
28280 PyThreadState* __tstate = wxPyBeginAllowThreads();
28281 {
28282 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28283 result = (wxString *) &_result_ref;
28284 }
28285
28286 wxPyEndAllowThreads(__tstate);
28287 if (PyErr_Occurred()) SWIG_fail;
28288 }
28289 {
28290 #if wxUSE_UNICODE
28291 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28292 #else
28293 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28294 #endif
28295 }
28296 return resultobj;
28297 fail:
28298 return NULL;
28299 }
28300
28301
28302 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28303 PyObject *resultobj;
28304 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28305 wxString *arg2 = 0 ;
28306 bool temp2 = False ;
28307 PyObject * obj0 = 0 ;
28308 PyObject * obj1 = 0 ;
28309 char *kwnames[] = {
28310 (char *) "self",(char *) "target", NULL
28311 };
28312
28313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28315 {
28316 arg2 = wxString_in_helper(obj1);
28317 if (arg2 == NULL) SWIG_fail;
28318 temp2 = True;
28319 }
28320 {
28321 PyThreadState* __tstate = wxPyBeginAllowThreads();
28322 (arg1)->SetTarget((wxString const &)*arg2);
28323
28324 wxPyEndAllowThreads(__tstate);
28325 if (PyErr_Occurred()) SWIG_fail;
28326 }
28327 Py_INCREF(Py_None); resultobj = Py_None;
28328 {
28329 if (temp2)
28330 delete arg2;
28331 }
28332 return resultobj;
28333 fail:
28334 {
28335 if (temp2)
28336 delete arg2;
28337 }
28338 return NULL;
28339 }
28340
28341
28342 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28343 PyObject *obj;
28344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28345 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28346 Py_INCREF(obj);
28347 return Py_BuildValue((char *)"");
28348 }
28349 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28350 PyObject *resultobj;
28351 wxWindow *arg1 = (wxWindow *) NULL ;
28352 bool arg2 = (bool) True ;
28353 wxContextHelp *result;
28354 PyObject * obj0 = 0 ;
28355 PyObject * obj1 = 0 ;
28356 char *kwnames[] = {
28357 (char *) "window",(char *) "doNow", NULL
28358 };
28359
28360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28361 if (obj0) {
28362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28363 }
28364 if (obj1) {
28365 {
28366 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28367 if (PyErr_Occurred()) SWIG_fail;
28368 }
28369 }
28370 {
28371 PyThreadState* __tstate = wxPyBeginAllowThreads();
28372 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28373
28374 wxPyEndAllowThreads(__tstate);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 }
28377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
28378 return resultobj;
28379 fail:
28380 return NULL;
28381 }
28382
28383
28384 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28385 PyObject *resultobj;
28386 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28387 PyObject * obj0 = 0 ;
28388 char *kwnames[] = {
28389 (char *) "self", NULL
28390 };
28391
28392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28394 {
28395 PyThreadState* __tstate = wxPyBeginAllowThreads();
28396 delete arg1;
28397
28398 wxPyEndAllowThreads(__tstate);
28399 if (PyErr_Occurred()) SWIG_fail;
28400 }
28401 Py_INCREF(Py_None); resultobj = Py_None;
28402 return resultobj;
28403 fail:
28404 return NULL;
28405 }
28406
28407
28408 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28409 PyObject *resultobj;
28410 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28411 wxWindow *arg2 = (wxWindow *) NULL ;
28412 bool result;
28413 PyObject * obj0 = 0 ;
28414 PyObject * obj1 = 0 ;
28415 char *kwnames[] = {
28416 (char *) "self",(char *) "window", NULL
28417 };
28418
28419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28421 if (obj1) {
28422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28423 }
28424 {
28425 PyThreadState* __tstate = wxPyBeginAllowThreads();
28426 result = (bool)(arg1)->BeginContextHelp(arg2);
28427
28428 wxPyEndAllowThreads(__tstate);
28429 if (PyErr_Occurred()) SWIG_fail;
28430 }
28431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28432 return resultobj;
28433 fail:
28434 return NULL;
28435 }
28436
28437
28438 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28439 PyObject *resultobj;
28440 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28441 bool result;
28442 PyObject * obj0 = 0 ;
28443 char *kwnames[] = {
28444 (char *) "self", NULL
28445 };
28446
28447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 result = (bool)(arg1)->EndContextHelp();
28452
28453 wxPyEndAllowThreads(__tstate);
28454 if (PyErr_Occurred()) SWIG_fail;
28455 }
28456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28457 return resultobj;
28458 fail:
28459 return NULL;
28460 }
28461
28462
28463 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28464 PyObject *obj;
28465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28466 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28467 Py_INCREF(obj);
28468 return Py_BuildValue((char *)"");
28469 }
28470 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28471 PyObject *resultobj;
28472 wxWindow *arg1 = (wxWindow *) 0 ;
28473 int arg2 = (int) wxID_CONTEXT_HELP ;
28474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28476 wxSize const &arg4_defvalue = wxDefaultSize ;
28477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28478 long arg5 = (long) wxBU_AUTODRAW ;
28479 wxContextHelpButton *result;
28480 wxPoint temp3 ;
28481 wxSize temp4 ;
28482 PyObject * obj0 = 0 ;
28483 PyObject * obj1 = 0 ;
28484 PyObject * obj2 = 0 ;
28485 PyObject * obj3 = 0 ;
28486 PyObject * obj4 = 0 ;
28487 char *kwnames[] = {
28488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28489 };
28490
28491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28493 if (obj1) {
28494 {
28495 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 }
28499 if (obj2) {
28500 {
28501 arg3 = &temp3;
28502 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28503 }
28504 }
28505 if (obj3) {
28506 {
28507 arg4 = &temp4;
28508 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28509 }
28510 }
28511 if (obj4) {
28512 {
28513 arg5 = (long) SWIG_PyObj_AsLong(obj4);
28514 if (PyErr_Occurred()) SWIG_fail;
28515 }
28516 }
28517 {
28518 PyThreadState* __tstate = wxPyBeginAllowThreads();
28519 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28520
28521 wxPyEndAllowThreads(__tstate);
28522 if (PyErr_Occurred()) SWIG_fail;
28523 }
28524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
28525 return resultobj;
28526 fail:
28527 return NULL;
28528 }
28529
28530
28531 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28532 PyObject *obj;
28533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28534 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28535 Py_INCREF(obj);
28536 return Py_BuildValue((char *)"");
28537 }
28538 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28539 PyObject *resultobj;
28540 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28541 wxHelpProvider *result;
28542 PyObject * obj0 = 0 ;
28543 char *kwnames[] = {
28544 (char *) "helpProvider", NULL
28545 };
28546
28547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28549 {
28550 PyThreadState* __tstate = wxPyBeginAllowThreads();
28551 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28552
28553 wxPyEndAllowThreads(__tstate);
28554 if (PyErr_Occurred()) SWIG_fail;
28555 }
28556 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28557 return resultobj;
28558 fail:
28559 return NULL;
28560 }
28561
28562
28563 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28564 PyObject *resultobj;
28565 wxHelpProvider *result;
28566 char *kwnames[] = {
28567 NULL
28568 };
28569
28570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28571 {
28572 PyThreadState* __tstate = wxPyBeginAllowThreads();
28573 result = (wxHelpProvider *)wxHelpProvider::Get();
28574
28575 wxPyEndAllowThreads(__tstate);
28576 if (PyErr_Occurred()) SWIG_fail;
28577 }
28578 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28579 return resultobj;
28580 fail:
28581 return NULL;
28582 }
28583
28584
28585 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28586 PyObject *resultobj;
28587 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28588 wxWindow *arg2 = (wxWindow *) 0 ;
28589 wxString result;
28590 PyObject * obj0 = 0 ;
28591 PyObject * obj1 = 0 ;
28592 char *kwnames[] = {
28593 (char *) "self",(char *) "window", NULL
28594 };
28595
28596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28599 {
28600 PyThreadState* __tstate = wxPyBeginAllowThreads();
28601 result = (arg1)->GetHelp((wxWindow const *)arg2);
28602
28603 wxPyEndAllowThreads(__tstate);
28604 if (PyErr_Occurred()) SWIG_fail;
28605 }
28606 {
28607 #if wxUSE_UNICODE
28608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28609 #else
28610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28611 #endif
28612 }
28613 return resultobj;
28614 fail:
28615 return NULL;
28616 }
28617
28618
28619 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28620 PyObject *resultobj;
28621 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28622 wxWindow *arg2 = (wxWindow *) 0 ;
28623 bool result;
28624 PyObject * obj0 = 0 ;
28625 PyObject * obj1 = 0 ;
28626 char *kwnames[] = {
28627 (char *) "self",(char *) "window", NULL
28628 };
28629
28630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28633 {
28634 PyThreadState* __tstate = wxPyBeginAllowThreads();
28635 result = (bool)(arg1)->ShowHelp(arg2);
28636
28637 wxPyEndAllowThreads(__tstate);
28638 if (PyErr_Occurred()) SWIG_fail;
28639 }
28640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28641 return resultobj;
28642 fail:
28643 return NULL;
28644 }
28645
28646
28647 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28648 PyObject *resultobj;
28649 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28650 wxWindow *arg2 = (wxWindow *) 0 ;
28651 wxString *arg3 = 0 ;
28652 bool temp3 = False ;
28653 PyObject * obj0 = 0 ;
28654 PyObject * obj1 = 0 ;
28655 PyObject * obj2 = 0 ;
28656 char *kwnames[] = {
28657 (char *) "self",(char *) "window",(char *) "text", NULL
28658 };
28659
28660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28663 {
28664 arg3 = wxString_in_helper(obj2);
28665 if (arg3 == NULL) SWIG_fail;
28666 temp3 = True;
28667 }
28668 {
28669 PyThreadState* __tstate = wxPyBeginAllowThreads();
28670 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28671
28672 wxPyEndAllowThreads(__tstate);
28673 if (PyErr_Occurred()) SWIG_fail;
28674 }
28675 Py_INCREF(Py_None); resultobj = Py_None;
28676 {
28677 if (temp3)
28678 delete arg3;
28679 }
28680 return resultobj;
28681 fail:
28682 {
28683 if (temp3)
28684 delete arg3;
28685 }
28686 return NULL;
28687 }
28688
28689
28690 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28691 PyObject *resultobj;
28692 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28693 int arg2 ;
28694 wxString *arg3 = 0 ;
28695 bool temp3 = False ;
28696 PyObject * obj0 = 0 ;
28697 PyObject * obj1 = 0 ;
28698 PyObject * obj2 = 0 ;
28699 char *kwnames[] = {
28700 (char *) "self",(char *) "id",(char *) "text", NULL
28701 };
28702
28703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28705 {
28706 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28707 if (PyErr_Occurred()) SWIG_fail;
28708 }
28709 {
28710 arg3 = wxString_in_helper(obj2);
28711 if (arg3 == NULL) SWIG_fail;
28712 temp3 = True;
28713 }
28714 {
28715 PyThreadState* __tstate = wxPyBeginAllowThreads();
28716 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28717
28718 wxPyEndAllowThreads(__tstate);
28719 if (PyErr_Occurred()) SWIG_fail;
28720 }
28721 Py_INCREF(Py_None); resultobj = Py_None;
28722 {
28723 if (temp3)
28724 delete arg3;
28725 }
28726 return resultobj;
28727 fail:
28728 {
28729 if (temp3)
28730 delete arg3;
28731 }
28732 return NULL;
28733 }
28734
28735
28736 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28737 PyObject *resultobj;
28738 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28739 PyObject * obj0 = 0 ;
28740 char *kwnames[] = {
28741 (char *) "self", NULL
28742 };
28743
28744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28746 {
28747 PyThreadState* __tstate = wxPyBeginAllowThreads();
28748 wxHelpProvider_Destroy(arg1);
28749
28750 wxPyEndAllowThreads(__tstate);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 Py_INCREF(Py_None); resultobj = Py_None;
28754 return resultobj;
28755 fail:
28756 return NULL;
28757 }
28758
28759
28760 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
28761 PyObject *obj;
28762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28763 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28764 Py_INCREF(obj);
28765 return Py_BuildValue((char *)"");
28766 }
28767 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
28768 PyObject *resultobj;
28769 wxSimpleHelpProvider *result;
28770 char *kwnames[] = {
28771 NULL
28772 };
28773
28774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28775 {
28776 PyThreadState* __tstate = wxPyBeginAllowThreads();
28777 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28778
28779 wxPyEndAllowThreads(__tstate);
28780 if (PyErr_Occurred()) SWIG_fail;
28781 }
28782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
28783 return resultobj;
28784 fail:
28785 return NULL;
28786 }
28787
28788
28789 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
28790 PyObject *obj;
28791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28792 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28793 Py_INCREF(obj);
28794 return Py_BuildValue((char *)"");
28795 }
28796 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28797 PyObject *resultobj;
28798 wxBitmap *arg1 = 0 ;
28799 wxCursor const &arg2_defvalue = wxNullCursor ;
28800 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28801 wxGenericDragImage *result;
28802 PyObject * obj0 = 0 ;
28803 PyObject * obj1 = 0 ;
28804 char *kwnames[] = {
28805 (char *) "image",(char *) "cursor", NULL
28806 };
28807
28808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28810 if (arg1 == NULL) {
28811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28812 }
28813 if (obj1) {
28814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28815 if (arg2 == NULL) {
28816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28817 }
28818 }
28819 {
28820 PyThreadState* __tstate = wxPyBeginAllowThreads();
28821 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28822
28823 wxPyEndAllowThreads(__tstate);
28824 if (PyErr_Occurred()) SWIG_fail;
28825 }
28826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28827 return resultobj;
28828 fail:
28829 return NULL;
28830 }
28831
28832
28833 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
28834 PyObject *resultobj;
28835 wxIcon *arg1 = 0 ;
28836 wxCursor const &arg2_defvalue = wxNullCursor ;
28837 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28838 wxGenericDragImage *result;
28839 PyObject * obj0 = 0 ;
28840 PyObject * obj1 = 0 ;
28841 char *kwnames[] = {
28842 (char *) "image",(char *) "cursor", NULL
28843 };
28844
28845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28847 if (arg1 == NULL) {
28848 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28849 }
28850 if (obj1) {
28851 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28852 if (arg2 == NULL) {
28853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28854 }
28855 }
28856 {
28857 PyThreadState* __tstate = wxPyBeginAllowThreads();
28858 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28859
28860 wxPyEndAllowThreads(__tstate);
28861 if (PyErr_Occurred()) SWIG_fail;
28862 }
28863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28864 return resultobj;
28865 fail:
28866 return NULL;
28867 }
28868
28869
28870 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
28871 PyObject *resultobj;
28872 wxString *arg1 = 0 ;
28873 wxCursor const &arg2_defvalue = wxNullCursor ;
28874 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28875 wxGenericDragImage *result;
28876 bool temp1 = False ;
28877 PyObject * obj0 = 0 ;
28878 PyObject * obj1 = 0 ;
28879 char *kwnames[] = {
28880 (char *) "str",(char *) "cursor", NULL
28881 };
28882
28883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28884 {
28885 arg1 = wxString_in_helper(obj0);
28886 if (arg1 == NULL) SWIG_fail;
28887 temp1 = True;
28888 }
28889 if (obj1) {
28890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28891 if (arg2 == NULL) {
28892 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28893 }
28894 }
28895 {
28896 PyThreadState* __tstate = wxPyBeginAllowThreads();
28897 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28898
28899 wxPyEndAllowThreads(__tstate);
28900 if (PyErr_Occurred()) SWIG_fail;
28901 }
28902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28903 {
28904 if (temp1)
28905 delete arg1;
28906 }
28907 return resultobj;
28908 fail:
28909 {
28910 if (temp1)
28911 delete arg1;
28912 }
28913 return NULL;
28914 }
28915
28916
28917 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28918 PyObject *resultobj;
28919 wxPyTreeCtrl *arg1 = 0 ;
28920 wxTreeItemId *arg2 = 0 ;
28921 wxGenericDragImage *result;
28922 PyObject * obj0 = 0 ;
28923 PyObject * obj1 = 0 ;
28924 char *kwnames[] = {
28925 (char *) "treeCtrl",(char *) "id", NULL
28926 };
28927
28928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
28929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28930 if (arg1 == NULL) {
28931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28932 }
28933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28934 if (arg2 == NULL) {
28935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28936 }
28937 {
28938 PyThreadState* __tstate = wxPyBeginAllowThreads();
28939 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
28940
28941 wxPyEndAllowThreads(__tstate);
28942 if (PyErr_Occurred()) SWIG_fail;
28943 }
28944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28945 return resultobj;
28946 fail:
28947 return NULL;
28948 }
28949
28950
28951 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28952 PyObject *resultobj;
28953 wxPyListCtrl *arg1 = 0 ;
28954 long arg2 ;
28955 wxGenericDragImage *result;
28956 PyObject * obj0 = 0 ;
28957 PyObject * obj1 = 0 ;
28958 char *kwnames[] = {
28959 (char *) "listCtrl",(char *) "id", NULL
28960 };
28961
28962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
28963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28964 if (arg1 == NULL) {
28965 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28966 }
28967 {
28968 arg2 = (long) SWIG_PyObj_AsLong(obj1);
28969 if (PyErr_Occurred()) SWIG_fail;
28970 }
28971 {
28972 PyThreadState* __tstate = wxPyBeginAllowThreads();
28973 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
28974
28975 wxPyEndAllowThreads(__tstate);
28976 if (PyErr_Occurred()) SWIG_fail;
28977 }
28978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28979 return resultobj;
28980 fail:
28981 return NULL;
28982 }
28983
28984
28985 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28986 PyObject *resultobj;
28987 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
28988 PyObject * obj0 = 0 ;
28989 char *kwnames[] = {
28990 (char *) "self", NULL
28991 };
28992
28993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
28994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28995 {
28996 PyThreadState* __tstate = wxPyBeginAllowThreads();
28997 delete arg1;
28998
28999 wxPyEndAllowThreads(__tstate);
29000 if (PyErr_Occurred()) SWIG_fail;
29001 }
29002 Py_INCREF(Py_None); resultobj = Py_None;
29003 return resultobj;
29004 fail:
29005 return NULL;
29006 }
29007
29008
29009 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29010 PyObject *resultobj;
29011 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29012 wxBitmap *arg2 = (wxBitmap *) 0 ;
29013 PyObject * obj0 = 0 ;
29014 PyObject * obj1 = 0 ;
29015 char *kwnames[] = {
29016 (char *) "self",(char *) "bitmap", NULL
29017 };
29018
29019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29022 {
29023 PyThreadState* __tstate = wxPyBeginAllowThreads();
29024 (arg1)->SetBackingBitmap(arg2);
29025
29026 wxPyEndAllowThreads(__tstate);
29027 if (PyErr_Occurred()) SWIG_fail;
29028 }
29029 Py_INCREF(Py_None); resultobj = Py_None;
29030 return resultobj;
29031 fail:
29032 return NULL;
29033 }
29034
29035
29036 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29037 PyObject *resultobj;
29038 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29039 wxPoint *arg2 = 0 ;
29040 wxWindow *arg3 = (wxWindow *) 0 ;
29041 bool arg4 = (bool) False ;
29042 wxRect *arg5 = (wxRect *) NULL ;
29043 bool result;
29044 wxPoint temp2 ;
29045 PyObject * obj0 = 0 ;
29046 PyObject * obj1 = 0 ;
29047 PyObject * obj2 = 0 ;
29048 PyObject * obj3 = 0 ;
29049 PyObject * obj4 = 0 ;
29050 char *kwnames[] = {
29051 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29052 };
29053
29054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29056 {
29057 arg2 = &temp2;
29058 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29059 }
29060 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29061 if (obj3) {
29062 {
29063 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 }
29066 }
29067 if (obj4) {
29068 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29069 }
29070 {
29071 PyThreadState* __tstate = wxPyBeginAllowThreads();
29072 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29073
29074 wxPyEndAllowThreads(__tstate);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29078 return resultobj;
29079 fail:
29080 return NULL;
29081 }
29082
29083
29084 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29085 PyObject *resultobj;
29086 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29087 wxPoint *arg2 = 0 ;
29088 wxWindow *arg3 = (wxWindow *) 0 ;
29089 wxWindow *arg4 = (wxWindow *) 0 ;
29090 bool result;
29091 wxPoint temp2 ;
29092 PyObject * obj0 = 0 ;
29093 PyObject * obj1 = 0 ;
29094 PyObject * obj2 = 0 ;
29095 PyObject * obj3 = 0 ;
29096 char *kwnames[] = {
29097 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29098 };
29099
29100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29102 {
29103 arg2 = &temp2;
29104 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29105 }
29106 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29107 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29108 {
29109 PyThreadState* __tstate = wxPyBeginAllowThreads();
29110 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29111
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29116 return resultobj;
29117 fail:
29118 return NULL;
29119 }
29120
29121
29122 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29123 PyObject *resultobj;
29124 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29125 bool result;
29126 PyObject * obj0 = 0 ;
29127 char *kwnames[] = {
29128 (char *) "self", NULL
29129 };
29130
29131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = (bool)(arg1)->EndDrag();
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29141 return resultobj;
29142 fail:
29143 return NULL;
29144 }
29145
29146
29147 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29148 PyObject *resultobj;
29149 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29150 wxPoint *arg2 = 0 ;
29151 bool result;
29152 wxPoint temp2 ;
29153 PyObject * obj0 = 0 ;
29154 PyObject * obj1 = 0 ;
29155 char *kwnames[] = {
29156 (char *) "self",(char *) "pt", NULL
29157 };
29158
29159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29161 {
29162 arg2 = &temp2;
29163 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29164 }
29165 {
29166 PyThreadState* __tstate = wxPyBeginAllowThreads();
29167 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29168
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29173 return resultobj;
29174 fail:
29175 return NULL;
29176 }
29177
29178
29179 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29180 PyObject *resultobj;
29181 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29182 bool result;
29183 PyObject * obj0 = 0 ;
29184 char *kwnames[] = {
29185 (char *) "self", NULL
29186 };
29187
29188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29190 {
29191 PyThreadState* __tstate = wxPyBeginAllowThreads();
29192 result = (bool)(arg1)->Show();
29193
29194 wxPyEndAllowThreads(__tstate);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 }
29197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29198 return resultobj;
29199 fail:
29200 return NULL;
29201 }
29202
29203
29204 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29205 PyObject *resultobj;
29206 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29207 bool result;
29208 PyObject * obj0 = 0 ;
29209 char *kwnames[] = {
29210 (char *) "self", NULL
29211 };
29212
29213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29215 {
29216 PyThreadState* __tstate = wxPyBeginAllowThreads();
29217 result = (bool)(arg1)->Hide();
29218
29219 wxPyEndAllowThreads(__tstate);
29220 if (PyErr_Occurred()) SWIG_fail;
29221 }
29222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29223 return resultobj;
29224 fail:
29225 return NULL;
29226 }
29227
29228
29229 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29230 PyObject *resultobj;
29231 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29232 wxPoint *arg2 = 0 ;
29233 wxRect result;
29234 wxPoint temp2 ;
29235 PyObject * obj0 = 0 ;
29236 PyObject * obj1 = 0 ;
29237 char *kwnames[] = {
29238 (char *) "self",(char *) "pos", NULL
29239 };
29240
29241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29243 {
29244 arg2 = &temp2;
29245 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29246 }
29247 {
29248 PyThreadState* __tstate = wxPyBeginAllowThreads();
29249 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29250
29251 wxPyEndAllowThreads(__tstate);
29252 if (PyErr_Occurred()) SWIG_fail;
29253 }
29254 {
29255 wxRect * resultptr;
29256 resultptr = new wxRect((wxRect &) result);
29257 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
29258 }
29259 return resultobj;
29260 fail:
29261 return NULL;
29262 }
29263
29264
29265 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29266 PyObject *resultobj;
29267 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29268 wxDC *arg2 = 0 ;
29269 wxPoint *arg3 = 0 ;
29270 bool result;
29271 wxPoint temp3 ;
29272 PyObject * obj0 = 0 ;
29273 PyObject * obj1 = 0 ;
29274 PyObject * obj2 = 0 ;
29275 char *kwnames[] = {
29276 (char *) "self",(char *) "dc",(char *) "pos", NULL
29277 };
29278
29279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29281 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29282 if (arg2 == NULL) {
29283 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29284 }
29285 {
29286 arg3 = &temp3;
29287 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29288 }
29289 {
29290 PyThreadState* __tstate = wxPyBeginAllowThreads();
29291 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29292
29293 wxPyEndAllowThreads(__tstate);
29294 if (PyErr_Occurred()) SWIG_fail;
29295 }
29296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29297 return resultobj;
29298 fail:
29299 return NULL;
29300 }
29301
29302
29303 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29304 PyObject *resultobj;
29305 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29306 wxDC *arg2 = 0 ;
29307 wxMemoryDC *arg3 = 0 ;
29308 wxRect *arg4 = 0 ;
29309 wxRect *arg5 = 0 ;
29310 bool result;
29311 wxRect temp4 ;
29312 wxRect temp5 ;
29313 PyObject * obj0 = 0 ;
29314 PyObject * obj1 = 0 ;
29315 PyObject * obj2 = 0 ;
29316 PyObject * obj3 = 0 ;
29317 PyObject * obj4 = 0 ;
29318 char *kwnames[] = {
29319 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29320 };
29321
29322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29325 if (arg2 == NULL) {
29326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29327 }
29328 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29329 if (arg3 == NULL) {
29330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29331 }
29332 {
29333 arg4 = &temp4;
29334 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29335 }
29336 {
29337 arg5 = &temp5;
29338 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29339 }
29340 {
29341 PyThreadState* __tstate = wxPyBeginAllowThreads();
29342 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29343
29344 wxPyEndAllowThreads(__tstate);
29345 if (PyErr_Occurred()) SWIG_fail;
29346 }
29347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29348 return resultobj;
29349 fail:
29350 return NULL;
29351 }
29352
29353
29354 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29355 PyObject *resultobj;
29356 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29357 wxPoint *arg2 = 0 ;
29358 wxPoint *arg3 = 0 ;
29359 bool arg4 ;
29360 bool arg5 ;
29361 bool result;
29362 wxPoint temp2 ;
29363 wxPoint temp3 ;
29364 PyObject * obj0 = 0 ;
29365 PyObject * obj1 = 0 ;
29366 PyObject * obj2 = 0 ;
29367 PyObject * obj3 = 0 ;
29368 PyObject * obj4 = 0 ;
29369 char *kwnames[] = {
29370 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29371 };
29372
29373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29375 {
29376 arg2 = &temp2;
29377 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29378 }
29379 {
29380 arg3 = &temp3;
29381 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29382 }
29383 {
29384 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29385 if (PyErr_Occurred()) SWIG_fail;
29386 }
29387 {
29388 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
29389 if (PyErr_Occurred()) SWIG_fail;
29390 }
29391 {
29392 PyThreadState* __tstate = wxPyBeginAllowThreads();
29393 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29394
29395 wxPyEndAllowThreads(__tstate);
29396 if (PyErr_Occurred()) SWIG_fail;
29397 }
29398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29399 return resultobj;
29400 fail:
29401 return NULL;
29402 }
29403
29404
29405 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29406 PyObject *obj;
29407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29408 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29409 Py_INCREF(obj);
29410 return Py_BuildValue((char *)"");
29411 }
29412 static PyMethodDef SwigMethods[] = {
29413 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29414 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29415 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29416 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29417 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
29418 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
29419 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29420 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29421 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29422 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29423 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29424 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29425 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29426 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29427 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29428 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29429 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29430 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29431 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29432 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29433 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29434 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29435 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29436 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29437 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29438 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29439 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29440 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29441 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29442 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29443 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29444 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29445 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29446 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29447 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29448 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29449 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29450 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
29451 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
29452 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29453 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29454 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29455 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29456 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29457 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29458 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29459 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29460 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29461 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29462 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29463 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29464 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29465 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29466 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29467 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29468 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29469 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29470 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29471 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29472 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29473 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29474 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29475 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29476 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29477 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29478 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29479 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29480 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29481 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29482 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29483 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29484 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29485 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29486 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29487 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29488 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29489 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29490 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29491 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29492 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29493 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29494 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29495 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29496 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29497 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29498 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29499 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29500 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29501 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29502 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29503 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29504 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29505 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29506 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29507 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29508 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29509 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29510 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29511 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29512 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29513 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29514 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29515 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29516 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29517 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29518 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29519 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29520 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29521 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29522 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29523 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29524 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29525 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29526 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29527 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29528 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29529 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29530 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29531 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29532 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
29533 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29534 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29535 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29536 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29537 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29538 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29539 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29540 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29541 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29542 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29543 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29544 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29545 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29546 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29547 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29548 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29549 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29550 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29551 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29552 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29553 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29554 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29555 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29556 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29557 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29558 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29559 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29560 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29561 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29562 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29563 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29564 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29565 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29566 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29567 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29568 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29569 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29570 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29571 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29572 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29573 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29574 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29575 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29576 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29577 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29578 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29579 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29580 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29581 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29582 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29583 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29584 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29585 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29586 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29587 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29588 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29589 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29590 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29591 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29592 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29593 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29594 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29595 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29596 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29597 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29598 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29599 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29600 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29601 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29602 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29603 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29604 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29605 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29606 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29607 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29608 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29609 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29610 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29611 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29612 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29613 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29614 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29615 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29616 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29617 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
29618 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
29619 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29620 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29621 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29622 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29623 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29624 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29625 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29626 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29627 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29628 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29629 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29630 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29631 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29632 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29633 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29634 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29635 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29636 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29637 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29638 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29639 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29640 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29641 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29642 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29643 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29644 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29645 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29646 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29647 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29648 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29649 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29650 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29651 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29652 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29653 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29654 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29655 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29656 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29657 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29658 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29659 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29660 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29661 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29662 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29663 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29664 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29665 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29666 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29667 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29668 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29669 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29670 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29671 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29672 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29673 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29674 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29675 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29676 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29677 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29678 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29679 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29680 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29681 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29682 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29683 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29684 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
29685 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29686 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29687 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
29688 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
29689 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
29690 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
29691 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
29692 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
29693 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
29694 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
29695 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
29696 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
29697 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
29698 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
29699 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29700 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
29701 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29702 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
29703 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
29704 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
29705 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
29706 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
29707 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
29708 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
29709 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
29710 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
29711 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
29712 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
29713 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
29714 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
29715 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
29716 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29717 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29718 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
29719 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
29720 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
29721 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
29722 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29723 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
29724 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
29725 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29726 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29727 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29728 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
29729 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
29730 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29731 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
29733 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
29736 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
29737 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29738 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
29740 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
29741 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
29746 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
29747 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
29748 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
29751 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
29752 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
29753 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29754 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
29755 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
29756 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
29758 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
29759 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
29760 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
29761 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
29763 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
29765 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29767 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
29770 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
29771 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
29774 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
29775 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
29780 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
29781 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
29782 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
29783 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
29784 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
29785 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
29786 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29787 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29788 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29789 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
29790 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
29791 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
29792 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
29793 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
29794 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29795 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
29796 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
29797 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29798 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29799 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
29800 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
29801 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
29802 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
29803 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
29804 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
29805 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
29806 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
29807 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
29808 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
29809 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
29810 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
29811 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
29812 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
29813 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
29814 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
29815 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
29816 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
29817 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
29818 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
29819 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
29820 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
29821 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29822 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
29823 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
29824 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
29825 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
29826 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
29827 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29828 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29829 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29830 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29831 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
29832 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
29833 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
29834 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29835 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
29836 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
29837 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
29838 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29839 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
29840 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
29841 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
29842 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
29843 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29844 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29845 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
29846 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29847 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
29848 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
29849 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
29850 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
29851 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
29852 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
29853 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29854 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
29855 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
29856 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29857 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29858 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29859 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29860 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29861 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29862 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29863 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29864 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29865 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
29866 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
29867 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
29868 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
29869 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
29870 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
29871 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
29872 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
29873 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
29874 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
29875 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
29876 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
29877 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
29878 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
29879 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
29880 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
29881 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29882 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29883 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
29884 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
29885 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
29886 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
29887 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
29888 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
29889 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
29890 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
29891 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
29892 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
29893 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
29894 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
29895 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29896 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29897 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
29898 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
29899 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
29900 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
29901 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
29902 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
29903 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
29904 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
29905 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
29906 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
29907 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
29908 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
29909 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
29910 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
29911 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
29912 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
29913 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
29914 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
29915 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
29916 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
29917 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
29918 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
29919 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
29920 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
29921 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
29922 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
29923 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
29924 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
29925 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
29926 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
29927 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
29928 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
29929 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
29930 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
29931 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
29932 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
29933 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
29934 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
29935 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
29936 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
29937 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
29938 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
29939 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
29940 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
29941 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
29942 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
29943 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
29944 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
29945 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
29946 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
29947 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
29948 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29949 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
29950 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
29951 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29952 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
29953 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
29954 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29955 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
29956 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
29957 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
29958 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
29959 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
29960 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
29961 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
29962 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
29963 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
29964 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
29965 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
29966 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
29967 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
29968 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
29969 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
29970 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
29971 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
29972 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
29973 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29974 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
29975 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
29976 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29977 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29978 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
29979 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
29980 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
29981 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29982 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29983 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29984 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29985 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
29986 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
29987 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
29988 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
29989 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
29990 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
29991 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
29992 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
29993 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
29994 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
29995 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
29996 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29997 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
29998 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
29999 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30000 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30001 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30002 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30003 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30004 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30005 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30006 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30007 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30008 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30009 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30010 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30011 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30012 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30013 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30014 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30015 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30016 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30017 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30022 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30023 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30024 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30025 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30028 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30029 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30030 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30035 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30036 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30038 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30040 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30042 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30043 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30044 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30045 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30046 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30047 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30048 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30049 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30050 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30051 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30052 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30053 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30054 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30055 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30056 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30057 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30058 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30059 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30060 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30061 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30062 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30063 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30064 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30065 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30066 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30067 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30068 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30069 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30070 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30071 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30072 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30073 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30074 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30075 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30076 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30077 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30078 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30079 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30080 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30081 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30082 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30083 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30084 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30085 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30086 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30087 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
30088 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30089 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30090 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30091 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30092 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30093 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30094 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30095 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30096 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30097 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30098 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30099 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30100 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30101 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30102 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30103 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30104 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30105 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30106 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30107 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30108 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30109 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30110 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30111 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30112 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30113 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30114 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30115 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30116 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30117 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30118 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30119 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30120 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30121 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
30122 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30123 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
30124 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30125 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30126 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30127 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30128 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
30129 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30130 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30131 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30132 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30133 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30134 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30135 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30136 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30137 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30138 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30139 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30140 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30141 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30142 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30143 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30144 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30145 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30146 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30147 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30148 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30149 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30150 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30151 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30152 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30153 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30154 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30155 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30156 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30157 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30158 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30159 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30160 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
30161 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30162 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30163 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30164 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30165 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30166 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30167 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30168 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30169 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30170 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30171 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30172 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30173 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30174 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30175 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30176 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30177 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30178 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30179 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30180 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30181 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30182 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30183 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30184 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30185 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30186 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30187 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30188 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30189 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30190 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30191 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30192 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30193 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30194 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30195 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30196 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30197 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30198 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30199 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30200 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30201 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
30202 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30203 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30204 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30205 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
30206 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30207 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30208 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30209 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30210 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30211 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30212 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30213 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30214 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30215 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30216 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30217 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30218 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30219 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30220 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30221 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30222 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30223 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
30224 { NULL, NULL }
30225 };
30226
30227
30228 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30229
30230 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30231 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30232 }
30233 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30234 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30235 }
30236 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30237 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30238 }
30239 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30240 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30241 }
30242 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30243 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30244 }
30245 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30246 return (void *)((wxSizer *) ((wxGridSizer *) x));
30247 }
30248 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30249 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30250 }
30251 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30252 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30253 }
30254 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30255 return (void *)((wxSizer *) ((wxPySizer *) x));
30256 }
30257 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30258 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30259 }
30260 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30261 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30262 }
30263 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30264 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30265 }
30266 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30267 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30268 }
30269 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30270 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30271 }
30272 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30273 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30274 }
30275 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30276 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30277 }
30278 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30279 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30280 }
30281 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30282 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30283 }
30284 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30285 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30286 }
30287 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30288 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30289 }
30290 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30291 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30292 }
30293 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30294 return (void *)((wxEvent *) ((wxPyEvent *) x));
30295 }
30296 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30297 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30298 }
30299 static void *_p_wxListEventTo_p_wxEvent(void *x) {
30300 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30301 }
30302 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30303 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30304 }
30305 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30306 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30307 }
30308 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30310 }
30311 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30312 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30313 }
30314 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30315 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30316 }
30317 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30318 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30319 }
30320 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30321 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30322 }
30323 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30324 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30325 }
30326 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30327 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30328 }
30329 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30330 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30331 }
30332 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30333 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30334 }
30335 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30336 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30337 }
30338 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30339 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30340 }
30341 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30342 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30343 }
30344 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30345 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30346 }
30347 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30348 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30349 }
30350 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30351 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30352 }
30353 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30354 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30355 }
30356 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30357 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30358 }
30359 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30360 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30361 }
30362 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30364 }
30365 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30366 return (void *)((wxEvent *) ((wxShowEvent *) x));
30367 }
30368 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30369 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30370 }
30371 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30372 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30373 }
30374 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30376 }
30377 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30378 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30379 }
30380 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30381 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30382 }
30383 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30384 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30385 }
30386 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30387 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30388 }
30389 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30390 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30391 }
30392 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30393 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30394 }
30395 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30396 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30397 }
30398 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30399 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30400 }
30401 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30402 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30403 }
30404 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30405 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30406 }
30407 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30408 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30409 }
30410 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30411 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30412 }
30413 static void *_p_wxListBoxTo_p_wxControl(void *x) {
30414 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30415 }
30416 static void *_p_wxChoiceTo_p_wxControl(void *x) {
30417 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30418 }
30419 static void *_p_wxToolBarTo_p_wxControl(void *x) {
30420 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30421 }
30422 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30423 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30424 }
30425 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30426 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30427 }
30428 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30429 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30430 }
30431 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30432 return (void *)((wxControl *) ((wxStaticBox *) x));
30433 }
30434 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30435 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30436 }
30437 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30438 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30439 }
30440 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30441 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30442 }
30443 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30444 return (void *)((wxControl *) ((wxScrollBar *) x));
30445 }
30446 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30447 return (void *)((wxControl *) ((wxBookCtrl *) x));
30448 }
30449 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30450 return (void *)((wxControl *) ((wxRadioButton *) x));
30451 }
30452 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30453 return (void *)((wxControl *) ((wxToggleButton *) x));
30454 }
30455 static void *_p_wxGaugeTo_p_wxControl(void *x) {
30456 return (void *)((wxControl *) ((wxGauge *) x));
30457 }
30458 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30459 return (void *)((wxControl *) ((wxToolBarBase *) x));
30460 }
30461 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30462 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30463 }
30464 static void *_p_wxButtonTo_p_wxControl(void *x) {
30465 return (void *)((wxControl *) ((wxButton *) x));
30466 }
30467 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30468 return (void *)((wxControl *) ((wxSpinButton *) x));
30469 }
30470 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30471 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30472 }
30473 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30474 return (void *)((wxControl *) ((wxControlWithItems *) x));
30475 }
30476 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30477 return (void *)((wxControl *) ((wxRadioBox *) x));
30478 }
30479 static void *_p_wxNotebookTo_p_wxControl(void *x) {
30480 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30481 }
30482 static void *_p_wxListbookTo_p_wxControl(void *x) {
30483 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30484 }
30485 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30486 return (void *)((wxControl *) ((wxCheckBox *) x));
30487 }
30488 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30489 return (void *)((wxControl *) ((wxTextCtrl *) x));
30490 }
30491 static void *_p_wxListViewTo_p_wxControl(void *x) {
30492 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30493 }
30494 static void *_p_wxSliderTo_p_wxControl(void *x) {
30495 return (void *)((wxControl *) ((wxSlider *) x));
30496 }
30497 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30498 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30499 }
30500 static void *_p_wxPyControlTo_p_wxControl(void *x) {
30501 return (void *)((wxControl *) ((wxPyControl *) x));
30502 }
30503 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30504 return (void *)((wxControl *) ((wxStaticLine *) x));
30505 }
30506 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30507 return (void *)((wxControl *) ((wxStaticText *) x));
30508 }
30509 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30510 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30511 }
30512 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
30513 return (void *)((wxChoice *) ((wxComboBox *) x));
30514 }
30515 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30516 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30517 }
30518 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30519 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30520 }
30521 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30522 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30523 }
30524 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30525 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30526 }
30527 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30528 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30529 }
30530 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30531 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30532 }
30533 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30534 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30535 }
30536 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30537 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30538 }
30539 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30540 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30541 }
30542 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30543 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30544 }
30545 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30546 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30547 }
30548 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30549 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30550 }
30551 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30552 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30553 }
30554 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30555 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30556 }
30557 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30558 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30559 }
30560 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30561 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30562 }
30563 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30564 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30565 }
30566 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30567 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30568 }
30569 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30570 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30571 }
30572 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30573 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30574 }
30575 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30576 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30577 }
30578 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30579 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30580 }
30581 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30582 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30583 }
30584 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30585 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30586 }
30587 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30588 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30589 }
30590 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30591 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30592 }
30593 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30594 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30595 }
30596 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30597 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30598 }
30599 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30600 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30601 }
30602 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30603 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30604 }
30605 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30606 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30607 }
30608 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30609 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30610 }
30611 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30612 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30613 }
30614 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30615 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30616 }
30617 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30618 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30619 }
30620 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30621 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30622 }
30623 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30624 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30625 }
30626 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30627 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30628 }
30629 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30630 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30631 }
30632 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30633 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30634 }
30635 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30636 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30637 }
30638 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30639 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30640 }
30641 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30642 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30643 }
30644 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30645 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30646 }
30647 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30648 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30649 }
30650 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30651 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30652 }
30653 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30654 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30655 }
30656 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30657 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30658 }
30659 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30660 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30661 }
30662 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30663 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30664 }
30665 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30666 return (void *)((wxButton *) ((wxBitmapButton *) x));
30667 }
30668 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30669 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30670 }
30671 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30672 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30673 }
30674 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30675 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30676 }
30677 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30678 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30679 }
30680 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30681 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30682 }
30683 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30684 return (void *)((wxObject *) ((wxSizerItem *) x));
30685 }
30686 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30688 }
30689 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30690 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30691 }
30692 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30693 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30694 }
30695 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30696 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30697 }
30698 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30699 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30700 }
30701 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30702 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30703 }
30704 static void *_p_wxSizerTo_p_wxObject(void *x) {
30705 return (void *)((wxObject *) ((wxSizer *) x));
30706 }
30707 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30708 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30709 }
30710 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30712 }
30713 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30715 }
30716 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30718 }
30719 static void *_p_wxEventTo_p_wxObject(void *x) {
30720 return (void *)((wxObject *) ((wxEvent *) x));
30721 }
30722 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30723 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30724 }
30725 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30726 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30727 }
30728 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30729 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30730 }
30731 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30733 }
30734 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30736 }
30737 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30739 }
30740 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30741 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30742 }
30743 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30744 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30745 }
30746 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30747 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30748 }
30749 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30750 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30751 }
30752 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30753 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30754 }
30755 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30756 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30757 }
30758 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30760 }
30761 static void *_p_wxControlTo_p_wxObject(void *x) {
30762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30763 }
30764 static void *_p_wxPyControlTo_p_wxObject(void *x) {
30765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30766 }
30767 static void *_p_wxGaugeTo_p_wxObject(void *x) {
30768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30769 }
30770 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30772 }
30773 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30775 }
30776 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30778 }
30779 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30780 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30781 }
30782 static void *_p_wxChoiceTo_p_wxObject(void *x) {
30783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30784 }
30785 static void *_p_wxFSFileTo_p_wxObject(void *x) {
30786 return (void *)((wxObject *) ((wxFSFile *) x));
30787 }
30788 static void *_p_wxPySizerTo_p_wxObject(void *x) {
30789 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30790 }
30791 static void *_p_wxListViewTo_p_wxObject(void *x) {
30792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30793 }
30794 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30796 }
30797 static void *_p_wxNotebookTo_p_wxObject(void *x) {
30798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30799 }
30800 static void *_p_wxPyEventTo_p_wxObject(void *x) {
30801 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30802 }
30803 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30805 }
30806 static void *_p_wxListbookTo_p_wxObject(void *x) {
30807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30808 }
30809 static void *_p_wxShowEventTo_p_wxObject(void *x) {
30810 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30811 }
30812 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30814 }
30815 static void *_p_wxSliderTo_p_wxObject(void *x) {
30816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30817 }
30818 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30819 return (void *)((wxObject *) ((wxMenuItem *) x));
30820 }
30821 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30822 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30823 }
30824 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30826 }
30827 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30828 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30829 }
30830 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30831 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30832 }
30833 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30834 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30835 }
30836 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30837 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30838 }
30839 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30840 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30841 }
30842 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30843 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30844 }
30845 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30847 }
30848 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30849 return (void *)((wxObject *) ((wxContextHelp *) x));
30850 }
30851 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30852 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30853 }
30854 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30855 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30856 }
30857 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30858 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30859 }
30860 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30861 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30862 }
30863 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30864 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30865 }
30866 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30867 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30868 }
30869 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30870 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30871 }
30872 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30873 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30874 }
30875 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30876 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30877 }
30878 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30879 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30880 }
30881 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30882 return (void *)((wxObject *) ((wxImageHandler *) x));
30883 }
30884 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30885 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30886 }
30887 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30888 return (void *)((wxObject *) ((wxEvtHandler *) x));
30889 }
30890 static void *_p_wxListEventTo_p_wxObject(void *x) {
30891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30892 }
30893 static void *_p_wxListBoxTo_p_wxObject(void *x) {
30894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30895 }
30896 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30898 }
30899 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
30900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30901 }
30902 static void *_p_wxButtonTo_p_wxObject(void *x) {
30903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
30904 }
30905 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
30906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30907 }
30908 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
30909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
30910 }
30911 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
30912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30913 }
30914 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
30915 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
30916 }
30917 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
30918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
30919 }
30920 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
30921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
30922 }
30923 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
30924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30925 }
30926 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
30927 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
30928 }
30929 static void *_p_wxListItemTo_p_wxObject(void *x) {
30930 return (void *)((wxObject *) ((wxListItem *) x));
30931 }
30932 static void *_p_wxImageTo_p_wxObject(void *x) {
30933 return (void *)((wxObject *) ((wxImage *) x));
30934 }
30935 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
30936 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
30937 }
30938 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
30939 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
30940 }
30941 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
30942 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30943 }
30944 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
30945 return (void *)((wxObject *) ((wxGenericDragImage *) x));
30946 }
30947 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
30948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30949 }
30950 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
30951 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30952 }
30953 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
30954 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30955 }
30956 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
30957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30958 }
30959 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
30960 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
30961 }
30962 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
30963 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
30964 }
30965 static void *_p_wxWindowTo_p_wxObject(void *x) {
30966 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
30967 }
30968 static void *_p_wxMenuTo_p_wxObject(void *x) {
30969 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
30970 }
30971 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
30972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
30973 }
30974 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
30975 return (void *)((wxObject *) ((wxFileSystem *) x));
30976 }
30977 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
30978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
30979 }
30980 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
30981 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
30982 }
30983 static void *_p_wxPyAppTo_p_wxObject(void *x) {
30984 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
30985 }
30986 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
30987 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
30988 }
30989 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
30990 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
30991 }
30992 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
30993 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
30994 }
30995 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
30996 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30997 }
30998 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
30999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31000 }
31001 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31002 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31003 }
31004 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31006 }
31007 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31008 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31009 }
31010 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31011 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31012 }
31013 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31015 }
31016 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31018 }
31019 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31020 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31021 }
31022 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31024 }
31025 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31026 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31027 }
31028 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31029 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31030 }
31031 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31032 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31033 }
31034 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31035 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31036 }
31037 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31038 return (void *)((wxWindow *) ((wxMenuBar *) x));
31039 }
31040 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31041 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31042 }
31043 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31044 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31045 }
31046 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31047 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31048 }
31049 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31050 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31051 }
31052 static void *_p_wxControlTo_p_wxWindow(void *x) {
31053 return (void *)((wxWindow *) ((wxControl *) x));
31054 }
31055 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31056 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31057 }
31058 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31059 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31060 }
31061 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31062 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31063 }
31064 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31065 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31066 }
31067 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31068 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31069 }
31070 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31071 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31072 }
31073 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31074 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31075 }
31076 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31077 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31078 }
31079 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31080 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31081 }
31082 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31083 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31084 }
31085 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31086 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31087 }
31088 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31089 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31090 }
31091 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31092 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31093 }
31094 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31095 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31096 }
31097 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31098 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31099 }
31100 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31101 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31102 }
31103 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31104 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31105 }
31106 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31107 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31108 }
31109 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31110 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31111 }
31112 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31113 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31114 }
31115 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31116 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31117 }
31118 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31119 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31120 }
31121 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31122 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31123 }
31124 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31125 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31126 }
31127 static void *_p_wxButtonTo_p_wxWindow(void *x) {
31128 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31129 }
31130 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31131 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31132 }
31133 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31134 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31135 }
31136 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31137 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31138 }
31139 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31140 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31141 }
31142 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31143 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31144 }
31145 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31146 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31147 }
31148 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31149 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31150 }
31151 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31152 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31153 }
31154 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31155 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31156 }
31157 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31158 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31159 }
31160 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31161 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31162 }
31163 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31164 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31165 }
31166 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31167 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31168 }
31169 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31170 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31171 }
31172 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31173 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31174 }
31175 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31176 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31177 }
31178 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31179 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31180 }
31181 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31182 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31183 }
31184 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31185 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31186 }
31187 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
31188 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
31189 }
31190 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31191 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31192 }
31193 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31194 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31195 }
31196 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31197 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31198 }
31199 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31200 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31201 }
31202 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31203 return (void *)((wxValidator *) ((wxPyValidator *) x));
31204 }
31205 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31206 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}};
31207 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}};
31208 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31209 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31210 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}};
31211 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31212 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31213 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31214 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}};
31215 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31216 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
31217 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31218 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}};
31219 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31220 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31221 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
31222 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31223 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31224 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31225 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
31226 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31227 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31228 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31229 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31230 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31231 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31232 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31233 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31234 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31235 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31236 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}};
31237 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31238 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31239 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31240 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31241 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31242 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31243 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31244 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31245 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}};
31246 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31247 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
31248 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31249 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}};
31250 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31251 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}};
31252 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
31253 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31254 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31255 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31256 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31257 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31258 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31259 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31260 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31261 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31262 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31263 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31264 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31265 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31266 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31267 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
31268 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31269 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31270 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31271 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31272 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31273 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}};
31274 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31275 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31276 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}};
31277 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31278 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31279 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31280 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31281 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}};
31282 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31283 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
31284 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31285 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31286 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31287 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31288 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
31289
31290 static swig_type_info *swig_types_initial[] = {
31291 _swigt__p_wxTextUrlEvent,
31292 _swigt__p_wxBookCtrlEvent,
31293 _swigt__p_wxSizer,
31294 _swigt__p_wxCheckBox,
31295 _swigt__p_wxPyTreeCtrl,
31296 _swigt__p_wxEvent,
31297 _swigt__p_wxGenericDirCtrl,
31298 _swigt__p_bool,
31299 _swigt__p_wxPyTreeItemData,
31300 _swigt__p_wxItemContainer,
31301 _swigt__p_wxDirFilterListCtrl,
31302 _swigt__p_wxPyListCtrl,
31303 _swigt__p_wxStaticLine,
31304 _swigt__p_wxControl,
31305 _swigt__p_wxPyControl,
31306 _swigt__p_wxGauge,
31307 _swigt__p_wxToolBarBase,
31308 _swigt__p_wxFont,
31309 _swigt__p_wxToggleButton,
31310 _swigt__p_wxRadioButton,
31311 _swigt__p_wxChoice,
31312 _swigt__p_wxMemoryDC,
31313 _swigt__p_wxListItemAttr,
31314 _swigt__p_void,
31315 _swigt__p_int,
31316 _swigt__p_wxSize,
31317 _swigt__p_wxDC,
31318 _swigt__p_wxListView,
31319 _swigt__p_wxIcon,
31320 _swigt__p_wxTextCtrl,
31321 _swigt__p_wxNotebook,
31322 _swigt__p_wxNotifyEvent,
31323 _swigt__p_wxArrayString,
31324 _swigt__p_wxListbook,
31325 _swigt__p_wxStaticBitmap,
31326 _swigt__p_wxSlider,
31327 _swigt__p_wxStaticBox,
31328 _swigt__p_wxArrayInt,
31329 _swigt__p_wxContextHelp,
31330 _swigt__p_long,
31331 _swigt__p_wxEvtHandler,
31332 _swigt__p_wxListEvent,
31333 _swigt__p_wxListBox,
31334 _swigt__p_wxCheckListBox,
31335 _swigt__p_wxBookCtrl,
31336 _swigt__p_wxSpinButton,
31337 _swigt__p_wxButton,
31338 _swigt__p_wxBitmapButton,
31339 _swigt__p_wxRect,
31340 _swigt__p_wxContextHelpButton,
31341 _swigt__p_wxRadioBox,
31342 _swigt__p_wxScrollBar,
31343 _swigt__p_char,
31344 _swigt__p_wxTreeItemId,
31345 _swigt__p_wxComboBox,
31346 _swigt__p_wxHelpEvent,
31347 _swigt__p_wxListItem,
31348 _swigt__p_wxNotebookSizer,
31349 _swigt__p_wxSpinEvent,
31350 _swigt__p_wxGenericDragImage,
31351 _swigt__p_wxSpinCtrl,
31352 _swigt__p_wxImageList,
31353 _swigt__p_wxHelpProvider,
31354 _swigt__p_wxTextAttr,
31355 _swigt__p_wxSimpleHelpProvider,
31356 _swigt__p_wxPoint,
31357 _swigt__p_wxListbookEvent,
31358 _swigt__p_wxNotebookEvent,
31359 _swigt__p_wxObject,
31360 _swigt__p_wxCursor,
31361 _swigt__p_wxKeyEvent,
31362 _swigt__p_wxWindow,
31363 _swigt__p_wxString,
31364 _swigt__p_wxBitmap,
31365 _swigt__p_wxTreeEvent,
31366 _swigt__p_wxMouseEvent,
31367 _swigt__p_wxCommandEvent,
31368 _swigt__p_wxStaticText,
31369 _swigt__p_wxControlWithItems,
31370 _swigt__p_wxToolBarToolBase,
31371 _swigt__p_wxColour,
31372 _swigt__p_wxToolBar,
31373 _swigt__p_wxBookCtrlSizer,
31374 _swigt__p_wxValidator,
31375 0
31376 };
31377
31378
31379 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31380
31381 static swig_const_info swig_const_table[] = {
31382 {0}};
31383
31384 #ifdef __cplusplus
31385 }
31386 #endif
31387
31388 #ifdef __cplusplus
31389 extern "C"
31390 #endif
31391 SWIGEXPORT(void) SWIG_init(void) {
31392 static PyObject *SWIG_globals = 0;
31393 static int typeinit = 0;
31394 PyObject *m, *d;
31395 int i;
31396 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31397 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31398 d = PyModule_GetDict(m);
31399
31400 if (!typeinit) {
31401 for (i = 0; swig_types_initial[i]; i++) {
31402 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31403 }
31404 typeinit = 1;
31405 }
31406 SWIG_InstallConstants(d,swig_const_table);
31407
31408 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31409 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31410 PyDict_SetItemString(d,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT));
31411 PyDict_SetItemString(d,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP));
31412 PyDict_SetItemString(d,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT));
31413 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM));
31414 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT));
31415 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW));
31416 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31417 PyDict_SetItemString(d,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE));
31418 PyDict_SetItemString(d,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE));
31419 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31420 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED));
31421 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED));
31422 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED));
31423 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31424 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31425 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31426 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL));
31427 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL));
31428 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH));
31429 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR));
31430 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31431 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31432 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31433 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31434 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31435 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL));
31436 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL));
31437 PyDict_SetItemString(d,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY));
31438 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE));
31439 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB));
31440 PyDict_SetItemString(d,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT));
31441 PyDict_SetItemString(d,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER));
31442 PyDict_SetItemString(d,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT));
31443 PyDict_SetItemString(d,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE));
31444 PyDict_SetItemString(d,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH));
31445 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER));
31446 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD));
31447 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL));
31448 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL));
31449 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP));
31450 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP));
31451 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP));
31452 PyDict_SetItemString(d,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2));
31453 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31454 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31455 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31456 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31457 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31458 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31459 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31460 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31461 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31462 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31463 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31464 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31465 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31466 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT));
31467 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31468 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31469 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31470 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS));
31471 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN));
31472 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE));
31473 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT));
31474 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW));
31475 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND));
31476 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31477 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31478 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31479 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31480 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31481 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31482 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31483 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL));
31484 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL));
31485 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS));
31486 PyDict_SetItemString(d,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP));
31487 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31488 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31489 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31490 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31491 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31492 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31493 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31494 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH));
31495 PyDict_SetItemString(d,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP));
31496 PyDict_SetItemString(d,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT));
31497 PyDict_SetItemString(d,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT));
31498 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM));
31499 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE));
31500 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE));
31501 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON));
31502 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL));
31503 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM));
31504 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31505 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31506 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT));
31507 PyDict_SetItemString(d,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP));
31508 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM));
31509 PyDict_SetItemString(d,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT));
31510 PyDict_SetItemString(d,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT));
31511 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK));
31512 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31513 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31514 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON));
31515 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31516 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL));
31517 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL));
31518 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL));
31519 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS));
31520 PyDict_SetItemString(d,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT));
31521 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE));
31522 PyDict_SetItemString(d,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS));
31523 PyDict_SetItemString(d,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT));
31524 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER));
31525 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN));
31526 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT));
31527 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT));
31528 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31529 PyDict_SetItemString(d,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES));
31530 PyDict_SetItemString(d,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES));
31531 PyDict_SetItemString(d,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON));
31532 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON));
31533 PyDict_SetItemString(d,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST));
31534 PyDict_SetItemString(d,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT));
31535 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP));
31536 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT));
31537 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE));
31538 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL));
31539 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS));
31540 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER));
31541 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER));
31542 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL));
31543 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING));
31544 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING));
31545 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE));
31546 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN));
31547 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT));
31548 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE));
31549 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT));
31550 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE));
31551 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA));
31552 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM));
31553 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH));
31554 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT));
31555 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE));
31556 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED));
31557 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED));
31558 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED));
31559 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT));
31560 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED));
31561 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED));
31562 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE));
31563 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED));
31564 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE));
31565 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE));
31566 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW));
31567 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE));
31568 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31569 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31570 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31571 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31572 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT));
31573 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT));
31574 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM));
31575 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE));
31576 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL));
31577 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW));
31578 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT));
31579 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT));
31580 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT));
31581 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT));
31582 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP));
31583 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31584 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT));
31585 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT));
31586 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE));
31587 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER));
31588 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE));
31589 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31590 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS));
31591 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON));
31592 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL));
31593 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP));
31594 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN));
31595 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT));
31596 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT));
31597 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31598 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31599 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31600 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31601 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31602 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31603 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31604 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31605 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31606 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31607 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31608 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31609 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31610 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31611 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31612 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31613 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31614 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31615 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31616 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31617 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31618 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31619
31620 // Map renamed classes back to their common name for OOR
31621 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31622
31623 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31624 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS));
31625 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS));
31626 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES));
31627 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT));
31628 PyDict_SetItemString(d,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE));
31629 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE));
31630 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED));
31631 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31632 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS));
31633 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT));
31634 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES));
31635 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31636 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE));
31637 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS));
31638 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS));
31639 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS));
31640 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal));
31641 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected));
31642 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded));
31643 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31644 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max));
31645 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE));
31646 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW));
31647 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE));
31648 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31649 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31650 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31651 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31652 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31653 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31654 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT));
31655 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT));
31656 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31657 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31658 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM));
31659 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31660 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31661 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31662 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31663 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31664 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31665 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31666 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31667 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31668 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31669 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31670 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31671 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31672 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31673 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31674 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31675 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31676 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31677 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31678 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31679
31680 // Map renamed classes back to their common name for OOR
31681 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31682 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31683
31684 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31685 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY));
31686 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31687 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31688 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31689 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31690 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31691 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31692 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31693 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31694
31695 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31696
31697 }
31698