]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
reSWIGged
[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.20
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
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121 #endif
122
123 /***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134 #include "Python.h"
135
136 #ifdef __cplusplus
137 extern "C" {
138 #endif
139
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
145
146 /* Flags for pointer conversion */
147
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
150
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
153
154 /* Constant information structure */
155 typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162 } swig_const_info;
163
164
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204 /* Contract support */
205
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216 #ifdef __cplusplus
217 }
218 #endif
219
220
221
222 /* -------- TYPES TABLE (BEGIN) -------- */
223
224 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
225 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
226 #define SWIGTYPE_p_wxSizer swig_types[2]
227 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
228 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
229 #define SWIGTYPE_p_wxCheckBox swig_types[5]
230 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
231 #define SWIGTYPE_p_wxEvent swig_types[7]
232 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
233 #define SWIGTYPE_p_bool swig_types[9]
234 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
235 #define SWIGTYPE_p_wxItemContainer swig_types[11]
236 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
237 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
238 #define SWIGTYPE_p_wxStaticLine swig_types[14]
239 #define SWIGTYPE_p_wxControl swig_types[15]
240 #define SWIGTYPE_p_wxPyControl swig_types[16]
241 #define SWIGTYPE_p_wxGauge swig_types[17]
242 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
243 #define SWIGTYPE_p_wxFont swig_types[19]
244 #define SWIGTYPE_p_wxToggleButton swig_types[20]
245 #define SWIGTYPE_p_wxRadioButton swig_types[21]
246 #define SWIGTYPE_p_wxChoice swig_types[22]
247 #define SWIGTYPE_p_wxListItemAttr swig_types[23]
248 #define SWIGTYPE_p_int swig_types[24]
249 #define SWIGTYPE_p_wxSize swig_types[25]
250 #define SWIGTYPE_p_wxListView swig_types[26]
251 #define SWIGTYPE_p_wxIcon swig_types[27]
252 #define SWIGTYPE_p_wxTextCtrl swig_types[28]
253 #define SWIGTYPE_p_wxNotebook swig_types[29]
254 #define SWIGTYPE_p_wxNotifyEvent swig_types[30]
255 #define SWIGTYPE_p_wxArrayString swig_types[31]
256 #define SWIGTYPE_p_wxListbook swig_types[32]
257 #define SWIGTYPE_p_wxStaticBitmap swig_types[33]
258 #define SWIGTYPE_p_wxSlider swig_types[34]
259 #define SWIGTYPE_p_wxStaticBox swig_types[35]
260 #define SWIGTYPE_p_wxArrayInt swig_types[36]
261 #define SWIGTYPE_p_wxContextHelp swig_types[37]
262 #define SWIGTYPE_p_long swig_types[38]
263 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
264 #define SWIGTYPE_p_wxListEvent swig_types[40]
265 #define SWIGTYPE_p_wxListBox swig_types[41]
266 #define SWIGTYPE_p_wxCheckListBox swig_types[42]
267 #define SWIGTYPE_p_wxBookCtrl swig_types[43]
268 #define SWIGTYPE_p_wxSpinButton swig_types[44]
269 #define SWIGTYPE_p_wxButton swig_types[45]
270 #define SWIGTYPE_p_wxBitmapButton swig_types[46]
271 #define SWIGTYPE_p_wxRect swig_types[47]
272 #define SWIGTYPE_p_wxContextHelpButton swig_types[48]
273 #define SWIGTYPE_p_wxRadioBox swig_types[49]
274 #define SWIGTYPE_p_wxScrollBar swig_types[50]
275 #define SWIGTYPE_p_wxTreeItemId swig_types[51]
276 #define SWIGTYPE_p_wxComboBox swig_types[52]
277 #define SWIGTYPE_p_wxHelpEvent swig_types[53]
278 #define SWIGTYPE_p_wxListItem swig_types[54]
279 #define SWIGTYPE_p_wxNotebookSizer swig_types[55]
280 #define SWIGTYPE_p_wxSpinCtrl swig_types[56]
281 #define SWIGTYPE_p_wxImageList swig_types[57]
282 #define SWIGTYPE_p_wxHelpProvider swig_types[58]
283 #define SWIGTYPE_p_wxTextAttr swig_types[59]
284 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[60]
285 #define SWIGTYPE_p_wxPoint swig_types[61]
286 #define SWIGTYPE_p_wxListbookEvent swig_types[62]
287 #define SWIGTYPE_p_wxNotebookEvent swig_types[63]
288 #define SWIGTYPE_p_wxObject swig_types[64]
289 #define SWIGTYPE_p_wxKeyEvent swig_types[65]
290 #define SWIGTYPE_p_wxWindow swig_types[66]
291 #define SWIGTYPE_p_wxString swig_types[67]
292 #define SWIGTYPE_p_wxBitmap swig_types[68]
293 #define SWIGTYPE_p_wxTreeEvent swig_types[69]
294 #define SWIGTYPE_p_wxMouseEvent swig_types[70]
295 #define SWIGTYPE_p_wxCommandEvent swig_types[71]
296 #define SWIGTYPE_p_wxStaticText swig_types[72]
297 #define SWIGTYPE_p_wxControlWithItems swig_types[73]
298 #define SWIGTYPE_p_wxToolBarToolBase swig_types[74]
299 #define SWIGTYPE_p_wxColour swig_types[75]
300 #define SWIGTYPE_p_wxToolBar swig_types[76]
301 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[77]
302 #define SWIGTYPE_p_wxValidator swig_types[78]
303 static swig_type_info *swig_types[80];
304
305 /* -------- TYPES TABLE (END) -------- */
306
307
308 /*-----------------------------------------------
309 @(target):= _controls.so
310 ------------------------------------------------*/
311 #define SWIG_init init_controls
312
313 #define SWIG_name "_controls"
314
315 #include "wx/wxPython/wxPython.h"
316 #include "wx/wxPython/pyclasses.h"
317
318 DECLARE_DEF_STRING(PanelNameStr);
319 DECLARE_DEF_STRING(EmptyString);
320 DECLARE_DEF_STRING(ControlNameStr);
321
322
323
324 DECLARE_DEF_STRING(ButtonNameStr);
325
326
327 DECLARE_DEF_STRING(CheckBoxNameStr);
328
329
330 DECLARE_DEF_STRING(ChoiceNameStr);
331
332
333 DECLARE_DEF_STRING(ComboBoxNameStr);
334
335
336 DECLARE_DEF_STRING(GaugeNameStr);
337
338
339 DECLARE_DEF_STRING(StaticBitmapNameStr);
340 DECLARE_DEF_STRING(StaticBoxNameStr);
341 DECLARE_DEF_STRING(StaticTextNameStr);
342
343
344 #include <wx/checklst.h>
345
346 DECLARE_DEF_STRING(ListBoxNameStr);
347
348 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
349 if (clientData) {
350 wxPyClientData* data = new wxPyClientData(clientData);
351 self->Insert(item, pos, data);
352 } else
353 self->Insert(item, pos);
354 }
355 PyObject *wxListBox_GetSelections(wxListBox *self){
356 wxArrayInt lst;
357 self->GetSelections(lst);
358 PyObject *tup = PyTuple_New(lst.GetCount());
359 for(size_t i=0; i<lst.GetCount(); i++) {
360 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
361 }
362 return tup;
363 }
364
365 DECLARE_DEF_STRING(TextCtrlNameStr);
366
367
368 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
369 PyObject* o2;
370 PyObject* o3;
371
372 if (!target) {
373 target = o;
374 } else if (target == Py_None) {
375 Py_DECREF(Py_None);
376 target = o;
377 } else {
378 if (!PyTuple_Check(target)) {
379 o2 = target;
380 target = PyTuple_New(1);
381 PyTuple_SetItem(target, 0, o2);
382 }
383 o3 = PyTuple_New(1);
384 PyTuple_SetItem(o3, 0, o);
385
386 o2 = target;
387 target = PySequence_Concat(o2, o3);
388 Py_DECREF(o2);
389 Py_DECREF(o3);
390 }
391 return target;
392 }
393
394 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
395 self->AppendText(text);
396 }
397 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
398 return self->GetValue().Mid(from, to - from);
399 }
400
401 DECLARE_DEF_STRING(ScrollBarNameStr);
402
403
404 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
405 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
406 DECLARE_DEF_STRING(SpinCtrlNameStr);
407
408
409 DECLARE_DEF_STRING(RadioBoxNameStr);
410 DECLARE_DEF_STRING(RadioButtonNameStr);
411
412
413 #include <wx/slider.h>
414
415 DECLARE_DEF_STRING(SliderNameStr);
416
417
418 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
419 DECLARE_DEF_STRING(ToggleButtonNameStr);
420
421
422 #ifdef __WXMAC__
423 // implement dummy classes and such for wxMac
424
425 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
426
427 class wxToggleButton : public wxControl
428 {
429 public:
430 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
431 const wxPoint&, const wxSize&, long,
432 const wxValidator&, const wxString&)
433 { PyErr_SetNone(PyExc_NotImplementedError); }
434
435 wxToggleButton()
436 { PyErr_SetNone(PyExc_NotImplementedError); }
437 };
438 #endif
439
440
441 DECLARE_DEF_STRING(NOTEBOOK_NAME);
442
443
444 DECLARE_DEF_STRING(ToolBarNameStr);
445
446 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
447 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
448 if (udata) {
449 Py_INCREF(udata->m_obj);
450 return udata->m_obj;
451 } else {
452 Py_INCREF(Py_None);
453 return Py_None;
454 }
455 }
456 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
457 self->SetClientData(new wxPyUserData(clientData));
458 }
459 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){
460 wxPyUserData* udata = NULL;
461 if (clientData && clientData != Py_None)
462 udata = new wxPyUserData(clientData);
463 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
464 shortHelp, longHelp, udata);
465 }
466 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){
467 wxPyUserData* udata = NULL;
468 if (clientData && clientData != Py_None)
469 udata = new wxPyUserData(clientData);
470 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
471 shortHelp, longHelp, udata);
472 }
473 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
474 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
475 if (udata) {
476 Py_INCREF(udata->m_obj);
477 return udata->m_obj;
478 } else {
479 Py_INCREF(Py_None);
480 return Py_None;
481 }
482 }
483 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
484 self->SetToolClientData(id, new wxPyUserData(clientData));
485 }
486
487 #include <wx/listctrl.h>
488
489 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
490 DECLARE_DEF_STRING(ListCtrlNameStr);
491
492 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
493 // Python aware sorting function for wxPyListCtrl
494 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
495 int retval = 0;
496 PyObject* func = (PyObject*)funcPtr;
497 wxPyBeginBlockThreads();
498
499 PyObject* args = Py_BuildValue("(ii)", item1, item2);
500 PyObject* result = PyEval_CallObject(func, args);
501 Py_DECREF(args);
502 if (result) {
503 retval = PyInt_AsLong(result);
504 Py_DECREF(result);
505 }
506
507 wxPyEndBlockThreads();
508 return retval;
509 }
510
511 // C++ Version of a Python aware class
512 class wxPyListCtrl : public wxListCtrl {
513 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
514 public:
515 wxPyListCtrl() : wxListCtrl() {}
516 wxPyListCtrl(wxWindow* parent, wxWindowID id,
517 const wxPoint& pos,
518 const wxSize& size,
519 long style,
520 const wxValidator& validator,
521 const wxString& name) :
522 wxListCtrl(parent, id, pos, size, style, validator, name) {}
523
524 bool Create(wxWindow* parent, wxWindowID id,
525 const wxPoint& pos,
526 const wxSize& size,
527 long style,
528 const wxValidator& validator,
529 const wxString& name) {
530 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
531 }
532
533 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
534 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
535 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
536
537 PYPRIVATE;
538 };
539
540 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
541
542 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
543 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
544 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
545
546 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
547 wxListItem item;
548 item.SetMask( wxLIST_MASK_STATE |
549 wxLIST_MASK_TEXT |
550 wxLIST_MASK_IMAGE |
551 wxLIST_MASK_DATA |
552 wxLIST_SET_ITEM |
553 wxLIST_MASK_WIDTH |
554 wxLIST_MASK_FORMAT
555 );
556 if (self->GetColumn(col, item))
557 return new wxListItem(item);
558 else
559 return NULL;
560 }
561 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
562 wxListItem* info = new wxListItem;
563 info->m_itemId = itemId;
564 info->m_col = col;
565 info->m_mask = 0xFFFF;
566 self->GetItem(*info);
567 return info;
568 }
569 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
570 wxPoint pos;
571 self->GetItemPosition(item, pos);
572 return pos;
573 }
574 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
575 wxRect rect;
576 self->GetItemRect(item, rect, code);
577 return rect;
578 }
579 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
580 if (!PyCallable_Check(func))
581 return FALSE;
582 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
583 }
584 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
585
586 return self;
587
588
589
590 }
591
592 #include <wx/treectrl.h>
593 #include "wx/wxPython/pytree.h"
594
595 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
596 DECLARE_DEF_STRING(_TreeCtrlNameStr);
597
598 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
599 if (!other) return false;
600 return *self == *other;
601 }
602 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
603 if (!other) return true;
604 return *self != *other;
605 }
606 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
607 // C++ version of Python aware wxTreeCtrl
608 class wxPyTreeCtrl : public wxTreeCtrl {
609 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
610 public:
611 wxPyTreeCtrl() : wxTreeCtrl() {}
612 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
613 const wxPoint& pos,
614 const wxSize& size,
615 long style,
616 const wxValidator& validator,
617 const wxString& name) :
618 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
619
620 bool Create(wxWindow *parent, wxWindowID id,
621 const wxPoint& pos,
622 const wxSize& size,
623 long style,
624 const wxValidator& validator,
625 const wxString& name) {
626 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
627 }
628
629
630 int OnCompareItems(const wxTreeItemId& item1,
631 const wxTreeItemId& item2) {
632 int rval = 0;
633 bool found;
634 wxPyBeginBlockThreads();
635 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
636 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
637 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
638 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
639 Py_DECREF(o1);
640 Py_DECREF(o2);
641 }
642 wxPyEndBlockThreads();
643 if (! found)
644 rval = wxTreeCtrl::OnCompareItems(item1, item2);
645 return rval;
646 }
647 PYPRIVATE;
648 };
649
650 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
651
652
653 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
654 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
655 if (data == NULL) {
656 data = new wxPyTreeItemData();
657 data->SetId(item); // set the id
658 self->SetItemData(item, data);
659 }
660 return data;
661 }
662 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
663 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
664 if (data == NULL) {
665 data = new wxPyTreeItemData();
666 data->SetId(item); // set the id
667 self->SetItemData(item, data);
668 }
669 return data->GetData();
670 }
671 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
672 data->SetId(item); // set the id
673 self->SetItemData(item, data);
674 }
675 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
676 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
677 if (data == NULL) {
678 data = new wxPyTreeItemData(obj);
679 data->SetId(item); // set the id
680 self->SetItemData(item, data);
681 } else
682 data->SetData(obj);
683 }
684 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
685 wxPyBeginBlockThreads();
686 PyObject* rval = PyList_New(0);
687 wxArrayTreeItemIds array;
688 size_t num, x;
689 num = self->GetSelections(array);
690 for (x=0; x < num; x++) {
691 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
692 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
693 PyList_Append(rval, item);
694 }
695 wxPyEndBlockThreads();
696 return rval;
697 }
698 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
699 wxTreeItemIdValue cookie = 0;
700 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
701 wxPyBeginBlockThreads();
702 PyObject* tup = PyTuple_New(2);
703 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true));
704 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), true));
705 wxPyEndBlockThreads();
706 return tup;
707 }
708 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
709 wxTreeItemId ritem = self->GetNextChild(item, cookie);
710 wxPyBeginBlockThreads();
711 PyObject* tup = PyTuple_New(2);
712 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true));
713 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), true));
714 wxPyEndBlockThreads();
715 return tup;
716 }
717 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
718 wxRect rect;
719 if (self->GetBoundingRect(item, rect, textOnly)) {
720 wxPyBeginBlockThreads();
721 wxRect* r = new wxRect(rect);
722 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
723 wxPyEndBlockThreads();
724 return val;
725 }
726 else
727 RETURN_NONE();
728 }
729
730 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
731
732 // C++ version of Python aware wxControl
733 class wxPyControl : public wxControl
734 {
735 DECLARE_DYNAMIC_CLASS(wxPyControl)
736 public:
737 wxPyControl() : wxControl() {}
738 wxPyControl(wxWindow* parent, const wxWindowID id,
739 const wxPoint& pos = wxDefaultPosition,
740 const wxSize& size = wxDefaultSize,
741 long style = 0,
742 const wxValidator& validator=wxDefaultValidator,
743 const wxString& name = wxPyControlNameStr)
744 : wxControl(parent, id, pos, size, style, validator, name) {}
745
746
747 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
748 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
749 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
750 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
751
752 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
753 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
754 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
755
756 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
757 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
758
759 DEC_PYCALLBACK__(InitDialog);
760 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
761 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
762 DEC_PYCALLBACK_BOOL_(Validate);
763
764 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
765 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
766 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
767
768 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
769 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
770
771 PYPRIVATE;
772 };
773
774 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
775
776 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
777 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
778 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
779 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
780
781 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
782 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
783 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
784
785 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
786 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
787
788 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
789 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
790 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
791 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
792
793 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
794 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
795 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
796
797 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
798 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
799
800
801
802
803 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
804 #ifdef __cplusplus
805 extern "C" {
806 #endif
807 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
808 PyObject *resultobj;
809 wxWindow *arg1 = (wxWindow *) 0 ;
810 wxWindowID arg2 ;
811 wxString *arg3 = 0 ;
812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
814 wxSize const &arg5_defvalue = wxDefaultSize ;
815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
816 long arg6 = (long) 0 ;
817 wxValidator const &arg7_defvalue = wxDefaultValidator ;
818 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
819 wxString const &arg8_defvalue = wxPyButtonNameStr ;
820 wxString *arg8 = (wxString *) &arg8_defvalue ;
821 wxButton *result;
822 bool temp3 = false ;
823 wxPoint temp4 ;
824 wxSize temp5 ;
825 bool temp8 = false ;
826 PyObject * obj0 = 0 ;
827 PyObject * obj2 = 0 ;
828 PyObject * obj3 = 0 ;
829 PyObject * obj4 = 0 ;
830 PyObject * obj6 = 0 ;
831 PyObject * obj7 = 0 ;
832 char *kwnames[] = {
833 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
834 };
835
836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
838 {
839 arg3 = wxString_in_helper(obj2);
840 if (arg3 == NULL) SWIG_fail;
841 temp3 = true;
842 }
843 if (obj3) {
844 {
845 arg4 = &temp4;
846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
847 }
848 }
849 if (obj4) {
850 {
851 arg5 = &temp5;
852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
853 }
854 }
855 if (obj6) {
856 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
857 if (arg7 == NULL) {
858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
859 }
860 }
861 if (obj7) {
862 {
863 arg8 = wxString_in_helper(obj7);
864 if (arg8 == NULL) SWIG_fail;
865 temp8 = true;
866 }
867 }
868 {
869 PyThreadState* __tstate = wxPyBeginAllowThreads();
870 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
871
872 wxPyEndAllowThreads(__tstate);
873 if (PyErr_Occurred()) SWIG_fail;
874 }
875 {
876 resultobj = wxPyMake_wxObject(result);
877 }
878 {
879 if (temp3)
880 delete arg3;
881 }
882 {
883 if (temp8)
884 delete arg8;
885 }
886 return resultobj;
887 fail:
888 {
889 if (temp3)
890 delete arg3;
891 }
892 {
893 if (temp8)
894 delete arg8;
895 }
896 return NULL;
897 }
898
899
900 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject *resultobj;
902 wxButton *result;
903 char *kwnames[] = {
904 NULL
905 };
906
907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
908 {
909 PyThreadState* __tstate = wxPyBeginAllowThreads();
910 result = (wxButton *)new wxButton();
911
912 wxPyEndAllowThreads(__tstate);
913 if (PyErr_Occurred()) SWIG_fail;
914 }
915 {
916 resultobj = wxPyMake_wxObject(result);
917 }
918 return resultobj;
919 fail:
920 return NULL;
921 }
922
923
924 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
925 PyObject *resultobj;
926 wxButton *arg1 = (wxButton *) 0 ;
927 wxWindow *arg2 = (wxWindow *) 0 ;
928 wxWindowID arg3 ;
929 wxString *arg4 = 0 ;
930 wxPoint const &arg5_defvalue = wxDefaultPosition ;
931 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
932 wxSize const &arg6_defvalue = wxDefaultSize ;
933 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
934 long arg7 = (long) 0 ;
935 wxValidator const &arg8_defvalue = wxDefaultValidator ;
936 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
937 wxString const &arg9_defvalue = wxPyButtonNameStr ;
938 wxString *arg9 = (wxString *) &arg9_defvalue ;
939 bool result;
940 bool temp4 = false ;
941 wxPoint temp5 ;
942 wxSize temp6 ;
943 bool temp9 = false ;
944 PyObject * obj0 = 0 ;
945 PyObject * obj1 = 0 ;
946 PyObject * obj3 = 0 ;
947 PyObject * obj4 = 0 ;
948 PyObject * obj5 = 0 ;
949 PyObject * obj7 = 0 ;
950 PyObject * obj8 = 0 ;
951 char *kwnames[] = {
952 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
953 };
954
955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
958 {
959 arg4 = wxString_in_helper(obj3);
960 if (arg4 == NULL) SWIG_fail;
961 temp4 = true;
962 }
963 if (obj4) {
964 {
965 arg5 = &temp5;
966 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
967 }
968 }
969 if (obj5) {
970 {
971 arg6 = &temp6;
972 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
973 }
974 }
975 if (obj7) {
976 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
977 if (arg8 == NULL) {
978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
979 }
980 }
981 if (obj8) {
982 {
983 arg9 = wxString_in_helper(obj8);
984 if (arg9 == NULL) SWIG_fail;
985 temp9 = true;
986 }
987 }
988 {
989 PyThreadState* __tstate = wxPyBeginAllowThreads();
990 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
991
992 wxPyEndAllowThreads(__tstate);
993 if (PyErr_Occurred()) SWIG_fail;
994 }
995 resultobj = PyInt_FromLong((long)result);
996 {
997 if (temp4)
998 delete arg4;
999 }
1000 {
1001 if (temp9)
1002 delete arg9;
1003 }
1004 return resultobj;
1005 fail:
1006 {
1007 if (temp4)
1008 delete arg4;
1009 }
1010 {
1011 if (temp9)
1012 delete arg9;
1013 }
1014 return NULL;
1015 }
1016
1017
1018 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1019 PyObject *resultobj;
1020 wxButton *arg1 = (wxButton *) 0 ;
1021 PyObject * obj0 = 0 ;
1022 char *kwnames[] = {
1023 (char *) "self", NULL
1024 };
1025
1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1028 {
1029 PyThreadState* __tstate = wxPyBeginAllowThreads();
1030 (arg1)->SetDefault();
1031
1032 wxPyEndAllowThreads(__tstate);
1033 if (PyErr_Occurred()) SWIG_fail;
1034 }
1035 Py_INCREF(Py_None); resultobj = Py_None;
1036 return resultobj;
1037 fail:
1038 return NULL;
1039 }
1040
1041
1042 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject *resultobj;
1044 wxButton *arg1 = (wxButton *) 0 ;
1045 wxBitmap *arg2 = 0 ;
1046 PyObject * obj0 = 0 ;
1047 PyObject * obj1 = 0 ;
1048 char *kwnames[] = {
1049 (char *) "self",(char *) "bitmap", NULL
1050 };
1051
1052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1055 if (arg2 == NULL) {
1056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1057 }
1058 {
1059 PyThreadState* __tstate = wxPyBeginAllowThreads();
1060 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1061
1062 wxPyEndAllowThreads(__tstate);
1063 if (PyErr_Occurred()) SWIG_fail;
1064 }
1065 Py_INCREF(Py_None); resultobj = Py_None;
1066 return resultobj;
1067 fail:
1068 return NULL;
1069 }
1070
1071
1072 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1073 PyObject *resultobj;
1074 wxButton *arg1 = (wxButton *) 0 ;
1075 wxCoord arg2 ;
1076 wxCoord arg3 ;
1077 PyObject * obj0 = 0 ;
1078 char *kwnames[] = {
1079 (char *) "self",(char *) "x",(char *) "y", NULL
1080 };
1081
1082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1084 {
1085 PyThreadState* __tstate = wxPyBeginAllowThreads();
1086 (arg1)->SetImageMargins(arg2,arg3);
1087
1088 wxPyEndAllowThreads(__tstate);
1089 if (PyErr_Occurred()) SWIG_fail;
1090 }
1091 Py_INCREF(Py_None); resultobj = Py_None;
1092 return resultobj;
1093 fail:
1094 return NULL;
1095 }
1096
1097
1098 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1099 PyObject *resultobj;
1100 wxSize result;
1101 char *kwnames[] = {
1102 NULL
1103 };
1104
1105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1106 {
1107 PyThreadState* __tstate = wxPyBeginAllowThreads();
1108 result = wxButton::GetDefaultSize();
1109
1110 wxPyEndAllowThreads(__tstate);
1111 if (PyErr_Occurred()) SWIG_fail;
1112 }
1113 {
1114 wxSize * resultptr;
1115 resultptr = new wxSize((wxSize &) result);
1116 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1117 }
1118 return resultobj;
1119 fail:
1120 return NULL;
1121 }
1122
1123
1124 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1125 PyObject *obj;
1126 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1127 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1128 Py_INCREF(obj);
1129 return Py_BuildValue((char *)"");
1130 }
1131 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1132 PyObject *resultobj;
1133 wxWindow *arg1 = (wxWindow *) 0 ;
1134 wxWindowID arg2 ;
1135 wxBitmap *arg3 = 0 ;
1136 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1137 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1138 wxSize const &arg5_defvalue = wxDefaultSize ;
1139 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1140 long arg6 = (long) wxBU_AUTODRAW ;
1141 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1142 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1143 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1144 wxString *arg8 = (wxString *) &arg8_defvalue ;
1145 wxBitmapButton *result;
1146 wxPoint temp4 ;
1147 wxSize temp5 ;
1148 bool temp8 = false ;
1149 PyObject * obj0 = 0 ;
1150 PyObject * obj2 = 0 ;
1151 PyObject * obj3 = 0 ;
1152 PyObject * obj4 = 0 ;
1153 PyObject * obj6 = 0 ;
1154 PyObject * obj7 = 0 ;
1155 char *kwnames[] = {
1156 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1157 };
1158
1159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1161 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1162 if (arg3 == NULL) {
1163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1164 }
1165 if (obj3) {
1166 {
1167 arg4 = &temp4;
1168 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1169 }
1170 }
1171 if (obj4) {
1172 {
1173 arg5 = &temp5;
1174 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1175 }
1176 }
1177 if (obj6) {
1178 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1179 if (arg7 == NULL) {
1180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1181 }
1182 }
1183 if (obj7) {
1184 {
1185 arg8 = wxString_in_helper(obj7);
1186 if (arg8 == NULL) SWIG_fail;
1187 temp8 = true;
1188 }
1189 }
1190 {
1191 PyThreadState* __tstate = wxPyBeginAllowThreads();
1192 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1193
1194 wxPyEndAllowThreads(__tstate);
1195 if (PyErr_Occurred()) SWIG_fail;
1196 }
1197 {
1198 resultobj = wxPyMake_wxObject(result);
1199 }
1200 {
1201 if (temp8)
1202 delete arg8;
1203 }
1204 return resultobj;
1205 fail:
1206 {
1207 if (temp8)
1208 delete arg8;
1209 }
1210 return NULL;
1211 }
1212
1213
1214 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1215 PyObject *resultobj;
1216 wxBitmapButton *result;
1217 char *kwnames[] = {
1218 NULL
1219 };
1220
1221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1222 {
1223 PyThreadState* __tstate = wxPyBeginAllowThreads();
1224 result = (wxBitmapButton *)new wxBitmapButton();
1225
1226 wxPyEndAllowThreads(__tstate);
1227 if (PyErr_Occurred()) SWIG_fail;
1228 }
1229 {
1230 resultobj = wxPyMake_wxObject(result);
1231 }
1232 return resultobj;
1233 fail:
1234 return NULL;
1235 }
1236
1237
1238 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1239 PyObject *resultobj;
1240 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1241 wxWindow *arg2 = (wxWindow *) 0 ;
1242 wxWindowID arg3 ;
1243 wxBitmap *arg4 = 0 ;
1244 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1245 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1246 wxSize const &arg6_defvalue = wxDefaultSize ;
1247 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1248 long arg7 = (long) wxBU_AUTODRAW ;
1249 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1250 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1251 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1252 wxString *arg9 = (wxString *) &arg9_defvalue ;
1253 bool result;
1254 wxPoint temp5 ;
1255 wxSize temp6 ;
1256 bool temp9 = false ;
1257 PyObject * obj0 = 0 ;
1258 PyObject * obj1 = 0 ;
1259 PyObject * obj3 = 0 ;
1260 PyObject * obj4 = 0 ;
1261 PyObject * obj5 = 0 ;
1262 PyObject * obj7 = 0 ;
1263 PyObject * obj8 = 0 ;
1264 char *kwnames[] = {
1265 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1266 };
1267
1268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1271 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1272 if (arg4 == NULL) {
1273 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1274 }
1275 if (obj4) {
1276 {
1277 arg5 = &temp5;
1278 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1279 }
1280 }
1281 if (obj5) {
1282 {
1283 arg6 = &temp6;
1284 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1285 }
1286 }
1287 if (obj7) {
1288 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1289 if (arg8 == NULL) {
1290 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1291 }
1292 }
1293 if (obj8) {
1294 {
1295 arg9 = wxString_in_helper(obj8);
1296 if (arg9 == NULL) SWIG_fail;
1297 temp9 = true;
1298 }
1299 }
1300 {
1301 PyThreadState* __tstate = wxPyBeginAllowThreads();
1302 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1303
1304 wxPyEndAllowThreads(__tstate);
1305 if (PyErr_Occurred()) SWIG_fail;
1306 }
1307 resultobj = PyInt_FromLong((long)result);
1308 {
1309 if (temp9)
1310 delete arg9;
1311 }
1312 return resultobj;
1313 fail:
1314 {
1315 if (temp9)
1316 delete arg9;
1317 }
1318 return NULL;
1319 }
1320
1321
1322 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1323 PyObject *resultobj;
1324 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1325 wxBitmap result;
1326 PyObject * obj0 = 0 ;
1327 char *kwnames[] = {
1328 (char *) "self", NULL
1329 };
1330
1331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1333 {
1334 PyThreadState* __tstate = wxPyBeginAllowThreads();
1335 result = (arg1)->GetBitmapLabel();
1336
1337 wxPyEndAllowThreads(__tstate);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 }
1340 {
1341 wxBitmap * resultptr;
1342 resultptr = new wxBitmap((wxBitmap &) result);
1343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1344 }
1345 return resultobj;
1346 fail:
1347 return NULL;
1348 }
1349
1350
1351 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject *resultobj;
1353 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1354 wxBitmap result;
1355 PyObject * obj0 = 0 ;
1356 char *kwnames[] = {
1357 (char *) "self", NULL
1358 };
1359
1360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1362 {
1363 PyThreadState* __tstate = wxPyBeginAllowThreads();
1364 result = (arg1)->GetBitmapDisabled();
1365
1366 wxPyEndAllowThreads(__tstate);
1367 if (PyErr_Occurred()) SWIG_fail;
1368 }
1369 {
1370 wxBitmap * resultptr;
1371 resultptr = new wxBitmap((wxBitmap &) result);
1372 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1373 }
1374 return resultobj;
1375 fail:
1376 return NULL;
1377 }
1378
1379
1380 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1381 PyObject *resultobj;
1382 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1383 wxBitmap result;
1384 PyObject * obj0 = 0 ;
1385 char *kwnames[] = {
1386 (char *) "self", NULL
1387 };
1388
1389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1391 {
1392 PyThreadState* __tstate = wxPyBeginAllowThreads();
1393 result = (arg1)->GetBitmapFocus();
1394
1395 wxPyEndAllowThreads(__tstate);
1396 if (PyErr_Occurred()) SWIG_fail;
1397 }
1398 {
1399 wxBitmap * resultptr;
1400 resultptr = new wxBitmap((wxBitmap &) result);
1401 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1402 }
1403 return resultobj;
1404 fail:
1405 return NULL;
1406 }
1407
1408
1409 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1410 PyObject *resultobj;
1411 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1412 wxBitmap result;
1413 PyObject * obj0 = 0 ;
1414 char *kwnames[] = {
1415 (char *) "self", NULL
1416 };
1417
1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 result = (arg1)->GetBitmapSelected();
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 {
1428 wxBitmap * resultptr;
1429 resultptr = new wxBitmap((wxBitmap &) result);
1430 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1431 }
1432 return resultobj;
1433 fail:
1434 return NULL;
1435 }
1436
1437
1438 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1439 PyObject *resultobj;
1440 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1441 wxBitmap *arg2 = 0 ;
1442 PyObject * obj0 = 0 ;
1443 PyObject * obj1 = 0 ;
1444 char *kwnames[] = {
1445 (char *) "self",(char *) "bitmap", NULL
1446 };
1447
1448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1451 if (arg2 == NULL) {
1452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1453 }
1454 {
1455 PyThreadState* __tstate = wxPyBeginAllowThreads();
1456 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1457
1458 wxPyEndAllowThreads(__tstate);
1459 if (PyErr_Occurred()) SWIG_fail;
1460 }
1461 Py_INCREF(Py_None); resultobj = Py_None;
1462 return resultobj;
1463 fail:
1464 return NULL;
1465 }
1466
1467
1468 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1469 PyObject *resultobj;
1470 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1471 wxBitmap *arg2 = 0 ;
1472 PyObject * obj0 = 0 ;
1473 PyObject * obj1 = 0 ;
1474 char *kwnames[] = {
1475 (char *) "self",(char *) "bitmap", NULL
1476 };
1477
1478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 if (arg2 == NULL) {
1482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1483 }
1484 {
1485 PyThreadState* __tstate = wxPyBeginAllowThreads();
1486 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1487
1488 wxPyEndAllowThreads(__tstate);
1489 if (PyErr_Occurred()) SWIG_fail;
1490 }
1491 Py_INCREF(Py_None); resultobj = Py_None;
1492 return resultobj;
1493 fail:
1494 return NULL;
1495 }
1496
1497
1498 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1501 wxBitmap *arg2 = 0 ;
1502 PyObject * obj0 = 0 ;
1503 PyObject * obj1 = 0 ;
1504 char *kwnames[] = {
1505 (char *) "self",(char *) "bitmap", NULL
1506 };
1507
1508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1511 if (arg2 == NULL) {
1512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1513 }
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 Py_INCREF(Py_None); resultobj = Py_None;
1522 return resultobj;
1523 fail:
1524 return NULL;
1525 }
1526
1527
1528 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1531 wxBitmap *arg2 = 0 ;
1532 PyObject * obj0 = 0 ;
1533 PyObject * obj1 = 0 ;
1534 char *kwnames[] = {
1535 (char *) "self",(char *) "bitmap", NULL
1536 };
1537
1538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541 if (arg2 == NULL) {
1542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1543 }
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 Py_INCREF(Py_None); resultobj = Py_None;
1552 return resultobj;
1553 fail:
1554 return NULL;
1555 }
1556
1557
1558 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1561 int arg2 ;
1562 int arg3 ;
1563 PyObject * obj0 = 0 ;
1564 char *kwnames[] = {
1565 (char *) "self",(char *) "x",(char *) "y", NULL
1566 };
1567
1568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1570 {
1571 PyThreadState* __tstate = wxPyBeginAllowThreads();
1572 (arg1)->SetMargins(arg2,arg3);
1573
1574 wxPyEndAllowThreads(__tstate);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 Py_INCREF(Py_None); resultobj = Py_None;
1578 return resultobj;
1579 fail:
1580 return NULL;
1581 }
1582
1583
1584 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1587 int result;
1588 PyObject * obj0 = 0 ;
1589 char *kwnames[] = {
1590 (char *) "self", NULL
1591 };
1592
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1595 {
1596 PyThreadState* __tstate = wxPyBeginAllowThreads();
1597 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1598
1599 wxPyEndAllowThreads(__tstate);
1600 if (PyErr_Occurred()) SWIG_fail;
1601 }
1602 resultobj = PyInt_FromLong((long)result);
1603 return resultobj;
1604 fail:
1605 return NULL;
1606 }
1607
1608
1609 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1610 PyObject *resultobj;
1611 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1612 int result;
1613 PyObject * obj0 = 0 ;
1614 char *kwnames[] = {
1615 (char *) "self", NULL
1616 };
1617
1618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1620 {
1621 PyThreadState* __tstate = wxPyBeginAllowThreads();
1622 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1623
1624 wxPyEndAllowThreads(__tstate);
1625 if (PyErr_Occurred()) SWIG_fail;
1626 }
1627 resultobj = PyInt_FromLong((long)result);
1628 return resultobj;
1629 fail:
1630 return NULL;
1631 }
1632
1633
1634 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1635 PyObject *obj;
1636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1637 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1638 Py_INCREF(obj);
1639 return Py_BuildValue((char *)"");
1640 }
1641 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1642 PyObject *resultobj;
1643 wxWindow *arg1 = (wxWindow *) 0 ;
1644 wxWindowID arg2 ;
1645 wxString *arg3 = 0 ;
1646 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1647 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1648 wxSize const &arg5_defvalue = wxDefaultSize ;
1649 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1650 long arg6 = (long) 0 ;
1651 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1652 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1653 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1654 wxString *arg8 = (wxString *) &arg8_defvalue ;
1655 wxCheckBox *result;
1656 bool temp3 = false ;
1657 wxPoint temp4 ;
1658 wxSize temp5 ;
1659 bool temp8 = false ;
1660 PyObject * obj0 = 0 ;
1661 PyObject * obj2 = 0 ;
1662 PyObject * obj3 = 0 ;
1663 PyObject * obj4 = 0 ;
1664 PyObject * obj6 = 0 ;
1665 PyObject * obj7 = 0 ;
1666 char *kwnames[] = {
1667 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1668 };
1669
1670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1672 {
1673 arg3 = wxString_in_helper(obj2);
1674 if (arg3 == NULL) SWIG_fail;
1675 temp3 = true;
1676 }
1677 if (obj3) {
1678 {
1679 arg4 = &temp4;
1680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1681 }
1682 }
1683 if (obj4) {
1684 {
1685 arg5 = &temp5;
1686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1687 }
1688 }
1689 if (obj6) {
1690 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1691 if (arg7 == NULL) {
1692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1693 }
1694 }
1695 if (obj7) {
1696 {
1697 arg8 = wxString_in_helper(obj7);
1698 if (arg8 == NULL) SWIG_fail;
1699 temp8 = true;
1700 }
1701 }
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1710 {
1711 if (temp3)
1712 delete arg3;
1713 }
1714 {
1715 if (temp8)
1716 delete arg8;
1717 }
1718 return resultobj;
1719 fail:
1720 {
1721 if (temp3)
1722 delete arg3;
1723 }
1724 {
1725 if (temp8)
1726 delete arg8;
1727 }
1728 return NULL;
1729 }
1730
1731
1732 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1733 PyObject *resultobj;
1734 wxCheckBox *result;
1735 char *kwnames[] = {
1736 NULL
1737 };
1738
1739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1740 {
1741 PyThreadState* __tstate = wxPyBeginAllowThreads();
1742 result = (wxCheckBox *)new wxCheckBox();
1743
1744 wxPyEndAllowThreads(__tstate);
1745 if (PyErr_Occurred()) SWIG_fail;
1746 }
1747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1748 return resultobj;
1749 fail:
1750 return NULL;
1751 }
1752
1753
1754 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1755 PyObject *resultobj;
1756 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1757 wxWindow *arg2 = (wxWindow *) 0 ;
1758 wxWindowID arg3 ;
1759 wxString *arg4 = 0 ;
1760 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1761 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1762 wxSize const &arg6_defvalue = wxDefaultSize ;
1763 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1764 long arg7 = (long) 0 ;
1765 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1766 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1767 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1768 wxString *arg9 = (wxString *) &arg9_defvalue ;
1769 bool result;
1770 bool temp4 = false ;
1771 wxPoint temp5 ;
1772 wxSize temp6 ;
1773 bool temp9 = false ;
1774 PyObject * obj0 = 0 ;
1775 PyObject * obj1 = 0 ;
1776 PyObject * obj3 = 0 ;
1777 PyObject * obj4 = 0 ;
1778 PyObject * obj5 = 0 ;
1779 PyObject * obj7 = 0 ;
1780 PyObject * obj8 = 0 ;
1781 char *kwnames[] = {
1782 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1783 };
1784
1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 {
1789 arg4 = wxString_in_helper(obj3);
1790 if (arg4 == NULL) SWIG_fail;
1791 temp4 = true;
1792 }
1793 if (obj4) {
1794 {
1795 arg5 = &temp5;
1796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1797 }
1798 }
1799 if (obj5) {
1800 {
1801 arg6 = &temp6;
1802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1803 }
1804 }
1805 if (obj7) {
1806 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1807 if (arg8 == NULL) {
1808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1809 }
1810 }
1811 if (obj8) {
1812 {
1813 arg9 = wxString_in_helper(obj8);
1814 if (arg9 == NULL) SWIG_fail;
1815 temp9 = true;
1816 }
1817 }
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 resultobj = PyInt_FromLong((long)result);
1826 {
1827 if (temp4)
1828 delete arg4;
1829 }
1830 {
1831 if (temp9)
1832 delete arg9;
1833 }
1834 return resultobj;
1835 fail:
1836 {
1837 if (temp4)
1838 delete arg4;
1839 }
1840 {
1841 if (temp9)
1842 delete arg9;
1843 }
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1851 bool result;
1852 PyObject * obj0 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self", NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 result = (bool)(arg1)->GetValue();
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 resultobj = PyInt_FromLong((long)result);
1867 return resultobj;
1868 fail:
1869 return NULL;
1870 }
1871
1872
1873 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1876 bool result;
1877 PyObject * obj0 = 0 ;
1878 char *kwnames[] = {
1879 (char *) "self", NULL
1880 };
1881
1882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (bool)(arg1)->IsChecked();
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 resultobj = PyInt_FromLong((long)result);
1892 return resultobj;
1893 fail:
1894 return NULL;
1895 }
1896
1897
1898 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1899 PyObject *resultobj;
1900 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1901 bool arg2 ;
1902 PyObject * obj0 = 0 ;
1903 PyObject * obj1 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self",(char *) "state", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1910 arg2 = PyInt_AsLong(obj1) ? true : false;
1911 if (PyErr_Occurred()) SWIG_fail;
1912 {
1913 PyThreadState* __tstate = wxPyBeginAllowThreads();
1914 (arg1)->SetValue(arg2);
1915
1916 wxPyEndAllowThreads(__tstate);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 }
1919 Py_INCREF(Py_None); resultobj = Py_None;
1920 return resultobj;
1921 fail:
1922 return NULL;
1923 }
1924
1925
1926 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1929 int result;
1930 PyObject * obj0 = 0 ;
1931 char *kwnames[] = {
1932 (char *) "self", NULL
1933 };
1934
1935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = PyInt_FromLong((long)result);
1945 return resultobj;
1946 fail:
1947 return NULL;
1948 }
1949
1950
1951 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1952 PyObject *resultobj;
1953 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1954 int arg2 ;
1955 PyObject * obj0 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self",(char *) "state", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1962 {
1963 PyThreadState* __tstate = wxPyBeginAllowThreads();
1964 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1965
1966 wxPyEndAllowThreads(__tstate);
1967 if (PyErr_Occurred()) SWIG_fail;
1968 }
1969 Py_INCREF(Py_None); resultobj = Py_None;
1970 return resultobj;
1971 fail:
1972 return NULL;
1973 }
1974
1975
1976 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject *resultobj;
1978 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1979 bool result;
1980 PyObject * obj0 = 0 ;
1981 char *kwnames[] = {
1982 (char *) "self", NULL
1983 };
1984
1985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1987 {
1988 PyThreadState* __tstate = wxPyBeginAllowThreads();
1989 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1990
1991 wxPyEndAllowThreads(__tstate);
1992 if (PyErr_Occurred()) SWIG_fail;
1993 }
1994 resultobj = PyInt_FromLong((long)result);
1995 return resultobj;
1996 fail:
1997 return NULL;
1998 }
1999
2000
2001 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2002 PyObject *resultobj;
2003 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2004 bool result;
2005 PyObject * obj0 = 0 ;
2006 char *kwnames[] = {
2007 (char *) "self", NULL
2008 };
2009
2010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2012 {
2013 PyThreadState* __tstate = wxPyBeginAllowThreads();
2014 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2015
2016 wxPyEndAllowThreads(__tstate);
2017 if (PyErr_Occurred()) SWIG_fail;
2018 }
2019 resultobj = PyInt_FromLong((long)result);
2020 return resultobj;
2021 fail:
2022 return NULL;
2023 }
2024
2025
2026 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2027 PyObject *obj;
2028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2029 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2030 Py_INCREF(obj);
2031 return Py_BuildValue((char *)"");
2032 }
2033 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2034 PyObject *resultobj;
2035 wxWindow *arg1 = (wxWindow *) 0 ;
2036 wxWindowID arg2 ;
2037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2039 wxSize const &arg4_defvalue = wxDefaultSize ;
2040 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2041 int arg5 = (int) 0 ;
2042 wxString *arg6 = (wxString *) NULL ;
2043 long arg7 = (long) 0 ;
2044 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2045 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2046 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2047 wxString *arg9 = (wxString *) &arg9_defvalue ;
2048 wxChoice *result;
2049 wxPoint temp3 ;
2050 wxSize temp4 ;
2051 bool temp8 = false ;
2052 PyObject * obj0 = 0 ;
2053 PyObject * obj2 = 0 ;
2054 PyObject * obj3 = 0 ;
2055 PyObject * obj4 = 0 ;
2056 PyObject * obj6 = 0 ;
2057 PyObject * obj7 = 0 ;
2058 char *kwnames[] = {
2059 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2060 };
2061
2062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2064 if (obj2) {
2065 {
2066 arg3 = &temp3;
2067 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2068 }
2069 }
2070 if (obj3) {
2071 {
2072 arg4 = &temp4;
2073 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2074 }
2075 }
2076 if (obj4) {
2077 {
2078 arg5 = PyList_Size(obj4);
2079 arg6 = wxString_LIST_helper(obj4);
2080 if (arg6 == NULL) SWIG_fail;
2081 }
2082 }
2083 if (obj6) {
2084 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2085 if (arg8 == NULL) {
2086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2087 }
2088 }
2089 if (obj7) {
2090 {
2091 arg9 = wxString_in_helper(obj7);
2092 if (arg9 == NULL) SWIG_fail;
2093 temp8 = true;
2094 }
2095 }
2096 {
2097 PyThreadState* __tstate = wxPyBeginAllowThreads();
2098 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2099
2100 wxPyEndAllowThreads(__tstate);
2101 if (PyErr_Occurred()) SWIG_fail;
2102 }
2103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2104 {
2105 if (arg6) delete [] arg6;
2106 }
2107 {
2108 if (temp8)
2109 delete arg9;
2110 }
2111 return resultobj;
2112 fail:
2113 {
2114 if (arg6) delete [] arg6;
2115 }
2116 {
2117 if (temp8)
2118 delete arg9;
2119 }
2120 return NULL;
2121 }
2122
2123
2124 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2125 PyObject *resultobj;
2126 wxChoice *result;
2127 char *kwnames[] = {
2128 NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2132 {
2133 PyThreadState* __tstate = wxPyBeginAllowThreads();
2134 result = (wxChoice *)new wxChoice();
2135
2136 wxPyEndAllowThreads(__tstate);
2137 if (PyErr_Occurred()) SWIG_fail;
2138 }
2139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2140 return resultobj;
2141 fail:
2142 return NULL;
2143 }
2144
2145
2146 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2147 PyObject *resultobj;
2148 wxChoice *arg1 = (wxChoice *) 0 ;
2149 wxWindow *arg2 = (wxWindow *) 0 ;
2150 wxWindowID arg3 ;
2151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2153 wxSize const &arg5_defvalue = wxDefaultSize ;
2154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2155 int arg6 = (int) 0 ;
2156 wxString *arg7 = (wxString *) NULL ;
2157 long arg8 = (long) 0 ;
2158 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2159 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2160 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2161 wxString *arg10 = (wxString *) &arg10_defvalue ;
2162 bool result;
2163 wxPoint temp4 ;
2164 wxSize temp5 ;
2165 bool temp9 = false ;
2166 PyObject * obj0 = 0 ;
2167 PyObject * obj1 = 0 ;
2168 PyObject * obj3 = 0 ;
2169 PyObject * obj4 = 0 ;
2170 PyObject * obj5 = 0 ;
2171 PyObject * obj7 = 0 ;
2172 PyObject * obj8 = 0 ;
2173 char *kwnames[] = {
2174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2175 };
2176
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2179 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2180 if (obj3) {
2181 {
2182 arg4 = &temp4;
2183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2184 }
2185 }
2186 if (obj4) {
2187 {
2188 arg5 = &temp5;
2189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2190 }
2191 }
2192 if (obj5) {
2193 {
2194 arg6 = PyList_Size(obj5);
2195 arg7 = wxString_LIST_helper(obj5);
2196 if (arg7 == NULL) SWIG_fail;
2197 }
2198 }
2199 if (obj7) {
2200 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2201 if (arg9 == NULL) {
2202 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2203 }
2204 }
2205 if (obj8) {
2206 {
2207 arg10 = wxString_in_helper(obj8);
2208 if (arg10 == NULL) SWIG_fail;
2209 temp9 = true;
2210 }
2211 }
2212 {
2213 PyThreadState* __tstate = wxPyBeginAllowThreads();
2214 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2215
2216 wxPyEndAllowThreads(__tstate);
2217 if (PyErr_Occurred()) SWIG_fail;
2218 }
2219 resultobj = PyInt_FromLong((long)result);
2220 {
2221 if (arg7) delete [] arg7;
2222 }
2223 {
2224 if (temp9)
2225 delete arg10;
2226 }
2227 return resultobj;
2228 fail:
2229 {
2230 if (arg7) delete [] arg7;
2231 }
2232 {
2233 if (temp9)
2234 delete arg10;
2235 }
2236 return NULL;
2237 }
2238
2239
2240 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2241 PyObject *resultobj;
2242 wxChoice *arg1 = (wxChoice *) 0 ;
2243 int result;
2244 PyObject * obj0 = 0 ;
2245 char *kwnames[] = {
2246 (char *) "self", NULL
2247 };
2248
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2251 {
2252 PyThreadState* __tstate = wxPyBeginAllowThreads();
2253 result = (int)(arg1)->GetColumns();
2254
2255 wxPyEndAllowThreads(__tstate);
2256 if (PyErr_Occurred()) SWIG_fail;
2257 }
2258 resultobj = PyInt_FromLong((long)result);
2259 return resultobj;
2260 fail:
2261 return NULL;
2262 }
2263
2264
2265 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2266 PyObject *resultobj;
2267 wxChoice *arg1 = (wxChoice *) 0 ;
2268 int arg2 = (int) (int)1 ;
2269 PyObject * obj0 = 0 ;
2270 char *kwnames[] = {
2271 (char *) "self",(char *) "n", NULL
2272 };
2273
2274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
2278 (arg1)->SetColumns(arg2);
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) SWIG_fail;
2282 }
2283 Py_INCREF(Py_None); resultobj = Py_None;
2284 return resultobj;
2285 fail:
2286 return NULL;
2287 }
2288
2289
2290 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2291 PyObject *resultobj;
2292 wxChoice *arg1 = (wxChoice *) 0 ;
2293 int arg2 ;
2294 PyObject * obj0 = 0 ;
2295 char *kwnames[] = {
2296 (char *) "self",(char *) "n", NULL
2297 };
2298
2299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2301 {
2302 PyThreadState* __tstate = wxPyBeginAllowThreads();
2303 (arg1)->SetSelection(arg2);
2304
2305 wxPyEndAllowThreads(__tstate);
2306 if (PyErr_Occurred()) SWIG_fail;
2307 }
2308 Py_INCREF(Py_None); resultobj = Py_None;
2309 return resultobj;
2310 fail:
2311 return NULL;
2312 }
2313
2314
2315 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2316 PyObject *resultobj;
2317 wxChoice *arg1 = (wxChoice *) 0 ;
2318 wxString *arg2 = 0 ;
2319 bool temp2 = false ;
2320 PyObject * obj0 = 0 ;
2321 PyObject * obj1 = 0 ;
2322 char *kwnames[] = {
2323 (char *) "self",(char *) "string", NULL
2324 };
2325
2326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2328 {
2329 arg2 = wxString_in_helper(obj1);
2330 if (arg2 == NULL) SWIG_fail;
2331 temp2 = true;
2332 }
2333 {
2334 PyThreadState* __tstate = wxPyBeginAllowThreads();
2335 (arg1)->SetStringSelection((wxString const &)*arg2);
2336
2337 wxPyEndAllowThreads(__tstate);
2338 if (PyErr_Occurred()) SWIG_fail;
2339 }
2340 Py_INCREF(Py_None); resultobj = Py_None;
2341 {
2342 if (temp2)
2343 delete arg2;
2344 }
2345 return resultobj;
2346 fail:
2347 {
2348 if (temp2)
2349 delete arg2;
2350 }
2351 return NULL;
2352 }
2353
2354
2355 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2356 PyObject *resultobj;
2357 wxChoice *arg1 = (wxChoice *) 0 ;
2358 int arg2 ;
2359 wxString *arg3 = 0 ;
2360 bool temp3 = false ;
2361 PyObject * obj0 = 0 ;
2362 PyObject * obj2 = 0 ;
2363 char *kwnames[] = {
2364 (char *) "self",(char *) "n",(char *) "s", NULL
2365 };
2366
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2369 {
2370 arg3 = wxString_in_helper(obj2);
2371 if (arg3 == NULL) SWIG_fail;
2372 temp3 = true;
2373 }
2374 {
2375 PyThreadState* __tstate = wxPyBeginAllowThreads();
2376 (arg1)->SetString(arg2,(wxString const &)*arg3);
2377
2378 wxPyEndAllowThreads(__tstate);
2379 if (PyErr_Occurred()) SWIG_fail;
2380 }
2381 Py_INCREF(Py_None); resultobj = Py_None;
2382 {
2383 if (temp3)
2384 delete arg3;
2385 }
2386 return resultobj;
2387 fail:
2388 {
2389 if (temp3)
2390 delete arg3;
2391 }
2392 return NULL;
2393 }
2394
2395
2396 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2397 PyObject *obj;
2398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2399 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2400 Py_INCREF(obj);
2401 return Py_BuildValue((char *)"");
2402 }
2403 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2404 PyObject *resultobj;
2405 wxWindow *arg1 = (wxWindow *) 0 ;
2406 wxWindowID arg2 ;
2407 wxString const &arg3_defvalue = wxPyEmptyString ;
2408 wxString *arg3 = (wxString *) &arg3_defvalue ;
2409 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2410 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2411 wxSize const &arg5_defvalue = wxDefaultSize ;
2412 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2413 int arg6 = (int) 0 ;
2414 wxString *arg7 = (wxString *) NULL ;
2415 long arg8 = (long) 0 ;
2416 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2417 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2418 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2419 wxString *arg10 = (wxString *) &arg10_defvalue ;
2420 wxComboBox *result;
2421 bool temp3 = false ;
2422 wxPoint temp4 ;
2423 wxSize temp5 ;
2424 bool temp9 = false ;
2425 PyObject * obj0 = 0 ;
2426 PyObject * obj2 = 0 ;
2427 PyObject * obj3 = 0 ;
2428 PyObject * obj4 = 0 ;
2429 PyObject * obj5 = 0 ;
2430 PyObject * obj7 = 0 ;
2431 PyObject * obj8 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2438 if (obj2) {
2439 {
2440 arg3 = wxString_in_helper(obj2);
2441 if (arg3 == NULL) SWIG_fail;
2442 temp3 = true;
2443 }
2444 }
2445 if (obj3) {
2446 {
2447 arg4 = &temp4;
2448 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2449 }
2450 }
2451 if (obj4) {
2452 {
2453 arg5 = &temp5;
2454 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2455 }
2456 }
2457 if (obj5) {
2458 {
2459 arg6 = PyList_Size(obj5);
2460 arg7 = wxString_LIST_helper(obj5);
2461 if (arg7 == NULL) SWIG_fail;
2462 }
2463 }
2464 if (obj7) {
2465 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2466 if (arg9 == NULL) {
2467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2468 }
2469 }
2470 if (obj8) {
2471 {
2472 arg10 = wxString_in_helper(obj8);
2473 if (arg10 == NULL) SWIG_fail;
2474 temp9 = true;
2475 }
2476 }
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2485 {
2486 if (temp3)
2487 delete arg3;
2488 }
2489 {
2490 if (arg7) delete [] arg7;
2491 }
2492 {
2493 if (temp9)
2494 delete arg10;
2495 }
2496 return resultobj;
2497 fail:
2498 {
2499 if (temp3)
2500 delete arg3;
2501 }
2502 {
2503 if (arg7) delete [] arg7;
2504 }
2505 {
2506 if (temp9)
2507 delete arg10;
2508 }
2509 return NULL;
2510 }
2511
2512
2513 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2514 PyObject *resultobj;
2515 wxComboBox *result;
2516 char *kwnames[] = {
2517 NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 result = (wxComboBox *)new wxComboBox();
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) SWIG_fail;
2527 }
2528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2529 return resultobj;
2530 fail:
2531 return NULL;
2532 }
2533
2534
2535 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2536 PyObject *resultobj;
2537 wxComboBox *arg1 = (wxComboBox *) 0 ;
2538 wxWindow *arg2 = (wxWindow *) 0 ;
2539 wxWindowID arg3 ;
2540 wxString const &arg4_defvalue = wxPyEmptyString ;
2541 wxString *arg4 = (wxString *) &arg4_defvalue ;
2542 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2543 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2544 wxSize const &arg6_defvalue = wxDefaultSize ;
2545 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2546 int arg7 = (int) 0 ;
2547 wxString *arg8 = (wxString *) NULL ;
2548 long arg9 = (long) 0 ;
2549 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2550 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2551 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2552 wxString *arg11 = (wxString *) &arg11_defvalue ;
2553 bool result;
2554 bool temp4 = false ;
2555 wxPoint temp5 ;
2556 wxSize temp6 ;
2557 bool temp10 = false ;
2558 PyObject * obj0 = 0 ;
2559 PyObject * obj1 = 0 ;
2560 PyObject * obj3 = 0 ;
2561 PyObject * obj4 = 0 ;
2562 PyObject * obj5 = 0 ;
2563 PyObject * obj6 = 0 ;
2564 PyObject * obj8 = 0 ;
2565 PyObject * obj9 = 0 ;
2566 char *kwnames[] = {
2567 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2568 };
2569
2570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2573 if (obj3) {
2574 {
2575 arg4 = wxString_in_helper(obj3);
2576 if (arg4 == NULL) SWIG_fail;
2577 temp4 = true;
2578 }
2579 }
2580 if (obj4) {
2581 {
2582 arg5 = &temp5;
2583 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2584 }
2585 }
2586 if (obj5) {
2587 {
2588 arg6 = &temp6;
2589 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2590 }
2591 }
2592 if (obj6) {
2593 {
2594 arg7 = PyList_Size(obj6);
2595 arg8 = wxString_LIST_helper(obj6);
2596 if (arg8 == NULL) SWIG_fail;
2597 }
2598 }
2599 if (obj8) {
2600 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2601 if (arg10 == NULL) {
2602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2603 }
2604 }
2605 if (obj9) {
2606 {
2607 arg11 = wxString_in_helper(obj9);
2608 if (arg11 == NULL) SWIG_fail;
2609 temp10 = true;
2610 }
2611 }
2612 {
2613 PyThreadState* __tstate = wxPyBeginAllowThreads();
2614 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2615
2616 wxPyEndAllowThreads(__tstate);
2617 if (PyErr_Occurred()) SWIG_fail;
2618 }
2619 resultobj = PyInt_FromLong((long)result);
2620 {
2621 if (temp4)
2622 delete arg4;
2623 }
2624 {
2625 if (arg8) delete [] arg8;
2626 }
2627 {
2628 if (temp10)
2629 delete arg11;
2630 }
2631 return resultobj;
2632 fail:
2633 {
2634 if (temp4)
2635 delete arg4;
2636 }
2637 {
2638 if (arg8) delete [] arg8;
2639 }
2640 {
2641 if (temp10)
2642 delete arg11;
2643 }
2644 return NULL;
2645 }
2646
2647
2648 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject *resultobj;
2650 wxComboBox *arg1 = (wxComboBox *) 0 ;
2651 wxString result;
2652 PyObject * obj0 = 0 ;
2653 char *kwnames[] = {
2654 (char *) "self", NULL
2655 };
2656
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2659 {
2660 PyThreadState* __tstate = wxPyBeginAllowThreads();
2661 result = ((wxComboBox const *)arg1)->GetValue();
2662
2663 wxPyEndAllowThreads(__tstate);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 }
2666 {
2667 #if wxUSE_UNICODE
2668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2669 #else
2670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2671 #endif
2672 }
2673 return resultobj;
2674 fail:
2675 return NULL;
2676 }
2677
2678
2679 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2680 PyObject *resultobj;
2681 wxComboBox *arg1 = (wxComboBox *) 0 ;
2682 wxString *arg2 = 0 ;
2683 bool temp2 = false ;
2684 PyObject * obj0 = 0 ;
2685 PyObject * obj1 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self",(char *) "value", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2692 {
2693 arg2 = wxString_in_helper(obj1);
2694 if (arg2 == NULL) SWIG_fail;
2695 temp2 = true;
2696 }
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 (arg1)->SetValue((wxString const &)*arg2);
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 Py_INCREF(Py_None); resultobj = Py_None;
2705 {
2706 if (temp2)
2707 delete arg2;
2708 }
2709 return resultobj;
2710 fail:
2711 {
2712 if (temp2)
2713 delete arg2;
2714 }
2715 return NULL;
2716 }
2717
2718
2719 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2720 PyObject *resultobj;
2721 wxComboBox *arg1 = (wxComboBox *) 0 ;
2722 PyObject * obj0 = 0 ;
2723 char *kwnames[] = {
2724 (char *) "self", NULL
2725 };
2726
2727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2729 {
2730 PyThreadState* __tstate = wxPyBeginAllowThreads();
2731 (arg1)->Copy();
2732
2733 wxPyEndAllowThreads(__tstate);
2734 if (PyErr_Occurred()) SWIG_fail;
2735 }
2736 Py_INCREF(Py_None); resultobj = Py_None;
2737 return resultobj;
2738 fail:
2739 return NULL;
2740 }
2741
2742
2743 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2744 PyObject *resultobj;
2745 wxComboBox *arg1 = (wxComboBox *) 0 ;
2746 PyObject * obj0 = 0 ;
2747 char *kwnames[] = {
2748 (char *) "self", NULL
2749 };
2750
2751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2753 {
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
2755 (arg1)->Cut();
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 }
2760 Py_INCREF(Py_None); resultobj = Py_None;
2761 return resultobj;
2762 fail:
2763 return NULL;
2764 }
2765
2766
2767 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2768 PyObject *resultobj;
2769 wxComboBox *arg1 = (wxComboBox *) 0 ;
2770 PyObject * obj0 = 0 ;
2771 char *kwnames[] = {
2772 (char *) "self", NULL
2773 };
2774
2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2777 {
2778 PyThreadState* __tstate = wxPyBeginAllowThreads();
2779 (arg1)->Paste();
2780
2781 wxPyEndAllowThreads(__tstate);
2782 if (PyErr_Occurred()) SWIG_fail;
2783 }
2784 Py_INCREF(Py_None); resultobj = Py_None;
2785 return resultobj;
2786 fail:
2787 return NULL;
2788 }
2789
2790
2791 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2792 PyObject *resultobj;
2793 wxComboBox *arg1 = (wxComboBox *) 0 ;
2794 long arg2 ;
2795 PyObject * obj0 = 0 ;
2796 char *kwnames[] = {
2797 (char *) "self",(char *) "pos", NULL
2798 };
2799
2800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2802 {
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 (arg1)->SetInsertionPoint(arg2);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 Py_INCREF(Py_None); resultobj = Py_None;
2810 return resultobj;
2811 fail:
2812 return NULL;
2813 }
2814
2815
2816 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2817 PyObject *resultobj;
2818 wxComboBox *arg1 = (wxComboBox *) 0 ;
2819 long result;
2820 PyObject * obj0 = 0 ;
2821 char *kwnames[] = {
2822 (char *) "self", NULL
2823 };
2824
2825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
2834 resultobj = PyInt_FromLong((long)result);
2835 return resultobj;
2836 fail:
2837 return NULL;
2838 }
2839
2840
2841 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2842 PyObject *resultobj;
2843 wxComboBox *arg1 = (wxComboBox *) 0 ;
2844 long result;
2845 PyObject * obj0 = 0 ;
2846 char *kwnames[] = {
2847 (char *) "self", NULL
2848 };
2849
2850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2852 {
2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
2854 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2855
2856 wxPyEndAllowThreads(__tstate);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 resultobj = PyInt_FromLong((long)result);
2860 return resultobj;
2861 fail:
2862 return NULL;
2863 }
2864
2865
2866 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2867 PyObject *resultobj;
2868 wxComboBox *arg1 = (wxComboBox *) 0 ;
2869 long arg2 ;
2870 long arg3 ;
2871 wxString *arg4 = 0 ;
2872 bool temp4 = false ;
2873 PyObject * obj0 = 0 ;
2874 PyObject * obj3 = 0 ;
2875 char *kwnames[] = {
2876 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2877 };
2878
2879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2881 {
2882 arg4 = wxString_in_helper(obj3);
2883 if (arg4 == NULL) SWIG_fail;
2884 temp4 = true;
2885 }
2886 {
2887 PyThreadState* __tstate = wxPyBeginAllowThreads();
2888 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2889
2890 wxPyEndAllowThreads(__tstate);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 Py_INCREF(Py_None); resultobj = Py_None;
2894 {
2895 if (temp4)
2896 delete arg4;
2897 }
2898 return resultobj;
2899 fail:
2900 {
2901 if (temp4)
2902 delete arg4;
2903 }
2904 return NULL;
2905 }
2906
2907
2908 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2909 PyObject *resultobj;
2910 wxComboBox *arg1 = (wxComboBox *) 0 ;
2911 long arg2 ;
2912 long arg3 ;
2913 PyObject * obj0 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "self",(char *) "from",(char *) "to", NULL
2916 };
2917
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 (arg1)->SetSelection(arg2,arg3);
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 Py_INCREF(Py_None); resultobj = Py_None;
2928 return resultobj;
2929 fail:
2930 return NULL;
2931 }
2932
2933
2934 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxComboBox *arg1 = (wxComboBox *) 0 ;
2937 bool arg2 ;
2938 PyObject * obj0 = 0 ;
2939 PyObject * obj1 = 0 ;
2940 char *kwnames[] = {
2941 (char *) "self",(char *) "editable", NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2946 arg2 = PyInt_AsLong(obj1) ? true : false;
2947 if (PyErr_Occurred()) SWIG_fail;
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 (arg1)->SetEditable(arg2);
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 Py_INCREF(Py_None); resultobj = Py_None;
2956 return resultobj;
2957 fail:
2958 return NULL;
2959 }
2960
2961
2962 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2963 PyObject *resultobj;
2964 wxComboBox *arg1 = (wxComboBox *) 0 ;
2965 PyObject * obj0 = 0 ;
2966 char *kwnames[] = {
2967 (char *) "self", NULL
2968 };
2969
2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2972 {
2973 PyThreadState* __tstate = wxPyBeginAllowThreads();
2974 (arg1)->SetInsertionPointEnd();
2975
2976 wxPyEndAllowThreads(__tstate);
2977 if (PyErr_Occurred()) SWIG_fail;
2978 }
2979 Py_INCREF(Py_None); resultobj = Py_None;
2980 return resultobj;
2981 fail:
2982 return NULL;
2983 }
2984
2985
2986 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2987 PyObject *resultobj;
2988 wxComboBox *arg1 = (wxComboBox *) 0 ;
2989 long arg2 ;
2990 long arg3 ;
2991 PyObject * obj0 = 0 ;
2992 char *kwnames[] = {
2993 (char *) "self",(char *) "from",(char *) "to", NULL
2994 };
2995
2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2998 {
2999 PyThreadState* __tstate = wxPyBeginAllowThreads();
3000 (arg1)->Remove(arg2,arg3);
3001
3002 wxPyEndAllowThreads(__tstate);
3003 if (PyErr_Occurred()) SWIG_fail;
3004 }
3005 Py_INCREF(Py_None); resultobj = Py_None;
3006 return resultobj;
3007 fail:
3008 return NULL;
3009 }
3010
3011
3012 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3013 PyObject *obj;
3014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3015 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3016 Py_INCREF(obj);
3017 return Py_BuildValue((char *)"");
3018 }
3019 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3020 PyObject *resultobj;
3021 wxWindow *arg1 = (wxWindow *) 0 ;
3022 wxWindowID arg2 ;
3023 int arg3 ;
3024 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3025 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3026 wxSize const &arg5_defvalue = wxDefaultSize ;
3027 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3028 long arg6 = (long) wxGA_HORIZONTAL ;
3029 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3030 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3031 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3032 wxString *arg8 = (wxString *) &arg8_defvalue ;
3033 wxGauge *result;
3034 wxPoint temp4 ;
3035 wxSize temp5 ;
3036 bool temp8 = false ;
3037 PyObject * obj0 = 0 ;
3038 PyObject * obj3 = 0 ;
3039 PyObject * obj4 = 0 ;
3040 PyObject * obj6 = 0 ;
3041 PyObject * obj7 = 0 ;
3042 char *kwnames[] = {
3043 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3044 };
3045
3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3048 if (obj3) {
3049 {
3050 arg4 = &temp4;
3051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3052 }
3053 }
3054 if (obj4) {
3055 {
3056 arg5 = &temp5;
3057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3058 }
3059 }
3060 if (obj6) {
3061 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3062 if (arg7 == NULL) {
3063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3064 }
3065 }
3066 if (obj7) {
3067 {
3068 arg8 = wxString_in_helper(obj7);
3069 if (arg8 == NULL) SWIG_fail;
3070 temp8 = true;
3071 }
3072 }
3073 {
3074 PyThreadState* __tstate = wxPyBeginAllowThreads();
3075 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3076
3077 wxPyEndAllowThreads(__tstate);
3078 if (PyErr_Occurred()) SWIG_fail;
3079 }
3080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3081 {
3082 if (temp8)
3083 delete arg8;
3084 }
3085 return resultobj;
3086 fail:
3087 {
3088 if (temp8)
3089 delete arg8;
3090 }
3091 return NULL;
3092 }
3093
3094
3095 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3096 PyObject *resultobj;
3097 wxGauge *result;
3098 char *kwnames[] = {
3099 NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3103 {
3104 PyThreadState* __tstate = wxPyBeginAllowThreads();
3105 result = (wxGauge *)new wxGauge();
3106
3107 wxPyEndAllowThreads(__tstate);
3108 if (PyErr_Occurred()) SWIG_fail;
3109 }
3110 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3111 return resultobj;
3112 fail:
3113 return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3118 PyObject *resultobj;
3119 wxGauge *arg1 = (wxGauge *) 0 ;
3120 wxWindow *arg2 = (wxWindow *) 0 ;
3121 wxWindowID arg3 ;
3122 int arg4 ;
3123 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3124 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3125 wxSize const &arg6_defvalue = wxDefaultSize ;
3126 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3127 long arg7 = (long) wxGA_HORIZONTAL ;
3128 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3129 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3130 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3131 wxString *arg9 = (wxString *) &arg9_defvalue ;
3132 bool result;
3133 wxPoint temp5 ;
3134 wxSize temp6 ;
3135 bool temp9 = false ;
3136 PyObject * obj0 = 0 ;
3137 PyObject * obj1 = 0 ;
3138 PyObject * obj4 = 0 ;
3139 PyObject * obj5 = 0 ;
3140 PyObject * obj7 = 0 ;
3141 PyObject * obj8 = 0 ;
3142 char *kwnames[] = {
3143 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3144 };
3145
3146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3149 if (obj4) {
3150 {
3151 arg5 = &temp5;
3152 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3153 }
3154 }
3155 if (obj5) {
3156 {
3157 arg6 = &temp6;
3158 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3159 }
3160 }
3161 if (obj7) {
3162 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 if (arg8 == NULL) {
3164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3165 }
3166 }
3167 if (obj8) {
3168 {
3169 arg9 = wxString_in_helper(obj8);
3170 if (arg9 == NULL) SWIG_fail;
3171 temp9 = true;
3172 }
3173 }
3174 {
3175 PyThreadState* __tstate = wxPyBeginAllowThreads();
3176 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3177
3178 wxPyEndAllowThreads(__tstate);
3179 if (PyErr_Occurred()) SWIG_fail;
3180 }
3181 resultobj = PyInt_FromLong((long)result);
3182 {
3183 if (temp9)
3184 delete arg9;
3185 }
3186 return resultobj;
3187 fail:
3188 {
3189 if (temp9)
3190 delete arg9;
3191 }
3192 return NULL;
3193 }
3194
3195
3196 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3197 PyObject *resultobj;
3198 wxGauge *arg1 = (wxGauge *) 0 ;
3199 int arg2 ;
3200 PyObject * obj0 = 0 ;
3201 char *kwnames[] = {
3202 (char *) "self",(char *) "range", NULL
3203 };
3204
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 (arg1)->SetRange(arg2);
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
3214 Py_INCREF(Py_None); resultobj = Py_None;
3215 return resultobj;
3216 fail:
3217 return NULL;
3218 }
3219
3220
3221 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxGauge *arg1 = (wxGauge *) 0 ;
3224 int result;
3225 PyObject * obj0 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3232 {
3233 PyThreadState* __tstate = wxPyBeginAllowThreads();
3234 result = (int)((wxGauge const *)arg1)->GetRange();
3235
3236 wxPyEndAllowThreads(__tstate);
3237 if (PyErr_Occurred()) SWIG_fail;
3238 }
3239 resultobj = PyInt_FromLong((long)result);
3240 return resultobj;
3241 fail:
3242 return NULL;
3243 }
3244
3245
3246 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject *resultobj;
3248 wxGauge *arg1 = (wxGauge *) 0 ;
3249 int arg2 ;
3250 PyObject * obj0 = 0 ;
3251 char *kwnames[] = {
3252 (char *) "self",(char *) "pos", NULL
3253 };
3254
3255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3257 {
3258 PyThreadState* __tstate = wxPyBeginAllowThreads();
3259 (arg1)->SetValue(arg2);
3260
3261 wxPyEndAllowThreads(__tstate);
3262 if (PyErr_Occurred()) SWIG_fail;
3263 }
3264 Py_INCREF(Py_None); resultobj = Py_None;
3265 return resultobj;
3266 fail:
3267 return NULL;
3268 }
3269
3270
3271 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject *resultobj;
3273 wxGauge *arg1 = (wxGauge *) 0 ;
3274 int result;
3275 PyObject * obj0 = 0 ;
3276 char *kwnames[] = {
3277 (char *) "self", NULL
3278 };
3279
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3282 {
3283 PyThreadState* __tstate = wxPyBeginAllowThreads();
3284 result = (int)((wxGauge const *)arg1)->GetValue();
3285
3286 wxPyEndAllowThreads(__tstate);
3287 if (PyErr_Occurred()) SWIG_fail;
3288 }
3289 resultobj = PyInt_FromLong((long)result);
3290 return resultobj;
3291 fail:
3292 return NULL;
3293 }
3294
3295
3296 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3297 PyObject *resultobj;
3298 wxGauge *arg1 = (wxGauge *) 0 ;
3299 bool result;
3300 PyObject * obj0 = 0 ;
3301 char *kwnames[] = {
3302 (char *) "self", NULL
3303 };
3304
3305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3307 {
3308 PyThreadState* __tstate = wxPyBeginAllowThreads();
3309 result = (bool)((wxGauge const *)arg1)->IsVertical();
3310
3311 wxPyEndAllowThreads(__tstate);
3312 if (PyErr_Occurred()) SWIG_fail;
3313 }
3314 resultobj = PyInt_FromLong((long)result);
3315 return resultobj;
3316 fail:
3317 return NULL;
3318 }
3319
3320
3321 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3322 PyObject *resultobj;
3323 wxGauge *arg1 = (wxGauge *) 0 ;
3324 int arg2 ;
3325 PyObject * obj0 = 0 ;
3326 char *kwnames[] = {
3327 (char *) "self",(char *) "w", NULL
3328 };
3329
3330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 (arg1)->SetShadowWidth(arg2);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 Py_INCREF(Py_None); resultobj = Py_None;
3340 return resultobj;
3341 fail:
3342 return NULL;
3343 }
3344
3345
3346 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj;
3348 wxGauge *arg1 = (wxGauge *) 0 ;
3349 int result;
3350 PyObject * obj0 = 0 ;
3351 char *kwnames[] = {
3352 (char *) "self", NULL
3353 };
3354
3355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3360
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 }
3364 resultobj = PyInt_FromLong((long)result);
3365 return resultobj;
3366 fail:
3367 return NULL;
3368 }
3369
3370
3371 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj;
3373 wxGauge *arg1 = (wxGauge *) 0 ;
3374 int arg2 ;
3375 PyObject * obj0 = 0 ;
3376 char *kwnames[] = {
3377 (char *) "self",(char *) "w", NULL
3378 };
3379
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 (arg1)->SetBezelFace(arg2);
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 Py_INCREF(Py_None); resultobj = Py_None;
3390 return resultobj;
3391 fail:
3392 return NULL;
3393 }
3394
3395
3396 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxGauge *arg1 = (wxGauge *) 0 ;
3399 int result;
3400 PyObject * obj0 = 0 ;
3401 char *kwnames[] = {
3402 (char *) "self", NULL
3403 };
3404
3405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3407 {
3408 PyThreadState* __tstate = wxPyBeginAllowThreads();
3409 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3410
3411 wxPyEndAllowThreads(__tstate);
3412 if (PyErr_Occurred()) SWIG_fail;
3413 }
3414 resultobj = PyInt_FromLong((long)result);
3415 return resultobj;
3416 fail:
3417 return NULL;
3418 }
3419
3420
3421 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3422 PyObject *obj;
3423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3424 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3425 Py_INCREF(obj);
3426 return Py_BuildValue((char *)"");
3427 }
3428 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 wxWindow *arg1 = (wxWindow *) 0 ;
3431 wxWindowID arg2 ;
3432 wxString *arg3 = 0 ;
3433 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3434 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3435 wxSize const &arg5_defvalue = wxDefaultSize ;
3436 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3437 long arg6 = (long) 0 ;
3438 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3439 wxString *arg7 = (wxString *) &arg7_defvalue ;
3440 wxStaticBox *result;
3441 bool temp3 = false ;
3442 wxPoint temp4 ;
3443 wxSize temp5 ;
3444 bool temp7 = false ;
3445 PyObject * obj0 = 0 ;
3446 PyObject * obj2 = 0 ;
3447 PyObject * obj3 = 0 ;
3448 PyObject * obj4 = 0 ;
3449 PyObject * obj6 = 0 ;
3450 char *kwnames[] = {
3451 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3452 };
3453
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3456 {
3457 arg3 = wxString_in_helper(obj2);
3458 if (arg3 == NULL) SWIG_fail;
3459 temp3 = true;
3460 }
3461 if (obj3) {
3462 {
3463 arg4 = &temp4;
3464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3465 }
3466 }
3467 if (obj4) {
3468 {
3469 arg5 = &temp5;
3470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3471 }
3472 }
3473 if (obj6) {
3474 {
3475 arg7 = wxString_in_helper(obj6);
3476 if (arg7 == NULL) SWIG_fail;
3477 temp7 = true;
3478 }
3479 }
3480 {
3481 PyThreadState* __tstate = wxPyBeginAllowThreads();
3482 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3483
3484 wxPyEndAllowThreads(__tstate);
3485 if (PyErr_Occurred()) SWIG_fail;
3486 }
3487 {
3488 resultobj = wxPyMake_wxObject(result);
3489 }
3490 {
3491 if (temp3)
3492 delete arg3;
3493 }
3494 {
3495 if (temp7)
3496 delete arg7;
3497 }
3498 return resultobj;
3499 fail:
3500 {
3501 if (temp3)
3502 delete arg3;
3503 }
3504 {
3505 if (temp7)
3506 delete arg7;
3507 }
3508 return NULL;
3509 }
3510
3511
3512 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxStaticBox *result;
3515 char *kwnames[] = {
3516 NULL
3517 };
3518
3519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3520 {
3521 PyThreadState* __tstate = wxPyBeginAllowThreads();
3522 result = (wxStaticBox *)new wxStaticBox();
3523
3524 wxPyEndAllowThreads(__tstate);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 {
3528 resultobj = wxPyMake_wxObject(result);
3529 }
3530 return resultobj;
3531 fail:
3532 return NULL;
3533 }
3534
3535
3536 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3537 PyObject *resultobj;
3538 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3539 wxWindow *arg2 = (wxWindow *) 0 ;
3540 wxWindowID arg3 ;
3541 wxString *arg4 = 0 ;
3542 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3543 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3544 wxSize const &arg6_defvalue = wxDefaultSize ;
3545 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3546 long arg7 = (long) 0 ;
3547 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3548 wxString *arg8 = (wxString *) &arg8_defvalue ;
3549 bool result;
3550 bool temp4 = false ;
3551 wxPoint temp5 ;
3552 wxSize temp6 ;
3553 bool temp8 = false ;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3556 PyObject * obj3 = 0 ;
3557 PyObject * obj4 = 0 ;
3558 PyObject * obj5 = 0 ;
3559 PyObject * obj7 = 0 ;
3560 char *kwnames[] = {
3561 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3562 };
3563
3564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3567 {
3568 arg4 = wxString_in_helper(obj3);
3569 if (arg4 == NULL) SWIG_fail;
3570 temp4 = true;
3571 }
3572 if (obj4) {
3573 {
3574 arg5 = &temp5;
3575 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3576 }
3577 }
3578 if (obj5) {
3579 {
3580 arg6 = &temp6;
3581 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3582 }
3583 }
3584 if (obj7) {
3585 {
3586 arg8 = wxString_in_helper(obj7);
3587 if (arg8 == NULL) SWIG_fail;
3588 temp8 = true;
3589 }
3590 }
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3594
3595 wxPyEndAllowThreads(__tstate);
3596 if (PyErr_Occurred()) SWIG_fail;
3597 }
3598 resultobj = PyInt_FromLong((long)result);
3599 {
3600 if (temp4)
3601 delete arg4;
3602 }
3603 {
3604 if (temp8)
3605 delete arg8;
3606 }
3607 return resultobj;
3608 fail:
3609 {
3610 if (temp4)
3611 delete arg4;
3612 }
3613 {
3614 if (temp8)
3615 delete arg8;
3616 }
3617 return NULL;
3618 }
3619
3620
3621 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3622 PyObject *obj;
3623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3624 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3625 Py_INCREF(obj);
3626 return Py_BuildValue((char *)"");
3627 }
3628 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3629 PyObject *resultobj;
3630 wxWindow *arg1 = (wxWindow *) 0 ;
3631 wxWindowID arg2 ;
3632 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3633 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3634 wxSize const &arg4_defvalue = wxDefaultSize ;
3635 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3636 long arg5 = (long) wxLI_HORIZONTAL ;
3637 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3638 wxString *arg6 = (wxString *) &arg6_defvalue ;
3639 wxStaticLine *result;
3640 wxPoint temp3 ;
3641 wxSize temp4 ;
3642 bool temp6 = false ;
3643 PyObject * obj0 = 0 ;
3644 PyObject * obj2 = 0 ;
3645 PyObject * obj3 = 0 ;
3646 PyObject * obj5 = 0 ;
3647 char *kwnames[] = {
3648 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3649 };
3650
3651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3653 if (obj2) {
3654 {
3655 arg3 = &temp3;
3656 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3657 }
3658 }
3659 if (obj3) {
3660 {
3661 arg4 = &temp4;
3662 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3663 }
3664 }
3665 if (obj5) {
3666 {
3667 arg6 = wxString_in_helper(obj5);
3668 if (arg6 == NULL) SWIG_fail;
3669 temp6 = true;
3670 }
3671 }
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3680 {
3681 if (temp6)
3682 delete arg6;
3683 }
3684 return resultobj;
3685 fail:
3686 {
3687 if (temp6)
3688 delete arg6;
3689 }
3690 return NULL;
3691 }
3692
3693
3694 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3695 PyObject *resultobj;
3696 wxStaticLine *result;
3697 char *kwnames[] = {
3698 NULL
3699 };
3700
3701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (wxStaticLine *)new wxStaticLine();
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3710 return resultobj;
3711 fail:
3712 return NULL;
3713 }
3714
3715
3716 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj;
3718 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3719 wxWindow *arg2 = (wxWindow *) 0 ;
3720 wxWindowID arg3 ;
3721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3723 wxSize const &arg5_defvalue = wxDefaultSize ;
3724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3725 long arg6 = (long) wxLI_HORIZONTAL ;
3726 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3727 wxString *arg7 = (wxString *) &arg7_defvalue ;
3728 bool result;
3729 wxPoint temp4 ;
3730 wxSize temp5 ;
3731 bool temp7 = false ;
3732 PyObject * obj0 = 0 ;
3733 PyObject * obj1 = 0 ;
3734 PyObject * obj3 = 0 ;
3735 PyObject * obj4 = 0 ;
3736 PyObject * obj6 = 0 ;
3737 char *kwnames[] = {
3738 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3739 };
3740
3741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3744 if (obj3) {
3745 {
3746 arg4 = &temp4;
3747 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3748 }
3749 }
3750 if (obj4) {
3751 {
3752 arg5 = &temp5;
3753 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3754 }
3755 }
3756 if (obj6) {
3757 {
3758 arg7 = wxString_in_helper(obj6);
3759 if (arg7 == NULL) SWIG_fail;
3760 temp7 = true;
3761 }
3762 }
3763 {
3764 PyThreadState* __tstate = wxPyBeginAllowThreads();
3765 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3766
3767 wxPyEndAllowThreads(__tstate);
3768 if (PyErr_Occurred()) SWIG_fail;
3769 }
3770 resultobj = PyInt_FromLong((long)result);
3771 {
3772 if (temp7)
3773 delete arg7;
3774 }
3775 return resultobj;
3776 fail:
3777 {
3778 if (temp7)
3779 delete arg7;
3780 }
3781 return NULL;
3782 }
3783
3784
3785 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3786 PyObject *resultobj;
3787 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3788 bool result;
3789 PyObject * obj0 = 0 ;
3790 char *kwnames[] = {
3791 (char *) "self", NULL
3792 };
3793
3794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3799
3800 wxPyEndAllowThreads(__tstate);
3801 if (PyErr_Occurred()) SWIG_fail;
3802 }
3803 resultobj = PyInt_FromLong((long)result);
3804 return resultobj;
3805 fail:
3806 return NULL;
3807 }
3808
3809
3810 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3811 PyObject *resultobj;
3812 int result;
3813 char *kwnames[] = {
3814 NULL
3815 };
3816
3817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3818 {
3819 PyThreadState* __tstate = wxPyBeginAllowThreads();
3820 result = (int)wxStaticLine::GetDefaultSize();
3821
3822 wxPyEndAllowThreads(__tstate);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 resultobj = PyInt_FromLong((long)result);
3826 return resultobj;
3827 fail:
3828 return NULL;
3829 }
3830
3831
3832 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3833 PyObject *obj;
3834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3835 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3836 Py_INCREF(obj);
3837 return Py_BuildValue((char *)"");
3838 }
3839 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3840 PyObject *resultobj;
3841 wxWindow *arg1 = (wxWindow *) 0 ;
3842 wxWindowID arg2 ;
3843 wxString *arg3 = 0 ;
3844 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3845 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3846 wxSize const &arg5_defvalue = wxDefaultSize ;
3847 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3848 long arg6 = (long) 0 ;
3849 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3850 wxString *arg7 = (wxString *) &arg7_defvalue ;
3851 wxStaticText *result;
3852 bool temp3 = false ;
3853 wxPoint temp4 ;
3854 wxSize temp5 ;
3855 bool temp7 = false ;
3856 PyObject * obj0 = 0 ;
3857 PyObject * obj2 = 0 ;
3858 PyObject * obj3 = 0 ;
3859 PyObject * obj4 = 0 ;
3860 PyObject * obj6 = 0 ;
3861 char *kwnames[] = {
3862 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3863 };
3864
3865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3867 {
3868 arg3 = wxString_in_helper(obj2);
3869 if (arg3 == NULL) SWIG_fail;
3870 temp3 = true;
3871 }
3872 if (obj3) {
3873 {
3874 arg4 = &temp4;
3875 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3876 }
3877 }
3878 if (obj4) {
3879 {
3880 arg5 = &temp5;
3881 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3882 }
3883 }
3884 if (obj6) {
3885 {
3886 arg7 = wxString_in_helper(obj6);
3887 if (arg7 == NULL) SWIG_fail;
3888 temp7 = true;
3889 }
3890 }
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3894
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3899 {
3900 if (temp3)
3901 delete arg3;
3902 }
3903 {
3904 if (temp7)
3905 delete arg7;
3906 }
3907 return resultobj;
3908 fail:
3909 {
3910 if (temp3)
3911 delete arg3;
3912 }
3913 {
3914 if (temp7)
3915 delete arg7;
3916 }
3917 return NULL;
3918 }
3919
3920
3921 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3922 PyObject *resultobj;
3923 wxStaticText *result;
3924 char *kwnames[] = {
3925 NULL
3926 };
3927
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 result = (wxStaticText *)new wxStaticText();
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3937 return resultobj;
3938 fail:
3939 return NULL;
3940 }
3941
3942
3943 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3944 PyObject *resultobj;
3945 wxStaticText *arg1 = (wxStaticText *) 0 ;
3946 wxWindow *arg2 = (wxWindow *) 0 ;
3947 wxWindowID arg3 ;
3948 wxString *arg4 = 0 ;
3949 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3950 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3951 wxSize const &arg6_defvalue = wxDefaultSize ;
3952 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3953 long arg7 = (long) 0 ;
3954 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3955 wxString *arg8 = (wxString *) &arg8_defvalue ;
3956 bool result;
3957 bool temp4 = false ;
3958 wxPoint temp5 ;
3959 wxSize temp6 ;
3960 bool temp8 = false ;
3961 PyObject * obj0 = 0 ;
3962 PyObject * obj1 = 0 ;
3963 PyObject * obj3 = 0 ;
3964 PyObject * obj4 = 0 ;
3965 PyObject * obj5 = 0 ;
3966 PyObject * obj7 = 0 ;
3967 char *kwnames[] = {
3968 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3969 };
3970
3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3974 {
3975 arg4 = wxString_in_helper(obj3);
3976 if (arg4 == NULL) SWIG_fail;
3977 temp4 = true;
3978 }
3979 if (obj4) {
3980 {
3981 arg5 = &temp5;
3982 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3983 }
3984 }
3985 if (obj5) {
3986 {
3987 arg6 = &temp6;
3988 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3989 }
3990 }
3991 if (obj7) {
3992 {
3993 arg8 = wxString_in_helper(obj7);
3994 if (arg8 == NULL) SWIG_fail;
3995 temp8 = true;
3996 }
3997 }
3998 {
3999 PyThreadState* __tstate = wxPyBeginAllowThreads();
4000 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4001
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 resultobj = PyInt_FromLong((long)result);
4006 {
4007 if (temp4)
4008 delete arg4;
4009 }
4010 {
4011 if (temp8)
4012 delete arg8;
4013 }
4014 return resultobj;
4015 fail:
4016 {
4017 if (temp4)
4018 delete arg4;
4019 }
4020 {
4021 if (temp8)
4022 delete arg8;
4023 }
4024 return NULL;
4025 }
4026
4027
4028 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4029 PyObject *obj;
4030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4031 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4032 Py_INCREF(obj);
4033 return Py_BuildValue((char *)"");
4034 }
4035 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj;
4037 wxWindow *arg1 = (wxWindow *) 0 ;
4038 wxWindowID arg2 ;
4039 wxBitmap *arg3 = 0 ;
4040 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4041 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4042 wxSize const &arg5_defvalue = wxDefaultSize ;
4043 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4044 long arg6 = (long) 0 ;
4045 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4046 wxString *arg7 = (wxString *) &arg7_defvalue ;
4047 wxStaticBitmap *result;
4048 wxPoint temp4 ;
4049 wxSize temp5 ;
4050 bool temp7 = false ;
4051 PyObject * obj0 = 0 ;
4052 PyObject * obj2 = 0 ;
4053 PyObject * obj3 = 0 ;
4054 PyObject * obj4 = 0 ;
4055 PyObject * obj6 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4063 if (arg3 == NULL) {
4064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4065 }
4066 if (obj3) {
4067 {
4068 arg4 = &temp4;
4069 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4070 }
4071 }
4072 if (obj4) {
4073 {
4074 arg5 = &temp5;
4075 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4076 }
4077 }
4078 if (obj6) {
4079 {
4080 arg7 = wxString_in_helper(obj6);
4081 if (arg7 == NULL) SWIG_fail;
4082 temp7 = true;
4083 }
4084 }
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4093 {
4094 if (temp7)
4095 delete arg7;
4096 }
4097 return resultobj;
4098 fail:
4099 {
4100 if (temp7)
4101 delete arg7;
4102 }
4103 return NULL;
4104 }
4105
4106
4107 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxStaticBitmap *result;
4110 char *kwnames[] = {
4111 NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 result = (wxStaticBitmap *)new wxStaticBitmap();
4118
4119 wxPyEndAllowThreads(__tstate);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4123 return resultobj;
4124 fail:
4125 return NULL;
4126 }
4127
4128
4129 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4130 PyObject *resultobj;
4131 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4132 wxWindow *arg2 = (wxWindow *) 0 ;
4133 wxWindowID arg3 ;
4134 wxBitmap *arg4 = 0 ;
4135 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4136 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4137 wxSize const &arg6_defvalue = wxDefaultSize ;
4138 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4139 long arg7 = (long) 0 ;
4140 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4141 wxString *arg8 = (wxString *) &arg8_defvalue ;
4142 bool result;
4143 wxPoint temp5 ;
4144 wxSize temp6 ;
4145 bool temp8 = false ;
4146 PyObject * obj0 = 0 ;
4147 PyObject * obj1 = 0 ;
4148 PyObject * obj3 = 0 ;
4149 PyObject * obj4 = 0 ;
4150 PyObject * obj5 = 0 ;
4151 PyObject * obj7 = 0 ;
4152 char *kwnames[] = {
4153 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4154 };
4155
4156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4158 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4159 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4160 if (arg4 == NULL) {
4161 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4162 }
4163 if (obj4) {
4164 {
4165 arg5 = &temp5;
4166 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4167 }
4168 }
4169 if (obj5) {
4170 {
4171 arg6 = &temp6;
4172 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4173 }
4174 }
4175 if (obj7) {
4176 {
4177 arg8 = wxString_in_helper(obj7);
4178 if (arg8 == NULL) SWIG_fail;
4179 temp8 = true;
4180 }
4181 }
4182 {
4183 PyThreadState* __tstate = wxPyBeginAllowThreads();
4184 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4185
4186 wxPyEndAllowThreads(__tstate);
4187 if (PyErr_Occurred()) SWIG_fail;
4188 }
4189 resultobj = PyInt_FromLong((long)result);
4190 {
4191 if (temp8)
4192 delete arg8;
4193 }
4194 return resultobj;
4195 fail:
4196 {
4197 if (temp8)
4198 delete arg8;
4199 }
4200 return NULL;
4201 }
4202
4203
4204 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj;
4206 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4207 wxBitmap result;
4208 PyObject * obj0 = 0 ;
4209 char *kwnames[] = {
4210 (char *) "self", NULL
4211 };
4212
4213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 result = (arg1)->GetBitmap();
4218
4219 wxPyEndAllowThreads(__tstate);
4220 if (PyErr_Occurred()) SWIG_fail;
4221 }
4222 {
4223 wxBitmap * resultptr;
4224 resultptr = new wxBitmap((wxBitmap &) result);
4225 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4226 }
4227 return resultobj;
4228 fail:
4229 return NULL;
4230 }
4231
4232
4233 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4234 PyObject *resultobj;
4235 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4236 wxBitmap *arg2 = 0 ;
4237 PyObject * obj0 = 0 ;
4238 PyObject * obj1 = 0 ;
4239 char *kwnames[] = {
4240 (char *) "self",(char *) "bitmap", NULL
4241 };
4242
4243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4246 if (arg2 == NULL) {
4247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4248 }
4249 {
4250 PyThreadState* __tstate = wxPyBeginAllowThreads();
4251 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4252
4253 wxPyEndAllowThreads(__tstate);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 }
4256 Py_INCREF(Py_None); resultobj = Py_None;
4257 return resultobj;
4258 fail:
4259 return NULL;
4260 }
4261
4262
4263 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4264 PyObject *resultobj;
4265 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4266 wxIcon *arg2 = 0 ;
4267 PyObject * obj0 = 0 ;
4268 PyObject * obj1 = 0 ;
4269 char *kwnames[] = {
4270 (char *) "self",(char *) "icon", NULL
4271 };
4272
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4276 if (arg2 == NULL) {
4277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4278 }
4279 {
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 (arg1)->SetIcon((wxIcon const &)*arg2);
4282
4283 wxPyEndAllowThreads(__tstate);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
4286 Py_INCREF(Py_None); resultobj = Py_None;
4287 return resultobj;
4288 fail:
4289 return NULL;
4290 }
4291
4292
4293 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4294 PyObject *obj;
4295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4296 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4297 Py_INCREF(obj);
4298 return Py_BuildValue((char *)"");
4299 }
4300 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj;
4302 wxWindow *arg1 = (wxWindow *) 0 ;
4303 wxWindowID arg2 ;
4304 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4305 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4306 wxSize const &arg4_defvalue = wxDefaultSize ;
4307 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4308 int arg5 = (int) 0 ;
4309 wxString *arg6 = (wxString *) NULL ;
4310 long arg7 = (long) 0 ;
4311 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4312 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4313 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4314 wxString *arg9 = (wxString *) &arg9_defvalue ;
4315 wxListBox *result;
4316 wxPoint temp3 ;
4317 wxSize temp4 ;
4318 bool temp8 = false ;
4319 PyObject * obj0 = 0 ;
4320 PyObject * obj2 = 0 ;
4321 PyObject * obj3 = 0 ;
4322 PyObject * obj4 = 0 ;
4323 PyObject * obj6 = 0 ;
4324 PyObject * obj7 = 0 ;
4325 char *kwnames[] = {
4326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4327 };
4328
4329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4331 if (obj2) {
4332 {
4333 arg3 = &temp3;
4334 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4335 }
4336 }
4337 if (obj3) {
4338 {
4339 arg4 = &temp4;
4340 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4341 }
4342 }
4343 if (obj4) {
4344 {
4345 arg5 = PyList_Size(obj4);
4346 arg6 = wxString_LIST_helper(obj4);
4347 if (arg6 == NULL) SWIG_fail;
4348 }
4349 }
4350 if (obj6) {
4351 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4352 if (arg8 == NULL) {
4353 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4354 }
4355 }
4356 if (obj7) {
4357 {
4358 arg9 = wxString_in_helper(obj7);
4359 if (arg9 == NULL) SWIG_fail;
4360 temp8 = true;
4361 }
4362 }
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4371 {
4372 if (arg6) delete [] arg6;
4373 }
4374 {
4375 if (temp8)
4376 delete arg9;
4377 }
4378 return resultobj;
4379 fail:
4380 {
4381 if (arg6) delete [] arg6;
4382 }
4383 {
4384 if (temp8)
4385 delete arg9;
4386 }
4387 return NULL;
4388 }
4389
4390
4391 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj;
4393 wxListBox *result;
4394 char *kwnames[] = {
4395 NULL
4396 };
4397
4398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4399 {
4400 PyThreadState* __tstate = wxPyBeginAllowThreads();
4401 result = (wxListBox *)new wxListBox();
4402
4403 wxPyEndAllowThreads(__tstate);
4404 if (PyErr_Occurred()) SWIG_fail;
4405 }
4406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4407 return resultobj;
4408 fail:
4409 return NULL;
4410 }
4411
4412
4413 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4414 PyObject *resultobj;
4415 wxListBox *arg1 = (wxListBox *) 0 ;
4416 wxWindow *arg2 = (wxWindow *) 0 ;
4417 wxWindowID arg3 ;
4418 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4419 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4420 wxSize const &arg5_defvalue = wxDefaultSize ;
4421 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4422 int arg6 = (int) 0 ;
4423 wxString *arg7 = (wxString *) NULL ;
4424 long arg8 = (long) 0 ;
4425 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4426 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4427 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4428 wxString *arg10 = (wxString *) &arg10_defvalue ;
4429 bool result;
4430 wxPoint temp4 ;
4431 wxSize temp5 ;
4432 bool temp9 = false ;
4433 PyObject * obj0 = 0 ;
4434 PyObject * obj1 = 0 ;
4435 PyObject * obj3 = 0 ;
4436 PyObject * obj4 = 0 ;
4437 PyObject * obj5 = 0 ;
4438 PyObject * obj7 = 0 ;
4439 PyObject * obj8 = 0 ;
4440 char *kwnames[] = {
4441 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4442 };
4443
4444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 if (obj3) {
4448 {
4449 arg4 = &temp4;
4450 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4451 }
4452 }
4453 if (obj4) {
4454 {
4455 arg5 = &temp5;
4456 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4457 }
4458 }
4459 if (obj5) {
4460 {
4461 arg6 = PyList_Size(obj5);
4462 arg7 = wxString_LIST_helper(obj5);
4463 if (arg7 == NULL) SWIG_fail;
4464 }
4465 }
4466 if (obj7) {
4467 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4468 if (arg9 == NULL) {
4469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4470 }
4471 }
4472 if (obj8) {
4473 {
4474 arg10 = wxString_in_helper(obj8);
4475 if (arg10 == NULL) SWIG_fail;
4476 temp9 = true;
4477 }
4478 }
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4482
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 resultobj = PyInt_FromLong((long)result);
4487 {
4488 if (arg7) delete [] arg7;
4489 }
4490 {
4491 if (temp9)
4492 delete arg10;
4493 }
4494 return resultobj;
4495 fail:
4496 {
4497 if (arg7) delete [] arg7;
4498 }
4499 {
4500 if (temp9)
4501 delete arg10;
4502 }
4503 return NULL;
4504 }
4505
4506
4507 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 wxListBox *arg1 = (wxListBox *) 0 ;
4510 wxString *arg2 = 0 ;
4511 int arg3 ;
4512 PyObject *arg4 = (PyObject *) NULL ;
4513 bool temp2 = false ;
4514 PyObject * obj0 = 0 ;
4515 PyObject * obj1 = 0 ;
4516 PyObject * obj3 = 0 ;
4517 char *kwnames[] = {
4518 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4523 {
4524 arg2 = wxString_in_helper(obj1);
4525 if (arg2 == NULL) SWIG_fail;
4526 temp2 = true;
4527 }
4528 if (obj3) {
4529 arg4 = obj3;
4530 }
4531 {
4532 PyThreadState* __tstate = wxPyBeginAllowThreads();
4533 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4534
4535 wxPyEndAllowThreads(__tstate);
4536 if (PyErr_Occurred()) SWIG_fail;
4537 }
4538 Py_INCREF(Py_None); resultobj = Py_None;
4539 {
4540 if (temp2)
4541 delete arg2;
4542 }
4543 return resultobj;
4544 fail:
4545 {
4546 if (temp2)
4547 delete arg2;
4548 }
4549 return NULL;
4550 }
4551
4552
4553 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxListBox *arg1 = (wxListBox *) 0 ;
4556 wxArrayString *arg2 = 0 ;
4557 int arg3 ;
4558 PyObject * obj0 = 0 ;
4559 PyObject * obj1 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self",(char *) "items",(char *) "pos", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4566 {
4567 if (! PySequence_Check(obj1)) {
4568 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4569 SWIG_fail;
4570 }
4571 arg2 = new wxArrayString;
4572 int i, len=PySequence_Length(obj1);
4573 for (i=0; i<len; i++) {
4574 PyObject* item = PySequence_GetItem(obj1, i);
4575 #if wxUSE_UNICODE
4576 PyObject* str = PyObject_Unicode(item);
4577 #else
4578 PyObject* str = PyObject_Str(item);
4579 #endif
4580 arg2->Add(Py2wxString(str));
4581 Py_DECREF(item);
4582 Py_DECREF(str);
4583 }
4584 }
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 Py_INCREF(Py_None); resultobj = Py_None;
4593 {
4594 if (arg2) delete arg2;
4595 }
4596 return resultobj;
4597 fail:
4598 {
4599 if (arg2) delete arg2;
4600 }
4601 return NULL;
4602 }
4603
4604
4605 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject *resultobj;
4607 wxListBox *arg1 = (wxListBox *) 0 ;
4608 wxArrayString *arg2 = 0 ;
4609 PyObject * obj0 = 0 ;
4610 PyObject * obj1 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "self",(char *) "items", NULL
4613 };
4614
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4617 {
4618 if (! PySequence_Check(obj1)) {
4619 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4620 SWIG_fail;
4621 }
4622 arg2 = new wxArrayString;
4623 int i, len=PySequence_Length(obj1);
4624 for (i=0; i<len; i++) {
4625 PyObject* item = PySequence_GetItem(obj1, i);
4626 #if wxUSE_UNICODE
4627 PyObject* str = PyObject_Unicode(item);
4628 #else
4629 PyObject* str = PyObject_Str(item);
4630 #endif
4631 arg2->Add(Py2wxString(str));
4632 Py_DECREF(item);
4633 Py_DECREF(str);
4634 }
4635 }
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 (arg1)->Set((wxArrayString const &)*arg2);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 Py_INCREF(Py_None); resultobj = Py_None;
4644 {
4645 if (arg2) delete arg2;
4646 }
4647 return resultobj;
4648 fail:
4649 {
4650 if (arg2) delete arg2;
4651 }
4652 return NULL;
4653 }
4654
4655
4656 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj;
4658 wxListBox *arg1 = (wxListBox *) 0 ;
4659 int arg2 ;
4660 bool result;
4661 PyObject * obj0 = 0 ;
4662 char *kwnames[] = {
4663 (char *) "self",(char *) "n", NULL
4664 };
4665
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 resultobj = PyInt_FromLong((long)result);
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxListBox *arg1 = (wxListBox *) 0 ;
4685 int arg2 ;
4686 bool arg3 = (bool) TRUE ;
4687 PyObject * obj0 = 0 ;
4688 PyObject * obj2 = 0 ;
4689 char *kwnames[] = {
4690 (char *) "self",(char *) "n",(char *) "select", NULL
4691 };
4692
4693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4695 if (obj2) {
4696 arg3 = PyInt_AsLong(obj2) ? true : false;
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 (arg1)->SetSelection(arg2,arg3);
4702
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 Py_INCREF(Py_None); resultobj = Py_None;
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxListBox *arg1 = (wxListBox *) 0 ;
4716 int arg2 ;
4717 PyObject * obj0 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "self",(char *) "n", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 (arg1)->Select(arg2);
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 Py_INCREF(Py_None); resultobj = Py_None;
4732 return resultobj;
4733 fail:
4734 return NULL;
4735 }
4736
4737
4738 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4739 PyObject *resultobj;
4740 wxListBox *arg1 = (wxListBox *) 0 ;
4741 int arg2 ;
4742 PyObject * obj0 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "self",(char *) "n", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4749 {
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 (arg1)->Deselect(arg2);
4752
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 Py_INCREF(Py_None); resultobj = Py_None;
4757 return resultobj;
4758 fail:
4759 return NULL;
4760 }
4761
4762
4763 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4764 PyObject *resultobj;
4765 wxListBox *arg1 = (wxListBox *) 0 ;
4766 int arg2 = (int) -1 ;
4767 PyObject * obj0 = 0 ;
4768 char *kwnames[] = {
4769 (char *) "self",(char *) "itemToLeaveSelected", NULL
4770 };
4771
4772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 (arg1)->DeselectAll(arg2);
4777
4778 wxPyEndAllowThreads(__tstate);
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 Py_INCREF(Py_None); resultobj = Py_None;
4782 return resultobj;
4783 fail:
4784 return NULL;
4785 }
4786
4787
4788 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4789 PyObject *resultobj;
4790 wxListBox *arg1 = (wxListBox *) 0 ;
4791 wxString *arg2 = 0 ;
4792 bool arg3 = (bool) TRUE ;
4793 bool result;
4794 bool temp2 = false ;
4795 PyObject * obj0 = 0 ;
4796 PyObject * obj1 = 0 ;
4797 PyObject * obj2 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self",(char *) "s",(char *) "select", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4804 {
4805 arg2 = wxString_in_helper(obj1);
4806 if (arg2 == NULL) SWIG_fail;
4807 temp2 = true;
4808 }
4809 if (obj2) {
4810 arg3 = PyInt_AsLong(obj2) ? true : false;
4811 if (PyErr_Occurred()) SWIG_fail;
4812 }
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = PyInt_FromLong((long)result);
4821 {
4822 if (temp2)
4823 delete arg2;
4824 }
4825 return resultobj;
4826 fail:
4827 {
4828 if (temp2)
4829 delete arg2;
4830 }
4831 return NULL;
4832 }
4833
4834
4835 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4836 PyObject *resultobj;
4837 wxListBox *arg1 = (wxListBox *) 0 ;
4838 PyObject *result;
4839 PyObject * obj0 = 0 ;
4840 char *kwnames[] = {
4841 (char *) "self", NULL
4842 };
4843
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 result = (PyObject *)wxListBox_GetSelections(arg1);
4849
4850 wxPyEndAllowThreads(__tstate);
4851 if (PyErr_Occurred()) SWIG_fail;
4852 }
4853 resultobj = result;
4854 return resultobj;
4855 fail:
4856 return NULL;
4857 }
4858
4859
4860 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4861 PyObject *resultobj;
4862 wxListBox *arg1 = (wxListBox *) 0 ;
4863 int arg2 ;
4864 PyObject * obj0 = 0 ;
4865 char *kwnames[] = {
4866 (char *) "self",(char *) "n", NULL
4867 };
4868
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 (arg1)->SetFirstItem(arg2);
4874
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 Py_INCREF(Py_None); resultobj = Py_None;
4879 return resultobj;
4880 fail:
4881 return NULL;
4882 }
4883
4884
4885 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4886 PyObject *resultobj;
4887 wxListBox *arg1 = (wxListBox *) 0 ;
4888 wxString *arg2 = 0 ;
4889 bool temp2 = false ;
4890 PyObject * obj0 = 0 ;
4891 PyObject * obj1 = 0 ;
4892 char *kwnames[] = {
4893 (char *) "self",(char *) "s", NULL
4894 };
4895
4896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4898 {
4899 arg2 = wxString_in_helper(obj1);
4900 if (arg2 == NULL) SWIG_fail;
4901 temp2 = true;
4902 }
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 (arg1)->SetFirstItem((wxString const &)*arg2);
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
4910 Py_INCREF(Py_None); resultobj = Py_None;
4911 {
4912 if (temp2)
4913 delete arg2;
4914 }
4915 return resultobj;
4916 fail:
4917 {
4918 if (temp2)
4919 delete arg2;
4920 }
4921 return NULL;
4922 }
4923
4924
4925 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4926 PyObject *resultobj;
4927 wxListBox *arg1 = (wxListBox *) 0 ;
4928 int arg2 ;
4929 PyObject * obj0 = 0 ;
4930 char *kwnames[] = {
4931 (char *) "self",(char *) "n", NULL
4932 };
4933
4934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4936 {
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 (arg1)->EnsureVisible(arg2);
4939
4940 wxPyEndAllowThreads(__tstate);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 Py_INCREF(Py_None); resultobj = Py_None;
4944 return resultobj;
4945 fail:
4946 return NULL;
4947 }
4948
4949
4950 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4951 PyObject *resultobj;
4952 wxListBox *arg1 = (wxListBox *) 0 ;
4953 wxString *arg2 = 0 ;
4954 bool temp2 = false ;
4955 PyObject * obj0 = 0 ;
4956 PyObject * obj1 = 0 ;
4957 char *kwnames[] = {
4958 (char *) "self",(char *) "s", NULL
4959 };
4960
4961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4963 {
4964 arg2 = wxString_in_helper(obj1);
4965 if (arg2 == NULL) SWIG_fail;
4966 temp2 = true;
4967 }
4968 {
4969 PyThreadState* __tstate = wxPyBeginAllowThreads();
4970 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4971
4972 wxPyEndAllowThreads(__tstate);
4973 if (PyErr_Occurred()) SWIG_fail;
4974 }
4975 Py_INCREF(Py_None); resultobj = Py_None;
4976 {
4977 if (temp2)
4978 delete arg2;
4979 }
4980 return resultobj;
4981 fail:
4982 {
4983 if (temp2)
4984 delete arg2;
4985 }
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxListBox *arg1 = (wxListBox *) 0 ;
4993 bool result;
4994 PyObject * obj0 = 0 ;
4995 char *kwnames[] = {
4996 (char *) "self", NULL
4997 };
4998
4999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5001 {
5002 PyThreadState* __tstate = wxPyBeginAllowThreads();
5003 result = (bool)((wxListBox const *)arg1)->IsSorted();
5004
5005 wxPyEndAllowThreads(__tstate);
5006 if (PyErr_Occurred()) SWIG_fail;
5007 }
5008 resultobj = PyInt_FromLong((long)result);
5009 return resultobj;
5010 fail:
5011 return NULL;
5012 }
5013
5014
5015 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5016 PyObject *obj;
5017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5018 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5019 Py_INCREF(obj);
5020 return Py_BuildValue((char *)"");
5021 }
5022 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxWindow *arg1 = (wxWindow *) 0 ;
5025 wxWindowID arg2 ;
5026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5028 wxSize const &arg4_defvalue = wxDefaultSize ;
5029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5030 int arg5 = (int) 0 ;
5031 wxString *arg6 = (wxString *) NULL ;
5032 long arg7 = (long) 0 ;
5033 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5034 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5035 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5036 wxString *arg9 = (wxString *) &arg9_defvalue ;
5037 wxCheckListBox *result;
5038 wxPoint temp3 ;
5039 wxSize temp4 ;
5040 bool temp8 = false ;
5041 PyObject * obj0 = 0 ;
5042 PyObject * obj2 = 0 ;
5043 PyObject * obj3 = 0 ;
5044 PyObject * obj4 = 0 ;
5045 PyObject * obj6 = 0 ;
5046 PyObject * obj7 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5053 if (obj2) {
5054 {
5055 arg3 = &temp3;
5056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5057 }
5058 }
5059 if (obj3) {
5060 {
5061 arg4 = &temp4;
5062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5063 }
5064 }
5065 if (obj4) {
5066 {
5067 arg5 = PyList_Size(obj4);
5068 arg6 = wxString_LIST_helper(obj4);
5069 if (arg6 == NULL) SWIG_fail;
5070 }
5071 }
5072 if (obj6) {
5073 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5074 if (arg8 == NULL) {
5075 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5076 }
5077 }
5078 if (obj7) {
5079 {
5080 arg9 = wxString_in_helper(obj7);
5081 if (arg9 == NULL) SWIG_fail;
5082 temp8 = true;
5083 }
5084 }
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5088
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5093 {
5094 if (arg6) delete [] arg6;
5095 }
5096 {
5097 if (temp8)
5098 delete arg9;
5099 }
5100 return resultobj;
5101 fail:
5102 {
5103 if (arg6) delete [] arg6;
5104 }
5105 {
5106 if (temp8)
5107 delete arg9;
5108 }
5109 return NULL;
5110 }
5111
5112
5113 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5114 PyObject *resultobj;
5115 wxCheckListBox *result;
5116 char *kwnames[] = {
5117 NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 result = (wxCheckListBox *)new wxCheckListBox();
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5129 return resultobj;
5130 fail:
5131 return NULL;
5132 }
5133
5134
5135 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5138 wxWindow *arg2 = (wxWindow *) 0 ;
5139 wxWindowID arg3 ;
5140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5142 wxSize const &arg5_defvalue = wxDefaultSize ;
5143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5144 int arg6 = (int) 0 ;
5145 wxString *arg7 = (wxString *) NULL ;
5146 long arg8 = (long) 0 ;
5147 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5148 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5149 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5150 wxString *arg10 = (wxString *) &arg10_defvalue ;
5151 bool result;
5152 wxPoint temp4 ;
5153 wxSize temp5 ;
5154 bool temp9 = false ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 PyObject * obj3 = 0 ;
5158 PyObject * obj4 = 0 ;
5159 PyObject * obj5 = 0 ;
5160 PyObject * obj7 = 0 ;
5161 PyObject * obj8 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5169 if (obj3) {
5170 {
5171 arg4 = &temp4;
5172 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5173 }
5174 }
5175 if (obj4) {
5176 {
5177 arg5 = &temp5;
5178 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5179 }
5180 }
5181 if (obj5) {
5182 {
5183 arg6 = PyList_Size(obj5);
5184 arg7 = wxString_LIST_helper(obj5);
5185 if (arg7 == NULL) SWIG_fail;
5186 }
5187 }
5188 if (obj7) {
5189 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5190 if (arg9 == NULL) {
5191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5192 }
5193 }
5194 if (obj8) {
5195 {
5196 arg10 = wxString_in_helper(obj8);
5197 if (arg10 == NULL) SWIG_fail;
5198 temp9 = true;
5199 }
5200 }
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 resultobj = PyInt_FromLong((long)result);
5209 {
5210 if (arg7) delete [] arg7;
5211 }
5212 {
5213 if (temp9)
5214 delete arg10;
5215 }
5216 return resultobj;
5217 fail:
5218 {
5219 if (arg7) delete [] arg7;
5220 }
5221 {
5222 if (temp9)
5223 delete arg10;
5224 }
5225 return NULL;
5226 }
5227
5228
5229 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5230 PyObject *resultobj;
5231 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5232 int arg2 ;
5233 bool result;
5234 PyObject * obj0 = 0 ;
5235 char *kwnames[] = {
5236 (char *) "self",(char *) "index", NULL
5237 };
5238
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 result = (bool)(arg1)->IsChecked(arg2);
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 resultobj = PyInt_FromLong((long)result);
5249 return resultobj;
5250 fail:
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5258 int arg2 ;
5259 int arg3 = (int) TRUE ;
5260 PyObject * obj0 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self",(char *) "index",(char *) "check", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 (arg1)->Check(arg2,arg3);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 Py_INCREF(Py_None); resultobj = Py_None;
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5284 int result;
5285 PyObject * obj0 = 0 ;
5286 char *kwnames[] = {
5287 (char *) "self", NULL
5288 };
5289
5290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = (int)(arg1)->GetItemHeight();
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 resultobj = PyInt_FromLong((long)result);
5300 return resultobj;
5301 fail:
5302 return NULL;
5303 }
5304
5305
5306 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject *resultobj;
5308 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5309 wxPoint *arg2 = 0 ;
5310 int result;
5311 wxPoint temp2 ;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self",(char *) "pt", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5320 {
5321 arg2 = &temp2;
5322 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5323 }
5324 {
5325 PyThreadState* __tstate = wxPyBeginAllowThreads();
5326 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5327
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 resultobj = PyInt_FromLong((long)result);
5332 return resultobj;
5333 fail:
5334 return NULL;
5335 }
5336
5337
5338 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5339 PyObject *resultobj;
5340 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5341 wxCoord arg2 ;
5342 wxCoord arg3 ;
5343 int result;
5344 PyObject * obj0 = 0 ;
5345 char *kwnames[] = {
5346 (char *) "self",(char *) "x",(char *) "y", NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5351 {
5352 PyThreadState* __tstate = wxPyBeginAllowThreads();
5353 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5354
5355 wxPyEndAllowThreads(__tstate);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 }
5358 resultobj = PyInt_FromLong((long)result);
5359 return resultobj;
5360 fail:
5361 return NULL;
5362 }
5363
5364
5365 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5366 PyObject *obj;
5367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5368 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5369 Py_INCREF(obj);
5370 return Py_BuildValue((char *)"");
5371 }
5372 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5373 PyObject *resultobj;
5374 wxTextAttr *result;
5375
5376 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (wxTextAttr *)new wxTextAttr();
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5385 return resultobj;
5386 fail:
5387 return NULL;
5388 }
5389
5390
5391 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5392 PyObject *resultobj;
5393 wxColour *arg1 = 0 ;
5394 wxColour const &arg2_defvalue = wxNullColour ;
5395 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5396 wxFont const &arg3_defvalue = wxNullFont ;
5397 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5398 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5399 wxTextAttr *result;
5400 wxColour temp1 ;
5401 wxColour temp2 ;
5402 PyObject * obj0 = 0 ;
5403 PyObject * obj1 = 0 ;
5404 PyObject * obj2 = 0 ;
5405
5406 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5407 {
5408 arg1 = &temp1;
5409 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5410 }
5411 if (obj1) {
5412 {
5413 arg2 = &temp2;
5414 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5415 }
5416 }
5417 if (obj2) {
5418 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5419 if (arg3 == NULL) {
5420 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5421 }
5422 }
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
5430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5431 return resultobj;
5432 fail:
5433 return NULL;
5434 }
5435
5436
5437 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5438 int argc;
5439 PyObject *argv[5];
5440 int ii;
5441
5442 argc = PyObject_Length(args);
5443 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5444 argv[ii] = PyTuple_GetItem(args,ii);
5445 }
5446 if (argc == 0) {
5447 return _wrap_new_TextAttr__SWIG_0(self,args);
5448 }
5449 if ((argc >= 1) && (argc <= 4)) {
5450 int _v;
5451 {
5452 _v = wxColour_typecheck(argv[0]);
5453 }
5454 if (_v) {
5455 if (argc <= 1) {
5456 return _wrap_new_TextAttr__SWIG_1(self,args);
5457 }
5458 {
5459 _v = wxColour_typecheck(argv[1]);
5460 }
5461 if (_v) {
5462 if (argc <= 2) {
5463 return _wrap_new_TextAttr__SWIG_1(self,args);
5464 }
5465 {
5466 void *ptr;
5467 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5468 _v = 0;
5469 PyErr_Clear();
5470 } else {
5471 _v = 1;
5472 }
5473 }
5474 if (_v) {
5475 if (argc <= 3) {
5476 return _wrap_new_TextAttr__SWIG_1(self,args);
5477 }
5478 {
5479 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5480 }
5481 if (_v) {
5482 return _wrap_new_TextAttr__SWIG_1(self,args);
5483 }
5484 }
5485 }
5486 }
5487 }
5488
5489 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5490 return NULL;
5491 }
5492
5493
5494 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5495 PyObject *resultobj;
5496 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5497 PyObject * obj0 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 (arg1)->Init();
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 Py_INCREF(Py_None); resultobj = Py_None;
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5521 wxColour *arg2 = 0 ;
5522 wxColour temp2 ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self",(char *) "colText", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5531 {
5532 arg2 = &temp2;
5533 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5534 }
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->SetTextColour((wxColour const &)*arg2);
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
5542 Py_INCREF(Py_None); resultobj = Py_None;
5543 return resultobj;
5544 fail:
5545 return NULL;
5546 }
5547
5548
5549 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5550 PyObject *resultobj;
5551 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5552 wxColour *arg2 = 0 ;
5553 wxColour temp2 ;
5554 PyObject * obj0 = 0 ;
5555 PyObject * obj1 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self",(char *) "colBack", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 {
5563 arg2 = &temp2;
5564 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5565 }
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5583 wxFont *arg2 = 0 ;
5584 long arg3 = (long) wxTEXT_ATTR_FONT ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char *kwnames[] = {
5588 (char *) "self",(char *) "font",(char *) "flags", NULL
5589 };
5590
5591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5594 if (arg2 == NULL) {
5595 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5596 }
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5600
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 Py_INCREF(Py_None); resultobj = Py_None;
5605 return resultobj;
5606 fail:
5607 return NULL;
5608 }
5609
5610
5611 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj;
5613 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5614 int arg2 ;
5615 PyObject * obj0 = 0 ;
5616 char *kwnames[] = {
5617 (char *) "self",(char *) "alignment", NULL
5618 };
5619
5620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 Py_INCREF(Py_None); resultobj = Py_None;
5630 return resultobj;
5631 fail:
5632 return NULL;
5633 }
5634
5635
5636 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5637 PyObject *resultobj;
5638 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5639 wxArrayInt *arg2 = 0 ;
5640 PyObject * obj0 = 0 ;
5641 PyObject * obj1 = 0 ;
5642 char *kwnames[] = {
5643 (char *) "self",(char *) "tabs", NULL
5644 };
5645
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5648 {
5649 if (! PySequence_Check(obj1)) {
5650 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5651 SWIG_fail;
5652 }
5653 arg2 = new wxArrayInt;
5654 int i, len=PySequence_Length(obj1);
5655 for (i=0; i<len; i++) {
5656 PyObject* item = PySequence_GetItem(obj1, i);
5657 PyObject* number = PyNumber_Int(item);
5658 arg2->Add(PyInt_AS_LONG(number));
5659 Py_DECREF(item);
5660 Py_DECREF(number);
5661 }
5662 }
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 Py_INCREF(Py_None); resultobj = Py_None;
5671 {
5672 if (arg2) delete arg2;
5673 }
5674 return resultobj;
5675 fail:
5676 {
5677 if (arg2) delete arg2;
5678 }
5679 return NULL;
5680 }
5681
5682
5683 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5686 int arg2 ;
5687 PyObject * obj0 = 0 ;
5688 char *kwnames[] = {
5689 (char *) "self",(char *) "indent", NULL
5690 };
5691
5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5694 {
5695 PyThreadState* __tstate = wxPyBeginAllowThreads();
5696 (arg1)->SetLeftIndent(arg2);
5697
5698 wxPyEndAllowThreads(__tstate);
5699 if (PyErr_Occurred()) SWIG_fail;
5700 }
5701 Py_INCREF(Py_None); resultobj = Py_None;
5702 return resultobj;
5703 fail:
5704 return NULL;
5705 }
5706
5707
5708 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5709 PyObject *resultobj;
5710 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5711 int arg2 ;
5712 PyObject * obj0 = 0 ;
5713 char *kwnames[] = {
5714 (char *) "self",(char *) "indent", NULL
5715 };
5716
5717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5719 {
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 (arg1)->SetRightIndent(arg2);
5722
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 Py_INCREF(Py_None); resultobj = Py_None;
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj;
5735 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5736 long arg2 ;
5737 PyObject * obj0 = 0 ;
5738 char *kwnames[] = {
5739 (char *) "self",(char *) "flags", NULL
5740 };
5741
5742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 (arg1)->SetFlags(arg2);
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 Py_INCREF(Py_None); resultobj = Py_None;
5752 return resultobj;
5753 fail:
5754 return NULL;
5755 }
5756
5757
5758 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5761 bool result;
5762 PyObject * obj0 = 0 ;
5763 char *kwnames[] = {
5764 (char *) "self", NULL
5765 };
5766
5767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5769 {
5770 PyThreadState* __tstate = wxPyBeginAllowThreads();
5771 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5772
5773 wxPyEndAllowThreads(__tstate);
5774 if (PyErr_Occurred()) SWIG_fail;
5775 }
5776 resultobj = PyInt_FromLong((long)result);
5777 return resultobj;
5778 fail:
5779 return NULL;
5780 }
5781
5782
5783 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5784 PyObject *resultobj;
5785 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5786 bool result;
5787 PyObject * obj0 = 0 ;
5788 char *kwnames[] = {
5789 (char *) "self", NULL
5790 };
5791
5792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 resultobj = PyInt_FromLong((long)result);
5802 return resultobj;
5803 fail:
5804 return NULL;
5805 }
5806
5807
5808 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5809 PyObject *resultobj;
5810 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5811 bool result;
5812 PyObject * obj0 = 0 ;
5813 char *kwnames[] = {
5814 (char *) "self", NULL
5815 };
5816
5817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 resultobj = PyInt_FromLong((long)result);
5827 return resultobj;
5828 fail:
5829 return NULL;
5830 }
5831
5832
5833 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj;
5835 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5836 bool result;
5837 PyObject * obj0 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "self", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 resultobj = PyInt_FromLong((long)result);
5852 return resultobj;
5853 fail:
5854 return NULL;
5855 }
5856
5857
5858 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj;
5860 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5861 bool result;
5862 PyObject * obj0 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 resultobj = PyInt_FromLong((long)result);
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5886 bool result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 resultobj = PyInt_FromLong((long)result);
5902 return resultobj;
5903 fail:
5904 return NULL;
5905 }
5906
5907
5908 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5911 bool result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5922
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 resultobj = PyInt_FromLong((long)result);
5927 return resultobj;
5928 fail:
5929 return NULL;
5930 }
5931
5932
5933 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5934 PyObject *resultobj;
5935 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5936 long arg2 ;
5937 bool result;
5938 PyObject * obj0 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self",(char *) "flag", NULL
5941 };
5942
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5945 {
5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
5947 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5948
5949 wxPyEndAllowThreads(__tstate);
5950 if (PyErr_Occurred()) SWIG_fail;
5951 }
5952 resultobj = PyInt_FromLong((long)result);
5953 return resultobj;
5954 fail:
5955 return NULL;
5956 }
5957
5958
5959 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5962 wxColour *result;
5963 PyObject * obj0 = 0 ;
5964 char *kwnames[] = {
5965 (char *) "self", NULL
5966 };
5967
5968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 {
5973 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5974 result = (wxColour *) &_result_ref;
5975 }
5976
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5981 return resultobj;
5982 fail:
5983 return NULL;
5984 }
5985
5986
5987 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj;
5989 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5990 wxColour *result;
5991 PyObject * obj0 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 {
6001 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6002 result = (wxColour *) &_result_ref;
6003 }
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6009 return resultobj;
6010 fail:
6011 return NULL;
6012 }
6013
6014
6015 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6016 PyObject *resultobj;
6017 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6018 wxFont *result;
6019 PyObject * obj0 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 {
6029 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6030 result = (wxFont *) &_result_ref;
6031 }
6032
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6046 int result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = PyInt_FromLong((long)result);
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6071 wxArrayInt *result;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 {
6082 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6083 result = (wxArrayInt *) &_result_ref;
6084 }
6085
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 {
6090 resultobj = PyList_New(0);
6091 size_t idx;
6092 for (idx = 0; idx < result->GetCount(); idx += 1) {
6093 PyObject* val = PyInt_FromLong( result->Item(idx) );
6094 PyList_Append(resultobj, val);
6095 Py_DECREF(val);
6096 }
6097 }
6098 return resultobj;
6099 fail:
6100 return NULL;
6101 }
6102
6103
6104 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6105 PyObject *resultobj;
6106 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6107 long result;
6108 PyObject * obj0 = 0 ;
6109 char *kwnames[] = {
6110 (char *) "self", NULL
6111 };
6112
6113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6115 {
6116 PyThreadState* __tstate = wxPyBeginAllowThreads();
6117 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6118
6119 wxPyEndAllowThreads(__tstate);
6120 if (PyErr_Occurred()) SWIG_fail;
6121 }
6122 resultobj = PyInt_FromLong((long)result);
6123 return resultobj;
6124 fail:
6125 return NULL;
6126 }
6127
6128
6129 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj;
6131 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6132 long result;
6133 PyObject * obj0 = 0 ;
6134 char *kwnames[] = {
6135 (char *) "self", NULL
6136 };
6137
6138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6140 {
6141 PyThreadState* __tstate = wxPyBeginAllowThreads();
6142 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6143
6144 wxPyEndAllowThreads(__tstate);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 }
6147 resultobj = PyInt_FromLong((long)result);
6148 return resultobj;
6149 fail:
6150 return NULL;
6151 }
6152
6153
6154 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6155 PyObject *resultobj;
6156 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6157 long result;
6158 PyObject * obj0 = 0 ;
6159 char *kwnames[] = {
6160 (char *) "self", NULL
6161 };
6162
6163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6168
6169 wxPyEndAllowThreads(__tstate);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 }
6172 resultobj = PyInt_FromLong((long)result);
6173 return resultobj;
6174 fail:
6175 return NULL;
6176 }
6177
6178
6179 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6180 PyObject *resultobj;
6181 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6182 bool result;
6183 PyObject * obj0 = 0 ;
6184 char *kwnames[] = {
6185 (char *) "self", NULL
6186 };
6187
6188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6190 {
6191 PyThreadState* __tstate = wxPyBeginAllowThreads();
6192 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6193
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 resultobj = PyInt_FromLong((long)result);
6198 return resultobj;
6199 fail:
6200 return NULL;
6201 }
6202
6203
6204 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6205 PyObject *resultobj;
6206 wxTextAttr *arg1 = 0 ;
6207 wxTextAttr *arg2 = 0 ;
6208 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6209 wxTextAttr result;
6210 PyObject * obj0 = 0 ;
6211 PyObject * obj1 = 0 ;
6212 PyObject * obj2 = 0 ;
6213 char *kwnames[] = {
6214 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6215 };
6216
6217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6219 if (arg1 == NULL) {
6220 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6221 }
6222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6223 if (arg2 == NULL) {
6224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6225 }
6226 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6230
6231 wxPyEndAllowThreads(__tstate);
6232 if (PyErr_Occurred()) SWIG_fail;
6233 }
6234 {
6235 wxTextAttr * resultptr;
6236 resultptr = new wxTextAttr((wxTextAttr &) result);
6237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6238 }
6239 return resultobj;
6240 fail:
6241 return NULL;
6242 }
6243
6244
6245 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6246 PyObject *obj;
6247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6248 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6249 Py_INCREF(obj);
6250 return Py_BuildValue((char *)"");
6251 }
6252 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj;
6254 wxWindow *arg1 = (wxWindow *) 0 ;
6255 wxWindowID arg2 ;
6256 wxString const &arg3_defvalue = wxPyEmptyString ;
6257 wxString *arg3 = (wxString *) &arg3_defvalue ;
6258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6260 wxSize const &arg5_defvalue = wxDefaultSize ;
6261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6262 long arg6 = (long) 0 ;
6263 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6264 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6265 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6266 wxString *arg8 = (wxString *) &arg8_defvalue ;
6267 wxTextCtrl *result;
6268 bool temp3 = false ;
6269 wxPoint temp4 ;
6270 wxSize temp5 ;
6271 bool temp8 = false ;
6272 PyObject * obj0 = 0 ;
6273 PyObject * obj2 = 0 ;
6274 PyObject * obj3 = 0 ;
6275 PyObject * obj4 = 0 ;
6276 PyObject * obj6 = 0 ;
6277 PyObject * obj7 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6284 if (obj2) {
6285 {
6286 arg3 = wxString_in_helper(obj2);
6287 if (arg3 == NULL) SWIG_fail;
6288 temp3 = true;
6289 }
6290 }
6291 if (obj3) {
6292 {
6293 arg4 = &temp4;
6294 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6295 }
6296 }
6297 if (obj4) {
6298 {
6299 arg5 = &temp5;
6300 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6301 }
6302 }
6303 if (obj6) {
6304 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6305 if (arg7 == NULL) {
6306 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6307 }
6308 }
6309 if (obj7) {
6310 {
6311 arg8 = wxString_in_helper(obj7);
6312 if (arg8 == NULL) SWIG_fail;
6313 temp8 = true;
6314 }
6315 }
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 {
6324 resultobj = wxPyMake_wxObject(result);
6325 }
6326 {
6327 if (temp3)
6328 delete arg3;
6329 }
6330 {
6331 if (temp8)
6332 delete arg8;
6333 }
6334 return resultobj;
6335 fail:
6336 {
6337 if (temp3)
6338 delete arg3;
6339 }
6340 {
6341 if (temp8)
6342 delete arg8;
6343 }
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxTextCtrl *result;
6351 char *kwnames[] = {
6352 NULL
6353 };
6354
6355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6356 {
6357 PyThreadState* __tstate = wxPyBeginAllowThreads();
6358 result = (wxTextCtrl *)new wxTextCtrl();
6359
6360 wxPyEndAllowThreads(__tstate);
6361 if (PyErr_Occurred()) SWIG_fail;
6362 }
6363 {
6364 resultobj = wxPyMake_wxObject(result);
6365 }
6366 return resultobj;
6367 fail:
6368 return NULL;
6369 }
6370
6371
6372 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6373 PyObject *resultobj;
6374 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6375 wxWindow *arg2 = (wxWindow *) 0 ;
6376 wxWindowID arg3 ;
6377 wxString const &arg4_defvalue = wxPyEmptyString ;
6378 wxString *arg4 = (wxString *) &arg4_defvalue ;
6379 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6380 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6381 wxSize const &arg6_defvalue = wxDefaultSize ;
6382 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6383 long arg7 = (long) 0 ;
6384 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6385 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6386 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6387 wxString *arg9 = (wxString *) &arg9_defvalue ;
6388 bool result;
6389 bool temp4 = false ;
6390 wxPoint temp5 ;
6391 wxSize temp6 ;
6392 bool temp9 = false ;
6393 PyObject * obj0 = 0 ;
6394 PyObject * obj1 = 0 ;
6395 PyObject * obj3 = 0 ;
6396 PyObject * obj4 = 0 ;
6397 PyObject * obj5 = 0 ;
6398 PyObject * obj7 = 0 ;
6399 PyObject * obj8 = 0 ;
6400 char *kwnames[] = {
6401 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6402 };
6403
6404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6407 if (obj3) {
6408 {
6409 arg4 = wxString_in_helper(obj3);
6410 if (arg4 == NULL) SWIG_fail;
6411 temp4 = true;
6412 }
6413 }
6414 if (obj4) {
6415 {
6416 arg5 = &temp5;
6417 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6418 }
6419 }
6420 if (obj5) {
6421 {
6422 arg6 = &temp6;
6423 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6424 }
6425 }
6426 if (obj7) {
6427 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6428 if (arg8 == NULL) {
6429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6430 }
6431 }
6432 if (obj8) {
6433 {
6434 arg9 = wxString_in_helper(obj8);
6435 if (arg9 == NULL) SWIG_fail;
6436 temp9 = true;
6437 }
6438 }
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6442
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 resultobj = PyInt_FromLong((long)result);
6447 {
6448 if (temp4)
6449 delete arg4;
6450 }
6451 {
6452 if (temp9)
6453 delete arg9;
6454 }
6455 return resultobj;
6456 fail:
6457 {
6458 if (temp4)
6459 delete arg4;
6460 }
6461 {
6462 if (temp9)
6463 delete arg9;
6464 }
6465 return NULL;
6466 }
6467
6468
6469 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject *resultobj;
6471 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6472 wxString result;
6473 PyObject * obj0 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "self", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 result = ((wxTextCtrl const *)arg1)->GetValue();
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 {
6488 #if wxUSE_UNICODE
6489 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6490 #else
6491 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6492 #endif
6493 }
6494 return resultobj;
6495 fail:
6496 return NULL;
6497 }
6498
6499
6500 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6501 PyObject *resultobj;
6502 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6503 wxString *arg2 = 0 ;
6504 bool temp2 = false ;
6505 PyObject * obj0 = 0 ;
6506 PyObject * obj1 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self",(char *) "value", NULL
6509 };
6510
6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6513 {
6514 arg2 = wxString_in_helper(obj1);
6515 if (arg2 == NULL) SWIG_fail;
6516 temp2 = true;
6517 }
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 (arg1)->SetValue((wxString const &)*arg2);
6521
6522 wxPyEndAllowThreads(__tstate);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 Py_INCREF(Py_None); resultobj = Py_None;
6526 {
6527 if (temp2)
6528 delete arg2;
6529 }
6530 return resultobj;
6531 fail:
6532 {
6533 if (temp2)
6534 delete arg2;
6535 }
6536 return NULL;
6537 }
6538
6539
6540 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6541 PyObject *resultobj;
6542 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6543 long arg2 ;
6544 long arg3 ;
6545 wxString result;
6546 PyObject * obj0 = 0 ;
6547 char *kwnames[] = {
6548 (char *) "self",(char *) "from",(char *) "to", NULL
6549 };
6550
6551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6556
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 {
6561 #if wxUSE_UNICODE
6562 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6563 #else
6564 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6565 #endif
6566 }
6567 return resultobj;
6568 fail:
6569 return NULL;
6570 }
6571
6572
6573 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj;
6575 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6576 long arg2 ;
6577 int result;
6578 PyObject * obj0 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "self",(char *) "lineNo", NULL
6581 };
6582
6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6585 {
6586 PyThreadState* __tstate = wxPyBeginAllowThreads();
6587 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6588
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 resultobj = PyInt_FromLong((long)result);
6593 return resultobj;
6594 fail:
6595 return NULL;
6596 }
6597
6598
6599 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6602 long arg2 ;
6603 wxString result;
6604 PyObject * obj0 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self",(char *) "lineNo", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 {
6619 #if wxUSE_UNICODE
6620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6621 #else
6622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6623 #endif
6624 }
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj;
6633 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6634 int result;
6635 PyObject * obj0 = 0 ;
6636 char *kwnames[] = {
6637 (char *) "self", NULL
6638 };
6639
6640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 resultobj = PyInt_FromLong((long)result);
6650 return resultobj;
6651 fail:
6652 return NULL;
6653 }
6654
6655
6656 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6659 bool result;
6660 PyObject * obj0 = 0 ;
6661 char *kwnames[] = {
6662 (char *) "self", NULL
6663 };
6664
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 resultobj = PyInt_FromLong((long)result);
6675 return resultobj;
6676 fail:
6677 return NULL;
6678 }
6679
6680
6681 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6682 PyObject *resultobj;
6683 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6684 bool result;
6685 PyObject * obj0 = 0 ;
6686 char *kwnames[] = {
6687 (char *) "self", NULL
6688 };
6689
6690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6692 {
6693 PyThreadState* __tstate = wxPyBeginAllowThreads();
6694 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6695
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 resultobj = PyInt_FromLong((long)result);
6700 return resultobj;
6701 fail:
6702 return NULL;
6703 }
6704
6705
6706 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6707 PyObject *resultobj;
6708 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6709 bool result;
6710 PyObject * obj0 = 0 ;
6711 char *kwnames[] = {
6712 (char *) "self", NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 resultobj = PyInt_FromLong((long)result);
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6732 PyObject *resultobj;
6733 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6734 bool result;
6735 PyObject * obj0 = 0 ;
6736 char *kwnames[] = {
6737 (char *) "self", NULL
6738 };
6739
6740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6742 {
6743 PyThreadState* __tstate = wxPyBeginAllowThreads();
6744 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6745
6746 wxPyEndAllowThreads(__tstate);
6747 if (PyErr_Occurred()) SWIG_fail;
6748 }
6749 resultobj = PyInt_FromLong((long)result);
6750 return resultobj;
6751 fail:
6752 return NULL;
6753 }
6754
6755
6756 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6757 PyObject *resultobj;
6758 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6759 long *arg2 = (long *) 0 ;
6760 long *arg3 = (long *) 0 ;
6761 long temp2 ;
6762 long temp3 ;
6763 PyObject * obj0 = 0 ;
6764 char *kwnames[] = {
6765 (char *) "self", NULL
6766 };
6767
6768 arg2 = &temp2;
6769 arg3 = &temp3;
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6775
6776 wxPyEndAllowThreads(__tstate);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 Py_INCREF(Py_None); resultobj = Py_None;
6780 {
6781 PyObject *o = PyInt_FromLong((long) (*arg2));
6782 resultobj = t_output_helper(resultobj,o);
6783 }
6784 {
6785 PyObject *o = PyInt_FromLong((long) (*arg3));
6786 resultobj = t_output_helper(resultobj,o);
6787 }
6788 return resultobj;
6789 fail:
6790 return NULL;
6791 }
6792
6793
6794 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject *resultobj;
6796 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6797 wxString result;
6798 PyObject * obj0 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self", NULL
6801 };
6802
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6808
6809 wxPyEndAllowThreads(__tstate);
6810 if (PyErr_Occurred()) SWIG_fail;
6811 }
6812 {
6813 #if wxUSE_UNICODE
6814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6815 #else
6816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6817 #endif
6818 }
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6828 PyObject * obj0 = 0 ;
6829 char *kwnames[] = {
6830 (char *) "self", NULL
6831 };
6832
6833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 (arg1)->Clear();
6838
6839 wxPyEndAllowThreads(__tstate);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 }
6842 Py_INCREF(Py_None); resultobj = Py_None;
6843 return resultobj;
6844 fail:
6845 return NULL;
6846 }
6847
6848
6849 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6850 PyObject *resultobj;
6851 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6852 long arg2 ;
6853 long arg3 ;
6854 wxString *arg4 = 0 ;
6855 bool temp4 = false ;
6856 PyObject * obj0 = 0 ;
6857 PyObject * obj3 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 {
6865 arg4 = wxString_in_helper(obj3);
6866 if (arg4 == NULL) SWIG_fail;
6867 temp4 = true;
6868 }
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6872
6873 wxPyEndAllowThreads(__tstate);
6874 if (PyErr_Occurred()) SWIG_fail;
6875 }
6876 Py_INCREF(Py_None); resultobj = Py_None;
6877 {
6878 if (temp4)
6879 delete arg4;
6880 }
6881 return resultobj;
6882 fail:
6883 {
6884 if (temp4)
6885 delete arg4;
6886 }
6887 return NULL;
6888 }
6889
6890
6891 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6892 PyObject *resultobj;
6893 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6894 long arg2 ;
6895 long arg3 ;
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self",(char *) "from",(char *) "to", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 (arg1)->Remove(arg2,arg3);
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 Py_INCREF(Py_None); resultobj = Py_None;
6911 return resultobj;
6912 fail:
6913 return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6920 wxString *arg2 = 0 ;
6921 bool result;
6922 bool temp2 = false ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self",(char *) "file", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6931 {
6932 arg2 = wxString_in_helper(obj1);
6933 if (arg2 == NULL) SWIG_fail;
6934 temp2 = true;
6935 }
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 resultobj = PyInt_FromLong((long)result);
6944 {
6945 if (temp2)
6946 delete arg2;
6947 }
6948 return resultobj;
6949 fail:
6950 {
6951 if (temp2)
6952 delete arg2;
6953 }
6954 return NULL;
6955 }
6956
6957
6958 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6959 PyObject *resultobj;
6960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6961 wxString const &arg2_defvalue = wxPyEmptyString ;
6962 wxString *arg2 = (wxString *) &arg2_defvalue ;
6963 bool result;
6964 bool temp2 = false ;
6965 PyObject * obj0 = 0 ;
6966 PyObject * obj1 = 0 ;
6967 char *kwnames[] = {
6968 (char *) "self",(char *) "file", NULL
6969 };
6970
6971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6973 if (obj1) {
6974 {
6975 arg2 = wxString_in_helper(obj1);
6976 if (arg2 == NULL) SWIG_fail;
6977 temp2 = true;
6978 }
6979 }
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 resultobj = PyInt_FromLong((long)result);
6988 {
6989 if (temp2)
6990 delete arg2;
6991 }
6992 return resultobj;
6993 fail:
6994 {
6995 if (temp2)
6996 delete arg2;
6997 }
6998 return NULL;
6999 }
7000
7001
7002 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7005 PyObject * obj0 = 0 ;
7006 char *kwnames[] = {
7007 (char *) "self", NULL
7008 };
7009
7010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 (arg1)->MarkDirty();
7015
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 Py_INCREF(Py_None); resultobj = Py_None;
7020 return resultobj;
7021 fail:
7022 return NULL;
7023 }
7024
7025
7026 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7029 PyObject * obj0 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7036 {
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 (arg1)->DiscardEdits();
7039
7040 wxPyEndAllowThreads(__tstate);
7041 if (PyErr_Occurred()) SWIG_fail;
7042 }
7043 Py_INCREF(Py_None); resultobj = Py_None;
7044 return resultobj;
7045 fail:
7046 return NULL;
7047 }
7048
7049
7050 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7053 unsigned long arg2 ;
7054 PyObject * obj0 = 0 ;
7055 PyObject * obj1 = 0 ;
7056 char *kwnames[] = {
7057 (char *) "self",(char *) "len", NULL
7058 };
7059
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7062 arg2 = (unsigned long) PyInt_AsLong(obj1);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 (arg1)->SetMaxLength(arg2);
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 Py_INCREF(Py_None); resultobj = Py_None;
7072 return resultobj;
7073 fail:
7074 return NULL;
7075 }
7076
7077
7078 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7079 PyObject *resultobj;
7080 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7081 wxString *arg2 = 0 ;
7082 bool temp2 = false ;
7083 PyObject * obj0 = 0 ;
7084 PyObject * obj1 = 0 ;
7085 char *kwnames[] = {
7086 (char *) "self",(char *) "text", NULL
7087 };
7088
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7091 {
7092 arg2 = wxString_in_helper(obj1);
7093 if (arg2 == NULL) SWIG_fail;
7094 temp2 = true;
7095 }
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 (arg1)->WriteText((wxString const &)*arg2);
7099
7100 wxPyEndAllowThreads(__tstate);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 Py_INCREF(Py_None); resultobj = Py_None;
7104 {
7105 if (temp2)
7106 delete arg2;
7107 }
7108 return resultobj;
7109 fail:
7110 {
7111 if (temp2)
7112 delete arg2;
7113 }
7114 return NULL;
7115 }
7116
7117
7118 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7119 PyObject *resultobj;
7120 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7121 wxString *arg2 = 0 ;
7122 bool temp2 = false ;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self",(char *) "text", NULL
7127 };
7128
7129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7131 {
7132 arg2 = wxString_in_helper(obj1);
7133 if (arg2 == NULL) SWIG_fail;
7134 temp2 = true;
7135 }
7136 {
7137 PyThreadState* __tstate = wxPyBeginAllowThreads();
7138 (arg1)->AppendText((wxString const &)*arg2);
7139
7140 wxPyEndAllowThreads(__tstate);
7141 if (PyErr_Occurred()) SWIG_fail;
7142 }
7143 Py_INCREF(Py_None); resultobj = Py_None;
7144 {
7145 if (temp2)
7146 delete arg2;
7147 }
7148 return resultobj;
7149 fail:
7150 {
7151 if (temp2)
7152 delete arg2;
7153 }
7154 return NULL;
7155 }
7156
7157
7158 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj;
7160 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7161 wxKeyEvent *arg2 = 0 ;
7162 bool result;
7163 PyObject * obj0 = 0 ;
7164 PyObject * obj1 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self",(char *) "event", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7172 if (arg2 == NULL) {
7173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7174 }
7175 {
7176 PyThreadState* __tstate = wxPyBeginAllowThreads();
7177 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7178
7179 wxPyEndAllowThreads(__tstate);
7180 if (PyErr_Occurred()) SWIG_fail;
7181 }
7182 resultobj = PyInt_FromLong((long)result);
7183 return resultobj;
7184 fail:
7185 return NULL;
7186 }
7187
7188
7189 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7190 PyObject *resultobj;
7191 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7192 long arg2 ;
7193 long arg3 ;
7194 wxTextAttr *arg4 = 0 ;
7195 bool result;
7196 PyObject * obj0 = 0 ;
7197 PyObject * obj3 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7204 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 if (arg4 == NULL) {
7206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7207 }
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = PyInt_FromLong((long)result);
7216 return resultobj;
7217 fail:
7218 return NULL;
7219 }
7220
7221
7222 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7225 long arg2 ;
7226 wxTextAttr *arg3 = 0 ;
7227 bool result;
7228 PyObject * obj0 = 0 ;
7229 PyObject * obj2 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self",(char *) "position",(char *) "style", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7236 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7237 if (arg3 == NULL) {
7238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 resultobj = PyInt_FromLong((long)result);
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7257 wxTextAttr *arg2 = 0 ;
7258 bool result;
7259 PyObject * obj0 = 0 ;
7260 PyObject * obj1 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "style", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7268 if (arg2 == NULL) {
7269 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7270 }
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 resultobj = PyInt_FromLong((long)result);
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7288 wxTextAttr *result;
7289 PyObject * obj0 = 0 ;
7290 char *kwnames[] = {
7291 (char *) "self", NULL
7292 };
7293
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 {
7299 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7300 result = (wxTextAttr *) &_result_ref;
7301 }
7302
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7307 return resultobj;
7308 fail:
7309 return NULL;
7310 }
7311
7312
7313 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7314 PyObject *resultobj;
7315 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7316 long arg2 ;
7317 long arg3 ;
7318 long result;
7319 PyObject * obj0 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "self",(char *) "x",(char *) "y", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 resultobj = PyInt_FromLong((long)result);
7334 return resultobj;
7335 fail:
7336 return NULL;
7337 }
7338
7339
7340 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj;
7342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7343 long arg2 ;
7344 long *arg3 = (long *) 0 ;
7345 long *arg4 = (long *) 0 ;
7346 long temp3 ;
7347 long temp4 ;
7348 PyObject * obj0 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "self",(char *) "pos", NULL
7351 };
7352
7353 arg3 = &temp3;
7354 arg4 = &temp4;
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7357 {
7358 PyThreadState* __tstate = wxPyBeginAllowThreads();
7359 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7360
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 Py_INCREF(Py_None); resultobj = Py_None;
7365 {
7366 PyObject *o = PyInt_FromLong((long) (*arg3));
7367 resultobj = t_output_helper(resultobj,o);
7368 }
7369 {
7370 PyObject *o = PyInt_FromLong((long) (*arg4));
7371 resultobj = t_output_helper(resultobj,o);
7372 }
7373 return resultobj;
7374 fail:
7375 return NULL;
7376 }
7377
7378
7379 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj;
7381 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7382 long arg2 ;
7383 PyObject * obj0 = 0 ;
7384 char *kwnames[] = {
7385 (char *) "self",(char *) "pos", NULL
7386 };
7387
7388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7390 {
7391 PyThreadState* __tstate = wxPyBeginAllowThreads();
7392 (arg1)->ShowPosition(arg2);
7393
7394 wxPyEndAllowThreads(__tstate);
7395 if (PyErr_Occurred()) SWIG_fail;
7396 }
7397 Py_INCREF(Py_None); resultobj = Py_None;
7398 return resultobj;
7399 fail:
7400 return NULL;
7401 }
7402
7403
7404 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7405 PyObject *resultobj;
7406 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7407 PyObject * obj0 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 (arg1)->Copy();
7417
7418 wxPyEndAllowThreads(__tstate);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 Py_INCREF(Py_None); resultobj = Py_None;
7422 return resultobj;
7423 fail:
7424 return NULL;
7425 }
7426
7427
7428 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7429 PyObject *resultobj;
7430 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7431 PyObject * obj0 = 0 ;
7432 char *kwnames[] = {
7433 (char *) "self", NULL
7434 };
7435
7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 (arg1)->Cut();
7441
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 Py_INCREF(Py_None); resultobj = Py_None;
7446 return resultobj;
7447 fail:
7448 return NULL;
7449 }
7450
7451
7452 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj;
7454 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7455 PyObject * obj0 = 0 ;
7456 char *kwnames[] = {
7457 (char *) "self", NULL
7458 };
7459
7460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7462 {
7463 PyThreadState* __tstate = wxPyBeginAllowThreads();
7464 (arg1)->Paste();
7465
7466 wxPyEndAllowThreads(__tstate);
7467 if (PyErr_Occurred()) SWIG_fail;
7468 }
7469 Py_INCREF(Py_None); resultobj = Py_None;
7470 return resultobj;
7471 fail:
7472 return NULL;
7473 }
7474
7475
7476 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7477 PyObject *resultobj;
7478 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7479 bool result;
7480 PyObject * obj0 = 0 ;
7481 char *kwnames[] = {
7482 (char *) "self", NULL
7483 };
7484
7485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7487 {
7488 PyThreadState* __tstate = wxPyBeginAllowThreads();
7489 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7490
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 resultobj = PyInt_FromLong((long)result);
7495 return resultobj;
7496 fail:
7497 return NULL;
7498 }
7499
7500
7501 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7504 bool result;
7505 PyObject * obj0 = 0 ;
7506 char *kwnames[] = {
7507 (char *) "self", NULL
7508 };
7509
7510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 resultobj = PyInt_FromLong((long)result);
7520 return resultobj;
7521 fail:
7522 return NULL;
7523 }
7524
7525
7526 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject *resultobj;
7528 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7529 bool result;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 resultobj = PyInt_FromLong((long)result);
7545 return resultobj;
7546 fail:
7547 return NULL;
7548 }
7549
7550
7551 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7554 PyObject * obj0 = 0 ;
7555 char *kwnames[] = {
7556 (char *) "self", NULL
7557 };
7558
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 (arg1)->Undo();
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 Py_INCREF(Py_None); resultobj = Py_None;
7569 return resultobj;
7570 fail:
7571 return NULL;
7572 }
7573
7574
7575 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj;
7577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7578 PyObject * obj0 = 0 ;
7579 char *kwnames[] = {
7580 (char *) "self", NULL
7581 };
7582
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 (arg1)->Redo();
7588
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
7592 Py_INCREF(Py_None); resultobj = Py_None;
7593 return resultobj;
7594 fail:
7595 return NULL;
7596 }
7597
7598
7599 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7600 PyObject *resultobj;
7601 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7602 bool result;
7603 PyObject * obj0 = 0 ;
7604 char *kwnames[] = {
7605 (char *) "self", NULL
7606 };
7607
7608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7610 {
7611 PyThreadState* __tstate = wxPyBeginAllowThreads();
7612 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7613
7614 wxPyEndAllowThreads(__tstate);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 resultobj = PyInt_FromLong((long)result);
7618 return resultobj;
7619 fail:
7620 return NULL;
7621 }
7622
7623
7624 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7625 PyObject *resultobj;
7626 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7627 bool result;
7628 PyObject * obj0 = 0 ;
7629 char *kwnames[] = {
7630 (char *) "self", NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 resultobj = PyInt_FromLong((long)result);
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj;
7651 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7652 long arg2 ;
7653 PyObject * obj0 = 0 ;
7654 char *kwnames[] = {
7655 (char *) "self",(char *) "pos", NULL
7656 };
7657
7658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 (arg1)->SetInsertionPoint(arg2);
7663
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 Py_INCREF(Py_None); resultobj = Py_None;
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj;
7676 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7677 PyObject * obj0 = 0 ;
7678 char *kwnames[] = {
7679 (char *) "self", NULL
7680 };
7681
7682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7684 {
7685 PyThreadState* __tstate = wxPyBeginAllowThreads();
7686 (arg1)->SetInsertionPointEnd();
7687
7688 wxPyEndAllowThreads(__tstate);
7689 if (PyErr_Occurred()) SWIG_fail;
7690 }
7691 Py_INCREF(Py_None); resultobj = Py_None;
7692 return resultobj;
7693 fail:
7694 return NULL;
7695 }
7696
7697
7698 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7699 PyObject *resultobj;
7700 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7701 long result;
7702 PyObject * obj0 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 resultobj = PyInt_FromLong((long)result);
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7726 long result;
7727 PyObject * obj0 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "self", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7737
7738 wxPyEndAllowThreads(__tstate);
7739 if (PyErr_Occurred()) SWIG_fail;
7740 }
7741 resultobj = PyInt_FromLong((long)result);
7742 return resultobj;
7743 fail:
7744 return NULL;
7745 }
7746
7747
7748 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7751 long arg2 ;
7752 long arg3 ;
7753 PyObject * obj0 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self",(char *) "from",(char *) "to", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 (arg1)->SetSelection(arg2,arg3);
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 Py_INCREF(Py_None); resultobj = Py_None;
7768 return resultobj;
7769 fail:
7770 return NULL;
7771 }
7772
7773
7774 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7775 PyObject *resultobj;
7776 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7777 PyObject * obj0 = 0 ;
7778 char *kwnames[] = {
7779 (char *) "self", NULL
7780 };
7781
7782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 (arg1)->SelectAll();
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
7791 Py_INCREF(Py_None); resultobj = Py_None;
7792 return resultobj;
7793 fail:
7794 return NULL;
7795 }
7796
7797
7798 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj;
7800 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7801 bool arg2 ;
7802 PyObject * obj0 = 0 ;
7803 PyObject * obj1 = 0 ;
7804 char *kwnames[] = {
7805 (char *) "self",(char *) "editable", NULL
7806 };
7807
7808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7810 arg2 = PyInt_AsLong(obj1) ? true : false;
7811 if (PyErr_Occurred()) SWIG_fail;
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 (arg1)->SetEditable(arg2);
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 Py_INCREF(Py_None); resultobj = Py_None;
7820 return resultobj;
7821 fail:
7822 return NULL;
7823 }
7824
7825
7826 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7829 bool arg2 = (bool) true ;
7830 bool result;
7831 PyObject * obj0 = 0 ;
7832 PyObject * obj1 = 0 ;
7833 char *kwnames[] = {
7834 (char *) "self",(char *) "show", NULL
7835 };
7836
7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
7838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7839 if (obj1) {
7840 arg2 = PyInt_AsLong(obj1) ? true : false;
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (bool)(arg1)->ShowNativeCaret(arg2);
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 resultobj = PyInt_FromLong((long)result);
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7860 bool result;
7861 PyObject * obj0 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
7867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7868 {
7869 PyThreadState* __tstate = wxPyBeginAllowThreads();
7870 result = (bool)(arg1)->HideNativeCaret();
7871
7872 wxPyEndAllowThreads(__tstate);
7873 if (PyErr_Occurred()) SWIG_fail;
7874 }
7875 resultobj = PyInt_FromLong((long)result);
7876 return resultobj;
7877 fail:
7878 return NULL;
7879 }
7880
7881
7882 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject *resultobj;
7884 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7885 wxString *arg2 = 0 ;
7886 bool temp2 = false ;
7887 PyObject * obj0 = 0 ;
7888 PyObject * obj1 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self",(char *) "text", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7895 {
7896 arg2 = wxString_in_helper(obj1);
7897 if (arg2 == NULL) SWIG_fail;
7898 temp2 = true;
7899 }
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
7902 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 Py_INCREF(Py_None); resultobj = Py_None;
7908 {
7909 if (temp2)
7910 delete arg2;
7911 }
7912 return resultobj;
7913 fail:
7914 {
7915 if (temp2)
7916 delete arg2;
7917 }
7918 return NULL;
7919 }
7920
7921
7922 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7923 PyObject *resultobj;
7924 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7925 long arg2 ;
7926 long arg3 ;
7927 wxString result;
7928 PyObject * obj0 = 0 ;
7929 char *kwnames[] = {
7930 (char *) "self",(char *) "from",(char *) "to", NULL
7931 };
7932
7933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 #if wxUSE_UNICODE
7944 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7945 #else
7946 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7947 #endif
7948 }
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7956 PyObject *obj;
7957 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7958 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7959 Py_INCREF(obj);
7960 return Py_BuildValue((char *)"");
7961 }
7962 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject *resultobj;
7964 int arg1 ;
7965 wxMouseEvent *arg2 = 0 ;
7966 long arg3 ;
7967 long arg4 ;
7968 wxTextUrlEvent *result;
7969 PyObject * obj1 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7975 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7976 if (arg2 == NULL) {
7977 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7978 }
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7987 return resultobj;
7988 fail:
7989 return NULL;
7990 }
7991
7992
7993 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj;
7995 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7996 wxMouseEvent *result;
7997 PyObject * obj0 = 0 ;
7998 char *kwnames[] = {
7999 (char *) "self", NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 {
8007 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8008 result = (wxMouseEvent *) &_result_ref;
8009 }
8010
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8015 return resultobj;
8016 fail:
8017 return NULL;
8018 }
8019
8020
8021 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8022 PyObject *resultobj;
8023 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8024 long result;
8025 PyObject * obj0 = 0 ;
8026 char *kwnames[] = {
8027 (char *) "self", NULL
8028 };
8029
8030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 resultobj = PyInt_FromLong((long)result);
8040 return resultobj;
8041 fail:
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8049 long result;
8050 PyObject * obj0 = 0 ;
8051 char *kwnames[] = {
8052 (char *) "self", NULL
8053 };
8054
8055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
8059 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8060
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 resultobj = PyInt_FromLong((long)result);
8065 return resultobj;
8066 fail:
8067 return NULL;
8068 }
8069
8070
8071 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8072 PyObject *obj;
8073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8074 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8075 Py_INCREF(obj);
8076 return Py_BuildValue((char *)"");
8077 }
8078 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj;
8080 wxWindow *arg1 = (wxWindow *) 0 ;
8081 wxWindowID arg2 = (wxWindowID) -1 ;
8082 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8083 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8084 wxSize const &arg4_defvalue = wxDefaultSize ;
8085 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8086 long arg5 = (long) wxSB_HORIZONTAL ;
8087 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8088 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8089 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8090 wxString *arg7 = (wxString *) &arg7_defvalue ;
8091 wxScrollBar *result;
8092 wxPoint temp3 ;
8093 wxSize temp4 ;
8094 bool temp7 = false ;
8095 PyObject * obj0 = 0 ;
8096 PyObject * obj2 = 0 ;
8097 PyObject * obj3 = 0 ;
8098 PyObject * obj5 = 0 ;
8099 PyObject * obj6 = 0 ;
8100 char *kwnames[] = {
8101 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8102 };
8103
8104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8106 if (obj2) {
8107 {
8108 arg3 = &temp3;
8109 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8110 }
8111 }
8112 if (obj3) {
8113 {
8114 arg4 = &temp4;
8115 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8116 }
8117 }
8118 if (obj5) {
8119 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8120 if (arg6 == NULL) {
8121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8122 }
8123 }
8124 if (obj6) {
8125 {
8126 arg7 = wxString_in_helper(obj6);
8127 if (arg7 == NULL) SWIG_fail;
8128 temp7 = true;
8129 }
8130 }
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8139 {
8140 if (temp7)
8141 delete arg7;
8142 }
8143 return resultobj;
8144 fail:
8145 {
8146 if (temp7)
8147 delete arg7;
8148 }
8149 return NULL;
8150 }
8151
8152
8153 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxScrollBar *result;
8156 char *kwnames[] = {
8157 NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8161 {
8162 PyThreadState* __tstate = wxPyBeginAllowThreads();
8163 result = (wxScrollBar *)new wxScrollBar();
8164
8165 wxPyEndAllowThreads(__tstate);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8169 return resultobj;
8170 fail:
8171 return NULL;
8172 }
8173
8174
8175 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8176 PyObject *resultobj;
8177 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8178 wxWindow *arg2 = (wxWindow *) 0 ;
8179 wxWindowID arg3 = (wxWindowID) -1 ;
8180 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8181 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8182 wxSize const &arg5_defvalue = wxDefaultSize ;
8183 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8184 long arg6 = (long) wxSB_HORIZONTAL ;
8185 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8186 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8187 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8188 wxString *arg8 = (wxString *) &arg8_defvalue ;
8189 bool result;
8190 wxPoint temp4 ;
8191 wxSize temp5 ;
8192 bool temp8 = false ;
8193 PyObject * obj0 = 0 ;
8194 PyObject * obj1 = 0 ;
8195 PyObject * obj3 = 0 ;
8196 PyObject * obj4 = 0 ;
8197 PyObject * obj6 = 0 ;
8198 PyObject * obj7 = 0 ;
8199 char *kwnames[] = {
8200 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8201 };
8202
8203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8206 if (obj3) {
8207 {
8208 arg4 = &temp4;
8209 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8210 }
8211 }
8212 if (obj4) {
8213 {
8214 arg5 = &temp5;
8215 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8216 }
8217 }
8218 if (obj6) {
8219 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8220 if (arg7 == NULL) {
8221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8222 }
8223 }
8224 if (obj7) {
8225 {
8226 arg8 = wxString_in_helper(obj7);
8227 if (arg8 == NULL) SWIG_fail;
8228 temp8 = true;
8229 }
8230 }
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8234
8235 wxPyEndAllowThreads(__tstate);
8236 if (PyErr_Occurred()) SWIG_fail;
8237 }
8238 resultobj = PyInt_FromLong((long)result);
8239 {
8240 if (temp8)
8241 delete arg8;
8242 }
8243 return resultobj;
8244 fail:
8245 {
8246 if (temp8)
8247 delete arg8;
8248 }
8249 return NULL;
8250 }
8251
8252
8253 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8256 int result;
8257 PyObject * obj0 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 resultobj = PyInt_FromLong((long)result);
8272 return resultobj;
8273 fail:
8274 return NULL;
8275 }
8276
8277
8278 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj;
8280 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8281 int result;
8282 PyObject * obj0 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "self", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 resultobj = PyInt_FromLong((long)result);
8297 return resultobj;
8298 fail:
8299 return NULL;
8300 }
8301
8302
8303 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8304 PyObject *resultobj;
8305 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8306 int result;
8307 PyObject * obj0 = 0 ;
8308 char *kwnames[] = {
8309 (char *) "self", NULL
8310 };
8311
8312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8314 {
8315 PyThreadState* __tstate = wxPyBeginAllowThreads();
8316 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8317
8318 wxPyEndAllowThreads(__tstate);
8319 if (PyErr_Occurred()) SWIG_fail;
8320 }
8321 resultobj = PyInt_FromLong((long)result);
8322 return resultobj;
8323 fail:
8324 return NULL;
8325 }
8326
8327
8328 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj;
8330 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8331 int result;
8332 PyObject * obj0 = 0 ;
8333 char *kwnames[] = {
8334 (char *) "self", NULL
8335 };
8336
8337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 result = (int)((wxScrollBar const *)arg1)->GetRange();
8342
8343 wxPyEndAllowThreads(__tstate);
8344 if (PyErr_Occurred()) SWIG_fail;
8345 }
8346 resultobj = PyInt_FromLong((long)result);
8347 return resultobj;
8348 fail:
8349 return NULL;
8350 }
8351
8352
8353 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8356 bool result;
8357 PyObject * obj0 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = PyInt_FromLong((long)result);
8372 return resultobj;
8373 fail:
8374 return NULL;
8375 }
8376
8377
8378 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj;
8380 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8381 int arg2 ;
8382 PyObject * obj0 = 0 ;
8383 char *kwnames[] = {
8384 (char *) "self",(char *) "viewStart", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 (arg1)->SetThumbPosition(arg2);
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 Py_INCREF(Py_None); resultobj = Py_None;
8397 return resultobj;
8398 fail:
8399 return NULL;
8400 }
8401
8402
8403 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj;
8405 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8406 int arg2 ;
8407 int arg3 ;
8408 int arg4 ;
8409 int arg5 ;
8410 bool arg6 = (bool) TRUE ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj5 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8419 if (obj5) {
8420 arg6 = PyInt_AsLong(obj5) ? true : false;
8421 if (PyErr_Occurred()) SWIG_fail;
8422 }
8423 {
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8426
8427 wxPyEndAllowThreads(__tstate);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 Py_INCREF(Py_None); resultobj = Py_None;
8431 return resultobj;
8432 fail:
8433 return NULL;
8434 }
8435
8436
8437 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8438 PyObject *obj;
8439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8440 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8441 Py_INCREF(obj);
8442 return Py_BuildValue((char *)"");
8443 }
8444 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8445 PyObject *resultobj;
8446 wxWindow *arg1 = (wxWindow *) 0 ;
8447 wxWindowID arg2 = (wxWindowID) -1 ;
8448 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8449 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8450 wxSize const &arg4_defvalue = wxDefaultSize ;
8451 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8452 long arg5 = (long) wxSP_HORIZONTAL ;
8453 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8454 wxString *arg6 = (wxString *) &arg6_defvalue ;
8455 wxSpinButton *result;
8456 wxPoint temp3 ;
8457 wxSize temp4 ;
8458 bool temp6 = false ;
8459 PyObject * obj0 = 0 ;
8460 PyObject * obj2 = 0 ;
8461 PyObject * obj3 = 0 ;
8462 PyObject * obj5 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8469 if (obj2) {
8470 {
8471 arg3 = &temp3;
8472 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8473 }
8474 }
8475 if (obj3) {
8476 {
8477 arg4 = &temp4;
8478 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8479 }
8480 }
8481 if (obj5) {
8482 {
8483 arg6 = wxString_in_helper(obj5);
8484 if (arg6 == NULL) SWIG_fail;
8485 temp6 = true;
8486 }
8487 }
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8491
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
8495 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8496 {
8497 if (temp6)
8498 delete arg6;
8499 }
8500 return resultobj;
8501 fail:
8502 {
8503 if (temp6)
8504 delete arg6;
8505 }
8506 return NULL;
8507 }
8508
8509
8510 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8511 PyObject *resultobj;
8512 wxSpinButton *result;
8513 char *kwnames[] = {
8514 NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (wxSpinButton *)new wxSpinButton();
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8526 return resultobj;
8527 fail:
8528 return NULL;
8529 }
8530
8531
8532 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8533 PyObject *resultobj;
8534 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8535 wxWindow *arg2 = (wxWindow *) 0 ;
8536 wxWindowID arg3 = (wxWindowID) -1 ;
8537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8539 wxSize const &arg5_defvalue = wxDefaultSize ;
8540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8541 long arg6 = (long) wxSP_HORIZONTAL ;
8542 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8543 wxString *arg7 = (wxString *) &arg7_defvalue ;
8544 bool result;
8545 wxPoint temp4 ;
8546 wxSize temp5 ;
8547 bool temp7 = false ;
8548 PyObject * obj0 = 0 ;
8549 PyObject * obj1 = 0 ;
8550 PyObject * obj3 = 0 ;
8551 PyObject * obj4 = 0 ;
8552 PyObject * obj6 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8560 if (obj3) {
8561 {
8562 arg4 = &temp4;
8563 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8564 }
8565 }
8566 if (obj4) {
8567 {
8568 arg5 = &temp5;
8569 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8570 }
8571 }
8572 if (obj6) {
8573 {
8574 arg7 = wxString_in_helper(obj6);
8575 if (arg7 == NULL) SWIG_fail;
8576 temp7 = true;
8577 }
8578 }
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8582
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 resultobj = PyInt_FromLong((long)result);
8587 {
8588 if (temp7)
8589 delete arg7;
8590 }
8591 return resultobj;
8592 fail:
8593 {
8594 if (temp7)
8595 delete arg7;
8596 }
8597 return NULL;
8598 }
8599
8600
8601 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8604 int result;
8605 PyObject * obj0 = 0 ;
8606 char *kwnames[] = {
8607 (char *) "self", NULL
8608 };
8609
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (int)((wxSpinButton const *)arg1)->GetValue();
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 resultobj = PyInt_FromLong((long)result);
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8629 int result;
8630 PyObject * obj0 = 0 ;
8631 char *kwnames[] = {
8632 (char *) "self", NULL
8633 };
8634
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8637 {
8638 PyThreadState* __tstate = wxPyBeginAllowThreads();
8639 result = (int)((wxSpinButton const *)arg1)->GetMin();
8640
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 resultobj = PyInt_FromLong((long)result);
8645 return resultobj;
8646 fail:
8647 return NULL;
8648 }
8649
8650
8651 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8654 int result;
8655 PyObject * obj0 = 0 ;
8656 char *kwnames[] = {
8657 (char *) "self", NULL
8658 };
8659
8660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 result = (int)((wxSpinButton const *)arg1)->GetMax();
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 resultobj = PyInt_FromLong((long)result);
8670 return resultobj;
8671 fail:
8672 return NULL;
8673 }
8674
8675
8676 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8677 PyObject *resultobj;
8678 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8679 int arg2 ;
8680 PyObject * obj0 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self",(char *) "val", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 (arg1)->SetValue(arg2);
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 Py_INCREF(Py_None); resultobj = Py_None;
8695 return resultobj;
8696 fail:
8697 return NULL;
8698 }
8699
8700
8701 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8704 int arg2 ;
8705 PyObject * obj0 = 0 ;
8706 char *kwnames[] = {
8707 (char *) "self",(char *) "minVal", NULL
8708 };
8709
8710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8712 {
8713 PyThreadState* __tstate = wxPyBeginAllowThreads();
8714 (arg1)->SetMin(arg2);
8715
8716 wxPyEndAllowThreads(__tstate);
8717 if (PyErr_Occurred()) SWIG_fail;
8718 }
8719 Py_INCREF(Py_None); resultobj = Py_None;
8720 return resultobj;
8721 fail:
8722 return NULL;
8723 }
8724
8725
8726 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8727 PyObject *resultobj;
8728 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8729 int arg2 ;
8730 PyObject * obj0 = 0 ;
8731 char *kwnames[] = {
8732 (char *) "self",(char *) "maxVal", NULL
8733 };
8734
8735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 (arg1)->SetMax(arg2);
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 Py_INCREF(Py_None); resultobj = Py_None;
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8754 int arg2 ;
8755 int arg3 ;
8756 PyObject * obj0 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 (arg1)->SetRange(arg2,arg3);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 Py_INCREF(Py_None); resultobj = Py_None;
8771 return resultobj;
8772 fail:
8773 return NULL;
8774 }
8775
8776
8777 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8778 PyObject *resultobj;
8779 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8780 bool result;
8781 PyObject * obj0 = 0 ;
8782 char *kwnames[] = {
8783 (char *) "self", NULL
8784 };
8785
8786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 resultobj = PyInt_FromLong((long)result);
8796 return resultobj;
8797 fail:
8798 return NULL;
8799 }
8800
8801
8802 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8803 PyObject *obj;
8804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8805 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8806 Py_INCREF(obj);
8807 return Py_BuildValue((char *)"");
8808 }
8809 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxWindow *arg1 = (wxWindow *) 0 ;
8812 wxWindowID arg2 = (wxWindowID) -1 ;
8813 wxString const &arg3_defvalue = wxPyEmptyString ;
8814 wxString *arg3 = (wxString *) &arg3_defvalue ;
8815 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8816 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8817 wxSize const &arg5_defvalue = wxDefaultSize ;
8818 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8819 long arg6 = (long) wxSP_ARROW_KEYS ;
8820 int arg7 = (int) 0 ;
8821 int arg8 = (int) 100 ;
8822 int arg9 = (int) 0 ;
8823 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8824 wxString *arg10 = (wxString *) &arg10_defvalue ;
8825 wxSpinCtrl *result;
8826 bool temp3 = false ;
8827 wxPoint temp4 ;
8828 wxSize temp5 ;
8829 bool temp10 = false ;
8830 PyObject * obj0 = 0 ;
8831 PyObject * obj2 = 0 ;
8832 PyObject * obj3 = 0 ;
8833 PyObject * obj4 = 0 ;
8834 PyObject * obj9 = 0 ;
8835 char *kwnames[] = {
8836 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8837 };
8838
8839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8841 if (obj2) {
8842 {
8843 arg3 = wxString_in_helper(obj2);
8844 if (arg3 == NULL) SWIG_fail;
8845 temp3 = true;
8846 }
8847 }
8848 if (obj3) {
8849 {
8850 arg4 = &temp4;
8851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8852 }
8853 }
8854 if (obj4) {
8855 {
8856 arg5 = &temp5;
8857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8858 }
8859 }
8860 if (obj9) {
8861 {
8862 arg10 = wxString_in_helper(obj9);
8863 if (arg10 == NULL) SWIG_fail;
8864 temp10 = true;
8865 }
8866 }
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8870
8871 wxPyEndAllowThreads(__tstate);
8872 if (PyErr_Occurred()) SWIG_fail;
8873 }
8874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8875 {
8876 if (temp3)
8877 delete arg3;
8878 }
8879 {
8880 if (temp10)
8881 delete arg10;
8882 }
8883 return resultobj;
8884 fail:
8885 {
8886 if (temp3)
8887 delete arg3;
8888 }
8889 {
8890 if (temp10)
8891 delete arg10;
8892 }
8893 return NULL;
8894 }
8895
8896
8897 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj;
8899 wxSpinCtrl *result;
8900 char *kwnames[] = {
8901 NULL
8902 };
8903
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8905 {
8906 PyThreadState* __tstate = wxPyBeginAllowThreads();
8907 result = (wxSpinCtrl *)new wxSpinCtrl();
8908
8909 wxPyEndAllowThreads(__tstate);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 }
8912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8913 return resultobj;
8914 fail:
8915 return NULL;
8916 }
8917
8918
8919 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj;
8921 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8922 wxWindow *arg2 = (wxWindow *) 0 ;
8923 wxWindowID arg3 = (wxWindowID) -1 ;
8924 wxString const &arg4_defvalue = wxPyEmptyString ;
8925 wxString *arg4 = (wxString *) &arg4_defvalue ;
8926 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8927 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8928 wxSize const &arg6_defvalue = wxDefaultSize ;
8929 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8930 long arg7 = (long) wxSP_ARROW_KEYS ;
8931 int arg8 = (int) 0 ;
8932 int arg9 = (int) 100 ;
8933 int arg10 = (int) 0 ;
8934 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8935 wxString *arg11 = (wxString *) &arg11_defvalue ;
8936 bool result;
8937 bool temp4 = false ;
8938 wxPoint temp5 ;
8939 wxSize temp6 ;
8940 bool temp11 = false ;
8941 PyObject * obj0 = 0 ;
8942 PyObject * obj1 = 0 ;
8943 PyObject * obj3 = 0 ;
8944 PyObject * obj4 = 0 ;
8945 PyObject * obj5 = 0 ;
8946 PyObject * obj10 = 0 ;
8947 char *kwnames[] = {
8948 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8949 };
8950
8951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8954 if (obj3) {
8955 {
8956 arg4 = wxString_in_helper(obj3);
8957 if (arg4 == NULL) SWIG_fail;
8958 temp4 = true;
8959 }
8960 }
8961 if (obj4) {
8962 {
8963 arg5 = &temp5;
8964 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8965 }
8966 }
8967 if (obj5) {
8968 {
8969 arg6 = &temp6;
8970 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8971 }
8972 }
8973 if (obj10) {
8974 {
8975 arg11 = wxString_in_helper(obj10);
8976 if (arg11 == NULL) SWIG_fail;
8977 temp11 = true;
8978 }
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8983
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = PyInt_FromLong((long)result);
8988 {
8989 if (temp4)
8990 delete arg4;
8991 }
8992 {
8993 if (temp11)
8994 delete arg11;
8995 }
8996 return resultobj;
8997 fail:
8998 {
8999 if (temp4)
9000 delete arg4;
9001 }
9002 {
9003 if (temp11)
9004 delete arg11;
9005 }
9006 return NULL;
9007 }
9008
9009
9010 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9011 PyObject *resultobj;
9012 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9013 int result;
9014 PyObject * obj0 = 0 ;
9015 char *kwnames[] = {
9016 (char *) "self", NULL
9017 };
9018
9019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9024
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 resultobj = PyInt_FromLong((long)result);
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9038 int arg2 ;
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self",(char *) "value", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 (arg1)->SetValue(arg2);
9049
9050 wxPyEndAllowThreads(__tstate);
9051 if (PyErr_Occurred()) SWIG_fail;
9052 }
9053 Py_INCREF(Py_None); resultobj = Py_None;
9054 return resultobj;
9055 fail:
9056 return NULL;
9057 }
9058
9059
9060 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9061 PyObject *resultobj;
9062 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9063 wxString *arg2 = 0 ;
9064 bool temp2 = false ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self",(char *) "text", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9073 {
9074 arg2 = wxString_in_helper(obj1);
9075 if (arg2 == NULL) SWIG_fail;
9076 temp2 = true;
9077 }
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 (arg1)->SetValue((wxString const &)*arg2);
9081
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 Py_INCREF(Py_None); resultobj = Py_None;
9086 {
9087 if (temp2)
9088 delete arg2;
9089 }
9090 return resultobj;
9091 fail:
9092 {
9093 if (temp2)
9094 delete arg2;
9095 }
9096 return NULL;
9097 }
9098
9099
9100 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9103 int arg2 ;
9104 int arg3 ;
9105 PyObject * obj0 = 0 ;
9106 char *kwnames[] = {
9107 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9108 };
9109
9110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 (arg1)->SetRange(arg2,arg3);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 Py_INCREF(Py_None); resultobj = Py_None;
9120 return resultobj;
9121 fail:
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9129 int result;
9130 PyObject * obj0 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "self", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9137 {
9138 PyThreadState* __tstate = wxPyBeginAllowThreads();
9139 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 resultobj = PyInt_FromLong((long)result);
9145 return resultobj;
9146 fail:
9147 return NULL;
9148 }
9149
9150
9151 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj;
9153 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9154 int result;
9155 PyObject * obj0 = 0 ;
9156 char *kwnames[] = {
9157 (char *) "self", NULL
9158 };
9159
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9162 {
9163 PyThreadState* __tstate = wxPyBeginAllowThreads();
9164 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9165
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 resultobj = PyInt_FromLong((long)result);
9170 return resultobj;
9171 fail:
9172 return NULL;
9173 }
9174
9175
9176 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9177 PyObject *resultobj;
9178 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9179 long arg2 ;
9180 long arg3 ;
9181 PyObject * obj0 = 0 ;
9182 char *kwnames[] = {
9183 (char *) "self",(char *) "from",(char *) "to", NULL
9184 };
9185
9186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 (arg1)->SetSelection(arg2,arg3);
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 Py_INCREF(Py_None); resultobj = Py_None;
9196 return resultobj;
9197 fail:
9198 return NULL;
9199 }
9200
9201
9202 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9203 PyObject *obj;
9204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9205 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9206 Py_INCREF(obj);
9207 return Py_BuildValue((char *)"");
9208 }
9209 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxWindow *arg1 = (wxWindow *) 0 ;
9212 wxWindowID arg2 ;
9213 wxString *arg3 = 0 ;
9214 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9215 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9216 wxSize const &arg5_defvalue = wxDefaultSize ;
9217 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9218 int arg6 = (int) 0 ;
9219 wxString *arg7 = (wxString *) NULL ;
9220 int arg8 = (int) 0 ;
9221 long arg9 = (long) wxRA_HORIZONTAL ;
9222 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9223 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9224 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9225 wxString *arg11 = (wxString *) &arg11_defvalue ;
9226 wxRadioBox *result;
9227 bool temp3 = false ;
9228 wxPoint temp4 ;
9229 wxSize temp5 ;
9230 bool temp10 = false ;
9231 PyObject * obj0 = 0 ;
9232 PyObject * obj2 = 0 ;
9233 PyObject * obj3 = 0 ;
9234 PyObject * obj4 = 0 ;
9235 PyObject * obj5 = 0 ;
9236 PyObject * obj8 = 0 ;
9237 PyObject * obj9 = 0 ;
9238 char *kwnames[] = {
9239 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9240 };
9241
9242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9244 {
9245 arg3 = wxString_in_helper(obj2);
9246 if (arg3 == NULL) SWIG_fail;
9247 temp3 = true;
9248 }
9249 if (obj3) {
9250 {
9251 arg4 = &temp4;
9252 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9253 }
9254 }
9255 if (obj4) {
9256 {
9257 arg5 = &temp5;
9258 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9259 }
9260 }
9261 if (obj5) {
9262 {
9263 arg6 = PyList_Size(obj5);
9264 arg7 = wxString_LIST_helper(obj5);
9265 if (arg7 == NULL) SWIG_fail;
9266 }
9267 }
9268 if (obj8) {
9269 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 if (arg10 == NULL) {
9271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9272 }
9273 }
9274 if (obj9) {
9275 {
9276 arg11 = wxString_in_helper(obj9);
9277 if (arg11 == NULL) SWIG_fail;
9278 temp10 = true;
9279 }
9280 }
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
9284
9285 wxPyEndAllowThreads(__tstate);
9286 if (PyErr_Occurred()) SWIG_fail;
9287 }
9288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9289 {
9290 if (temp3)
9291 delete arg3;
9292 }
9293 {
9294 if (arg7) delete [] arg7;
9295 }
9296 {
9297 if (temp10)
9298 delete arg11;
9299 }
9300 return resultobj;
9301 fail:
9302 {
9303 if (temp3)
9304 delete arg3;
9305 }
9306 {
9307 if (arg7) delete [] arg7;
9308 }
9309 {
9310 if (temp10)
9311 delete arg11;
9312 }
9313 return NULL;
9314 }
9315
9316
9317 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9318 PyObject *resultobj;
9319 wxRadioBox *result;
9320 char *kwnames[] = {
9321 NULL
9322 };
9323
9324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 result = (wxRadioBox *)new wxRadioBox();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9342 wxWindow *arg2 = (wxWindow *) 0 ;
9343 wxWindowID arg3 ;
9344 wxString *arg4 = 0 ;
9345 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9346 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9347 wxSize const &arg6_defvalue = wxDefaultSize ;
9348 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9349 int arg7 = (int) 0 ;
9350 wxString *arg8 = (wxString *) NULL ;
9351 int arg9 = (int) 0 ;
9352 long arg10 = (long) wxRA_HORIZONTAL ;
9353 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9354 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9355 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9356 wxString *arg12 = (wxString *) &arg12_defvalue ;
9357 bool result;
9358 bool temp4 = false ;
9359 wxPoint temp5 ;
9360 wxSize temp6 ;
9361 bool temp11 = false ;
9362 PyObject * obj0 = 0 ;
9363 PyObject * obj1 = 0 ;
9364 PyObject * obj3 = 0 ;
9365 PyObject * obj4 = 0 ;
9366 PyObject * obj5 = 0 ;
9367 PyObject * obj6 = 0 ;
9368 PyObject * obj9 = 0 ;
9369 PyObject * obj10 = 0 ;
9370 char *kwnames[] = {
9371 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9372 };
9373
9374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9377 {
9378 arg4 = wxString_in_helper(obj3);
9379 if (arg4 == NULL) SWIG_fail;
9380 temp4 = true;
9381 }
9382 if (obj4) {
9383 {
9384 arg5 = &temp5;
9385 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9386 }
9387 }
9388 if (obj5) {
9389 {
9390 arg6 = &temp6;
9391 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9392 }
9393 }
9394 if (obj6) {
9395 {
9396 arg7 = PyList_Size(obj6);
9397 arg8 = wxString_LIST_helper(obj6);
9398 if (arg8 == NULL) SWIG_fail;
9399 }
9400 }
9401 if (obj9) {
9402 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 if (arg11 == NULL) {
9404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9405 }
9406 }
9407 if (obj10) {
9408 {
9409 arg12 = wxString_in_helper(obj10);
9410 if (arg12 == NULL) SWIG_fail;
9411 temp11 = true;
9412 }
9413 }
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxValidator const &)*arg11,(wxString const &)*arg12);
9417
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
9421 resultobj = PyInt_FromLong((long)result);
9422 {
9423 if (temp4)
9424 delete arg4;
9425 }
9426 {
9427 if (arg8) delete [] arg8;
9428 }
9429 {
9430 if (temp11)
9431 delete arg12;
9432 }
9433 return resultobj;
9434 fail:
9435 {
9436 if (temp4)
9437 delete arg4;
9438 }
9439 {
9440 if (arg8) delete [] arg8;
9441 }
9442 {
9443 if (temp11)
9444 delete arg12;
9445 }
9446 return NULL;
9447 }
9448
9449
9450 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9453 int arg2 ;
9454 PyObject * obj0 = 0 ;
9455 char *kwnames[] = {
9456 (char *) "self",(char *) "n", NULL
9457 };
9458
9459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9461 {
9462 PyThreadState* __tstate = wxPyBeginAllowThreads();
9463 (arg1)->SetSelection(arg2);
9464
9465 wxPyEndAllowThreads(__tstate);
9466 if (PyErr_Occurred()) SWIG_fail;
9467 }
9468 Py_INCREF(Py_None); resultobj = Py_None;
9469 return resultobj;
9470 fail:
9471 return NULL;
9472 }
9473
9474
9475 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9476 PyObject *resultobj;
9477 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9478 int result;
9479 PyObject * obj0 = 0 ;
9480 char *kwnames[] = {
9481 (char *) "self", NULL
9482 };
9483
9484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = PyInt_FromLong((long)result);
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9503 wxString result;
9504 PyObject * obj0 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9511 {
9512 PyThreadState* __tstate = wxPyBeginAllowThreads();
9513 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9514
9515 wxPyEndAllowThreads(__tstate);
9516 if (PyErr_Occurred()) SWIG_fail;
9517 }
9518 {
9519 #if wxUSE_UNICODE
9520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9521 #else
9522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9523 #endif
9524 }
9525 return resultobj;
9526 fail:
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9534 wxString *arg2 = 0 ;
9535 bool result;
9536 bool temp2 = false ;
9537 PyObject * obj0 = 0 ;
9538 PyObject * obj1 = 0 ;
9539 char *kwnames[] = {
9540 (char *) "self",(char *) "s", NULL
9541 };
9542
9543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9545 {
9546 arg2 = wxString_in_helper(obj1);
9547 if (arg2 == NULL) SWIG_fail;
9548 temp2 = true;
9549 }
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 resultobj = PyInt_FromLong((long)result);
9558 {
9559 if (temp2)
9560 delete arg2;
9561 }
9562 return resultobj;
9563 fail:
9564 {
9565 if (temp2)
9566 delete arg2;
9567 }
9568 return NULL;
9569 }
9570
9571
9572 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject *resultobj;
9574 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9575 int result;
9576 PyObject * obj0 = 0 ;
9577 char *kwnames[] = {
9578 (char *) "self", NULL
9579 };
9580
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (int)((wxRadioBox const *)arg1)->GetCount();
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 resultobj = PyInt_FromLong((long)result);
9591 return resultobj;
9592 fail:
9593 return NULL;
9594 }
9595
9596
9597 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9598 PyObject *resultobj;
9599 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9600 wxString *arg2 = 0 ;
9601 int result;
9602 bool temp2 = false ;
9603 PyObject * obj0 = 0 ;
9604 PyObject * obj1 = 0 ;
9605 char *kwnames[] = {
9606 (char *) "self",(char *) "s", NULL
9607 };
9608
9609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9611 {
9612 arg2 = wxString_in_helper(obj1);
9613 if (arg2 == NULL) SWIG_fail;
9614 temp2 = true;
9615 }
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 resultobj = PyInt_FromLong((long)result);
9624 {
9625 if (temp2)
9626 delete arg2;
9627 }
9628 return resultobj;
9629 fail:
9630 {
9631 if (temp2)
9632 delete arg2;
9633 }
9634 return NULL;
9635 }
9636
9637
9638 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9641 int arg2 ;
9642 wxString result;
9643 PyObject * obj0 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "self",(char *) "n", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 {
9658 #if wxUSE_UNICODE
9659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9660 #else
9661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9662 #endif
9663 }
9664 return resultobj;
9665 fail:
9666 return NULL;
9667 }
9668
9669
9670 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj;
9672 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9673 int arg2 ;
9674 wxString *arg3 = 0 ;
9675 bool temp3 = false ;
9676 PyObject * obj0 = 0 ;
9677 PyObject * obj2 = 0 ;
9678 char *kwnames[] = {
9679 (char *) "self",(char *) "n",(char *) "label", NULL
9680 };
9681
9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9684 {
9685 arg3 = wxString_in_helper(obj2);
9686 if (arg3 == NULL) SWIG_fail;
9687 temp3 = true;
9688 }
9689 {
9690 PyThreadState* __tstate = wxPyBeginAllowThreads();
9691 (arg1)->SetString(arg2,(wxString const &)*arg3);
9692
9693 wxPyEndAllowThreads(__tstate);
9694 if (PyErr_Occurred()) SWIG_fail;
9695 }
9696 Py_INCREF(Py_None); resultobj = Py_None;
9697 {
9698 if (temp3)
9699 delete arg3;
9700 }
9701 return resultobj;
9702 fail:
9703 {
9704 if (temp3)
9705 delete arg3;
9706 }
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9714 int arg2 ;
9715 bool arg3 = (bool) TRUE ;
9716 PyObject * obj0 = 0 ;
9717 PyObject * obj2 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self",(char *) "n",(char *) "enable", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9724 if (obj2) {
9725 arg3 = PyInt_AsLong(obj2) ? true : false;
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 (arg1)->Enable(arg2,arg3);
9731
9732 wxPyEndAllowThreads(__tstate);
9733 if (PyErr_Occurred()) SWIG_fail;
9734 }
9735 Py_INCREF(Py_None); resultobj = Py_None;
9736 return resultobj;
9737 fail:
9738 return NULL;
9739 }
9740
9741
9742 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject *resultobj;
9744 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9745 int arg2 ;
9746 bool arg3 = (bool) TRUE ;
9747 PyObject * obj0 = 0 ;
9748 PyObject * obj2 = 0 ;
9749 char *kwnames[] = {
9750 (char *) "self",(char *) "n",(char *) "show", NULL
9751 };
9752
9753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9755 if (obj2) {
9756 arg3 = PyInt_AsLong(obj2) ? true : false;
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 (arg1)->Show(arg2,arg3);
9762
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 Py_INCREF(Py_None); resultobj = Py_None;
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj;
9775 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9776 int result;
9777 PyObject * obj0 = 0 ;
9778 char *kwnames[] = {
9779 (char *) "self", NULL
9780 };
9781
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9787
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 resultobj = PyInt_FromLong((long)result);
9792 return resultobj;
9793 fail:
9794 return NULL;
9795 }
9796
9797
9798 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9799 PyObject *resultobj;
9800 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9801 int result;
9802 PyObject * obj0 = 0 ;
9803 char *kwnames[] = {
9804 (char *) "self", NULL
9805 };
9806
9807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9809 {
9810 PyThreadState* __tstate = wxPyBeginAllowThreads();
9811 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9812
9813 wxPyEndAllowThreads(__tstate);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 resultobj = PyInt_FromLong((long)result);
9817 return resultobj;
9818 fail:
9819 return NULL;
9820 }
9821
9822
9823 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9824 PyObject *resultobj;
9825 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9826 int arg2 ;
9827 int arg3 ;
9828 long arg4 ;
9829 int result;
9830 PyObject * obj0 = 0 ;
9831 char *kwnames[] = {
9832 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9833 };
9834
9835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9837 {
9838 PyThreadState* __tstate = wxPyBeginAllowThreads();
9839 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9840
9841 wxPyEndAllowThreads(__tstate);
9842 if (PyErr_Occurred()) SWIG_fail;
9843 }
9844 resultobj = PyInt_FromLong((long)result);
9845 return resultobj;
9846 fail:
9847 return NULL;
9848 }
9849
9850
9851 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9852 PyObject *obj;
9853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9854 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9855 Py_INCREF(obj);
9856 return Py_BuildValue((char *)"");
9857 }
9858 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9859 PyObject *resultobj;
9860 wxWindow *arg1 = (wxWindow *) 0 ;
9861 wxWindowID arg2 ;
9862 wxString *arg3 = 0 ;
9863 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9864 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9865 wxSize const &arg5_defvalue = wxDefaultSize ;
9866 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9867 long arg6 = (long) 0 ;
9868 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9869 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9870 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9871 wxString *arg8 = (wxString *) &arg8_defvalue ;
9872 wxRadioButton *result;
9873 bool temp3 = false ;
9874 wxPoint temp4 ;
9875 wxSize temp5 ;
9876 bool temp8 = false ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj2 = 0 ;
9879 PyObject * obj3 = 0 ;
9880 PyObject * obj4 = 0 ;
9881 PyObject * obj6 = 0 ;
9882 PyObject * obj7 = 0 ;
9883 char *kwnames[] = {
9884 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9885 };
9886
9887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9889 {
9890 arg3 = wxString_in_helper(obj2);
9891 if (arg3 == NULL) SWIG_fail;
9892 temp3 = true;
9893 }
9894 if (obj3) {
9895 {
9896 arg4 = &temp4;
9897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9898 }
9899 }
9900 if (obj4) {
9901 {
9902 arg5 = &temp5;
9903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9904 }
9905 }
9906 if (obj6) {
9907 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9908 if (arg7 == NULL) {
9909 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9910 }
9911 }
9912 if (obj7) {
9913 {
9914 arg8 = wxString_in_helper(obj7);
9915 if (arg8 == NULL) SWIG_fail;
9916 temp8 = true;
9917 }
9918 }
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9927 {
9928 if (temp3)
9929 delete arg3;
9930 }
9931 {
9932 if (temp8)
9933 delete arg8;
9934 }
9935 return resultobj;
9936 fail:
9937 {
9938 if (temp3)
9939 delete arg3;
9940 }
9941 {
9942 if (temp8)
9943 delete arg8;
9944 }
9945 return NULL;
9946 }
9947
9948
9949 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj;
9951 wxRadioButton *result;
9952 char *kwnames[] = {
9953 NULL
9954 };
9955
9956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9957 {
9958 PyThreadState* __tstate = wxPyBeginAllowThreads();
9959 result = (wxRadioButton *)new wxRadioButton();
9960
9961 wxPyEndAllowThreads(__tstate);
9962 if (PyErr_Occurred()) SWIG_fail;
9963 }
9964 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9965 return resultobj;
9966 fail:
9967 return NULL;
9968 }
9969
9970
9971 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9972 PyObject *resultobj;
9973 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9974 wxWindow *arg2 = (wxWindow *) 0 ;
9975 wxWindowID arg3 ;
9976 wxString *arg4 = 0 ;
9977 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9978 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9979 wxSize const &arg6_defvalue = wxDefaultSize ;
9980 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9981 long arg7 = (long) 0 ;
9982 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9983 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9984 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9985 wxString *arg9 = (wxString *) &arg9_defvalue ;
9986 bool result;
9987 bool temp4 = false ;
9988 wxPoint temp5 ;
9989 wxSize temp6 ;
9990 bool temp9 = false ;
9991 PyObject * obj0 = 0 ;
9992 PyObject * obj1 = 0 ;
9993 PyObject * obj3 = 0 ;
9994 PyObject * obj4 = 0 ;
9995 PyObject * obj5 = 0 ;
9996 PyObject * obj7 = 0 ;
9997 PyObject * obj8 = 0 ;
9998 char *kwnames[] = {
9999 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10000 };
10001
10002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10005 {
10006 arg4 = wxString_in_helper(obj3);
10007 if (arg4 == NULL) SWIG_fail;
10008 temp4 = true;
10009 }
10010 if (obj4) {
10011 {
10012 arg5 = &temp5;
10013 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10014 }
10015 }
10016 if (obj5) {
10017 {
10018 arg6 = &temp6;
10019 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10020 }
10021 }
10022 if (obj7) {
10023 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10024 if (arg8 == NULL) {
10025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10026 }
10027 }
10028 if (obj8) {
10029 {
10030 arg9 = wxString_in_helper(obj8);
10031 if (arg9 == NULL) SWIG_fail;
10032 temp9 = true;
10033 }
10034 }
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 resultobj = PyInt_FromLong((long)result);
10043 {
10044 if (temp4)
10045 delete arg4;
10046 }
10047 {
10048 if (temp9)
10049 delete arg9;
10050 }
10051 return resultobj;
10052 fail:
10053 {
10054 if (temp4)
10055 delete arg4;
10056 }
10057 {
10058 if (temp9)
10059 delete arg9;
10060 }
10061 return NULL;
10062 }
10063
10064
10065 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10068 bool result;
10069 PyObject * obj0 = 0 ;
10070 char *kwnames[] = {
10071 (char *) "self", NULL
10072 };
10073
10074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (bool)(arg1)->GetValue();
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
10083 resultobj = PyInt_FromLong((long)result);
10084 return resultobj;
10085 fail:
10086 return NULL;
10087 }
10088
10089
10090 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10093 bool arg2 ;
10094 PyObject * obj0 = 0 ;
10095 PyObject * obj1 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self",(char *) "value", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10102 arg2 = PyInt_AsLong(obj1) ? true : false;
10103 if (PyErr_Occurred()) SWIG_fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 (arg1)->SetValue(arg2);
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 Py_INCREF(Py_None); resultobj = Py_None;
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10119 PyObject *obj;
10120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10121 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10122 Py_INCREF(obj);
10123 return Py_BuildValue((char *)"");
10124 }
10125 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxWindow *arg1 = (wxWindow *) 0 ;
10128 wxWindowID arg2 ;
10129 int arg3 ;
10130 int arg4 ;
10131 int arg5 ;
10132 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10133 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10134 wxSize const &arg7_defvalue = wxDefaultSize ;
10135 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10136 long arg8 = (long) wxSL_HORIZONTAL ;
10137 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10138 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10139 wxString const &arg10_defvalue = wxPySliderNameStr ;
10140 wxString *arg10 = (wxString *) &arg10_defvalue ;
10141 wxSlider *result;
10142 wxPoint temp6 ;
10143 wxSize temp7 ;
10144 bool temp10 = false ;
10145 PyObject * obj0 = 0 ;
10146 PyObject * obj5 = 0 ;
10147 PyObject * obj6 = 0 ;
10148 PyObject * obj8 = 0 ;
10149 PyObject * obj9 = 0 ;
10150 char *kwnames[] = {
10151 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10152 };
10153
10154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10156 if (obj5) {
10157 {
10158 arg6 = &temp6;
10159 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10160 }
10161 }
10162 if (obj6) {
10163 {
10164 arg7 = &temp7;
10165 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10166 }
10167 }
10168 if (obj8) {
10169 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10170 if (arg9 == NULL) {
10171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10172 }
10173 }
10174 if (obj9) {
10175 {
10176 arg10 = wxString_in_helper(obj9);
10177 if (arg10 == NULL) SWIG_fail;
10178 temp10 = true;
10179 }
10180 }
10181 {
10182 PyThreadState* __tstate = wxPyBeginAllowThreads();
10183 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10184
10185 wxPyEndAllowThreads(__tstate);
10186 if (PyErr_Occurred()) SWIG_fail;
10187 }
10188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10189 {
10190 if (temp10)
10191 delete arg10;
10192 }
10193 return resultobj;
10194 fail:
10195 {
10196 if (temp10)
10197 delete arg10;
10198 }
10199 return NULL;
10200 }
10201
10202
10203 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj;
10205 wxSlider *result;
10206 char *kwnames[] = {
10207 NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 result = (wxSlider *)new wxSlider();
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
10218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10219 return resultobj;
10220 fail:
10221 return NULL;
10222 }
10223
10224
10225 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10226 PyObject *resultobj;
10227 wxSlider *arg1 = (wxSlider *) 0 ;
10228 wxWindow *arg2 = (wxWindow *) 0 ;
10229 wxWindowID arg3 ;
10230 int arg4 ;
10231 int arg5 ;
10232 int arg6 ;
10233 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10234 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10235 wxSize const &arg8_defvalue = wxDefaultSize ;
10236 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10237 long arg9 = (long) wxSL_HORIZONTAL ;
10238 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10239 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10240 wxString const &arg11_defvalue = wxPySliderNameStr ;
10241 wxString *arg11 = (wxString *) &arg11_defvalue ;
10242 bool result;
10243 wxPoint temp7 ;
10244 wxSize temp8 ;
10245 bool temp11 = false ;
10246 PyObject * obj0 = 0 ;
10247 PyObject * obj1 = 0 ;
10248 PyObject * obj6 = 0 ;
10249 PyObject * obj7 = 0 ;
10250 PyObject * obj9 = 0 ;
10251 PyObject * obj10 = 0 ;
10252 char *kwnames[] = {
10253 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10254 };
10255
10256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10259 if (obj6) {
10260 {
10261 arg7 = &temp7;
10262 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10263 }
10264 }
10265 if (obj7) {
10266 {
10267 arg8 = &temp8;
10268 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10269 }
10270 }
10271 if (obj9) {
10272 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10273 if (arg10 == NULL) {
10274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10275 }
10276 }
10277 if (obj10) {
10278 {
10279 arg11 = wxString_in_helper(obj10);
10280 if (arg11 == NULL) SWIG_fail;
10281 temp11 = true;
10282 }
10283 }
10284 {
10285 PyThreadState* __tstate = wxPyBeginAllowThreads();
10286 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10287
10288 wxPyEndAllowThreads(__tstate);
10289 if (PyErr_Occurred()) SWIG_fail;
10290 }
10291 resultobj = PyInt_FromLong((long)result);
10292 {
10293 if (temp11)
10294 delete arg11;
10295 }
10296 return resultobj;
10297 fail:
10298 {
10299 if (temp11)
10300 delete arg11;
10301 }
10302 return NULL;
10303 }
10304
10305
10306 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxSlider *arg1 = (wxSlider *) 0 ;
10309 int result;
10310 PyObject * obj0 = 0 ;
10311 char *kwnames[] = {
10312 (char *) "self", NULL
10313 };
10314
10315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = (int)((wxSlider const *)arg1)->GetValue();
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = PyInt_FromLong((long)result);
10325 return resultobj;
10326 fail:
10327 return NULL;
10328 }
10329
10330
10331 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj;
10333 wxSlider *arg1 = (wxSlider *) 0 ;
10334 int arg2 ;
10335 PyObject * obj0 = 0 ;
10336 char *kwnames[] = {
10337 (char *) "self",(char *) "value", NULL
10338 };
10339
10340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 (arg1)->SetValue(arg2);
10345
10346 wxPyEndAllowThreads(__tstate);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 }
10349 Py_INCREF(Py_None); resultobj = Py_None;
10350 return resultobj;
10351 fail:
10352 return NULL;
10353 }
10354
10355
10356 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10357 PyObject *resultobj;
10358 wxSlider *arg1 = (wxSlider *) 0 ;
10359 int arg2 ;
10360 int arg3 ;
10361 PyObject * obj0 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 (arg1)->SetRange(arg2,arg3);
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 Py_INCREF(Py_None); resultobj = Py_None;
10376 return resultobj;
10377 fail:
10378 return NULL;
10379 }
10380
10381
10382 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxSlider *arg1 = (wxSlider *) 0 ;
10385 int result;
10386 PyObject * obj0 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 result = (int)((wxSlider const *)arg1)->GetMin();
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 resultobj = PyInt_FromLong((long)result);
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxSlider *arg1 = (wxSlider *) 0 ;
10410 int result;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = (int)((wxSlider const *)arg1)->GetMax();
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 resultobj = PyInt_FromLong((long)result);
10426 return resultobj;
10427 fail:
10428 return NULL;
10429 }
10430
10431
10432 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10433 PyObject *resultobj;
10434 wxSlider *arg1 = (wxSlider *) 0 ;
10435 int arg2 ;
10436 PyObject * obj0 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "self",(char *) "minValue", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 (arg1)->SetMin(arg2);
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 Py_INCREF(Py_None); resultobj = Py_None;
10451 return resultobj;
10452 fail:
10453 return NULL;
10454 }
10455
10456
10457 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxSlider *arg1 = (wxSlider *) 0 ;
10460 int arg2 ;
10461 PyObject * obj0 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self",(char *) "maxValue", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 (arg1)->SetMax(arg2);
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 Py_INCREF(Py_None); resultobj = Py_None;
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxSlider *arg1 = (wxSlider *) 0 ;
10485 int arg2 ;
10486 PyObject * obj0 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self",(char *) "lineSize", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 (arg1)->SetLineSize(arg2);
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 Py_INCREF(Py_None); resultobj = Py_None;
10501 return resultobj;
10502 fail:
10503 return NULL;
10504 }
10505
10506
10507 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj;
10509 wxSlider *arg1 = (wxSlider *) 0 ;
10510 int arg2 ;
10511 PyObject * obj0 = 0 ;
10512 char *kwnames[] = {
10513 (char *) "self",(char *) "pageSize", NULL
10514 };
10515
10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 (arg1)->SetPageSize(arg2);
10521
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 Py_INCREF(Py_None); resultobj = Py_None;
10526 return resultobj;
10527 fail:
10528 return NULL;
10529 }
10530
10531
10532 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10533 PyObject *resultobj;
10534 wxSlider *arg1 = (wxSlider *) 0 ;
10535 int result;
10536 PyObject * obj0 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "self", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10543 {
10544 PyThreadState* __tstate = wxPyBeginAllowThreads();
10545 result = (int)((wxSlider const *)arg1)->GetLineSize();
10546
10547 wxPyEndAllowThreads(__tstate);
10548 if (PyErr_Occurred()) SWIG_fail;
10549 }
10550 resultobj = PyInt_FromLong((long)result);
10551 return resultobj;
10552 fail:
10553 return NULL;
10554 }
10555
10556
10557 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10558 PyObject *resultobj;
10559 wxSlider *arg1 = (wxSlider *) 0 ;
10560 int result;
10561 PyObject * obj0 = 0 ;
10562 char *kwnames[] = {
10563 (char *) "self", NULL
10564 };
10565
10566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 result = (int)((wxSlider const *)arg1)->GetPageSize();
10571
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 resultobj = PyInt_FromLong((long)result);
10576 return resultobj;
10577 fail:
10578 return NULL;
10579 }
10580
10581
10582 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxSlider *arg1 = (wxSlider *) 0 ;
10585 int arg2 ;
10586 PyObject * obj0 = 0 ;
10587 char *kwnames[] = {
10588 (char *) "self",(char *) "lenPixels", NULL
10589 };
10590
10591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10593 {
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 (arg1)->SetThumbLength(arg2);
10596
10597 wxPyEndAllowThreads(__tstate);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 }
10600 Py_INCREF(Py_None); resultobj = Py_None;
10601 return resultobj;
10602 fail:
10603 return NULL;
10604 }
10605
10606
10607 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10608 PyObject *resultobj;
10609 wxSlider *arg1 = (wxSlider *) 0 ;
10610 int result;
10611 PyObject * obj0 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 resultobj = PyInt_FromLong((long)result);
10626 return resultobj;
10627 fail:
10628 return NULL;
10629 }
10630
10631
10632 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10633 PyObject *resultobj;
10634 wxSlider *arg1 = (wxSlider *) 0 ;
10635 int arg2 ;
10636 int arg3 ;
10637 PyObject * obj0 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "self",(char *) "n",(char *) "pos", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 (arg1)->SetTickFreq(arg2,arg3);
10647
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 Py_INCREF(Py_None); resultobj = Py_None;
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj;
10660 wxSlider *arg1 = (wxSlider *) 0 ;
10661 int result;
10662 PyObject * obj0 = 0 ;
10663 char *kwnames[] = {
10664 (char *) "self", NULL
10665 };
10666
10667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10672
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 resultobj = PyInt_FromLong((long)result);
10677 return resultobj;
10678 fail:
10679 return NULL;
10680 }
10681
10682
10683 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10684 PyObject *resultobj;
10685 wxSlider *arg1 = (wxSlider *) 0 ;
10686 PyObject * obj0 = 0 ;
10687 char *kwnames[] = {
10688 (char *) "self", NULL
10689 };
10690
10691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 (arg1)->ClearTicks();
10696
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 Py_INCREF(Py_None); resultobj = Py_None;
10701 return resultobj;
10702 fail:
10703 return NULL;
10704 }
10705
10706
10707 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10708 PyObject *resultobj;
10709 wxSlider *arg1 = (wxSlider *) 0 ;
10710 int arg2 ;
10711 PyObject * obj0 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "self",(char *) "tickPos", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10718 {
10719 PyThreadState* __tstate = wxPyBeginAllowThreads();
10720 (arg1)->SetTick(arg2);
10721
10722 wxPyEndAllowThreads(__tstate);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 }
10725 Py_INCREF(Py_None); resultobj = Py_None;
10726 return resultobj;
10727 fail:
10728 return NULL;
10729 }
10730
10731
10732 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10733 PyObject *resultobj;
10734 wxSlider *arg1 = (wxSlider *) 0 ;
10735 PyObject * obj0 = 0 ;
10736 char *kwnames[] = {
10737 (char *) "self", NULL
10738 };
10739
10740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 (arg1)->ClearSel();
10745
10746 wxPyEndAllowThreads(__tstate);
10747 if (PyErr_Occurred()) SWIG_fail;
10748 }
10749 Py_INCREF(Py_None); resultobj = Py_None;
10750 return resultobj;
10751 fail:
10752 return NULL;
10753 }
10754
10755
10756 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject *resultobj;
10758 wxSlider *arg1 = (wxSlider *) 0 ;
10759 int result;
10760 PyObject * obj0 = 0 ;
10761 char *kwnames[] = {
10762 (char *) "self", NULL
10763 };
10764
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10767 {
10768 PyThreadState* __tstate = wxPyBeginAllowThreads();
10769 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10770
10771 wxPyEndAllowThreads(__tstate);
10772 if (PyErr_Occurred()) SWIG_fail;
10773 }
10774 resultobj = PyInt_FromLong((long)result);
10775 return resultobj;
10776 fail:
10777 return NULL;
10778 }
10779
10780
10781 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10782 PyObject *resultobj;
10783 wxSlider *arg1 = (wxSlider *) 0 ;
10784 int result;
10785 PyObject * obj0 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10792 {
10793 PyThreadState* __tstate = wxPyBeginAllowThreads();
10794 result = (int)((wxSlider const *)arg1)->GetSelStart();
10795
10796 wxPyEndAllowThreads(__tstate);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 resultobj = PyInt_FromLong((long)result);
10800 return resultobj;
10801 fail:
10802 return NULL;
10803 }
10804
10805
10806 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10807 PyObject *resultobj;
10808 wxSlider *arg1 = (wxSlider *) 0 ;
10809 int arg2 ;
10810 int arg3 ;
10811 PyObject * obj0 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self",(char *) "min",(char *) "max", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10818 {
10819 PyThreadState* __tstate = wxPyBeginAllowThreads();
10820 (arg1)->SetSelection(arg2,arg3);
10821
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 Py_INCREF(Py_None); resultobj = Py_None;
10826 return resultobj;
10827 fail:
10828 return NULL;
10829 }
10830
10831
10832 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10833 PyObject *obj;
10834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10835 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10836 Py_INCREF(obj);
10837 return Py_BuildValue((char *)"");
10838 }
10839 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10840 PyObject *resultobj;
10841 wxWindow *arg1 = (wxWindow *) 0 ;
10842 wxWindowID arg2 ;
10843 wxString *arg3 = 0 ;
10844 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10845 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10846 wxSize const &arg5_defvalue = wxDefaultSize ;
10847 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10848 long arg6 = (long) 0 ;
10849 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10850 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10851 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10852 wxString *arg8 = (wxString *) &arg8_defvalue ;
10853 wxToggleButton *result;
10854 bool temp3 = false ;
10855 wxPoint temp4 ;
10856 wxSize temp5 ;
10857 bool temp8 = false ;
10858 PyObject * obj0 = 0 ;
10859 PyObject * obj2 = 0 ;
10860 PyObject * obj3 = 0 ;
10861 PyObject * obj4 = 0 ;
10862 PyObject * obj6 = 0 ;
10863 PyObject * obj7 = 0 ;
10864 char *kwnames[] = {
10865 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10866 };
10867
10868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10870 {
10871 arg3 = wxString_in_helper(obj2);
10872 if (arg3 == NULL) SWIG_fail;
10873 temp3 = true;
10874 }
10875 if (obj3) {
10876 {
10877 arg4 = &temp4;
10878 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10879 }
10880 }
10881 if (obj4) {
10882 {
10883 arg5 = &temp5;
10884 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10885 }
10886 }
10887 if (obj6) {
10888 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10889 if (arg7 == NULL) {
10890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10891 }
10892 }
10893 if (obj7) {
10894 {
10895 arg8 = wxString_in_helper(obj7);
10896 if (arg8 == NULL) SWIG_fail;
10897 temp8 = true;
10898 }
10899 }
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10908 {
10909 if (temp3)
10910 delete arg3;
10911 }
10912 {
10913 if (temp8)
10914 delete arg8;
10915 }
10916 return resultobj;
10917 fail:
10918 {
10919 if (temp3)
10920 delete arg3;
10921 }
10922 {
10923 if (temp8)
10924 delete arg8;
10925 }
10926 return NULL;
10927 }
10928
10929
10930 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj;
10932 wxToggleButton *result;
10933 char *kwnames[] = {
10934 NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 result = (wxToggleButton *)new wxToggleButton();
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10946 return resultobj;
10947 fail:
10948 return NULL;
10949 }
10950
10951
10952 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj;
10954 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10955 wxWindow *arg2 = (wxWindow *) 0 ;
10956 wxWindowID arg3 ;
10957 wxString *arg4 = 0 ;
10958 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10959 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10960 wxSize const &arg6_defvalue = wxDefaultSize ;
10961 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10962 long arg7 = (long) 0 ;
10963 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10964 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10965 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10966 wxString *arg9 = (wxString *) &arg9_defvalue ;
10967 bool result;
10968 bool temp4 = false ;
10969 wxPoint temp5 ;
10970 wxSize temp6 ;
10971 bool temp9 = false ;
10972 PyObject * obj0 = 0 ;
10973 PyObject * obj1 = 0 ;
10974 PyObject * obj3 = 0 ;
10975 PyObject * obj4 = 0 ;
10976 PyObject * obj5 = 0 ;
10977 PyObject * obj7 = 0 ;
10978 PyObject * obj8 = 0 ;
10979 char *kwnames[] = {
10980 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10981 };
10982
10983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10986 {
10987 arg4 = wxString_in_helper(obj3);
10988 if (arg4 == NULL) SWIG_fail;
10989 temp4 = true;
10990 }
10991 if (obj4) {
10992 {
10993 arg5 = &temp5;
10994 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10995 }
10996 }
10997 if (obj5) {
10998 {
10999 arg6 = &temp6;
11000 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11001 }
11002 }
11003 if (obj7) {
11004 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 if (arg8 == NULL) {
11006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11007 }
11008 }
11009 if (obj8) {
11010 {
11011 arg9 = wxString_in_helper(obj8);
11012 if (arg9 == NULL) SWIG_fail;
11013 temp9 = true;
11014 }
11015 }
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 resultobj = PyInt_FromLong((long)result);
11024 {
11025 if (temp4)
11026 delete arg4;
11027 }
11028 {
11029 if (temp9)
11030 delete arg9;
11031 }
11032 return resultobj;
11033 fail:
11034 {
11035 if (temp4)
11036 delete arg4;
11037 }
11038 {
11039 if (temp9)
11040 delete arg9;
11041 }
11042 return NULL;
11043 }
11044
11045
11046 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11049 bool arg2 ;
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
11052 char *kwnames[] = {
11053 (char *) "self",(char *) "value", NULL
11054 };
11055
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11058 arg2 = PyInt_AsLong(obj1) ? true : false;
11059 if (PyErr_Occurred()) SWIG_fail;
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 (arg1)->SetValue(arg2);
11063
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 Py_INCREF(Py_None); resultobj = Py_None;
11068 return resultobj;
11069 fail:
11070 return NULL;
11071 }
11072
11073
11074 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11075 PyObject *resultobj;
11076 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11077 bool result;
11078 PyObject * obj0 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "self", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11085 {
11086 PyThreadState* __tstate = wxPyBeginAllowThreads();
11087 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11088
11089 wxPyEndAllowThreads(__tstate);
11090 if (PyErr_Occurred()) SWIG_fail;
11091 }
11092 resultobj = PyInt_FromLong((long)result);
11093 return resultobj;
11094 fail:
11095 return NULL;
11096 }
11097
11098
11099 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11100 PyObject *resultobj;
11101 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11102 wxString *arg2 = 0 ;
11103 bool temp2 = false ;
11104 PyObject * obj0 = 0 ;
11105 PyObject * obj1 = 0 ;
11106 char *kwnames[] = {
11107 (char *) "self",(char *) "label", NULL
11108 };
11109
11110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11112 {
11113 arg2 = wxString_in_helper(obj1);
11114 if (arg2 == NULL) SWIG_fail;
11115 temp2 = true;
11116 }
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 (arg1)->SetLabel((wxString const &)*arg2);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 Py_INCREF(Py_None); resultobj = Py_None;
11125 {
11126 if (temp2)
11127 delete arg2;
11128 }
11129 return resultobj;
11130 fail:
11131 {
11132 if (temp2)
11133 delete arg2;
11134 }
11135 return NULL;
11136 }
11137
11138
11139 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11140 PyObject *obj;
11141 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11142 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11143 Py_INCREF(obj);
11144 return Py_BuildValue((char *)"");
11145 }
11146 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj;
11148 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11149 size_t result;
11150 PyObject * obj0 = 0 ;
11151 char *kwnames[] = {
11152 (char *) "self", NULL
11153 };
11154
11155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 resultobj = PyInt_FromLong((long)result);
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11174 size_t arg2 ;
11175 wxWindow *result;
11176 PyObject * obj0 = 0 ;
11177 PyObject * obj1 = 0 ;
11178 char *kwnames[] = {
11179 (char *) "self",(char *) "n", NULL
11180 };
11181
11182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11184 arg2 = (size_t) PyInt_AsLong(obj1);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 {
11187 PyThreadState* __tstate = wxPyBeginAllowThreads();
11188 result = (wxWindow *)(arg1)->GetPage(arg2);
11189
11190 wxPyEndAllowThreads(__tstate);
11191 if (PyErr_Occurred()) SWIG_fail;
11192 }
11193 {
11194 resultobj = wxPyMake_wxObject(result);
11195 }
11196 return resultobj;
11197 fail:
11198 return NULL;
11199 }
11200
11201
11202 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11203 PyObject *resultobj;
11204 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11205 int result;
11206 PyObject * obj0 = 0 ;
11207 char *kwnames[] = {
11208 (char *) "self", NULL
11209 };
11210
11211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11216
11217 wxPyEndAllowThreads(__tstate);
11218 if (PyErr_Occurred()) SWIG_fail;
11219 }
11220 resultobj = PyInt_FromLong((long)result);
11221 return resultobj;
11222 fail:
11223 return NULL;
11224 }
11225
11226
11227 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11228 PyObject *resultobj;
11229 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11230 size_t arg2 ;
11231 wxString *arg3 = 0 ;
11232 bool result;
11233 bool temp3 = false ;
11234 PyObject * obj0 = 0 ;
11235 PyObject * obj1 = 0 ;
11236 PyObject * obj2 = 0 ;
11237 char *kwnames[] = {
11238 (char *) "self",(char *) "n",(char *) "strText", NULL
11239 };
11240
11241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11243 arg2 = (size_t) PyInt_AsLong(obj1);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 {
11246 arg3 = wxString_in_helper(obj2);
11247 if (arg3 == NULL) SWIG_fail;
11248 temp3 = true;
11249 }
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
11252 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 resultobj = PyInt_FromLong((long)result);
11258 {
11259 if (temp3)
11260 delete arg3;
11261 }
11262 return resultobj;
11263 fail:
11264 {
11265 if (temp3)
11266 delete arg3;
11267 }
11268 return NULL;
11269 }
11270
11271
11272 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11273 PyObject *resultobj;
11274 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11275 size_t arg2 ;
11276 wxString result;
11277 PyObject * obj0 = 0 ;
11278 PyObject * obj1 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self",(char *) "n", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11285 arg2 = (size_t) PyInt_AsLong(obj1);
11286 if (PyErr_Occurred()) SWIG_fail;
11287 {
11288 PyThreadState* __tstate = wxPyBeginAllowThreads();
11289 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11290
11291 wxPyEndAllowThreads(__tstate);
11292 if (PyErr_Occurred()) SWIG_fail;
11293 }
11294 {
11295 #if wxUSE_UNICODE
11296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11297 #else
11298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11299 #endif
11300 }
11301 return resultobj;
11302 fail:
11303 return NULL;
11304 }
11305
11306
11307 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject *resultobj;
11309 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11310 wxImageList *arg2 = (wxImageList *) 0 ;
11311 PyObject * obj0 = 0 ;
11312 PyObject * obj1 = 0 ;
11313 char *kwnames[] = {
11314 (char *) "self",(char *) "imageList", NULL
11315 };
11316
11317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11319 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11320 {
11321 PyThreadState* __tstate = wxPyBeginAllowThreads();
11322 (arg1)->SetImageList(arg2);
11323
11324 wxPyEndAllowThreads(__tstate);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 }
11327 Py_INCREF(Py_None); resultobj = Py_None;
11328 return resultobj;
11329 fail:
11330 return NULL;
11331 }
11332
11333
11334 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11335 PyObject *resultobj;
11336 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11337 wxImageList *arg2 = (wxImageList *) 0 ;
11338 PyObject * obj0 = 0 ;
11339 PyObject * obj1 = 0 ;
11340 char *kwnames[] = {
11341 (char *) "self",(char *) "imageList", NULL
11342 };
11343
11344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 (arg1)->AssignImageList(arg2);
11350
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 Py_INCREF(Py_None); resultobj = Py_None;
11355 return resultobj;
11356 fail:
11357 return NULL;
11358 }
11359
11360
11361 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11362 PyObject *resultobj;
11363 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11364 wxImageList *result;
11365 PyObject * obj0 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11372 {
11373 PyThreadState* __tstate = wxPyBeginAllowThreads();
11374 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11375
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
11379 {
11380 resultobj = wxPyMake_wxObject(result);
11381 }
11382 return resultobj;
11383 fail:
11384 return NULL;
11385 }
11386
11387
11388 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11389 PyObject *resultobj;
11390 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11391 size_t arg2 ;
11392 int result;
11393 PyObject * obj0 = 0 ;
11394 PyObject * obj1 = 0 ;
11395 char *kwnames[] = {
11396 (char *) "self",(char *) "n", NULL
11397 };
11398
11399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11401 arg2 = (size_t) PyInt_AsLong(obj1);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 {
11404 PyThreadState* __tstate = wxPyBeginAllowThreads();
11405 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11406
11407 wxPyEndAllowThreads(__tstate);
11408 if (PyErr_Occurred()) SWIG_fail;
11409 }
11410 resultobj = PyInt_FromLong((long)result);
11411 return resultobj;
11412 fail:
11413 return NULL;
11414 }
11415
11416
11417 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11418 PyObject *resultobj;
11419 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11420 size_t arg2 ;
11421 int arg3 ;
11422 bool result;
11423 PyObject * obj0 = 0 ;
11424 PyObject * obj1 = 0 ;
11425 char *kwnames[] = {
11426 (char *) "self",(char *) "n",(char *) "imageId", NULL
11427 };
11428
11429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11431 arg2 = (size_t) PyInt_AsLong(obj1);
11432 if (PyErr_Occurred()) SWIG_fail;
11433 {
11434 PyThreadState* __tstate = wxPyBeginAllowThreads();
11435 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11436
11437 wxPyEndAllowThreads(__tstate);
11438 if (PyErr_Occurred()) SWIG_fail;
11439 }
11440 resultobj = PyInt_FromLong((long)result);
11441 return resultobj;
11442 fail:
11443 return NULL;
11444 }
11445
11446
11447 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11448 PyObject *resultobj;
11449 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11450 wxSize *arg2 = 0 ;
11451 wxSize temp2 ;
11452 PyObject * obj0 = 0 ;
11453 PyObject * obj1 = 0 ;
11454 char *kwnames[] = {
11455 (char *) "self",(char *) "size", NULL
11456 };
11457
11458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11460 {
11461 arg2 = &temp2;
11462 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11463 }
11464 {
11465 PyThreadState* __tstate = wxPyBeginAllowThreads();
11466 (arg1)->SetPageSize((wxSize const &)*arg2);
11467
11468 wxPyEndAllowThreads(__tstate);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 Py_INCREF(Py_None); resultobj = Py_None;
11472 return resultobj;
11473 fail:
11474 return NULL;
11475 }
11476
11477
11478 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11479 PyObject *resultobj;
11480 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11481 wxSize *arg2 = 0 ;
11482 wxSize result;
11483 wxSize temp2 ;
11484 PyObject * obj0 = 0 ;
11485 PyObject * obj1 = 0 ;
11486 char *kwnames[] = {
11487 (char *) "self",(char *) "sizePage", NULL
11488 };
11489
11490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11492 {
11493 arg2 = &temp2;
11494 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11495 }
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 {
11504 wxSize * resultptr;
11505 resultptr = new wxSize((wxSize &) result);
11506 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11507 }
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11515 PyObject *resultobj;
11516 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11517 size_t arg2 ;
11518 bool result;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "n", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11527 arg2 = (size_t) PyInt_AsLong(obj1);
11528 if (PyErr_Occurred()) SWIG_fail;
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 result = (bool)(arg1)->DeletePage(arg2);
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 resultobj = PyInt_FromLong((long)result);
11537 return resultobj;
11538 fail:
11539 return NULL;
11540 }
11541
11542
11543 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11544 PyObject *resultobj;
11545 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11546 size_t arg2 ;
11547 bool result;
11548 PyObject * obj0 = 0 ;
11549 PyObject * obj1 = 0 ;
11550 char *kwnames[] = {
11551 (char *) "self",(char *) "n", NULL
11552 };
11553
11554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11556 arg2 = (size_t) PyInt_AsLong(obj1);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 result = (bool)(arg1)->RemovePage(arg2);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 resultobj = PyInt_FromLong((long)result);
11566 return resultobj;
11567 fail:
11568 return NULL;
11569 }
11570
11571
11572 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11575 bool result;
11576 PyObject * obj0 = 0 ;
11577 char *kwnames[] = {
11578 (char *) "self", NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 result = (bool)(arg1)->DeleteAllPages();
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 resultobj = PyInt_FromLong((long)result);
11591 return resultobj;
11592 fail:
11593 return NULL;
11594 }
11595
11596
11597 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11600 wxWindow *arg2 = (wxWindow *) 0 ;
11601 wxString *arg3 = 0 ;
11602 bool arg4 = (bool) false ;
11603 int arg5 = (int) -1 ;
11604 bool result;
11605 bool temp3 = false ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 PyObject * obj2 = 0 ;
11609 PyObject * obj3 = 0 ;
11610 char *kwnames[] = {
11611 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11612 };
11613
11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11617 {
11618 arg3 = wxString_in_helper(obj2);
11619 if (arg3 == NULL) SWIG_fail;
11620 temp3 = true;
11621 }
11622 if (obj3) {
11623 arg4 = PyInt_AsLong(obj3) ? true : false;
11624 if (PyErr_Occurred()) SWIG_fail;
11625 }
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 resultobj = PyInt_FromLong((long)result);
11634 {
11635 if (temp3)
11636 delete arg3;
11637 }
11638 return resultobj;
11639 fail:
11640 {
11641 if (temp3)
11642 delete arg3;
11643 }
11644 return NULL;
11645 }
11646
11647
11648 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11649 PyObject *resultobj;
11650 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11651 size_t arg2 ;
11652 wxWindow *arg3 = (wxWindow *) 0 ;
11653 wxString *arg4 = 0 ;
11654 bool arg5 = (bool) false ;
11655 int arg6 = (int) -1 ;
11656 bool result;
11657 bool temp4 = false ;
11658 PyObject * obj0 = 0 ;
11659 PyObject * obj1 = 0 ;
11660 PyObject * obj2 = 0 ;
11661 PyObject * obj3 = 0 ;
11662 PyObject * obj4 = 0 ;
11663 char *kwnames[] = {
11664 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11665 };
11666
11667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11669 arg2 = (size_t) PyInt_AsLong(obj1);
11670 if (PyErr_Occurred()) SWIG_fail;
11671 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11672 {
11673 arg4 = wxString_in_helper(obj3);
11674 if (arg4 == NULL) SWIG_fail;
11675 temp4 = true;
11676 }
11677 if (obj4) {
11678 arg5 = PyInt_AsLong(obj4) ? true : false;
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 resultobj = PyInt_FromLong((long)result);
11689 {
11690 if (temp4)
11691 delete arg4;
11692 }
11693 return resultobj;
11694 fail:
11695 {
11696 if (temp4)
11697 delete arg4;
11698 }
11699 return NULL;
11700 }
11701
11702
11703 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11704 PyObject *resultobj;
11705 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11706 size_t arg2 ;
11707 int result;
11708 PyObject * obj0 = 0 ;
11709 PyObject * obj1 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self",(char *) "n", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11716 arg2 = (size_t) PyInt_AsLong(obj1);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (int)(arg1)->SetSelection(arg2);
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 resultobj = PyInt_FromLong((long)result);
11726 return resultobj;
11727 fail:
11728 return NULL;
11729 }
11730
11731
11732 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11735 bool arg2 = (bool) true ;
11736 PyObject * obj0 = 0 ;
11737 PyObject * obj1 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "self",(char *) "forward", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 if (obj1) {
11745 arg2 = PyInt_AsLong(obj1) ? true : false;
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 (arg1)->AdvanceSelection(arg2);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 Py_INCREF(Py_None); resultobj = Py_None;
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11763 PyObject *obj;
11764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11765 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11766 Py_INCREF(obj);
11767 return Py_BuildValue((char *)"");
11768 }
11769 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11770 PyObject *resultobj;
11771 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11772 int arg2 = (int) 0 ;
11773 int arg3 = (int) -1 ;
11774 int arg4 = (int) -1 ;
11775 wxBookCtrlEvent *result;
11776 char *kwnames[] = {
11777 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11798 int result;
11799 PyObject * obj0 = 0 ;
11800 char *kwnames[] = {
11801 (char *) "self", NULL
11802 };
11803
11804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 resultobj = PyInt_FromLong((long)result);
11814 return resultobj;
11815 fail:
11816 return NULL;
11817 }
11818
11819
11820 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11821 PyObject *resultobj;
11822 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11823 int arg2 ;
11824 PyObject * obj0 = 0 ;
11825 char *kwnames[] = {
11826 (char *) "self",(char *) "nSel", NULL
11827 };
11828
11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11831 {
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 (arg1)->SetSelection(arg2);
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 Py_INCREF(Py_None); resultobj = Py_None;
11839 return resultobj;
11840 fail:
11841 return NULL;
11842 }
11843
11844
11845 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11846 PyObject *resultobj;
11847 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11848 int result;
11849 PyObject * obj0 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "self", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 resultobj = PyInt_FromLong((long)result);
11864 return resultobj;
11865 fail:
11866 return NULL;
11867 }
11868
11869
11870 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj;
11872 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11873 int arg2 ;
11874 PyObject * obj0 = 0 ;
11875 char *kwnames[] = {
11876 (char *) "self",(char *) "nOldSel", NULL
11877 };
11878
11879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->SetOldSelection(arg2);
11884
11885 wxPyEndAllowThreads(__tstate);
11886 if (PyErr_Occurred()) SWIG_fail;
11887 }
11888 Py_INCREF(Py_None); resultobj = Py_None;
11889 return resultobj;
11890 fail:
11891 return NULL;
11892 }
11893
11894
11895 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11896 PyObject *obj;
11897 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11898 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11899 Py_INCREF(obj);
11900 return Py_BuildValue((char *)"");
11901 }
11902 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11903 PyObject *resultobj;
11904 wxWindow *arg1 = (wxWindow *) 0 ;
11905 wxWindowID arg2 ;
11906 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11907 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11908 wxSize const &arg4_defvalue = wxDefaultSize ;
11909 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11910 long arg5 = (long) 0 ;
11911 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11912 wxString *arg6 = (wxString *) &arg6_defvalue ;
11913 wxNotebook *result;
11914 wxPoint temp3 ;
11915 wxSize temp4 ;
11916 bool temp6 = false ;
11917 PyObject * obj0 = 0 ;
11918 PyObject * obj2 = 0 ;
11919 PyObject * obj3 = 0 ;
11920 PyObject * obj5 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11927 if (obj2) {
11928 {
11929 arg3 = &temp3;
11930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11931 }
11932 }
11933 if (obj3) {
11934 {
11935 arg4 = &temp4;
11936 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11937 }
11938 }
11939 if (obj5) {
11940 {
11941 arg6 = wxString_in_helper(obj5);
11942 if (arg6 == NULL) SWIG_fail;
11943 temp6 = true;
11944 }
11945 }
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11949
11950 wxPyEndAllowThreads(__tstate);
11951 if (PyErr_Occurred()) SWIG_fail;
11952 }
11953 {
11954 resultobj = wxPyMake_wxObject(result);
11955 }
11956 {
11957 if (temp6)
11958 delete arg6;
11959 }
11960 return resultobj;
11961 fail:
11962 {
11963 if (temp6)
11964 delete arg6;
11965 }
11966 return NULL;
11967 }
11968
11969
11970 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11971 PyObject *resultobj;
11972 wxNotebook *result;
11973 char *kwnames[] = {
11974 NULL
11975 };
11976
11977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11978 {
11979 PyThreadState* __tstate = wxPyBeginAllowThreads();
11980 result = (wxNotebook *)new wxNotebook();
11981
11982 wxPyEndAllowThreads(__tstate);
11983 if (PyErr_Occurred()) SWIG_fail;
11984 }
11985 {
11986 resultobj = wxPyMake_wxObject(result);
11987 }
11988 return resultobj;
11989 fail:
11990 return NULL;
11991 }
11992
11993
11994 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj;
11996 wxNotebook *arg1 = (wxNotebook *) 0 ;
11997 wxWindow *arg2 = (wxWindow *) 0 ;
11998 wxWindowID arg3 ;
11999 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12000 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12001 wxSize const &arg5_defvalue = wxDefaultSize ;
12002 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12003 long arg6 = (long) 0 ;
12004 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12005 wxString *arg7 = (wxString *) &arg7_defvalue ;
12006 bool result;
12007 wxPoint temp4 ;
12008 wxSize temp5 ;
12009 bool temp7 = false ;
12010 PyObject * obj0 = 0 ;
12011 PyObject * obj1 = 0 ;
12012 PyObject * obj3 = 0 ;
12013 PyObject * obj4 = 0 ;
12014 PyObject * obj6 = 0 ;
12015 char *kwnames[] = {
12016 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12017 };
12018
12019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12022 if (obj3) {
12023 {
12024 arg4 = &temp4;
12025 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12026 }
12027 }
12028 if (obj4) {
12029 {
12030 arg5 = &temp5;
12031 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12032 }
12033 }
12034 if (obj6) {
12035 {
12036 arg7 = wxString_in_helper(obj6);
12037 if (arg7 == NULL) SWIG_fail;
12038 temp7 = true;
12039 }
12040 }
12041 {
12042 PyThreadState* __tstate = wxPyBeginAllowThreads();
12043 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12044
12045 wxPyEndAllowThreads(__tstate);
12046 if (PyErr_Occurred()) SWIG_fail;
12047 }
12048 resultobj = PyInt_FromLong((long)result);
12049 {
12050 if (temp7)
12051 delete arg7;
12052 }
12053 return resultobj;
12054 fail:
12055 {
12056 if (temp7)
12057 delete arg7;
12058 }
12059 return NULL;
12060 }
12061
12062
12063 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxNotebook *arg1 = (wxNotebook *) 0 ;
12066 int result;
12067 PyObject * obj0 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12074 {
12075 PyThreadState* __tstate = wxPyBeginAllowThreads();
12076 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12077
12078 wxPyEndAllowThreads(__tstate);
12079 if (PyErr_Occurred()) SWIG_fail;
12080 }
12081 resultobj = PyInt_FromLong((long)result);
12082 return resultobj;
12083 fail:
12084 return NULL;
12085 }
12086
12087
12088 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12089 PyObject *resultobj;
12090 wxNotebook *arg1 = (wxNotebook *) 0 ;
12091 wxSize *arg2 = 0 ;
12092 wxSize temp2 ;
12093 PyObject * obj0 = 0 ;
12094 PyObject * obj1 = 0 ;
12095 char *kwnames[] = {
12096 (char *) "self",(char *) "padding", NULL
12097 };
12098
12099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12101 {
12102 arg2 = &temp2;
12103 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12104 }
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 (arg1)->SetPadding((wxSize const &)*arg2);
12108
12109 wxPyEndAllowThreads(__tstate);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 }
12112 Py_INCREF(Py_None); resultobj = Py_None;
12113 return resultobj;
12114 fail:
12115 return NULL;
12116 }
12117
12118
12119 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12120 PyObject *resultobj;
12121 wxNotebook *arg1 = (wxNotebook *) 0 ;
12122 wxSize *arg2 = 0 ;
12123 wxSize temp2 ;
12124 PyObject * obj0 = 0 ;
12125 PyObject * obj1 = 0 ;
12126 char *kwnames[] = {
12127 (char *) "self",(char *) "sz", NULL
12128 };
12129
12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12132 {
12133 arg2 = &temp2;
12134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12135 }
12136 {
12137 PyThreadState* __tstate = wxPyBeginAllowThreads();
12138 (arg1)->SetTabSize((wxSize const &)*arg2);
12139
12140 wxPyEndAllowThreads(__tstate);
12141 if (PyErr_Occurred()) SWIG_fail;
12142 }
12143 Py_INCREF(Py_None); resultobj = Py_None;
12144 return resultobj;
12145 fail:
12146 return NULL;
12147 }
12148
12149
12150 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxNotebook *arg1 = (wxNotebook *) 0 ;
12153 wxPoint *arg2 = 0 ;
12154 long *arg3 = (long *) 0 ;
12155 int result;
12156 wxPoint temp2 ;
12157 long temp3 ;
12158 PyObject * obj0 = 0 ;
12159 PyObject * obj1 = 0 ;
12160 char *kwnames[] = {
12161 (char *) "self",(char *) "pt", NULL
12162 };
12163
12164 arg3 = &temp3;
12165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12167 {
12168 arg2 = &temp2;
12169 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12170 }
12171 {
12172 PyThreadState* __tstate = wxPyBeginAllowThreads();
12173 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12174
12175 wxPyEndAllowThreads(__tstate);
12176 if (PyErr_Occurred()) SWIG_fail;
12177 }
12178 resultobj = PyInt_FromLong((long)result);
12179 {
12180 PyObject *o = PyInt_FromLong((long) (*arg3));
12181 resultobj = t_output_helper(resultobj,o);
12182 }
12183 return resultobj;
12184 fail:
12185 return NULL;
12186 }
12187
12188
12189 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj;
12191 wxNotebook *arg1 = (wxNotebook *) 0 ;
12192 wxSize *arg2 = 0 ;
12193 wxSize result;
12194 wxSize temp2 ;
12195 PyObject * obj0 = 0 ;
12196 PyObject * obj1 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "self",(char *) "sizePage", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12203 {
12204 arg2 = &temp2;
12205 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12206 }
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 {
12215 wxSize * resultptr;
12216 resultptr = new wxSize((wxSize &) result);
12217 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12218 }
12219 return resultobj;
12220 fail:
12221 return NULL;
12222 }
12223
12224
12225 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12226 PyObject *resultobj;
12227 wxNotebook *arg1 = (wxNotebook *) 0 ;
12228 wxWindow *arg2 = (wxWindow *) 0 ;
12229 wxColour *arg3 = 0 ;
12230 wxColour temp3 ;
12231 PyObject * obj0 = 0 ;
12232 PyObject * obj1 = 0 ;
12233 PyObject * obj2 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "self",(char *) "window",(char *) "colour", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12240 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12241 {
12242 arg3 = &temp3;
12243 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12244 }
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12248
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 Py_INCREF(Py_None); resultobj = Py_None;
12253 return resultobj;
12254 fail:
12255 return NULL;
12256 }
12257
12258
12259 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12260 PyObject *obj;
12261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12262 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12263 Py_INCREF(obj);
12264 return Py_BuildValue((char *)"");
12265 }
12266 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12269 int arg2 = (int) 0 ;
12270 int arg3 = (int) -1 ;
12271 int arg4 = (int) -1 ;
12272 wxNotebookEvent *result;
12273 char *kwnames[] = {
12274 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12275 };
12276
12277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12293 PyObject *obj;
12294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12295 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12296 Py_INCREF(obj);
12297 return Py_BuildValue((char *)"");
12298 }
12299 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 wxWindow *arg1 = (wxWindow *) 0 ;
12302 wxWindowID arg2 ;
12303 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12304 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12305 wxSize const &arg4_defvalue = wxDefaultSize ;
12306 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12307 long arg5 = (long) 0 ;
12308 wxString const &arg6_defvalue = wxPyEmptyString ;
12309 wxString *arg6 = (wxString *) &arg6_defvalue ;
12310 wxListbook *result;
12311 wxPoint temp3 ;
12312 wxSize temp4 ;
12313 bool temp6 = false ;
12314 PyObject * obj0 = 0 ;
12315 PyObject * obj2 = 0 ;
12316 PyObject * obj3 = 0 ;
12317 PyObject * obj5 = 0 ;
12318 char *kwnames[] = {
12319 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12320 };
12321
12322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12324 if (obj2) {
12325 {
12326 arg3 = &temp3;
12327 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12328 }
12329 }
12330 if (obj3) {
12331 {
12332 arg4 = &temp4;
12333 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12334 }
12335 }
12336 if (obj5) {
12337 {
12338 arg6 = wxString_in_helper(obj5);
12339 if (arg6 == NULL) SWIG_fail;
12340 temp6 = true;
12341 }
12342 }
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12351 {
12352 if (temp6)
12353 delete arg6;
12354 }
12355 return resultobj;
12356 fail:
12357 {
12358 if (temp6)
12359 delete arg6;
12360 }
12361 return NULL;
12362 }
12363
12364
12365 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12366 PyObject *resultobj;
12367 wxListbook *result;
12368 char *kwnames[] = {
12369 NULL
12370 };
12371
12372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (wxListbook *)new wxListbook();
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12381 return resultobj;
12382 fail:
12383 return NULL;
12384 }
12385
12386
12387 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12388 PyObject *resultobj;
12389 wxListbook *arg1 = (wxListbook *) 0 ;
12390 wxWindow *arg2 = (wxWindow *) 0 ;
12391 wxWindowID arg3 ;
12392 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12393 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12394 wxSize const &arg5_defvalue = wxDefaultSize ;
12395 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12396 long arg6 = (long) 0 ;
12397 wxString const &arg7_defvalue = wxPyEmptyString ;
12398 wxString *arg7 = (wxString *) &arg7_defvalue ;
12399 bool result;
12400 wxPoint temp4 ;
12401 wxSize temp5 ;
12402 bool temp7 = false ;
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405 PyObject * obj3 = 0 ;
12406 PyObject * obj4 = 0 ;
12407 PyObject * obj6 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12415 if (obj3) {
12416 {
12417 arg4 = &temp4;
12418 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12419 }
12420 }
12421 if (obj4) {
12422 {
12423 arg5 = &temp5;
12424 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12425 }
12426 }
12427 if (obj6) {
12428 {
12429 arg7 = wxString_in_helper(obj6);
12430 if (arg7 == NULL) SWIG_fail;
12431 temp7 = true;
12432 }
12433 }
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 resultobj = PyInt_FromLong((long)result);
12442 {
12443 if (temp7)
12444 delete arg7;
12445 }
12446 return resultobj;
12447 fail:
12448 {
12449 if (temp7)
12450 delete arg7;
12451 }
12452 return NULL;
12453 }
12454
12455
12456 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12457 PyObject *resultobj;
12458 wxListbook *arg1 = (wxListbook *) 0 ;
12459 bool result;
12460 PyObject * obj0 = 0 ;
12461 char *kwnames[] = {
12462 (char *) "self", NULL
12463 };
12464
12465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 result = (bool)((wxListbook const *)arg1)->IsVertical();
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 resultobj = PyInt_FromLong((long)result);
12475 return resultobj;
12476 fail:
12477 return NULL;
12478 }
12479
12480
12481 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12482 PyObject *obj;
12483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12484 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12485 Py_INCREF(obj);
12486 return Py_BuildValue((char *)"");
12487 }
12488 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj;
12490 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12491 int arg2 = (int) 0 ;
12492 int arg3 = (int) -1 ;
12493 int arg4 = (int) -1 ;
12494 wxListbookEvent *result;
12495 char *kwnames[] = {
12496 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12515 PyObject *obj;
12516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12517 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12518 Py_INCREF(obj);
12519 return Py_BuildValue((char *)"");
12520 }
12521 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12522 PyObject *resultobj;
12523 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12524 wxBookCtrlSizer *result;
12525 PyObject * obj0 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "nb", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12540 return resultobj;
12541 fail:
12542 return NULL;
12543 }
12544
12545
12546 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12549 PyObject * obj0 = 0 ;
12550 char *kwnames[] = {
12551 (char *) "self", NULL
12552 };
12553
12554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12556 {
12557 PyThreadState* __tstate = wxPyBeginAllowThreads();
12558 (arg1)->RecalcSizes();
12559
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 Py_INCREF(Py_None); resultobj = Py_None;
12564 return resultobj;
12565 fail:
12566 return NULL;
12567 }
12568
12569
12570 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12571 PyObject *resultobj;
12572 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12573 wxSize result;
12574 PyObject * obj0 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12581 {
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 result = (arg1)->CalcMin();
12584
12585 wxPyEndAllowThreads(__tstate);
12586 if (PyErr_Occurred()) SWIG_fail;
12587 }
12588 {
12589 wxSize * resultptr;
12590 resultptr = new wxSize((wxSize &) result);
12591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12592 }
12593 return resultobj;
12594 fail:
12595 return NULL;
12596 }
12597
12598
12599 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12600 PyObject *resultobj;
12601 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12602 wxBookCtrl *result;
12603 PyObject * obj0 = 0 ;
12604 char *kwnames[] = {
12605 (char *) "self", NULL
12606 };
12607
12608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (wxBookCtrl *)(arg1)->GetControl();
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12625 PyObject *obj;
12626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12627 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12628 Py_INCREF(obj);
12629 return Py_BuildValue((char *)"");
12630 }
12631 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12632 PyObject *resultobj;
12633 wxNotebook *arg1 = (wxNotebook *) 0 ;
12634 wxNotebookSizer *result;
12635 PyObject * obj0 = 0 ;
12636 char *kwnames[] = {
12637 (char *) "nb", NULL
12638 };
12639
12640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12645
12646 wxPyEndAllowThreads(__tstate);
12647 if (PyErr_Occurred()) SWIG_fail;
12648 }
12649 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12650 return resultobj;
12651 fail:
12652 return NULL;
12653 }
12654
12655
12656 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12657 PyObject *resultobj;
12658 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12659 PyObject * obj0 = 0 ;
12660 char *kwnames[] = {
12661 (char *) "self", NULL
12662 };
12663
12664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12666 {
12667 PyThreadState* __tstate = wxPyBeginAllowThreads();
12668 (arg1)->RecalcSizes();
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 Py_INCREF(Py_None); resultobj = Py_None;
12674 return resultobj;
12675 fail:
12676 return NULL;
12677 }
12678
12679
12680 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12683 wxSize result;
12684 PyObject * obj0 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12691 {
12692 PyThreadState* __tstate = wxPyBeginAllowThreads();
12693 result = (arg1)->CalcMin();
12694
12695 wxPyEndAllowThreads(__tstate);
12696 if (PyErr_Occurred()) SWIG_fail;
12697 }
12698 {
12699 wxSize * resultptr;
12700 resultptr = new wxSize((wxSize &) result);
12701 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12702 }
12703 return resultobj;
12704 fail:
12705 return NULL;
12706 }
12707
12708
12709 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12710 PyObject *resultobj;
12711 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12712 wxNotebook *result;
12713 PyObject * obj0 = 0 ;
12714 char *kwnames[] = {
12715 (char *) "self", NULL
12716 };
12717
12718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12720 {
12721 PyThreadState* __tstate = wxPyBeginAllowThreads();
12722 result = (wxNotebook *)(arg1)->GetNotebook();
12723
12724 wxPyEndAllowThreads(__tstate);
12725 if (PyErr_Occurred()) SWIG_fail;
12726 }
12727 {
12728 resultobj = wxPyMake_wxObject(result);
12729 }
12730 return resultobj;
12731 fail:
12732 return NULL;
12733 }
12734
12735
12736 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12737 PyObject *obj;
12738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12739 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12740 Py_INCREF(obj);
12741 return Py_BuildValue((char *)"");
12742 }
12743 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12744 PyObject *resultobj;
12745 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12746 int result;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 result = (int)(arg1)->GetId();
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 resultobj = PyInt_FromLong((long)result);
12762 return resultobj;
12763 fail:
12764 return NULL;
12765 }
12766
12767
12768 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12771 wxControl *result;
12772 PyObject * obj0 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (wxControl *)(arg1)->GetControl();
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 {
12787 resultobj = wxPyMake_wxObject(result);
12788 }
12789 return resultobj;
12790 fail:
12791 return NULL;
12792 }
12793
12794
12795 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12798 wxToolBarBase *result;
12799 PyObject * obj0 = 0 ;
12800 char *kwnames[] = {
12801 (char *) "self", NULL
12802 };
12803
12804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 result = (wxToolBarBase *)(arg1)->GetToolBar();
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 {
12814 resultobj = wxPyMake_wxObject(result);
12815 }
12816 return resultobj;
12817 fail:
12818 return NULL;
12819 }
12820
12821
12822 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12825 int result;
12826 PyObject * obj0 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12833 {
12834 PyThreadState* __tstate = wxPyBeginAllowThreads();
12835 result = (int)(arg1)->IsButton();
12836
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 resultobj = PyInt_FromLong((long)result);
12841 return resultobj;
12842 fail:
12843 return NULL;
12844 }
12845
12846
12847 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12848 PyObject *resultobj;
12849 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12850 int result;
12851 PyObject * obj0 = 0 ;
12852 char *kwnames[] = {
12853 (char *) "self", NULL
12854 };
12855
12856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12858 {
12859 PyThreadState* __tstate = wxPyBeginAllowThreads();
12860 result = (int)(arg1)->IsControl();
12861
12862 wxPyEndAllowThreads(__tstate);
12863 if (PyErr_Occurred()) SWIG_fail;
12864 }
12865 resultobj = PyInt_FromLong((long)result);
12866 return resultobj;
12867 fail:
12868 return NULL;
12869 }
12870
12871
12872 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12873 PyObject *resultobj;
12874 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12875 int result;
12876 PyObject * obj0 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12883 {
12884 PyThreadState* __tstate = wxPyBeginAllowThreads();
12885 result = (int)(arg1)->IsSeparator();
12886
12887 wxPyEndAllowThreads(__tstate);
12888 if (PyErr_Occurred()) SWIG_fail;
12889 }
12890 resultobj = PyInt_FromLong((long)result);
12891 return resultobj;
12892 fail:
12893 return NULL;
12894 }
12895
12896
12897 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12898 PyObject *resultobj;
12899 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12900 int result;
12901 PyObject * obj0 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 result = (int)(arg1)->GetStyle();
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 resultobj = PyInt_FromLong((long)result);
12916 return resultobj;
12917 fail:
12918 return NULL;
12919 }
12920
12921
12922 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12923 PyObject *resultobj;
12924 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12925 int result;
12926 PyObject * obj0 = 0 ;
12927 char *kwnames[] = {
12928 (char *) "self", NULL
12929 };
12930
12931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12933 {
12934 PyThreadState* __tstate = wxPyBeginAllowThreads();
12935 result = (int)(arg1)->GetKind();
12936
12937 wxPyEndAllowThreads(__tstate);
12938 if (PyErr_Occurred()) SWIG_fail;
12939 }
12940 resultobj = PyInt_FromLong((long)result);
12941 return resultobj;
12942 fail:
12943 return NULL;
12944 }
12945
12946
12947 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12948 PyObject *resultobj;
12949 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12950 bool result;
12951 PyObject * obj0 = 0 ;
12952 char *kwnames[] = {
12953 (char *) "self", NULL
12954 };
12955
12956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12958 {
12959 PyThreadState* __tstate = wxPyBeginAllowThreads();
12960 result = (bool)(arg1)->IsEnabled();
12961
12962 wxPyEndAllowThreads(__tstate);
12963 if (PyErr_Occurred()) SWIG_fail;
12964 }
12965 resultobj = PyInt_FromLong((long)result);
12966 return resultobj;
12967 fail:
12968 return NULL;
12969 }
12970
12971
12972 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12973 PyObject *resultobj;
12974 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12975 bool result;
12976 PyObject * obj0 = 0 ;
12977 char *kwnames[] = {
12978 (char *) "self", NULL
12979 };
12980
12981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 result = (bool)(arg1)->IsToggled();
12986
12987 wxPyEndAllowThreads(__tstate);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 resultobj = PyInt_FromLong((long)result);
12991 return resultobj;
12992 fail:
12993 return NULL;
12994 }
12995
12996
12997 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj;
12999 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13000 bool result;
13001 PyObject * obj0 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self", NULL
13004 };
13005
13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13008 {
13009 PyThreadState* __tstate = wxPyBeginAllowThreads();
13010 result = (bool)(arg1)->CanBeToggled();
13011
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 resultobj = PyInt_FromLong((long)result);
13016 return resultobj;
13017 fail:
13018 return NULL;
13019 }
13020
13021
13022 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13025 wxBitmap *result;
13026 PyObject * obj0 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13033 {
13034 PyThreadState* __tstate = wxPyBeginAllowThreads();
13035 {
13036 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13037 result = (wxBitmap *) &_result_ref;
13038 }
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13044 return resultobj;
13045 fail:
13046 return NULL;
13047 }
13048
13049
13050 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj;
13052 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13053 wxBitmap *result;
13054 PyObject * obj0 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13061 {
13062 PyThreadState* __tstate = wxPyBeginAllowThreads();
13063 {
13064 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13065 result = (wxBitmap *) &_result_ref;
13066 }
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13072 return resultobj;
13073 fail:
13074 return NULL;
13075 }
13076
13077
13078 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13079 PyObject *resultobj;
13080 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13081 wxBitmap result;
13082 PyObject * obj0 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13089 {
13090 PyThreadState* __tstate = wxPyBeginAllowThreads();
13091 result = (arg1)->GetBitmap();
13092
13093 wxPyEndAllowThreads(__tstate);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 {
13097 wxBitmap * resultptr;
13098 resultptr = new wxBitmap((wxBitmap &) result);
13099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13100 }
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13110 wxString result;
13111 PyObject * obj0 = 0 ;
13112 char *kwnames[] = {
13113 (char *) "self", NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 result = (arg1)->GetLabel();
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 {
13126 #if wxUSE_UNICODE
13127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13128 #else
13129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13130 #endif
13131 }
13132 return resultobj;
13133 fail:
13134 return NULL;
13135 }
13136
13137
13138 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj;
13140 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13141 wxString result;
13142 PyObject * obj0 = 0 ;
13143 char *kwnames[] = {
13144 (char *) "self", NULL
13145 };
13146
13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13149 {
13150 PyThreadState* __tstate = wxPyBeginAllowThreads();
13151 result = (arg1)->GetShortHelp();
13152
13153 wxPyEndAllowThreads(__tstate);
13154 if (PyErr_Occurred()) SWIG_fail;
13155 }
13156 {
13157 #if wxUSE_UNICODE
13158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13159 #else
13160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13161 #endif
13162 }
13163 return resultobj;
13164 fail:
13165 return NULL;
13166 }
13167
13168
13169 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13170 PyObject *resultobj;
13171 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13172 wxString result;
13173 PyObject * obj0 = 0 ;
13174 char *kwnames[] = {
13175 (char *) "self", NULL
13176 };
13177
13178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13180 {
13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
13182 result = (arg1)->GetLongHelp();
13183
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 {
13188 #if wxUSE_UNICODE
13189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13190 #else
13191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13192 #endif
13193 }
13194 return resultobj;
13195 fail:
13196 return NULL;
13197 }
13198
13199
13200 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13201 PyObject *resultobj;
13202 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13203 bool arg2 ;
13204 bool result;
13205 PyObject * obj0 = 0 ;
13206 PyObject * obj1 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "self",(char *) "enable", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13213 arg2 = PyInt_AsLong(obj1) ? true : false;
13214 if (PyErr_Occurred()) SWIG_fail;
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 result = (bool)(arg1)->Enable(arg2);
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 resultobj = PyInt_FromLong((long)result);
13223 return resultobj;
13224 fail:
13225 return NULL;
13226 }
13227
13228
13229 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj;
13231 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13232 PyObject * obj0 = 0 ;
13233 char *kwnames[] = {
13234 (char *) "self", NULL
13235 };
13236
13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 (arg1)->Toggle();
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 Py_INCREF(Py_None); resultobj = Py_None;
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13256 bool arg2 ;
13257 bool result;
13258 PyObject * obj0 = 0 ;
13259 PyObject * obj1 = 0 ;
13260 char *kwnames[] = {
13261 (char *) "self",(char *) "toggle", NULL
13262 };
13263
13264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13266 arg2 = PyInt_AsLong(obj1) ? true : false;
13267 if (PyErr_Occurred()) SWIG_fail;
13268 {
13269 PyThreadState* __tstate = wxPyBeginAllowThreads();
13270 result = (bool)(arg1)->SetToggle(arg2);
13271
13272 wxPyEndAllowThreads(__tstate);
13273 if (PyErr_Occurred()) SWIG_fail;
13274 }
13275 resultobj = PyInt_FromLong((long)result);
13276 return resultobj;
13277 fail:
13278 return NULL;
13279 }
13280
13281
13282 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13283 PyObject *resultobj;
13284 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13285 wxString *arg2 = 0 ;
13286 bool result;
13287 bool temp2 = false ;
13288 PyObject * obj0 = 0 ;
13289 PyObject * obj1 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self",(char *) "help", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 arg2 = wxString_in_helper(obj1);
13298 if (arg2 == NULL) SWIG_fail;
13299 temp2 = true;
13300 }
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 resultobj = PyInt_FromLong((long)result);
13309 {
13310 if (temp2)
13311 delete arg2;
13312 }
13313 return resultobj;
13314 fail:
13315 {
13316 if (temp2)
13317 delete arg2;
13318 }
13319 return NULL;
13320 }
13321
13322
13323 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13324 PyObject *resultobj;
13325 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13326 wxString *arg2 = 0 ;
13327 bool result;
13328 bool temp2 = false ;
13329 PyObject * obj0 = 0 ;
13330 PyObject * obj1 = 0 ;
13331 char *kwnames[] = {
13332 (char *) "self",(char *) "help", NULL
13333 };
13334
13335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13337 {
13338 arg2 = wxString_in_helper(obj1);
13339 if (arg2 == NULL) SWIG_fail;
13340 temp2 = true;
13341 }
13342 {
13343 PyThreadState* __tstate = wxPyBeginAllowThreads();
13344 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13345
13346 wxPyEndAllowThreads(__tstate);
13347 if (PyErr_Occurred()) SWIG_fail;
13348 }
13349 resultobj = PyInt_FromLong((long)result);
13350 {
13351 if (temp2)
13352 delete arg2;
13353 }
13354 return resultobj;
13355 fail:
13356 {
13357 if (temp2)
13358 delete arg2;
13359 }
13360 return NULL;
13361 }
13362
13363
13364 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj;
13366 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13367 wxBitmap *arg2 = 0 ;
13368 PyObject * obj0 = 0 ;
13369 PyObject * obj1 = 0 ;
13370 char *kwnames[] = {
13371 (char *) "self",(char *) "bmp", NULL
13372 };
13373
13374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13377 if (arg2 == NULL) {
13378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13379 }
13380 {
13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
13382 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13383
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 Py_INCREF(Py_None); resultobj = Py_None;
13388 return resultobj;
13389 fail:
13390 return NULL;
13391 }
13392
13393
13394 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13397 wxBitmap *arg2 = 0 ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "bmp", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13407 if (arg2 == NULL) {
13408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13409 }
13410 {
13411 PyThreadState* __tstate = wxPyBeginAllowThreads();
13412 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13413
13414 wxPyEndAllowThreads(__tstate);
13415 if (PyErr_Occurred()) SWIG_fail;
13416 }
13417 Py_INCREF(Py_None); resultobj = Py_None;
13418 return resultobj;
13419 fail:
13420 return NULL;
13421 }
13422
13423
13424 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13425 PyObject *resultobj;
13426 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13427 wxString *arg2 = 0 ;
13428 bool temp2 = false ;
13429 PyObject * obj0 = 0 ;
13430 PyObject * obj1 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self",(char *) "label", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13437 {
13438 arg2 = wxString_in_helper(obj1);
13439 if (arg2 == NULL) SWIG_fail;
13440 temp2 = true;
13441 }
13442 {
13443 PyThreadState* __tstate = wxPyBeginAllowThreads();
13444 (arg1)->SetLabel((wxString const &)*arg2);
13445
13446 wxPyEndAllowThreads(__tstate);
13447 if (PyErr_Occurred()) SWIG_fail;
13448 }
13449 Py_INCREF(Py_None); resultobj = Py_None;
13450 {
13451 if (temp2)
13452 delete arg2;
13453 }
13454 return resultobj;
13455 fail:
13456 {
13457 if (temp2)
13458 delete arg2;
13459 }
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13467 PyObject * obj0 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 (arg1)->Detach();
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 Py_INCREF(Py_None); resultobj = Py_None;
13482 return resultobj;
13483 fail:
13484 return NULL;
13485 }
13486
13487
13488 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13491 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13492 PyObject * obj0 = 0 ;
13493 PyObject * obj1 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self",(char *) "tbar", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13501 {
13502 PyThreadState* __tstate = wxPyBeginAllowThreads();
13503 (arg1)->Attach(arg2);
13504
13505 wxPyEndAllowThreads(__tstate);
13506 if (PyErr_Occurred()) SWIG_fail;
13507 }
13508 Py_INCREF(Py_None); resultobj = Py_None;
13509 return resultobj;
13510 fail:
13511 return NULL;
13512 }
13513
13514
13515 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13516 PyObject *resultobj;
13517 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13518 PyObject *result;
13519 PyObject * obj0 = 0 ;
13520 char *kwnames[] = {
13521 (char *) "self", NULL
13522 };
13523
13524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13526 {
13527 PyThreadState* __tstate = wxPyBeginAllowThreads();
13528 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13529
13530 wxPyEndAllowThreads(__tstate);
13531 if (PyErr_Occurred()) SWIG_fail;
13532 }
13533 resultobj = result;
13534 return resultobj;
13535 fail:
13536 return NULL;
13537 }
13538
13539
13540 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13541 PyObject *resultobj;
13542 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13543 PyObject *arg2 = (PyObject *) 0 ;
13544 PyObject * obj0 = 0 ;
13545 PyObject * obj1 = 0 ;
13546 char *kwnames[] = {
13547 (char *) "self",(char *) "clientData", NULL
13548 };
13549
13550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13552 arg2 = obj1;
13553 {
13554 PyThreadState* __tstate = wxPyBeginAllowThreads();
13555 wxToolBarToolBase_SetClientData(arg1,arg2);
13556
13557 wxPyEndAllowThreads(__tstate);
13558 if (PyErr_Occurred()) SWIG_fail;
13559 }
13560 Py_INCREF(Py_None); resultobj = Py_None;
13561 return resultobj;
13562 fail:
13563 return NULL;
13564 }
13565
13566
13567 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13568 PyObject *obj;
13569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13570 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13571 Py_INCREF(obj);
13572 return Py_BuildValue((char *)"");
13573 }
13574 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13577 int arg2 ;
13578 wxString *arg3 = 0 ;
13579 wxBitmap *arg4 = 0 ;
13580 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13581 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13582 int arg6 = (int) wxITEM_NORMAL ;
13583 wxString const &arg7_defvalue = wxPyEmptyString ;
13584 wxString *arg7 = (wxString *) &arg7_defvalue ;
13585 wxString const &arg8_defvalue = wxPyEmptyString ;
13586 wxString *arg8 = (wxString *) &arg8_defvalue ;
13587 PyObject *arg9 = (PyObject *) NULL ;
13588 wxToolBarToolBase *result;
13589 bool temp3 = false ;
13590 bool temp7 = false ;
13591 bool temp8 = false ;
13592 PyObject * obj0 = 0 ;
13593 PyObject * obj2 = 0 ;
13594 PyObject * obj3 = 0 ;
13595 PyObject * obj4 = 0 ;
13596 PyObject * obj6 = 0 ;
13597 PyObject * obj7 = 0 ;
13598 PyObject * obj8 = 0 ;
13599 char *kwnames[] = {
13600 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13601 };
13602
13603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13605 {
13606 arg3 = wxString_in_helper(obj2);
13607 if (arg3 == NULL) SWIG_fail;
13608 temp3 = true;
13609 }
13610 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13611 if (arg4 == NULL) {
13612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13613 }
13614 if (obj4) {
13615 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13616 if (arg5 == NULL) {
13617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13618 }
13619 }
13620 if (obj6) {
13621 {
13622 arg7 = wxString_in_helper(obj6);
13623 if (arg7 == NULL) SWIG_fail;
13624 temp7 = true;
13625 }
13626 }
13627 if (obj7) {
13628 {
13629 arg8 = wxString_in_helper(obj7);
13630 if (arg8 == NULL) SWIG_fail;
13631 temp8 = true;
13632 }
13633 }
13634 if (obj8) {
13635 arg9 = obj8;
13636 }
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 {
13645 resultobj = wxPyMake_wxObject(result);
13646 }
13647 {
13648 if (temp3)
13649 delete arg3;
13650 }
13651 {
13652 if (temp7)
13653 delete arg7;
13654 }
13655 {
13656 if (temp8)
13657 delete arg8;
13658 }
13659 return resultobj;
13660 fail:
13661 {
13662 if (temp3)
13663 delete arg3;
13664 }
13665 {
13666 if (temp7)
13667 delete arg7;
13668 }
13669 {
13670 if (temp8)
13671 delete arg8;
13672 }
13673 return NULL;
13674 }
13675
13676
13677 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13680 size_t arg2 ;
13681 int arg3 ;
13682 wxString *arg4 = 0 ;
13683 wxBitmap *arg5 = 0 ;
13684 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13685 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13686 int arg7 = (int) wxITEM_NORMAL ;
13687 wxString const &arg8_defvalue = wxPyEmptyString ;
13688 wxString *arg8 = (wxString *) &arg8_defvalue ;
13689 wxString const &arg9_defvalue = wxPyEmptyString ;
13690 wxString *arg9 = (wxString *) &arg9_defvalue ;
13691 PyObject *arg10 = (PyObject *) NULL ;
13692 wxToolBarToolBase *result;
13693 bool temp4 = false ;
13694 bool temp8 = false ;
13695 bool temp9 = false ;
13696 PyObject * obj0 = 0 ;
13697 PyObject * obj1 = 0 ;
13698 PyObject * obj3 = 0 ;
13699 PyObject * obj4 = 0 ;
13700 PyObject * obj5 = 0 ;
13701 PyObject * obj7 = 0 ;
13702 PyObject * obj8 = 0 ;
13703 PyObject * obj9 = 0 ;
13704 char *kwnames[] = {
13705 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13706 };
13707
13708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13710 arg2 = (size_t) PyInt_AsLong(obj1);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 {
13713 arg4 = wxString_in_helper(obj3);
13714 if (arg4 == NULL) SWIG_fail;
13715 temp4 = true;
13716 }
13717 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13718 if (arg5 == NULL) {
13719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13720 }
13721 if (obj5) {
13722 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13723 if (arg6 == NULL) {
13724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13725 }
13726 }
13727 if (obj7) {
13728 {
13729 arg8 = wxString_in_helper(obj7);
13730 if (arg8 == NULL) SWIG_fail;
13731 temp8 = true;
13732 }
13733 }
13734 if (obj8) {
13735 {
13736 arg9 = wxString_in_helper(obj8);
13737 if (arg9 == NULL) SWIG_fail;
13738 temp9 = true;
13739 }
13740 }
13741 if (obj9) {
13742 arg10 = obj9;
13743 }
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 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);
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 {
13752 resultobj = wxPyMake_wxObject(result);
13753 }
13754 {
13755 if (temp4)
13756 delete arg4;
13757 }
13758 {
13759 if (temp8)
13760 delete arg8;
13761 }
13762 {
13763 if (temp9)
13764 delete arg9;
13765 }
13766 return resultobj;
13767 fail:
13768 {
13769 if (temp4)
13770 delete arg4;
13771 }
13772 {
13773 if (temp8)
13774 delete arg8;
13775 }
13776 {
13777 if (temp9)
13778 delete arg9;
13779 }
13780 return NULL;
13781 }
13782
13783
13784 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj;
13786 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13787 wxControl *arg2 = (wxControl *) 0 ;
13788 wxToolBarToolBase *result;
13789 PyObject * obj0 = 0 ;
13790 PyObject * obj1 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "self",(char *) "control", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13798 {
13799 PyThreadState* __tstate = wxPyBeginAllowThreads();
13800 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13801
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 {
13806 resultobj = wxPyMake_wxObject(result);
13807 }
13808 return resultobj;
13809 fail:
13810 return NULL;
13811 }
13812
13813
13814 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13815 PyObject *resultobj;
13816 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13817 size_t arg2 ;
13818 wxControl *arg3 = (wxControl *) 0 ;
13819 wxToolBarToolBase *result;
13820 PyObject * obj0 = 0 ;
13821 PyObject * obj1 = 0 ;
13822 PyObject * obj2 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self",(char *) "pos",(char *) "control", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13829 arg2 = (size_t) PyInt_AsLong(obj1);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13832 {
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13835
13836 wxPyEndAllowThreads(__tstate);
13837 if (PyErr_Occurred()) SWIG_fail;
13838 }
13839 {
13840 resultobj = wxPyMake_wxObject(result);
13841 }
13842 return resultobj;
13843 fail:
13844 return NULL;
13845 }
13846
13847
13848 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13851 int arg2 ;
13852 wxControl *result;
13853 PyObject * obj0 = 0 ;
13854 char *kwnames[] = {
13855 (char *) "self",(char *) "id", NULL
13856 };
13857
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 result = (wxControl *)(arg1)->FindControl(arg2);
13863
13864 wxPyEndAllowThreads(__tstate);
13865 if (PyErr_Occurred()) SWIG_fail;
13866 }
13867 {
13868 resultobj = wxPyMake_wxObject(result);
13869 }
13870 return resultobj;
13871 fail:
13872 return NULL;
13873 }
13874
13875
13876 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj;
13878 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13879 wxToolBarToolBase *result;
13880 PyObject * obj0 = 0 ;
13881 char *kwnames[] = {
13882 (char *) "self", NULL
13883 };
13884
13885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13890
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 {
13895 resultobj = wxPyMake_wxObject(result);
13896 }
13897 return resultobj;
13898 fail:
13899 return NULL;
13900 }
13901
13902
13903 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13904 PyObject *resultobj;
13905 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13906 size_t arg2 ;
13907 wxToolBarToolBase *result;
13908 PyObject * obj0 = 0 ;
13909 PyObject * obj1 = 0 ;
13910 char *kwnames[] = {
13911 (char *) "self",(char *) "pos", NULL
13912 };
13913
13914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13916 arg2 = (size_t) PyInt_AsLong(obj1);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 {
13926 resultobj = wxPyMake_wxObject(result);
13927 }
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13937 int arg2 ;
13938 wxToolBarToolBase *result;
13939 PyObject * obj0 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "id", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 {
13954 resultobj = wxPyMake_wxObject(result);
13955 }
13956 return resultobj;
13957 fail:
13958 return NULL;
13959 }
13960
13961
13962 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13963 PyObject *resultobj;
13964 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13965 size_t arg2 ;
13966 bool result;
13967 PyObject * obj0 = 0 ;
13968 PyObject * obj1 = 0 ;
13969 char *kwnames[] = {
13970 (char *) "self",(char *) "pos", NULL
13971 };
13972
13973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13975 arg2 = (size_t) PyInt_AsLong(obj1);
13976 if (PyErr_Occurred()) SWIG_fail;
13977 {
13978 PyThreadState* __tstate = wxPyBeginAllowThreads();
13979 result = (bool)(arg1)->DeleteToolByPos(arg2);
13980
13981 wxPyEndAllowThreads(__tstate);
13982 if (PyErr_Occurred()) SWIG_fail;
13983 }
13984 resultobj = PyInt_FromLong((long)result);
13985 return resultobj;
13986 fail:
13987 return NULL;
13988 }
13989
13990
13991 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13992 PyObject *resultobj;
13993 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13994 int arg2 ;
13995 bool result;
13996 PyObject * obj0 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self",(char *) "id", NULL
13999 };
14000
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = (bool)(arg1)->DeleteTool(arg2);
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 resultobj = PyInt_FromLong((long)result);
14011 return resultobj;
14012 fail:
14013 return NULL;
14014 }
14015
14016
14017 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14018 PyObject *resultobj;
14019 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14020 PyObject * obj0 = 0 ;
14021 char *kwnames[] = {
14022 (char *) "self", NULL
14023 };
14024
14025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 (arg1)->ClearTools();
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 Py_INCREF(Py_None); resultobj = Py_None;
14035 return resultobj;
14036 fail:
14037 return NULL;
14038 }
14039
14040
14041 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj;
14043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14044 bool result;
14045 PyObject * obj0 = 0 ;
14046 char *kwnames[] = {
14047 (char *) "self", NULL
14048 };
14049
14050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 result = (bool)(arg1)->Realize();
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 resultobj = PyInt_FromLong((long)result);
14060 return resultobj;
14061 fail:
14062 return NULL;
14063 }
14064
14065
14066 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14067 PyObject *resultobj;
14068 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14069 int arg2 ;
14070 bool arg3 ;
14071 PyObject * obj0 = 0 ;
14072 PyObject * obj2 = 0 ;
14073 char *kwnames[] = {
14074 (char *) "self",(char *) "id",(char *) "enable", NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14079 arg3 = PyInt_AsLong(obj2) ? true : false;
14080 if (PyErr_Occurred()) SWIG_fail;
14081 {
14082 PyThreadState* __tstate = wxPyBeginAllowThreads();
14083 (arg1)->EnableTool(arg2,arg3);
14084
14085 wxPyEndAllowThreads(__tstate);
14086 if (PyErr_Occurred()) SWIG_fail;
14087 }
14088 Py_INCREF(Py_None); resultobj = Py_None;
14089 return resultobj;
14090 fail:
14091 return NULL;
14092 }
14093
14094
14095 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14096 PyObject *resultobj;
14097 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14098 int arg2 ;
14099 bool arg3 ;
14100 PyObject * obj0 = 0 ;
14101 PyObject * obj2 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "id",(char *) "toggle", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 arg3 = PyInt_AsLong(obj2) ? true : false;
14109 if (PyErr_Occurred()) SWIG_fail;
14110 {
14111 PyThreadState* __tstate = wxPyBeginAllowThreads();
14112 (arg1)->ToggleTool(arg2,arg3);
14113
14114 wxPyEndAllowThreads(__tstate);
14115 if (PyErr_Occurred()) SWIG_fail;
14116 }
14117 Py_INCREF(Py_None); resultobj = Py_None;
14118 return resultobj;
14119 fail:
14120 return NULL;
14121 }
14122
14123
14124 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14125 PyObject *resultobj;
14126 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14127 int arg2 ;
14128 bool arg3 ;
14129 PyObject * obj0 = 0 ;
14130 PyObject * obj2 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "id",(char *) "toggle", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14137 arg3 = PyInt_AsLong(obj2) ? true : false;
14138 if (PyErr_Occurred()) SWIG_fail;
14139 {
14140 PyThreadState* __tstate = wxPyBeginAllowThreads();
14141 (arg1)->SetToggle(arg2,arg3);
14142
14143 wxPyEndAllowThreads(__tstate);
14144 if (PyErr_Occurred()) SWIG_fail;
14145 }
14146 Py_INCREF(Py_None); resultobj = Py_None;
14147 return resultobj;
14148 fail:
14149 return NULL;
14150 }
14151
14152
14153 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14154 PyObject *resultobj;
14155 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14156 int arg2 ;
14157 PyObject *result;
14158 PyObject * obj0 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "self",(char *) "id", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14165 {
14166 PyThreadState* __tstate = wxPyBeginAllowThreads();
14167 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14168
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 resultobj = result;
14173 return resultobj;
14174 fail:
14175 return NULL;
14176 }
14177
14178
14179 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14180 PyObject *resultobj;
14181 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14182 int arg2 ;
14183 PyObject *arg3 = (PyObject *) 0 ;
14184 PyObject * obj0 = 0 ;
14185 PyObject * obj2 = 0 ;
14186 char *kwnames[] = {
14187 (char *) "self",(char *) "id",(char *) "clientData", NULL
14188 };
14189
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14192 arg3 = obj2;
14193 {
14194 PyThreadState* __tstate = wxPyBeginAllowThreads();
14195 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14196
14197 wxPyEndAllowThreads(__tstate);
14198 if (PyErr_Occurred()) SWIG_fail;
14199 }
14200 Py_INCREF(Py_None); resultobj = Py_None;
14201 return resultobj;
14202 fail:
14203 return NULL;
14204 }
14205
14206
14207 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14208 PyObject *resultobj;
14209 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14210 int arg2 ;
14211 int result;
14212 PyObject * obj0 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "self",(char *) "id", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 resultobj = PyInt_FromLong((long)result);
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14236 int arg2 ;
14237 bool result;
14238 PyObject * obj0 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self",(char *) "id", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = (bool)(arg1)->GetToolState(arg2);
14248
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = PyInt_FromLong((long)result);
14253 return resultobj;
14254 fail:
14255 return NULL;
14256 }
14257
14258
14259 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14262 int arg2 ;
14263 bool result;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "id", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (bool)(arg1)->GetToolEnabled(arg2);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 resultobj = PyInt_FromLong((long)result);
14279 return resultobj;
14280 fail:
14281 return NULL;
14282 }
14283
14284
14285 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14288 int arg2 ;
14289 wxString *arg3 = 0 ;
14290 bool temp3 = false ;
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj2 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "id",(char *) "helpString", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14299 {
14300 arg3 = wxString_in_helper(obj2);
14301 if (arg3 == NULL) SWIG_fail;
14302 temp3 = true;
14303 }
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 Py_INCREF(Py_None); resultobj = Py_None;
14312 {
14313 if (temp3)
14314 delete arg3;
14315 }
14316 return resultobj;
14317 fail:
14318 {
14319 if (temp3)
14320 delete arg3;
14321 }
14322 return NULL;
14323 }
14324
14325
14326 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14327 PyObject *resultobj;
14328 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14329 int arg2 ;
14330 wxString result;
14331 PyObject * obj0 = 0 ;
14332 char *kwnames[] = {
14333 (char *) "self",(char *) "id", NULL
14334 };
14335
14336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14338 {
14339 PyThreadState* __tstate = wxPyBeginAllowThreads();
14340 result = (arg1)->GetToolShortHelp(arg2);
14341
14342 wxPyEndAllowThreads(__tstate);
14343 if (PyErr_Occurred()) SWIG_fail;
14344 }
14345 {
14346 #if wxUSE_UNICODE
14347 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14348 #else
14349 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14350 #endif
14351 }
14352 return resultobj;
14353 fail:
14354 return NULL;
14355 }
14356
14357
14358 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14359 PyObject *resultobj;
14360 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14361 int arg2 ;
14362 wxString *arg3 = 0 ;
14363 bool temp3 = false ;
14364 PyObject * obj0 = 0 ;
14365 PyObject * obj2 = 0 ;
14366 char *kwnames[] = {
14367 (char *) "self",(char *) "id",(char *) "helpString", NULL
14368 };
14369
14370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14372 {
14373 arg3 = wxString_in_helper(obj2);
14374 if (arg3 == NULL) SWIG_fail;
14375 temp3 = true;
14376 }
14377 {
14378 PyThreadState* __tstate = wxPyBeginAllowThreads();
14379 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14380
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 Py_INCREF(Py_None); resultobj = Py_None;
14385 {
14386 if (temp3)
14387 delete arg3;
14388 }
14389 return resultobj;
14390 fail:
14391 {
14392 if (temp3)
14393 delete arg3;
14394 }
14395 return NULL;
14396 }
14397
14398
14399 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj;
14401 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14402 int arg2 ;
14403 wxString result;
14404 PyObject * obj0 = 0 ;
14405 char *kwnames[] = {
14406 (char *) "self",(char *) "id", NULL
14407 };
14408
14409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 result = (arg1)->GetToolLongHelp(arg2);
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 {
14419 #if wxUSE_UNICODE
14420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14421 #else
14422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14423 #endif
14424 }
14425 return resultobj;
14426 fail:
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14434 int arg2 ;
14435 int arg3 ;
14436 PyObject * obj0 = 0 ;
14437 char *kwnames[] = {
14438 (char *) "self",(char *) "x",(char *) "y", NULL
14439 };
14440
14441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14443 {
14444 PyThreadState* __tstate = wxPyBeginAllowThreads();
14445 (arg1)->SetMargins(arg2,arg3);
14446
14447 wxPyEndAllowThreads(__tstate);
14448 if (PyErr_Occurred()) SWIG_fail;
14449 }
14450 Py_INCREF(Py_None); resultobj = Py_None;
14451 return resultobj;
14452 fail:
14453 return NULL;
14454 }
14455
14456
14457 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14460 wxSize *arg2 = 0 ;
14461 wxSize temp2 ;
14462 PyObject * obj0 = 0 ;
14463 PyObject * obj1 = 0 ;
14464 char *kwnames[] = {
14465 (char *) "self",(char *) "size", NULL
14466 };
14467
14468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14470 {
14471 arg2 = &temp2;
14472 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14473 }
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 (arg1)->SetMargins((wxSize const &)*arg2);
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 Py_INCREF(Py_None); resultobj = Py_None;
14482 return resultobj;
14483 fail:
14484 return NULL;
14485 }
14486
14487
14488 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14489 PyObject *resultobj;
14490 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14491 int arg2 ;
14492 PyObject * obj0 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "self",(char *) "packing", NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 (arg1)->SetToolPacking(arg2);
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 Py_INCREF(Py_None); resultobj = Py_None;
14507 return resultobj;
14508 fail:
14509 return NULL;
14510 }
14511
14512
14513 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14516 int arg2 ;
14517 PyObject * obj0 = 0 ;
14518 char *kwnames[] = {
14519 (char *) "self",(char *) "separation", NULL
14520 };
14521
14522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 (arg1)->SetToolSeparation(arg2);
14527
14528 wxPyEndAllowThreads(__tstate);
14529 if (PyErr_Occurred()) SWIG_fail;
14530 }
14531 Py_INCREF(Py_None); resultobj = Py_None;
14532 return resultobj;
14533 fail:
14534 return NULL;
14535 }
14536
14537
14538 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14539 PyObject *resultobj;
14540 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14541 wxSize result;
14542 PyObject * obj0 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 result = (arg1)->GetToolMargins();
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 {
14557 wxSize * resultptr;
14558 resultptr = new wxSize((wxSize &) result);
14559 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14560 }
14561 return resultobj;
14562 fail:
14563 return NULL;
14564 }
14565
14566
14567 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14568 PyObject *resultobj;
14569 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14570 wxSize result;
14571 PyObject * obj0 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "self", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14578 {
14579 PyThreadState* __tstate = wxPyBeginAllowThreads();
14580 result = (arg1)->GetMargins();
14581
14582 wxPyEndAllowThreads(__tstate);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 {
14586 wxSize * resultptr;
14587 resultptr = new wxSize((wxSize &) result);
14588 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14589 }
14590 return resultobj;
14591 fail:
14592 return NULL;
14593 }
14594
14595
14596 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14597 PyObject *resultobj;
14598 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14599 int result;
14600 PyObject * obj0 = 0 ;
14601 char *kwnames[] = {
14602 (char *) "self", NULL
14603 };
14604
14605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14607 {
14608 PyThreadState* __tstate = wxPyBeginAllowThreads();
14609 result = (int)(arg1)->GetToolPacking();
14610
14611 wxPyEndAllowThreads(__tstate);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
14614 resultobj = PyInt_FromLong((long)result);
14615 return resultobj;
14616 fail:
14617 return NULL;
14618 }
14619
14620
14621 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14622 PyObject *resultobj;
14623 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14624 int result;
14625 PyObject * obj0 = 0 ;
14626 char *kwnames[] = {
14627 (char *) "self", NULL
14628 };
14629
14630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14632 {
14633 PyThreadState* __tstate = wxPyBeginAllowThreads();
14634 result = (int)(arg1)->GetToolSeparation();
14635
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 resultobj = PyInt_FromLong((long)result);
14640 return resultobj;
14641 fail:
14642 return NULL;
14643 }
14644
14645
14646 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14647 PyObject *resultobj;
14648 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14649 int arg2 ;
14650 PyObject * obj0 = 0 ;
14651 char *kwnames[] = {
14652 (char *) "self",(char *) "nRows", NULL
14653 };
14654
14655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 (arg1)->SetRows(arg2);
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 Py_INCREF(Py_None); resultobj = Py_None;
14665 return resultobj;
14666 fail:
14667 return NULL;
14668 }
14669
14670
14671 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj;
14673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14674 int arg2 ;
14675 int arg3 ;
14676 PyObject * obj0 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self",(char *) "rows",(char *) "cols", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 (arg1)->SetMaxRowsCols(arg2,arg3);
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 Py_INCREF(Py_None); resultobj = Py_None;
14691 return resultobj;
14692 fail:
14693 return NULL;
14694 }
14695
14696
14697 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14698 PyObject *resultobj;
14699 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14700 int result;
14701 PyObject * obj0 = 0 ;
14702 char *kwnames[] = {
14703 (char *) "self", NULL
14704 };
14705
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = (int)(arg1)->GetMaxRows();
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 resultobj = PyInt_FromLong((long)result);
14716 return resultobj;
14717 fail:
14718 return NULL;
14719 }
14720
14721
14722 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14723 PyObject *resultobj;
14724 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14725 int result;
14726 PyObject * obj0 = 0 ;
14727 char *kwnames[] = {
14728 (char *) "self", NULL
14729 };
14730
14731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = (int)(arg1)->GetMaxCols();
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 resultobj = PyInt_FromLong((long)result);
14741 return resultobj;
14742 fail:
14743 return NULL;
14744 }
14745
14746
14747 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14748 PyObject *resultobj;
14749 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14750 wxSize *arg2 = 0 ;
14751 wxSize temp2 ;
14752 PyObject * obj0 = 0 ;
14753 PyObject * obj1 = 0 ;
14754 char *kwnames[] = {
14755 (char *) "self",(char *) "size", NULL
14756 };
14757
14758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14760 {
14761 arg2 = &temp2;
14762 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14763 }
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14767
14768 wxPyEndAllowThreads(__tstate);
14769 if (PyErr_Occurred()) SWIG_fail;
14770 }
14771 Py_INCREF(Py_None); resultobj = Py_None;
14772 return resultobj;
14773 fail:
14774 return NULL;
14775 }
14776
14777
14778 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14779 PyObject *resultobj;
14780 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14781 wxSize result;
14782 PyObject * obj0 = 0 ;
14783 char *kwnames[] = {
14784 (char *) "self", NULL
14785 };
14786
14787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14789 {
14790 PyThreadState* __tstate = wxPyBeginAllowThreads();
14791 result = (arg1)->GetToolBitmapSize();
14792
14793 wxPyEndAllowThreads(__tstate);
14794 if (PyErr_Occurred()) SWIG_fail;
14795 }
14796 {
14797 wxSize * resultptr;
14798 resultptr = new wxSize((wxSize &) result);
14799 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14800 }
14801 return resultobj;
14802 fail:
14803 return NULL;
14804 }
14805
14806
14807 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14808 PyObject *resultobj;
14809 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14810 wxSize result;
14811 PyObject * obj0 = 0 ;
14812 char *kwnames[] = {
14813 (char *) "self", NULL
14814 };
14815
14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14818 {
14819 PyThreadState* __tstate = wxPyBeginAllowThreads();
14820 result = (arg1)->GetToolSize();
14821
14822 wxPyEndAllowThreads(__tstate);
14823 if (PyErr_Occurred()) SWIG_fail;
14824 }
14825 {
14826 wxSize * resultptr;
14827 resultptr = new wxSize((wxSize &) result);
14828 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14829 }
14830 return resultobj;
14831 fail:
14832 return NULL;
14833 }
14834
14835
14836 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14837 PyObject *resultobj;
14838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14839 wxCoord arg2 ;
14840 wxCoord arg3 ;
14841 wxToolBarToolBase *result;
14842 PyObject * obj0 = 0 ;
14843 char *kwnames[] = {
14844 (char *) "self",(char *) "x",(char *) "y", NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14849 {
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 {
14857 resultobj = wxPyMake_wxObject(result);
14858 }
14859 return resultobj;
14860 fail:
14861 return NULL;
14862 }
14863
14864
14865 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj;
14867 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14868 bool result;
14869 PyObject * obj0 = 0 ;
14870 char *kwnames[] = {
14871 (char *) "self", NULL
14872 };
14873
14874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14876 {
14877 PyThreadState* __tstate = wxPyBeginAllowThreads();
14878 result = (bool)(arg1)->IsVertical();
14879
14880 wxPyEndAllowThreads(__tstate);
14881 if (PyErr_Occurred()) SWIG_fail;
14882 }
14883 resultobj = PyInt_FromLong((long)result);
14884 return resultobj;
14885 fail:
14886 return NULL;
14887 }
14888
14889
14890 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14891 PyObject *obj;
14892 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14893 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14894 Py_INCREF(obj);
14895 return Py_BuildValue((char *)"");
14896 }
14897 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14898 PyObject *resultobj;
14899 wxWindow *arg1 = (wxWindow *) 0 ;
14900 wxWindowID arg2 ;
14901 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14902 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14903 wxSize const &arg4_defvalue = wxDefaultSize ;
14904 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14905 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14906 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14907 wxString *arg6 = (wxString *) &arg6_defvalue ;
14908 wxToolBar *result;
14909 wxPoint temp3 ;
14910 wxSize temp4 ;
14911 bool temp6 = false ;
14912 PyObject * obj0 = 0 ;
14913 PyObject * obj2 = 0 ;
14914 PyObject * obj3 = 0 ;
14915 PyObject * obj5 = 0 ;
14916 char *kwnames[] = {
14917 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14918 };
14919
14920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14922 if (obj2) {
14923 {
14924 arg3 = &temp3;
14925 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14926 }
14927 }
14928 if (obj3) {
14929 {
14930 arg4 = &temp4;
14931 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14932 }
14933 }
14934 if (obj5) {
14935 {
14936 arg6 = wxString_in_helper(obj5);
14937 if (arg6 == NULL) SWIG_fail;
14938 temp6 = true;
14939 }
14940 }
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 {
14949 resultobj = wxPyMake_wxObject(result);
14950 }
14951 {
14952 if (temp6)
14953 delete arg6;
14954 }
14955 return resultobj;
14956 fail:
14957 {
14958 if (temp6)
14959 delete arg6;
14960 }
14961 return NULL;
14962 }
14963
14964
14965 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj;
14967 wxToolBar *result;
14968 char *kwnames[] = {
14969 NULL
14970 };
14971
14972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 result = (wxToolBar *)new wxToolBar();
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 {
14981 resultobj = wxPyMake_wxObject(result);
14982 }
14983 return resultobj;
14984 fail:
14985 return NULL;
14986 }
14987
14988
14989 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14990 PyObject *resultobj;
14991 wxToolBar *arg1 = (wxToolBar *) 0 ;
14992 wxWindow *arg2 = (wxWindow *) 0 ;
14993 wxWindowID arg3 ;
14994 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14995 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14996 wxSize const &arg5_defvalue = wxDefaultSize ;
14997 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14998 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14999 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15000 wxString *arg7 = (wxString *) &arg7_defvalue ;
15001 bool result;
15002 wxPoint temp4 ;
15003 wxSize temp5 ;
15004 bool temp7 = false ;
15005 PyObject * obj0 = 0 ;
15006 PyObject * obj1 = 0 ;
15007 PyObject * obj3 = 0 ;
15008 PyObject * obj4 = 0 ;
15009 PyObject * obj6 = 0 ;
15010 char *kwnames[] = {
15011 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15012 };
15013
15014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15017 if (obj3) {
15018 {
15019 arg4 = &temp4;
15020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15021 }
15022 }
15023 if (obj4) {
15024 {
15025 arg5 = &temp5;
15026 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15027 }
15028 }
15029 if (obj6) {
15030 {
15031 arg7 = wxString_in_helper(obj6);
15032 if (arg7 == NULL) SWIG_fail;
15033 temp7 = true;
15034 }
15035 }
15036 {
15037 PyThreadState* __tstate = wxPyBeginAllowThreads();
15038 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15039
15040 wxPyEndAllowThreads(__tstate);
15041 if (PyErr_Occurred()) SWIG_fail;
15042 }
15043 resultobj = PyInt_FromLong((long)result);
15044 {
15045 if (temp7)
15046 delete arg7;
15047 }
15048 return resultobj;
15049 fail:
15050 {
15051 if (temp7)
15052 delete arg7;
15053 }
15054 return NULL;
15055 }
15056
15057
15058 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15059 PyObject *resultobj;
15060 wxToolBar *arg1 = (wxToolBar *) 0 ;
15061 wxCoord arg2 ;
15062 wxCoord arg3 ;
15063 wxToolBarToolBase *result;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self",(char *) "x",(char *) "y", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 {
15079 resultobj = wxPyMake_wxObject(result);
15080 }
15081 return resultobj;
15082 fail:
15083 return NULL;
15084 }
15085
15086
15087 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15088 PyObject *obj;
15089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15090 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15091 Py_INCREF(obj);
15092 return Py_BuildValue((char *)"");
15093 }
15094 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15095 PyObject *resultobj;
15096 wxColour const &arg1_defvalue = wxNullColour ;
15097 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15098 wxColour const &arg2_defvalue = wxNullColour ;
15099 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15100 wxFont const &arg3_defvalue = wxNullFont ;
15101 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15102 wxListItemAttr *result;
15103 wxColour temp1 ;
15104 wxColour temp2 ;
15105 PyObject * obj0 = 0 ;
15106 PyObject * obj1 = 0 ;
15107 PyObject * obj2 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15113 if (obj0) {
15114 {
15115 arg1 = &temp1;
15116 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15117 }
15118 }
15119 if (obj1) {
15120 {
15121 arg2 = &temp2;
15122 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15123 }
15124 }
15125 if (obj2) {
15126 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15127 if (arg3 == NULL) {
15128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15129 }
15130 }
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15134
15135 wxPyEndAllowThreads(__tstate);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15139 return resultobj;
15140 fail:
15141 return NULL;
15142 }
15143
15144
15145 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj;
15147 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15148 wxColour *arg2 = 0 ;
15149 wxColour temp2 ;
15150 PyObject * obj0 = 0 ;
15151 PyObject * obj1 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self",(char *) "colText", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15158 {
15159 arg2 = &temp2;
15160 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15161 }
15162 {
15163 PyThreadState* __tstate = wxPyBeginAllowThreads();
15164 (arg1)->SetTextColour((wxColour const &)*arg2);
15165
15166 wxPyEndAllowThreads(__tstate);
15167 if (PyErr_Occurred()) SWIG_fail;
15168 }
15169 Py_INCREF(Py_None); resultobj = Py_None;
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15179 wxColour *arg2 = 0 ;
15180 wxColour temp2 ;
15181 PyObject * obj0 = 0 ;
15182 PyObject * obj1 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "self",(char *) "colBack", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15189 {
15190 arg2 = &temp2;
15191 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15192 }
15193 {
15194 PyThreadState* __tstate = wxPyBeginAllowThreads();
15195 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15196
15197 wxPyEndAllowThreads(__tstate);
15198 if (PyErr_Occurred()) SWIG_fail;
15199 }
15200 Py_INCREF(Py_None); resultobj = Py_None;
15201 return resultobj;
15202 fail:
15203 return NULL;
15204 }
15205
15206
15207 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj;
15209 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15210 wxFont *arg2 = 0 ;
15211 PyObject * obj0 = 0 ;
15212 PyObject * obj1 = 0 ;
15213 char *kwnames[] = {
15214 (char *) "self",(char *) "font", NULL
15215 };
15216
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15220 if (arg2 == NULL) {
15221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15222 }
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 (arg1)->SetFont((wxFont const &)*arg2);
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 Py_INCREF(Py_None); resultobj = Py_None;
15231 return resultobj;
15232 fail:
15233 return NULL;
15234 }
15235
15236
15237 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15238 PyObject *resultobj;
15239 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15240 bool result;
15241 PyObject * obj0 = 0 ;
15242 char *kwnames[] = {
15243 (char *) "self", NULL
15244 };
15245
15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15248 {
15249 PyThreadState* __tstate = wxPyBeginAllowThreads();
15250 result = (bool)(arg1)->HasTextColour();
15251
15252 wxPyEndAllowThreads(__tstate);
15253 if (PyErr_Occurred()) SWIG_fail;
15254 }
15255 resultobj = PyInt_FromLong((long)result);
15256 return resultobj;
15257 fail:
15258 return NULL;
15259 }
15260
15261
15262 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15263 PyObject *resultobj;
15264 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15265 bool result;
15266 PyObject * obj0 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15273 {
15274 PyThreadState* __tstate = wxPyBeginAllowThreads();
15275 result = (bool)(arg1)->HasBackgroundColour();
15276
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 resultobj = PyInt_FromLong((long)result);
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15288 PyObject *resultobj;
15289 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15290 bool result;
15291 PyObject * obj0 = 0 ;
15292 char *kwnames[] = {
15293 (char *) "self", NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 result = (bool)(arg1)->HasFont();
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = PyInt_FromLong((long)result);
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15315 wxColour result;
15316 PyObject * obj0 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (arg1)->GetTextColour();
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 {
15331 wxColour * resultptr;
15332 resultptr = new wxColour((wxColour &) result);
15333 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15334 }
15335 return resultobj;
15336 fail:
15337 return NULL;
15338 }
15339
15340
15341 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15344 wxColour result;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (arg1)->GetBackgroundColour();
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 {
15360 wxColour * resultptr;
15361 resultptr = new wxColour((wxColour &) result);
15362 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15363 }
15364 return resultobj;
15365 fail:
15366 return NULL;
15367 }
15368
15369
15370 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj;
15372 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15373 wxFont result;
15374 PyObject * obj0 = 0 ;
15375 char *kwnames[] = {
15376 (char *) "self", NULL
15377 };
15378
15379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 result = (arg1)->GetFont();
15384
15385 wxPyEndAllowThreads(__tstate);
15386 if (PyErr_Occurred()) SWIG_fail;
15387 }
15388 {
15389 wxFont * resultptr;
15390 resultptr = new wxFont((wxFont &) result);
15391 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15392 }
15393 return resultobj;
15394 fail:
15395 return NULL;
15396 }
15397
15398
15399 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15400 PyObject *resultobj;
15401 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15402 PyObject * obj0 = 0 ;
15403 char *kwnames[] = {
15404 (char *) "self", NULL
15405 };
15406
15407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 wxListItemAttr_Destroy(arg1);
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 Py_INCREF(Py_None); resultobj = Py_None;
15417 return resultobj;
15418 fail:
15419 return NULL;
15420 }
15421
15422
15423 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15424 PyObject *obj;
15425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15426 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15427 Py_INCREF(obj);
15428 return Py_BuildValue((char *)"");
15429 }
15430 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxListItem *result;
15433 char *kwnames[] = {
15434 NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15438 {
15439 PyThreadState* __tstate = wxPyBeginAllowThreads();
15440 result = (wxListItem *)new wxListItem();
15441
15442 wxPyEndAllowThreads(__tstate);
15443 if (PyErr_Occurred()) SWIG_fail;
15444 }
15445 {
15446 resultobj = wxPyMake_wxObject(result);
15447 }
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 wxListItem *arg1 = (wxListItem *) 0 ;
15457 PyObject * obj0 = 0 ;
15458 char *kwnames[] = {
15459 (char *) "self", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 delete arg1;
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 Py_INCREF(Py_None); resultobj = Py_None;
15472 return resultobj;
15473 fail:
15474 return NULL;
15475 }
15476
15477
15478 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj;
15480 wxListItem *arg1 = (wxListItem *) 0 ;
15481 PyObject * obj0 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 (arg1)->Clear();
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_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 wxListItem *arg1 = (wxListItem *) 0 ;
15505 PyObject * obj0 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "self", NULL
15508 };
15509
15510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15512 {
15513 PyThreadState* __tstate = wxPyBeginAllowThreads();
15514 (arg1)->ClearAttributes();
15515
15516 wxPyEndAllowThreads(__tstate);
15517 if (PyErr_Occurred()) SWIG_fail;
15518 }
15519 Py_INCREF(Py_None); resultobj = Py_None;
15520 return resultobj;
15521 fail:
15522 return NULL;
15523 }
15524
15525
15526 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15527 PyObject *resultobj;
15528 wxListItem *arg1 = (wxListItem *) 0 ;
15529 long arg2 ;
15530 PyObject * obj0 = 0 ;
15531 char *kwnames[] = {
15532 (char *) "self",(char *) "mask", NULL
15533 };
15534
15535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 (arg1)->SetMask(arg2);
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 Py_INCREF(Py_None); resultobj = Py_None;
15545 return resultobj;
15546 fail:
15547 return NULL;
15548 }
15549
15550
15551 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15552 PyObject *resultobj;
15553 wxListItem *arg1 = (wxListItem *) 0 ;
15554 long arg2 ;
15555 PyObject * obj0 = 0 ;
15556 char *kwnames[] = {
15557 (char *) "self",(char *) "id", NULL
15558 };
15559
15560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 (arg1)->SetId(arg2);
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573 }
15574
15575
15576 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxListItem *arg1 = (wxListItem *) 0 ;
15579 int arg2 ;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self",(char *) "col", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 (arg1)->SetColumn(arg2);
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 Py_INCREF(Py_None); resultobj = Py_None;
15595 return resultobj;
15596 fail:
15597 return NULL;
15598 }
15599
15600
15601 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj;
15603 wxListItem *arg1 = (wxListItem *) 0 ;
15604 long arg2 ;
15605 PyObject * obj0 = 0 ;
15606 char *kwnames[] = {
15607 (char *) "self",(char *) "state", NULL
15608 };
15609
15610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15612 {
15613 PyThreadState* __tstate = wxPyBeginAllowThreads();
15614 (arg1)->SetState(arg2);
15615
15616 wxPyEndAllowThreads(__tstate);
15617 if (PyErr_Occurred()) SWIG_fail;
15618 }
15619 Py_INCREF(Py_None); resultobj = Py_None;
15620 return resultobj;
15621 fail:
15622 return NULL;
15623 }
15624
15625
15626 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15627 PyObject *resultobj;
15628 wxListItem *arg1 = (wxListItem *) 0 ;
15629 long arg2 ;
15630 PyObject * obj0 = 0 ;
15631 char *kwnames[] = {
15632 (char *) "self",(char *) "stateMask", NULL
15633 };
15634
15635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15637 {
15638 PyThreadState* __tstate = wxPyBeginAllowThreads();
15639 (arg1)->SetStateMask(arg2);
15640
15641 wxPyEndAllowThreads(__tstate);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 }
15644 Py_INCREF(Py_None); resultobj = Py_None;
15645 return resultobj;
15646 fail:
15647 return NULL;
15648 }
15649
15650
15651 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxListItem *arg1 = (wxListItem *) 0 ;
15654 wxString *arg2 = 0 ;
15655 bool temp2 = false ;
15656 PyObject * obj0 = 0 ;
15657 PyObject * obj1 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self",(char *) "text", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15664 {
15665 arg2 = wxString_in_helper(obj1);
15666 if (arg2 == NULL) SWIG_fail;
15667 temp2 = true;
15668 }
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 (arg1)->SetText((wxString const &)*arg2);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 Py_INCREF(Py_None); resultobj = Py_None;
15677 {
15678 if (temp2)
15679 delete arg2;
15680 }
15681 return resultobj;
15682 fail:
15683 {
15684 if (temp2)
15685 delete arg2;
15686 }
15687 return NULL;
15688 }
15689
15690
15691 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15692 PyObject *resultobj;
15693 wxListItem *arg1 = (wxListItem *) 0 ;
15694 int arg2 ;
15695 PyObject * obj0 = 0 ;
15696 char *kwnames[] = {
15697 (char *) "self",(char *) "image", NULL
15698 };
15699
15700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15702 {
15703 PyThreadState* __tstate = wxPyBeginAllowThreads();
15704 (arg1)->SetImage(arg2);
15705
15706 wxPyEndAllowThreads(__tstate);
15707 if (PyErr_Occurred()) SWIG_fail;
15708 }
15709 Py_INCREF(Py_None); resultobj = Py_None;
15710 return resultobj;
15711 fail:
15712 return NULL;
15713 }
15714
15715
15716 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj;
15718 wxListItem *arg1 = (wxListItem *) 0 ;
15719 long arg2 ;
15720 PyObject * obj0 = 0 ;
15721 char *kwnames[] = {
15722 (char *) "self",(char *) "data", NULL
15723 };
15724
15725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 (arg1)->SetData(arg2);
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 Py_INCREF(Py_None); resultobj = Py_None;
15735 return resultobj;
15736 fail:
15737 return NULL;
15738 }
15739
15740
15741 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15742 PyObject *resultobj;
15743 wxListItem *arg1 = (wxListItem *) 0 ;
15744 int arg2 ;
15745 PyObject * obj0 = 0 ;
15746 char *kwnames[] = {
15747 (char *) "self",(char *) "width", NULL
15748 };
15749
15750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15752 {
15753 PyThreadState* __tstate = wxPyBeginAllowThreads();
15754 (arg1)->SetWidth(arg2);
15755
15756 wxPyEndAllowThreads(__tstate);
15757 if (PyErr_Occurred()) SWIG_fail;
15758 }
15759 Py_INCREF(Py_None); resultobj = Py_None;
15760 return resultobj;
15761 fail:
15762 return NULL;
15763 }
15764
15765
15766 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15767 PyObject *resultobj;
15768 wxListItem *arg1 = (wxListItem *) 0 ;
15769 int arg2 ;
15770 PyObject * obj0 = 0 ;
15771 char *kwnames[] = {
15772 (char *) "self",(char *) "align", NULL
15773 };
15774
15775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15777 {
15778 PyThreadState* __tstate = wxPyBeginAllowThreads();
15779 (arg1)->SetAlign((wxListColumnFormat )arg2);
15780
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 Py_INCREF(Py_None); resultobj = Py_None;
15785 return resultobj;
15786 fail:
15787 return NULL;
15788 }
15789
15790
15791 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15792 PyObject *resultobj;
15793 wxListItem *arg1 = (wxListItem *) 0 ;
15794 wxColour *arg2 = 0 ;
15795 wxColour temp2 ;
15796 PyObject * obj0 = 0 ;
15797 PyObject * obj1 = 0 ;
15798 char *kwnames[] = {
15799 (char *) "self",(char *) "colText", NULL
15800 };
15801
15802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15804 {
15805 arg2 = &temp2;
15806 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15807 }
15808 {
15809 PyThreadState* __tstate = wxPyBeginAllowThreads();
15810 (arg1)->SetTextColour((wxColour const &)*arg2);
15811
15812 wxPyEndAllowThreads(__tstate);
15813 if (PyErr_Occurred()) SWIG_fail;
15814 }
15815 Py_INCREF(Py_None); resultobj = Py_None;
15816 return resultobj;
15817 fail:
15818 return NULL;
15819 }
15820
15821
15822 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15823 PyObject *resultobj;
15824 wxListItem *arg1 = (wxListItem *) 0 ;
15825 wxColour *arg2 = 0 ;
15826 wxColour temp2 ;
15827 PyObject * obj0 = 0 ;
15828 PyObject * obj1 = 0 ;
15829 char *kwnames[] = {
15830 (char *) "self",(char *) "colBack", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15835 {
15836 arg2 = &temp2;
15837 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15838 }
15839 {
15840 PyThreadState* __tstate = wxPyBeginAllowThreads();
15841 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15842
15843 wxPyEndAllowThreads(__tstate);
15844 if (PyErr_Occurred()) SWIG_fail;
15845 }
15846 Py_INCREF(Py_None); resultobj = Py_None;
15847 return resultobj;
15848 fail:
15849 return NULL;
15850 }
15851
15852
15853 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15854 PyObject *resultobj;
15855 wxListItem *arg1 = (wxListItem *) 0 ;
15856 wxFont *arg2 = 0 ;
15857 PyObject * obj0 = 0 ;
15858 PyObject * obj1 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self",(char *) "font", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15865 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15866 if (arg2 == NULL) {
15867 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15868 }
15869 {
15870 PyThreadState* __tstate = wxPyBeginAllowThreads();
15871 (arg1)->SetFont((wxFont const &)*arg2);
15872
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 Py_INCREF(Py_None); resultobj = Py_None;
15877 return resultobj;
15878 fail:
15879 return NULL;
15880 }
15881
15882
15883 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15884 PyObject *resultobj;
15885 wxListItem *arg1 = (wxListItem *) 0 ;
15886 long result;
15887 PyObject * obj0 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "self", NULL
15890 };
15891
15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15894 {
15895 PyThreadState* __tstate = wxPyBeginAllowThreads();
15896 result = (long)(arg1)->GetMask();
15897
15898 wxPyEndAllowThreads(__tstate);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 resultobj = PyInt_FromLong((long)result);
15902 return resultobj;
15903 fail:
15904 return NULL;
15905 }
15906
15907
15908 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15909 PyObject *resultobj;
15910 wxListItem *arg1 = (wxListItem *) 0 ;
15911 long result;
15912 PyObject * obj0 = 0 ;
15913 char *kwnames[] = {
15914 (char *) "self", NULL
15915 };
15916
15917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15919 {
15920 PyThreadState* __tstate = wxPyBeginAllowThreads();
15921 result = (long)(arg1)->GetId();
15922
15923 wxPyEndAllowThreads(__tstate);
15924 if (PyErr_Occurred()) SWIG_fail;
15925 }
15926 resultobj = PyInt_FromLong((long)result);
15927 return resultobj;
15928 fail:
15929 return NULL;
15930 }
15931
15932
15933 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15934 PyObject *resultobj;
15935 wxListItem *arg1 = (wxListItem *) 0 ;
15936 int result;
15937 PyObject * obj0 = 0 ;
15938 char *kwnames[] = {
15939 (char *) "self", NULL
15940 };
15941
15942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15944 {
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 result = (int)(arg1)->GetColumn();
15947
15948 wxPyEndAllowThreads(__tstate);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
15951 resultobj = PyInt_FromLong((long)result);
15952 return resultobj;
15953 fail:
15954 return NULL;
15955 }
15956
15957
15958 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15959 PyObject *resultobj;
15960 wxListItem *arg1 = (wxListItem *) 0 ;
15961 long result;
15962 PyObject * obj0 = 0 ;
15963 char *kwnames[] = {
15964 (char *) "self", NULL
15965 };
15966
15967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 result = (long)(arg1)->GetState();
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 resultobj = PyInt_FromLong((long)result);
15977 return resultobj;
15978 fail:
15979 return NULL;
15980 }
15981
15982
15983 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15984 PyObject *resultobj;
15985 wxListItem *arg1 = (wxListItem *) 0 ;
15986 wxString *result;
15987 PyObject * obj0 = 0 ;
15988 char *kwnames[] = {
15989 (char *) "self", NULL
15990 };
15991
15992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15994 {
15995 PyThreadState* __tstate = wxPyBeginAllowThreads();
15996 {
15997 wxString const &_result_ref = (arg1)->GetText();
15998 result = (wxString *) &_result_ref;
15999 }
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16005 return resultobj;
16006 fail:
16007 return NULL;
16008 }
16009
16010
16011 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj;
16013 wxListItem *arg1 = (wxListItem *) 0 ;
16014 int result;
16015 PyObject * obj0 = 0 ;
16016 char *kwnames[] = {
16017 (char *) "self", NULL
16018 };
16019
16020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 result = (int)(arg1)->GetImage();
16025
16026 wxPyEndAllowThreads(__tstate);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 }
16029 resultobj = PyInt_FromLong((long)result);
16030 return resultobj;
16031 fail:
16032 return NULL;
16033 }
16034
16035
16036 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxListItem *arg1 = (wxListItem *) 0 ;
16039 long result;
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self", NULL
16043 };
16044
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (long)(arg1)->GetData();
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = PyInt_FromLong((long)result);
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxListItem *arg1 = (wxListItem *) 0 ;
16064 int result;
16065 PyObject * obj0 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 result = (int)(arg1)->GetWidth();
16075
16076 wxPyEndAllowThreads(__tstate);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 resultobj = PyInt_FromLong((long)result);
16080 return resultobj;
16081 fail:
16082 return NULL;
16083 }
16084
16085
16086 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16087 PyObject *resultobj;
16088 wxListItem *arg1 = (wxListItem *) 0 ;
16089 int result;
16090 PyObject * obj0 = 0 ;
16091 char *kwnames[] = {
16092 (char *) "self", NULL
16093 };
16094
16095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 result = (int)(arg1)->GetAlign();
16100
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 resultobj = PyInt_FromLong((long)result);
16105 return resultobj;
16106 fail:
16107 return NULL;
16108 }
16109
16110
16111 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj;
16113 wxListItem *arg1 = (wxListItem *) 0 ;
16114 wxListItemAttr *result;
16115 PyObject * obj0 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "self", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16122 {
16123 PyThreadState* __tstate = wxPyBeginAllowThreads();
16124 result = (wxListItemAttr *)(arg1)->GetAttributes();
16125
16126 wxPyEndAllowThreads(__tstate);
16127 if (PyErr_Occurred()) SWIG_fail;
16128 }
16129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16130 return resultobj;
16131 fail:
16132 return NULL;
16133 }
16134
16135
16136 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxListItem *arg1 = (wxListItem *) 0 ;
16139 bool result;
16140 PyObject * obj0 = 0 ;
16141 char *kwnames[] = {
16142 (char *) "self", NULL
16143 };
16144
16145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 result = (bool)(arg1)->HasAttributes();
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 resultobj = PyInt_FromLong((long)result);
16155 return resultobj;
16156 fail:
16157 return NULL;
16158 }
16159
16160
16161 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16162 PyObject *resultobj;
16163 wxListItem *arg1 = (wxListItem *) 0 ;
16164 wxColour result;
16165 PyObject * obj0 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self", NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16172 {
16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
16174 result = ((wxListItem const *)arg1)->GetTextColour();
16175
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 {
16180 wxColour * resultptr;
16181 resultptr = new wxColour((wxColour &) result);
16182 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16183 }
16184 return resultobj;
16185 fail:
16186 return NULL;
16187 }
16188
16189
16190 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16191 PyObject *resultobj;
16192 wxListItem *arg1 = (wxListItem *) 0 ;
16193 wxColour result;
16194 PyObject * obj0 = 0 ;
16195 char *kwnames[] = {
16196 (char *) "self", NULL
16197 };
16198
16199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16201 {
16202 PyThreadState* __tstate = wxPyBeginAllowThreads();
16203 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16204
16205 wxPyEndAllowThreads(__tstate);
16206 if (PyErr_Occurred()) SWIG_fail;
16207 }
16208 {
16209 wxColour * resultptr;
16210 resultptr = new wxColour((wxColour &) result);
16211 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16212 }
16213 return resultobj;
16214 fail:
16215 return NULL;
16216 }
16217
16218
16219 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16220 PyObject *resultobj;
16221 wxListItem *arg1 = (wxListItem *) 0 ;
16222 wxFont result;
16223 PyObject * obj0 = 0 ;
16224 char *kwnames[] = {
16225 (char *) "self", NULL
16226 };
16227
16228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16230 {
16231 PyThreadState* __tstate = wxPyBeginAllowThreads();
16232 result = ((wxListItem const *)arg1)->GetFont();
16233
16234 wxPyEndAllowThreads(__tstate);
16235 if (PyErr_Occurred()) SWIG_fail;
16236 }
16237 {
16238 wxFont * resultptr;
16239 resultptr = new wxFont((wxFont &) result);
16240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16241 }
16242 return resultobj;
16243 fail:
16244 return NULL;
16245 }
16246
16247
16248 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16249 PyObject *resultobj;
16250 wxListItem *arg1 = (wxListItem *) 0 ;
16251 long arg2 ;
16252 PyObject * obj0 = 0 ;
16253 char *kwnames[] = {
16254 (char *) "self",(char *) "m_mask", NULL
16255 };
16256
16257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16259 if (arg1) (arg1)->m_mask = arg2;
16260
16261 Py_INCREF(Py_None); resultobj = Py_None;
16262 return resultobj;
16263 fail:
16264 return NULL;
16265 }
16266
16267
16268 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxListItem *arg1 = (wxListItem *) 0 ;
16271 long result;
16272 PyObject * obj0 = 0 ;
16273 char *kwnames[] = {
16274 (char *) "self", NULL
16275 };
16276
16277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16279 result = (long) ((arg1)->m_mask);
16280
16281 resultobj = PyInt_FromLong((long)result);
16282 return resultobj;
16283 fail:
16284 return NULL;
16285 }
16286
16287
16288 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16289 PyObject *resultobj;
16290 wxListItem *arg1 = (wxListItem *) 0 ;
16291 long arg2 ;
16292 PyObject * obj0 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self",(char *) "m_itemId", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16299 if (arg1) (arg1)->m_itemId = arg2;
16300
16301 Py_INCREF(Py_None); resultobj = Py_None;
16302 return resultobj;
16303 fail:
16304 return NULL;
16305 }
16306
16307
16308 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 wxListItem *arg1 = (wxListItem *) 0 ;
16311 long result;
16312 PyObject * obj0 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "self", NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16319 result = (long) ((arg1)->m_itemId);
16320
16321 resultobj = PyInt_FromLong((long)result);
16322 return resultobj;
16323 fail:
16324 return NULL;
16325 }
16326
16327
16328 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16329 PyObject *resultobj;
16330 wxListItem *arg1 = (wxListItem *) 0 ;
16331 int arg2 ;
16332 PyObject * obj0 = 0 ;
16333 char *kwnames[] = {
16334 (char *) "self",(char *) "m_col", NULL
16335 };
16336
16337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16339 if (arg1) (arg1)->m_col = arg2;
16340
16341 Py_INCREF(Py_None); resultobj = Py_None;
16342 return resultobj;
16343 fail:
16344 return NULL;
16345 }
16346
16347
16348 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxListItem *arg1 = (wxListItem *) 0 ;
16351 int result;
16352 PyObject * obj0 = 0 ;
16353 char *kwnames[] = {
16354 (char *) "self", NULL
16355 };
16356
16357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16359 result = (int) ((arg1)->m_col);
16360
16361 resultobj = PyInt_FromLong((long)result);
16362 return resultobj;
16363 fail:
16364 return NULL;
16365 }
16366
16367
16368 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16369 PyObject *resultobj;
16370 wxListItem *arg1 = (wxListItem *) 0 ;
16371 long arg2 ;
16372 PyObject * obj0 = 0 ;
16373 char *kwnames[] = {
16374 (char *) "self",(char *) "m_state", NULL
16375 };
16376
16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16379 if (arg1) (arg1)->m_state = arg2;
16380
16381 Py_INCREF(Py_None); resultobj = Py_None;
16382 return resultobj;
16383 fail:
16384 return NULL;
16385 }
16386
16387
16388 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16389 PyObject *resultobj;
16390 wxListItem *arg1 = (wxListItem *) 0 ;
16391 long result;
16392 PyObject * obj0 = 0 ;
16393 char *kwnames[] = {
16394 (char *) "self", NULL
16395 };
16396
16397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16399 result = (long) ((arg1)->m_state);
16400
16401 resultobj = PyInt_FromLong((long)result);
16402 return resultobj;
16403 fail:
16404 return NULL;
16405 }
16406
16407
16408 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxListItem *arg1 = (wxListItem *) 0 ;
16411 long arg2 ;
16412 PyObject * obj0 = 0 ;
16413 char *kwnames[] = {
16414 (char *) "self",(char *) "m_stateMask", NULL
16415 };
16416
16417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16419 if (arg1) (arg1)->m_stateMask = arg2;
16420
16421 Py_INCREF(Py_None); resultobj = Py_None;
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxListItem *arg1 = (wxListItem *) 0 ;
16431 long result;
16432 PyObject * obj0 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16439 result = (long) ((arg1)->m_stateMask);
16440
16441 resultobj = PyInt_FromLong((long)result);
16442 return resultobj;
16443 fail:
16444 return NULL;
16445 }
16446
16447
16448 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj;
16450 wxListItem *arg1 = (wxListItem *) 0 ;
16451 wxString arg2 ;
16452 wxString *argp2 ;
16453 PyObject * obj0 = 0 ;
16454 PyObject * obj1 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self",(char *) "m_text", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16461 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16462 arg2 = *argp2;
16463 if (arg1) (arg1)->m_text = arg2;
16464
16465 Py_INCREF(Py_None); resultobj = Py_None;
16466 return resultobj;
16467 fail:
16468 return NULL;
16469 }
16470
16471
16472 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16473 PyObject *resultobj;
16474 wxListItem *arg1 = (wxListItem *) 0 ;
16475 wxString result;
16476 PyObject * obj0 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "self", NULL
16479 };
16480
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16483 result = ((arg1)->m_text);
16484
16485 {
16486 #if wxUSE_UNICODE
16487 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16488 #else
16489 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16490 #endif
16491 }
16492 return resultobj;
16493 fail:
16494 return NULL;
16495 }
16496
16497
16498 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16499 PyObject *resultobj;
16500 wxListItem *arg1 = (wxListItem *) 0 ;
16501 int arg2 ;
16502 PyObject * obj0 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "m_image", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16509 if (arg1) (arg1)->m_image = arg2;
16510
16511 Py_INCREF(Py_None); resultobj = Py_None;
16512 return resultobj;
16513 fail:
16514 return NULL;
16515 }
16516
16517
16518 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16519 PyObject *resultobj;
16520 wxListItem *arg1 = (wxListItem *) 0 ;
16521 int result;
16522 PyObject * obj0 = 0 ;
16523 char *kwnames[] = {
16524 (char *) "self", NULL
16525 };
16526
16527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16529 result = (int) ((arg1)->m_image);
16530
16531 resultobj = PyInt_FromLong((long)result);
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16539 PyObject *resultobj;
16540 wxListItem *arg1 = (wxListItem *) 0 ;
16541 long arg2 ;
16542 PyObject * obj0 = 0 ;
16543 char *kwnames[] = {
16544 (char *) "self",(char *) "m_data", NULL
16545 };
16546
16547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16549 if (arg1) (arg1)->m_data = arg2;
16550
16551 Py_INCREF(Py_None); resultobj = Py_None;
16552 return resultobj;
16553 fail:
16554 return NULL;
16555 }
16556
16557
16558 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxListItem *arg1 = (wxListItem *) 0 ;
16561 long result;
16562 PyObject * obj0 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16569 result = (long) ((arg1)->m_data);
16570
16571 resultobj = PyInt_FromLong((long)result);
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxListItem *arg1 = (wxListItem *) 0 ;
16581 int arg2 ;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self",(char *) "m_format", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16589 if (arg1) (arg1)->m_format = arg2;
16590
16591 Py_INCREF(Py_None); resultobj = Py_None;
16592 return resultobj;
16593 fail:
16594 return NULL;
16595 }
16596
16597
16598 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj;
16600 wxListItem *arg1 = (wxListItem *) 0 ;
16601 int result;
16602 PyObject * obj0 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16609 result = (int) ((arg1)->m_format);
16610
16611 resultobj = PyInt_FromLong((long)result);
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxListItem *arg1 = (wxListItem *) 0 ;
16621 int arg2 ;
16622 PyObject * obj0 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self",(char *) "m_width", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16629 if (arg1) (arg1)->m_width = arg2;
16630
16631 Py_INCREF(Py_None); resultobj = Py_None;
16632 return resultobj;
16633 fail:
16634 return NULL;
16635 }
16636
16637
16638 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16639 PyObject *resultobj;
16640 wxListItem *arg1 = (wxListItem *) 0 ;
16641 int result;
16642 PyObject * obj0 = 0 ;
16643 char *kwnames[] = {
16644 (char *) "self", NULL
16645 };
16646
16647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16649 result = (int) ((arg1)->m_width);
16650
16651 resultobj = PyInt_FromLong((long)result);
16652 return resultobj;
16653 fail:
16654 return NULL;
16655 }
16656
16657
16658 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16659 PyObject *obj;
16660 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16661 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16662 Py_INCREF(obj);
16663 return Py_BuildValue((char *)"");
16664 }
16665 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16666 PyObject *resultobj;
16667 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16668 int arg2 = (int) 0 ;
16669 wxListEvent *result;
16670 char *kwnames[] = {
16671 (char *) "commandType",(char *) "id", NULL
16672 };
16673
16674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16678
16679 wxPyEndAllowThreads(__tstate);
16680 if (PyErr_Occurred()) SWIG_fail;
16681 }
16682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16683 return resultobj;
16684 fail:
16685 return NULL;
16686 }
16687
16688
16689 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16690 PyObject *resultobj;
16691 wxListEvent *arg1 = (wxListEvent *) 0 ;
16692 int arg2 ;
16693 PyObject * obj0 = 0 ;
16694 char *kwnames[] = {
16695 (char *) "self",(char *) "m_code", NULL
16696 };
16697
16698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16700 if (arg1) (arg1)->m_code = arg2;
16701
16702 Py_INCREF(Py_None); resultobj = Py_None;
16703 return resultobj;
16704 fail:
16705 return NULL;
16706 }
16707
16708
16709 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16710 PyObject *resultobj;
16711 wxListEvent *arg1 = (wxListEvent *) 0 ;
16712 int result;
16713 PyObject * obj0 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16720 result = (int) ((arg1)->m_code);
16721
16722 resultobj = PyInt_FromLong((long)result);
16723 return resultobj;
16724 fail:
16725 return NULL;
16726 }
16727
16728
16729 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 wxListEvent *arg1 = (wxListEvent *) 0 ;
16732 long arg2 ;
16733 PyObject * obj0 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self",(char *) "m_oldItemIndex", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16740 if (arg1) (arg1)->m_oldItemIndex = arg2;
16741
16742 Py_INCREF(Py_None); resultobj = Py_None;
16743 return resultobj;
16744 fail:
16745 return NULL;
16746 }
16747
16748
16749 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16750 PyObject *resultobj;
16751 wxListEvent *arg1 = (wxListEvent *) 0 ;
16752 long result;
16753 PyObject * obj0 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "self", NULL
16756 };
16757
16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16760 result = (long) ((arg1)->m_oldItemIndex);
16761
16762 resultobj = PyInt_FromLong((long)result);
16763 return resultobj;
16764 fail:
16765 return NULL;
16766 }
16767
16768
16769 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxListEvent *arg1 = (wxListEvent *) 0 ;
16772 long arg2 ;
16773 PyObject * obj0 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self",(char *) "m_itemIndex", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16780 if (arg1) (arg1)->m_itemIndex = arg2;
16781
16782 Py_INCREF(Py_None); resultobj = Py_None;
16783 return resultobj;
16784 fail:
16785 return NULL;
16786 }
16787
16788
16789 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16790 PyObject *resultobj;
16791 wxListEvent *arg1 = (wxListEvent *) 0 ;
16792 long result;
16793 PyObject * obj0 = 0 ;
16794 char *kwnames[] = {
16795 (char *) "self", NULL
16796 };
16797
16798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16800 result = (long) ((arg1)->m_itemIndex);
16801
16802 resultobj = PyInt_FromLong((long)result);
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxListEvent *arg1 = (wxListEvent *) 0 ;
16812 int arg2 ;
16813 PyObject * obj0 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self",(char *) "m_col", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16820 if (arg1) (arg1)->m_col = arg2;
16821
16822 Py_INCREF(Py_None); resultobj = Py_None;
16823 return resultobj;
16824 fail:
16825 return NULL;
16826 }
16827
16828
16829 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16830 PyObject *resultobj;
16831 wxListEvent *arg1 = (wxListEvent *) 0 ;
16832 int result;
16833 PyObject * obj0 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "self", NULL
16836 };
16837
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16840 result = (int) ((arg1)->m_col);
16841
16842 resultobj = PyInt_FromLong((long)result);
16843 return resultobj;
16844 fail:
16845 return NULL;
16846 }
16847
16848
16849 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj;
16851 wxListEvent *arg1 = (wxListEvent *) 0 ;
16852 wxPoint *arg2 = (wxPoint *) 0 ;
16853 PyObject * obj0 = 0 ;
16854 PyObject * obj1 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self",(char *) "m_pointDrag", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16862 if (arg1) (arg1)->m_pointDrag = *arg2;
16863
16864 Py_INCREF(Py_None); resultobj = Py_None;
16865 return resultobj;
16866 fail:
16867 return NULL;
16868 }
16869
16870
16871 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxListEvent *arg1 = (wxListEvent *) 0 ;
16874 wxPoint *result;
16875 PyObject * obj0 = 0 ;
16876 char *kwnames[] = {
16877 (char *) "self", NULL
16878 };
16879
16880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16882 result = (wxPoint *)& ((arg1)->m_pointDrag);
16883
16884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16885 return resultobj;
16886 fail:
16887 return NULL;
16888 }
16889
16890
16891 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj;
16893 wxListEvent *arg1 = (wxListEvent *) 0 ;
16894 wxListItem *result;
16895 PyObject * obj0 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16902 result = (wxListItem *)& ((arg1)->m_item);
16903
16904 {
16905 resultobj = wxPyMake_wxObject(result);
16906 }
16907 return resultobj;
16908 fail:
16909 return NULL;
16910 }
16911
16912
16913 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16914 PyObject *resultobj;
16915 wxListEvent *arg1 = (wxListEvent *) 0 ;
16916 int result;
16917 PyObject * obj0 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 result = (int)(arg1)->GetKeyCode();
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 resultobj = PyInt_FromLong((long)result);
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxListEvent *arg1 = (wxListEvent *) 0 ;
16941 long result;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16949 {
16950 PyThreadState* __tstate = wxPyBeginAllowThreads();
16951 result = (long)(arg1)->GetIndex();
16952
16953 wxPyEndAllowThreads(__tstate);
16954 if (PyErr_Occurred()) SWIG_fail;
16955 }
16956 resultobj = PyInt_FromLong((long)result);
16957 return resultobj;
16958 fail:
16959 return NULL;
16960 }
16961
16962
16963 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16964 PyObject *resultobj;
16965 wxListEvent *arg1 = (wxListEvent *) 0 ;
16966 int result;
16967 PyObject * obj0 = 0 ;
16968 char *kwnames[] = {
16969 (char *) "self", NULL
16970 };
16971
16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 result = (int)(arg1)->GetColumn();
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 resultobj = PyInt_FromLong((long)result);
16982 return resultobj;
16983 fail:
16984 return NULL;
16985 }
16986
16987
16988 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16989 PyObject *resultobj;
16990 wxListEvent *arg1 = (wxListEvent *) 0 ;
16991 wxPoint result;
16992 PyObject * obj0 = 0 ;
16993 char *kwnames[] = {
16994 (char *) "self", NULL
16995 };
16996
16997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16999 {
17000 PyThreadState* __tstate = wxPyBeginAllowThreads();
17001 result = (arg1)->GetPoint();
17002
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 {
17007 wxPoint * resultptr;
17008 resultptr = new wxPoint((wxPoint &) result);
17009 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17010 }
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxListEvent *arg1 = (wxListEvent *) 0 ;
17020 wxString *result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 {
17031 wxString const &_result_ref = (arg1)->GetLabel();
17032 result = (wxString *) &_result_ref;
17033 }
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17039 return resultobj;
17040 fail:
17041 return NULL;
17042 }
17043
17044
17045 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj;
17047 wxListEvent *arg1 = (wxListEvent *) 0 ;
17048 wxString *result;
17049 PyObject * obj0 = 0 ;
17050 char *kwnames[] = {
17051 (char *) "self", NULL
17052 };
17053
17054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 {
17059 wxString const &_result_ref = (arg1)->GetText();
17060 result = (wxString *) &_result_ref;
17061 }
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17067 return resultobj;
17068 fail:
17069 return NULL;
17070 }
17071
17072
17073 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17074 PyObject *resultobj;
17075 wxListEvent *arg1 = (wxListEvent *) 0 ;
17076 int result;
17077 PyObject * obj0 = 0 ;
17078 char *kwnames[] = {
17079 (char *) "self", NULL
17080 };
17081
17082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 result = (int)(arg1)->GetImage();
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 resultobj = PyInt_FromLong((long)result);
17092 return resultobj;
17093 fail:
17094 return NULL;
17095 }
17096
17097
17098 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj;
17100 wxListEvent *arg1 = (wxListEvent *) 0 ;
17101 long result;
17102 PyObject * obj0 = 0 ;
17103 char *kwnames[] = {
17104 (char *) "self", NULL
17105 };
17106
17107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17109 {
17110 PyThreadState* __tstate = wxPyBeginAllowThreads();
17111 result = (long)(arg1)->GetData();
17112
17113 wxPyEndAllowThreads(__tstate);
17114 if (PyErr_Occurred()) SWIG_fail;
17115 }
17116 resultobj = PyInt_FromLong((long)result);
17117 return resultobj;
17118 fail:
17119 return NULL;
17120 }
17121
17122
17123 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17124 PyObject *resultobj;
17125 wxListEvent *arg1 = (wxListEvent *) 0 ;
17126 long result;
17127 PyObject * obj0 = 0 ;
17128 char *kwnames[] = {
17129 (char *) "self", NULL
17130 };
17131
17132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 result = (long)(arg1)->GetMask();
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 resultobj = PyInt_FromLong((long)result);
17142 return resultobj;
17143 fail:
17144 return NULL;
17145 }
17146
17147
17148 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 wxListEvent *arg1 = (wxListEvent *) 0 ;
17151 wxListItem *result;
17152 PyObject * obj0 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "self", NULL
17155 };
17156
17157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17159 {
17160 PyThreadState* __tstate = wxPyBeginAllowThreads();
17161 {
17162 wxListItem const &_result_ref = (arg1)->GetItem();
17163 result = (wxListItem *) &_result_ref;
17164 }
17165
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17170 return resultobj;
17171 fail:
17172 return NULL;
17173 }
17174
17175
17176 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17177 PyObject *resultobj;
17178 wxListEvent *arg1 = (wxListEvent *) 0 ;
17179 long result;
17180 PyObject * obj0 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17187 {
17188 PyThreadState* __tstate = wxPyBeginAllowThreads();
17189 result = (long)(arg1)->GetCacheFrom();
17190
17191 wxPyEndAllowThreads(__tstate);
17192 if (PyErr_Occurred()) SWIG_fail;
17193 }
17194 resultobj = PyInt_FromLong((long)result);
17195 return resultobj;
17196 fail:
17197 return NULL;
17198 }
17199
17200
17201 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17202 PyObject *resultobj;
17203 wxListEvent *arg1 = (wxListEvent *) 0 ;
17204 long result;
17205 PyObject * obj0 = 0 ;
17206 char *kwnames[] = {
17207 (char *) "self", NULL
17208 };
17209
17210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 result = (long)(arg1)->GetCacheTo();
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 resultobj = PyInt_FromLong((long)result);
17220 return resultobj;
17221 fail:
17222 return NULL;
17223 }
17224
17225
17226 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxListEvent *arg1 = (wxListEvent *) 0 ;
17229 bool result;
17230 PyObject * obj0 = 0 ;
17231 char *kwnames[] = {
17232 (char *) "self", NULL
17233 };
17234
17235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17237 {
17238 PyThreadState* __tstate = wxPyBeginAllowThreads();
17239 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17240
17241 wxPyEndAllowThreads(__tstate);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 }
17244 resultobj = PyInt_FromLong((long)result);
17245 return resultobj;
17246 fail:
17247 return NULL;
17248 }
17249
17250
17251 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17252 PyObject *resultobj;
17253 wxListEvent *arg1 = (wxListEvent *) 0 ;
17254 bool arg2 ;
17255 PyObject * obj0 = 0 ;
17256 PyObject * obj1 = 0 ;
17257 char *kwnames[] = {
17258 (char *) "self",(char *) "editCancelled", NULL
17259 };
17260
17261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17263 arg2 = PyInt_AsLong(obj1) ? true : false;
17264 if (PyErr_Occurred()) SWIG_fail;
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 (arg1)->SetEditCanceled(arg2);
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 Py_INCREF(Py_None); resultobj = Py_None;
17273 return resultobj;
17274 fail:
17275 return NULL;
17276 }
17277
17278
17279 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17280 PyObject *obj;
17281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17282 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17283 Py_INCREF(obj);
17284 return Py_BuildValue((char *)"");
17285 }
17286 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17287 PyObject *resultobj;
17288 wxWindow *arg1 = (wxWindow *) 0 ;
17289 wxWindowID arg2 = (wxWindowID) -1 ;
17290 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17291 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17292 wxSize const &arg4_defvalue = wxDefaultSize ;
17293 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17294 long arg5 = (long) wxLC_ICON ;
17295 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17296 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17297 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17298 wxString *arg7 = (wxString *) &arg7_defvalue ;
17299 wxPyListCtrl *result;
17300 wxPoint temp3 ;
17301 wxSize temp4 ;
17302 bool temp7 = false ;
17303 PyObject * obj0 = 0 ;
17304 PyObject * obj2 = 0 ;
17305 PyObject * obj3 = 0 ;
17306 PyObject * obj5 = 0 ;
17307 PyObject * obj6 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17310 };
17311
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17314 if (obj2) {
17315 {
17316 arg3 = &temp3;
17317 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17318 }
17319 }
17320 if (obj3) {
17321 {
17322 arg4 = &temp4;
17323 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17324 }
17325 }
17326 if (obj5) {
17327 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17328 if (arg6 == NULL) {
17329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17330 }
17331 }
17332 if (obj6) {
17333 {
17334 arg7 = wxString_in_helper(obj6);
17335 if (arg7 == NULL) SWIG_fail;
17336 temp7 = true;
17337 }
17338 }
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17347 {
17348 if (temp7)
17349 delete arg7;
17350 }
17351 return resultobj;
17352 fail:
17353 {
17354 if (temp7)
17355 delete arg7;
17356 }
17357 return NULL;
17358 }
17359
17360
17361 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17362 PyObject *resultobj;
17363 wxPyListCtrl *result;
17364 char *kwnames[] = {
17365 NULL
17366 };
17367
17368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (wxPyListCtrl *)new wxPyListCtrl();
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
17376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17377 return resultobj;
17378 fail:
17379 return NULL;
17380 }
17381
17382
17383 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17384 PyObject *resultobj;
17385 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17386 wxWindow *arg2 = (wxWindow *) 0 ;
17387 wxWindowID arg3 = (wxWindowID) -1 ;
17388 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17389 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17390 wxSize const &arg5_defvalue = wxDefaultSize ;
17391 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17392 long arg6 = (long) wxLC_ICON ;
17393 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17394 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17395 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17396 wxString *arg8 = (wxString *) &arg8_defvalue ;
17397 bool result;
17398 wxPoint temp4 ;
17399 wxSize temp5 ;
17400 bool temp8 = false ;
17401 PyObject * obj0 = 0 ;
17402 PyObject * obj1 = 0 ;
17403 PyObject * obj3 = 0 ;
17404 PyObject * obj4 = 0 ;
17405 PyObject * obj6 = 0 ;
17406 PyObject * obj7 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17414 if (obj3) {
17415 {
17416 arg4 = &temp4;
17417 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17418 }
17419 }
17420 if (obj4) {
17421 {
17422 arg5 = &temp5;
17423 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17424 }
17425 }
17426 if (obj6) {
17427 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17428 if (arg7 == NULL) {
17429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17430 }
17431 }
17432 if (obj7) {
17433 {
17434 arg8 = wxString_in_helper(obj7);
17435 if (arg8 == NULL) SWIG_fail;
17436 temp8 = true;
17437 }
17438 }
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 resultobj = PyInt_FromLong((long)result);
17447 {
17448 if (temp8)
17449 delete arg8;
17450 }
17451 return resultobj;
17452 fail:
17453 {
17454 if (temp8)
17455 delete arg8;
17456 }
17457 return NULL;
17458 }
17459
17460
17461 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17462 PyObject *resultobj;
17463 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17464 PyObject *arg2 = (PyObject *) 0 ;
17465 PyObject *arg3 = (PyObject *) 0 ;
17466 PyObject * obj0 = 0 ;
17467 PyObject * obj1 = 0 ;
17468 PyObject * obj2 = 0 ;
17469 char *kwnames[] = {
17470 (char *) "self",(char *) "self",(char *) "_class", NULL
17471 };
17472
17473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17475 arg2 = obj1;
17476 arg3 = obj2;
17477 {
17478 PyThreadState* __tstate = wxPyBeginAllowThreads();
17479 (arg1)->_setCallbackInfo(arg2,arg3);
17480
17481 wxPyEndAllowThreads(__tstate);
17482 if (PyErr_Occurred()) SWIG_fail;
17483 }
17484 Py_INCREF(Py_None); resultobj = Py_None;
17485 return resultobj;
17486 fail:
17487 return NULL;
17488 }
17489
17490
17491 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17492 PyObject *resultobj;
17493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17494 wxColour *arg2 = 0 ;
17495 bool result;
17496 wxColour temp2 ;
17497 PyObject * obj0 = 0 ;
17498 PyObject * obj1 = 0 ;
17499 char *kwnames[] = {
17500 (char *) "self",(char *) "col", NULL
17501 };
17502
17503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17505 {
17506 arg2 = &temp2;
17507 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17508 }
17509 {
17510 PyThreadState* __tstate = wxPyBeginAllowThreads();
17511 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17512
17513 wxPyEndAllowThreads(__tstate);
17514 if (PyErr_Occurred()) SWIG_fail;
17515 }
17516 resultobj = PyInt_FromLong((long)result);
17517 return resultobj;
17518 fail:
17519 return NULL;
17520 }
17521
17522
17523 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17526 wxColour *arg2 = 0 ;
17527 bool result;
17528 wxColour temp2 ;
17529 PyObject * obj0 = 0 ;
17530 PyObject * obj1 = 0 ;
17531 char *kwnames[] = {
17532 (char *) "self",(char *) "col", NULL
17533 };
17534
17535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17537 {
17538 arg2 = &temp2;
17539 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17540 }
17541 {
17542 PyThreadState* __tstate = wxPyBeginAllowThreads();
17543 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17544
17545 wxPyEndAllowThreads(__tstate);
17546 if (PyErr_Occurred()) SWIG_fail;
17547 }
17548 resultobj = PyInt_FromLong((long)result);
17549 return resultobj;
17550 fail:
17551 return NULL;
17552 }
17553
17554
17555 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17556 PyObject *resultobj;
17557 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17558 int arg2 ;
17559 wxListItem *result;
17560 PyObject * obj0 = 0 ;
17561 char *kwnames[] = {
17562 (char *) "self",(char *) "col", NULL
17563 };
17564
17565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17567 {
17568 PyThreadState* __tstate = wxPyBeginAllowThreads();
17569 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17570
17571 wxPyEndAllowThreads(__tstate);
17572 if (PyErr_Occurred()) SWIG_fail;
17573 }
17574 {
17575 resultobj = wxPyMake_wxObject(result);
17576 }
17577 return resultobj;
17578 fail:
17579 return NULL;
17580 }
17581
17582
17583 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17584 PyObject *resultobj;
17585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17586 int arg2 ;
17587 wxListItem *arg3 = 0 ;
17588 bool result;
17589 PyObject * obj0 = 0 ;
17590 PyObject * obj2 = 0 ;
17591 char *kwnames[] = {
17592 (char *) "self",(char *) "col",(char *) "item", NULL
17593 };
17594
17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17597 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17598 if (arg3 == NULL) {
17599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17600 }
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 resultobj = PyInt_FromLong((long)result);
17609 return resultobj;
17610 fail:
17611 return NULL;
17612 }
17613
17614
17615 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17616 PyObject *resultobj;
17617 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17618 int arg2 ;
17619 int result;
17620 PyObject * obj0 = 0 ;
17621 char *kwnames[] = {
17622 (char *) "self",(char *) "col", NULL
17623 };
17624
17625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 resultobj = PyInt_FromLong((long)result);
17635 return resultobj;
17636 fail:
17637 return NULL;
17638 }
17639
17640
17641 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17644 int arg2 ;
17645 int arg3 ;
17646 bool result;
17647 PyObject * obj0 = 0 ;
17648 char *kwnames[] = {
17649 (char *) "self",(char *) "col",(char *) "width", NULL
17650 };
17651
17652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17654 {
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17657
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
17661 resultobj = PyInt_FromLong((long)result);
17662 return resultobj;
17663 fail:
17664 return NULL;
17665 }
17666
17667
17668 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17669 PyObject *resultobj;
17670 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17671 int result;
17672 PyObject * obj0 = 0 ;
17673 char *kwnames[] = {
17674 (char *) "self", NULL
17675 };
17676
17677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17679 {
17680 PyThreadState* __tstate = wxPyBeginAllowThreads();
17681 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17682
17683 wxPyEndAllowThreads(__tstate);
17684 if (PyErr_Occurred()) SWIG_fail;
17685 }
17686 resultobj = PyInt_FromLong((long)result);
17687 return resultobj;
17688 fail:
17689 return NULL;
17690 }
17691
17692
17693 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17694 PyObject *resultobj;
17695 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17696 wxRect result;
17697 PyObject * obj0 = 0 ;
17698 char *kwnames[] = {
17699 (char *) "self", NULL
17700 };
17701
17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17704 {
17705 PyThreadState* __tstate = wxPyBeginAllowThreads();
17706 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17707
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 {
17712 wxRect * resultptr;
17713 resultptr = new wxRect((wxRect &) result);
17714 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17715 }
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17725 wxTextCtrl *result;
17726 PyObject * obj0 = 0 ;
17727 char *kwnames[] = {
17728 (char *) "self", NULL
17729 };
17730
17731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
17732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17733 {
17734 PyThreadState* __tstate = wxPyBeginAllowThreads();
17735 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
17736
17737 wxPyEndAllowThreads(__tstate);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 }
17740 {
17741 resultobj = wxPyMake_wxObject(result);
17742 }
17743 return resultobj;
17744 fail:
17745 return NULL;
17746 }
17747
17748
17749 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17750 PyObject *resultobj;
17751 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17752 long arg2 ;
17753 int arg3 = (int) 0 ;
17754 wxListItem *result;
17755 PyObject * obj0 = 0 ;
17756 char *kwnames[] = {
17757 (char *) "self",(char *) "itemId",(char *) "col", NULL
17758 };
17759
17760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17765
17766 wxPyEndAllowThreads(__tstate);
17767 if (PyErr_Occurred()) SWIG_fail;
17768 }
17769 {
17770 resultobj = wxPyMake_wxObject(result);
17771 }
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17781 wxListItem *arg2 = 0 ;
17782 bool result;
17783 PyObject * obj0 = 0 ;
17784 PyObject * obj1 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "self",(char *) "info", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17792 if (arg2 == NULL) {
17793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17794 }
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (bool)(arg1)->SetItem(*arg2);
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 resultobj = PyInt_FromLong((long)result);
17803 return resultobj;
17804 fail:
17805 return NULL;
17806 }
17807
17808
17809 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17812 long arg2 ;
17813 int arg3 ;
17814 wxString *arg4 = 0 ;
17815 int arg5 = (int) -1 ;
17816 long result;
17817 bool temp4 = false ;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj3 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17826 {
17827 arg4 = wxString_in_helper(obj3);
17828 if (arg4 == NULL) SWIG_fail;
17829 temp4 = true;
17830 }
17831 {
17832 PyThreadState* __tstate = wxPyBeginAllowThreads();
17833 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17834
17835 wxPyEndAllowThreads(__tstate);
17836 if (PyErr_Occurred()) SWIG_fail;
17837 }
17838 resultobj = PyInt_FromLong((long)result);
17839 {
17840 if (temp4)
17841 delete arg4;
17842 }
17843 return resultobj;
17844 fail:
17845 {
17846 if (temp4)
17847 delete arg4;
17848 }
17849 return NULL;
17850 }
17851
17852
17853 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17854 PyObject *resultobj;
17855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17856 long arg2 ;
17857 long arg3 ;
17858 int result;
17859 PyObject * obj0 = 0 ;
17860 char *kwnames[] = {
17861 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17862 };
17863
17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17866 {
17867 PyThreadState* __tstate = wxPyBeginAllowThreads();
17868 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17869
17870 wxPyEndAllowThreads(__tstate);
17871 if (PyErr_Occurred()) SWIG_fail;
17872 }
17873 resultobj = PyInt_FromLong((long)result);
17874 return resultobj;
17875 fail:
17876 return NULL;
17877 }
17878
17879
17880 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17881 PyObject *resultobj;
17882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17883 long arg2 ;
17884 long arg3 ;
17885 long arg4 ;
17886 bool result;
17887 PyObject * obj0 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = PyInt_FromLong((long)result);
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17911 long arg2 ;
17912 int arg3 ;
17913 int arg4 ;
17914 bool result;
17915 PyObject * obj0 = 0 ;
17916 char *kwnames[] = {
17917 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17918 };
17919
17920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17922 {
17923 PyThreadState* __tstate = wxPyBeginAllowThreads();
17924 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17925
17926 wxPyEndAllowThreads(__tstate);
17927 if (PyErr_Occurred()) SWIG_fail;
17928 }
17929 resultobj = PyInt_FromLong((long)result);
17930 return resultobj;
17931 fail:
17932 return NULL;
17933 }
17934
17935
17936 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17937 PyObject *resultobj;
17938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17939 long arg2 ;
17940 wxString result;
17941 PyObject * obj0 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self",(char *) "item", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 {
17949 PyThreadState* __tstate = wxPyBeginAllowThreads();
17950 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17951
17952 wxPyEndAllowThreads(__tstate);
17953 if (PyErr_Occurred()) SWIG_fail;
17954 }
17955 {
17956 #if wxUSE_UNICODE
17957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17958 #else
17959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17960 #endif
17961 }
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17969 PyObject *resultobj;
17970 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17971 long arg2 ;
17972 wxString *arg3 = 0 ;
17973 bool temp3 = false ;
17974 PyObject * obj0 = 0 ;
17975 PyObject * obj2 = 0 ;
17976 char *kwnames[] = {
17977 (char *) "self",(char *) "item",(char *) "str", NULL
17978 };
17979
17980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17982 {
17983 arg3 = wxString_in_helper(obj2);
17984 if (arg3 == NULL) SWIG_fail;
17985 temp3 = true;
17986 }
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17990
17991 wxPyEndAllowThreads(__tstate);
17992 if (PyErr_Occurred()) SWIG_fail;
17993 }
17994 Py_INCREF(Py_None); resultobj = Py_None;
17995 {
17996 if (temp3)
17997 delete arg3;
17998 }
17999 return resultobj;
18000 fail:
18001 {
18002 if (temp3)
18003 delete arg3;
18004 }
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18012 long arg2 ;
18013 long result;
18014 PyObject * obj0 = 0 ;
18015 char *kwnames[] = {
18016 (char *) "self",(char *) "item", NULL
18017 };
18018
18019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 resultobj = PyInt_FromLong((long)result);
18029 return resultobj;
18030 fail:
18031 return NULL;
18032 }
18033
18034
18035 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18038 long arg2 ;
18039 long arg3 ;
18040 bool result;
18041 PyObject * obj0 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self",(char *) "item",(char *) "data", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18048 {
18049 PyThreadState* __tstate = wxPyBeginAllowThreads();
18050 result = (bool)(arg1)->SetItemData(arg2,arg3);
18051
18052 wxPyEndAllowThreads(__tstate);
18053 if (PyErr_Occurred()) SWIG_fail;
18054 }
18055 resultobj = PyInt_FromLong((long)result);
18056 return resultobj;
18057 fail:
18058 return NULL;
18059 }
18060
18061
18062 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18063 PyObject *resultobj;
18064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18065 long arg2 ;
18066 wxPoint result;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self",(char *) "item", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 {
18082 wxPoint * resultptr;
18083 resultptr = new wxPoint((wxPoint &) result);
18084 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18085 }
18086 return resultobj;
18087 fail:
18088 return NULL;
18089 }
18090
18091
18092 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj;
18094 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18095 long arg2 ;
18096 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18097 wxRect result;
18098 PyObject * obj0 = 0 ;
18099 char *kwnames[] = {
18100 (char *) "self",(char *) "item",(char *) "code", NULL
18101 };
18102
18103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18105 {
18106 PyThreadState* __tstate = wxPyBeginAllowThreads();
18107 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18108
18109 wxPyEndAllowThreads(__tstate);
18110 if (PyErr_Occurred()) SWIG_fail;
18111 }
18112 {
18113 wxRect * resultptr;
18114 resultptr = new wxRect((wxRect &) result);
18115 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18116 }
18117 return resultobj;
18118 fail:
18119 return NULL;
18120 }
18121
18122
18123 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18124 PyObject *resultobj;
18125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18126 long arg2 ;
18127 wxPoint *arg3 = 0 ;
18128 bool result;
18129 wxPoint temp3 ;
18130 PyObject * obj0 = 0 ;
18131 PyObject * obj2 = 0 ;
18132 char *kwnames[] = {
18133 (char *) "self",(char *) "item",(char *) "pos", NULL
18134 };
18135
18136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18138 {
18139 arg3 = &temp3;
18140 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18141 }
18142 {
18143 PyThreadState* __tstate = wxPyBeginAllowThreads();
18144 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18145
18146 wxPyEndAllowThreads(__tstate);
18147 if (PyErr_Occurred()) SWIG_fail;
18148 }
18149 resultobj = PyInt_FromLong((long)result);
18150 return resultobj;
18151 fail:
18152 return NULL;
18153 }
18154
18155
18156 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18157 PyObject *resultobj;
18158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18159 int result;
18160 PyObject * obj0 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18170
18171 wxPyEndAllowThreads(__tstate);
18172 if (PyErr_Occurred()) SWIG_fail;
18173 }
18174 resultobj = PyInt_FromLong((long)result);
18175 return resultobj;
18176 fail:
18177 return NULL;
18178 }
18179
18180
18181 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18182 PyObject *resultobj;
18183 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18184 int result;
18185 PyObject * obj0 = 0 ;
18186 char *kwnames[] = {
18187 (char *) "self", NULL
18188 };
18189
18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18192 {
18193 PyThreadState* __tstate = wxPyBeginAllowThreads();
18194 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18195
18196 wxPyEndAllowThreads(__tstate);
18197 if (PyErr_Occurred()) SWIG_fail;
18198 }
18199 resultobj = PyInt_FromLong((long)result);
18200 return resultobj;
18201 fail:
18202 return NULL;
18203 }
18204
18205
18206 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18207 PyObject *resultobj;
18208 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18209 wxSize result;
18210 PyObject * obj0 = 0 ;
18211 char *kwnames[] = {
18212 (char *) "self", NULL
18213 };
18214
18215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18217 {
18218 PyThreadState* __tstate = wxPyBeginAllowThreads();
18219 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18220
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 {
18225 wxSize * resultptr;
18226 resultptr = new wxSize((wxSize &) result);
18227 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18228 }
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18238 int result;
18239 PyObject * obj0 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "self", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 resultobj = PyInt_FromLong((long)result);
18254 return resultobj;
18255 fail:
18256 return NULL;
18257 }
18258
18259
18260 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18261 PyObject *resultobj;
18262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18263 wxColour result;
18264 PyObject * obj0 = 0 ;
18265 char *kwnames[] = {
18266 (char *) "self", NULL
18267 };
18268
18269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18271 {
18272 PyThreadState* __tstate = wxPyBeginAllowThreads();
18273 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18274
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 {
18279 wxColour * resultptr;
18280 resultptr = new wxColour((wxColour &) result);
18281 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18282 }
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj;
18291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18292 wxColour *arg2 = 0 ;
18293 wxColour temp2 ;
18294 PyObject * obj0 = 0 ;
18295 PyObject * obj1 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self",(char *) "col", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18302 {
18303 arg2 = &temp2;
18304 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18305 }
18306 {
18307 PyThreadState* __tstate = wxPyBeginAllowThreads();
18308 (arg1)->SetTextColour((wxColour const &)*arg2);
18309
18310 wxPyEndAllowThreads(__tstate);
18311 if (PyErr_Occurred()) SWIG_fail;
18312 }
18313 Py_INCREF(Py_None); resultobj = Py_None;
18314 return resultobj;
18315 fail:
18316 return NULL;
18317 }
18318
18319
18320 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18321 PyObject *resultobj;
18322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18323 long result;
18324 PyObject * obj0 = 0 ;
18325 char *kwnames[] = {
18326 (char *) "self", NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18331 {
18332 PyThreadState* __tstate = wxPyBeginAllowThreads();
18333 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18334
18335 wxPyEndAllowThreads(__tstate);
18336 if (PyErr_Occurred()) SWIG_fail;
18337 }
18338 resultobj = PyInt_FromLong((long)result);
18339 return resultobj;
18340 fail:
18341 return NULL;
18342 }
18343
18344
18345 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18346 PyObject *resultobj;
18347 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18348 long arg2 ;
18349 bool arg3 = (bool) TRUE ;
18350 PyObject * obj0 = 0 ;
18351 PyObject * obj2 = 0 ;
18352 char *kwnames[] = {
18353 (char *) "self",(char *) "style",(char *) "add", NULL
18354 };
18355
18356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18358 if (obj2) {
18359 arg3 = PyInt_AsLong(obj2) ? true : false;
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 (arg1)->SetSingleStyle(arg2,arg3);
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 Py_INCREF(Py_None); resultobj = Py_None;
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18379 long arg2 ;
18380 PyObject * obj0 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self",(char *) "style", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 (arg1)->SetWindowStyleFlag(arg2);
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 Py_INCREF(Py_None); resultobj = Py_None;
18395 return resultobj;
18396 fail:
18397 return NULL;
18398 }
18399
18400
18401 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18402 PyObject *resultobj;
18403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18404 long arg2 ;
18405 int arg3 = (int) wxLIST_NEXT_ALL ;
18406 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18407 long result;
18408 PyObject * obj0 = 0 ;
18409 char *kwnames[] = {
18410 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18411 };
18412
18413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18415 {
18416 PyThreadState* __tstate = wxPyBeginAllowThreads();
18417 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18418
18419 wxPyEndAllowThreads(__tstate);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 }
18422 resultobj = PyInt_FromLong((long)result);
18423 return resultobj;
18424 fail:
18425 return NULL;
18426 }
18427
18428
18429 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18432 int arg2 ;
18433 wxImageList *result;
18434 PyObject * obj0 = 0 ;
18435 char *kwnames[] = {
18436 (char *) "self",(char *) "which", NULL
18437 };
18438
18439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 {
18449 resultobj = wxPyMake_wxObject(result);
18450 }
18451 return resultobj;
18452 fail:
18453 return NULL;
18454 }
18455
18456
18457 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18458 PyObject *resultobj;
18459 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18460 wxImageList *arg2 = (wxImageList *) 0 ;
18461 int arg3 ;
18462 PyObject * obj0 = 0 ;
18463 PyObject * obj1 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "imageList",(char *) "which", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 (arg1)->SetImageList(arg2,arg3);
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 Py_INCREF(Py_None); resultobj = Py_None;
18479 return resultobj;
18480 fail:
18481 return NULL;
18482 }
18483
18484
18485 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18486 PyObject *resultobj;
18487 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18488 wxImageList *arg2 = (wxImageList *) 0 ;
18489 int arg3 ;
18490 PyObject * obj0 = 0 ;
18491 PyObject * obj1 = 0 ;
18492 char *kwnames[] = {
18493 (char *) "self",(char *) "imageList",(char *) "which", NULL
18494 };
18495
18496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 (arg1)->AssignImageList(arg2,arg3);
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 Py_INCREF(Py_None); resultobj = Py_None;
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj;
18515 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18516 bool result;
18517 PyObject * obj0 = 0 ;
18518 char *kwnames[] = {
18519 (char *) "self", NULL
18520 };
18521
18522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18524 {
18525 PyThreadState* __tstate = wxPyBeginAllowThreads();
18526 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18527
18528 wxPyEndAllowThreads(__tstate);
18529 if (PyErr_Occurred()) SWIG_fail;
18530 }
18531 resultobj = PyInt_FromLong((long)result);
18532 return resultobj;
18533 fail:
18534 return NULL;
18535 }
18536
18537
18538 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18539 PyObject *resultobj;
18540 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18541 long arg2 ;
18542 PyObject * obj0 = 0 ;
18543 char *kwnames[] = {
18544 (char *) "self",(char *) "item", NULL
18545 };
18546
18547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18549 {
18550 PyThreadState* __tstate = wxPyBeginAllowThreads();
18551 (arg1)->RefreshItem(arg2);
18552
18553 wxPyEndAllowThreads(__tstate);
18554 if (PyErr_Occurred()) SWIG_fail;
18555 }
18556 Py_INCREF(Py_None); resultobj = Py_None;
18557 return resultobj;
18558 fail:
18559 return NULL;
18560 }
18561
18562
18563 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18564 PyObject *resultobj;
18565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18566 long arg2 ;
18567 long arg3 ;
18568 PyObject * obj0 = 0 ;
18569 char *kwnames[] = {
18570 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18571 };
18572
18573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18575 {
18576 PyThreadState* __tstate = wxPyBeginAllowThreads();
18577 (arg1)->RefreshItems(arg2,arg3);
18578
18579 wxPyEndAllowThreads(__tstate);
18580 if (PyErr_Occurred()) SWIG_fail;
18581 }
18582 Py_INCREF(Py_None); resultobj = Py_None;
18583 return resultobj;
18584 fail:
18585 return NULL;
18586 }
18587
18588
18589 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj;
18591 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18592 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18593 bool result;
18594 PyObject * obj0 = 0 ;
18595 char *kwnames[] = {
18596 (char *) "self",(char *) "flag", NULL
18597 };
18598
18599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18601 {
18602 PyThreadState* __tstate = wxPyBeginAllowThreads();
18603 result = (bool)(arg1)->Arrange(arg2);
18604
18605 wxPyEndAllowThreads(__tstate);
18606 if (PyErr_Occurred()) SWIG_fail;
18607 }
18608 resultobj = PyInt_FromLong((long)result);
18609 return resultobj;
18610 fail:
18611 return NULL;
18612 }
18613
18614
18615 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18616 PyObject *resultobj;
18617 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18618 long arg2 ;
18619 bool result;
18620 PyObject * obj0 = 0 ;
18621 char *kwnames[] = {
18622 (char *) "self",(char *) "item", NULL
18623 };
18624
18625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18627 {
18628 PyThreadState* __tstate = wxPyBeginAllowThreads();
18629 result = (bool)(arg1)->DeleteItem(arg2);
18630
18631 wxPyEndAllowThreads(__tstate);
18632 if (PyErr_Occurred()) SWIG_fail;
18633 }
18634 resultobj = PyInt_FromLong((long)result);
18635 return resultobj;
18636 fail:
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18644 bool result;
18645 PyObject * obj0 = 0 ;
18646 char *kwnames[] = {
18647 (char *) "self", NULL
18648 };
18649
18650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (bool)(arg1)->DeleteAllItems();
18655
18656 wxPyEndAllowThreads(__tstate);
18657 if (PyErr_Occurred()) SWIG_fail;
18658 }
18659 resultobj = PyInt_FromLong((long)result);
18660 return resultobj;
18661 fail:
18662 return NULL;
18663 }
18664
18665
18666 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18667 PyObject *resultobj;
18668 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18669 int arg2 ;
18670 bool result;
18671 PyObject * obj0 = 0 ;
18672 char *kwnames[] = {
18673 (char *) "self",(char *) "col", NULL
18674 };
18675
18676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 result = (bool)(arg1)->DeleteColumn(arg2);
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = PyInt_FromLong((long)result);
18686 return resultobj;
18687 fail:
18688 return NULL;
18689 }
18690
18691
18692 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18693 PyObject *resultobj;
18694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18695 bool result;
18696 PyObject * obj0 = 0 ;
18697 char *kwnames[] = {
18698 (char *) "self", NULL
18699 };
18700
18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 result = (bool)(arg1)->DeleteAllColumns();
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 resultobj = PyInt_FromLong((long)result);
18711 return resultobj;
18712 fail:
18713 return NULL;
18714 }
18715
18716
18717 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18718 PyObject *resultobj;
18719 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18720 PyObject * obj0 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18727 {
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 (arg1)->ClearAll();
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 Py_INCREF(Py_None); resultobj = Py_None;
18735 return resultobj;
18736 fail:
18737 return NULL;
18738 }
18739
18740
18741 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj;
18743 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18744 long arg2 ;
18745 wxTextCtrl *result;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self",(char *) "item", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 {
18761 resultobj = wxPyMake_wxObject(result);
18762 }
18763 return resultobj;
18764 fail:
18765 return NULL;
18766 }
18767
18768
18769 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18770 PyObject *resultobj;
18771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18772 bool arg2 ;
18773 bool result;
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj1 = 0 ;
18776 char *kwnames[] = {
18777 (char *) "self",(char *) "cancel", NULL
18778 };
18779
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
18781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18782 arg2 = PyInt_AsLong(obj1) ? true : false;
18783 if (PyErr_Occurred()) SWIG_fail;
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 result = (bool)(arg1)->EndEditLabel(arg2);
18787
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 resultobj = PyInt_FromLong((long)result);
18792 return resultobj;
18793 fail:
18794 return NULL;
18795 }
18796
18797
18798 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj;
18800 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18801 long arg2 ;
18802 bool result;
18803 PyObject * obj0 = 0 ;
18804 char *kwnames[] = {
18805 (char *) "self",(char *) "item", NULL
18806 };
18807
18808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18810 {
18811 PyThreadState* __tstate = wxPyBeginAllowThreads();
18812 result = (bool)(arg1)->EnsureVisible(arg2);
18813
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 resultobj = PyInt_FromLong((long)result);
18818 return resultobj;
18819 fail:
18820 return NULL;
18821 }
18822
18823
18824 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18825 PyObject *resultobj;
18826 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18827 long arg2 ;
18828 wxString *arg3 = 0 ;
18829 bool arg4 = (bool) FALSE ;
18830 long result;
18831 bool temp3 = false ;
18832 PyObject * obj0 = 0 ;
18833 PyObject * obj2 = 0 ;
18834 PyObject * obj3 = 0 ;
18835 char *kwnames[] = {
18836 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18837 };
18838
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18841 {
18842 arg3 = wxString_in_helper(obj2);
18843 if (arg3 == NULL) SWIG_fail;
18844 temp3 = true;
18845 }
18846 if (obj3) {
18847 arg4 = PyInt_AsLong(obj3) ? true : false;
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 {
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18853
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 resultobj = PyInt_FromLong((long)result);
18858 {
18859 if (temp3)
18860 delete arg3;
18861 }
18862 return resultobj;
18863 fail:
18864 {
18865 if (temp3)
18866 delete arg3;
18867 }
18868 return NULL;
18869 }
18870
18871
18872 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18873 PyObject *resultobj;
18874 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18875 long arg2 ;
18876 long arg3 ;
18877 long result;
18878 PyObject * obj0 = 0 ;
18879 char *kwnames[] = {
18880 (char *) "self",(char *) "start",(char *) "data", NULL
18881 };
18882
18883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 result = (long)(arg1)->FindItem(arg2,arg3);
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 resultobj = PyInt_FromLong((long)result);
18893 return resultobj;
18894 fail:
18895 return NULL;
18896 }
18897
18898
18899 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18902 long arg2 ;
18903 wxPoint *arg3 = 0 ;
18904 int arg4 ;
18905 long result;
18906 wxPoint temp3 ;
18907 PyObject * obj0 = 0 ;
18908 PyObject * obj2 = 0 ;
18909 char *kwnames[] = {
18910 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18911 };
18912
18913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18915 {
18916 arg3 = &temp3;
18917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18918 }
18919 {
18920 PyThreadState* __tstate = wxPyBeginAllowThreads();
18921 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18922
18923 wxPyEndAllowThreads(__tstate);
18924 if (PyErr_Occurred()) SWIG_fail;
18925 }
18926 resultobj = PyInt_FromLong((long)result);
18927 return resultobj;
18928 fail:
18929 return NULL;
18930 }
18931
18932
18933 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj;
18935 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18936 wxPoint *arg2 = 0 ;
18937 int *arg3 = 0 ;
18938 long result;
18939 wxPoint temp2 ;
18940 int temp3 ;
18941 PyObject * obj0 = 0 ;
18942 PyObject * obj1 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self",(char *) "point", NULL
18945 };
18946
18947 arg3 = &temp3;
18948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18950 {
18951 arg2 = &temp2;
18952 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18953 }
18954 {
18955 PyThreadState* __tstate = wxPyBeginAllowThreads();
18956 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18957
18958 wxPyEndAllowThreads(__tstate);
18959 if (PyErr_Occurred()) SWIG_fail;
18960 }
18961 resultobj = PyInt_FromLong((long)result);
18962 {
18963 PyObject *o = PyInt_FromLong((long) (*arg3));
18964 resultobj = t_output_helper(resultobj,o);
18965 }
18966 return resultobj;
18967 fail:
18968 return NULL;
18969 }
18970
18971
18972 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18973 PyObject *resultobj;
18974 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18975 wxListItem *arg2 = 0 ;
18976 long result;
18977 PyObject * obj0 = 0 ;
18978 PyObject * obj1 = 0 ;
18979 char *kwnames[] = {
18980 (char *) "self",(char *) "info", NULL
18981 };
18982
18983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18986 if (arg2 == NULL) {
18987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18988 }
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = (long)(arg1)->InsertItem(*arg2);
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 resultobj = PyInt_FromLong((long)result);
18997 return resultobj;
18998 fail:
18999 return NULL;
19000 }
19001
19002
19003 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj;
19005 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19006 long arg2 ;
19007 wxString *arg3 = 0 ;
19008 long result;
19009 bool temp3 = false ;
19010 PyObject * obj0 = 0 ;
19011 PyObject * obj2 = 0 ;
19012 char *kwnames[] = {
19013 (char *) "self",(char *) "index",(char *) "label", NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19018 {
19019 arg3 = wxString_in_helper(obj2);
19020 if (arg3 == NULL) SWIG_fail;
19021 temp3 = true;
19022 }
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19026
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 resultobj = PyInt_FromLong((long)result);
19031 {
19032 if (temp3)
19033 delete arg3;
19034 }
19035 return resultobj;
19036 fail:
19037 {
19038 if (temp3)
19039 delete arg3;
19040 }
19041 return NULL;
19042 }
19043
19044
19045 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19046 PyObject *resultobj;
19047 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19048 long arg2 ;
19049 int arg3 ;
19050 long result;
19051 PyObject * obj0 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 result = (long)(arg1)->InsertItem(arg2,arg3);
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 resultobj = PyInt_FromLong((long)result);
19066 return resultobj;
19067 fail:
19068 return NULL;
19069 }
19070
19071
19072 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19073 PyObject *resultobj;
19074 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19075 long arg2 ;
19076 wxString *arg3 = 0 ;
19077 int arg4 ;
19078 long result;
19079 bool temp3 = false ;
19080 PyObject * obj0 = 0 ;
19081 PyObject * obj2 = 0 ;
19082 char *kwnames[] = {
19083 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19084 };
19085
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19088 {
19089 arg3 = wxString_in_helper(obj2);
19090 if (arg3 == NULL) SWIG_fail;
19091 temp3 = true;
19092 }
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 resultobj = PyInt_FromLong((long)result);
19101 {
19102 if (temp3)
19103 delete arg3;
19104 }
19105 return resultobj;
19106 fail:
19107 {
19108 if (temp3)
19109 delete arg3;
19110 }
19111 return NULL;
19112 }
19113
19114
19115 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19118 long arg2 ;
19119 wxListItem *arg3 = 0 ;
19120 long result;
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj2 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self",(char *) "col",(char *) "info", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19129 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19130 if (arg3 == NULL) {
19131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19132 }
19133 {
19134 PyThreadState* __tstate = wxPyBeginAllowThreads();
19135 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19136
19137 wxPyEndAllowThreads(__tstate);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 }
19140 resultobj = PyInt_FromLong((long)result);
19141 return resultobj;
19142 fail:
19143 return NULL;
19144 }
19145
19146
19147 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj;
19149 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19150 long arg2 ;
19151 wxString *arg3 = 0 ;
19152 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19153 int arg5 = (int) -1 ;
19154 long result;
19155 bool temp3 = false ;
19156 PyObject * obj0 = 0 ;
19157 PyObject * obj2 = 0 ;
19158 char *kwnames[] = {
19159 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19160 };
19161
19162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19164 {
19165 arg3 = wxString_in_helper(obj2);
19166 if (arg3 == NULL) SWIG_fail;
19167 temp3 = true;
19168 }
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 resultobj = PyInt_FromLong((long)result);
19177 {
19178 if (temp3)
19179 delete arg3;
19180 }
19181 return resultobj;
19182 fail:
19183 {
19184 if (temp3)
19185 delete arg3;
19186 }
19187 return NULL;
19188 }
19189
19190
19191 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj;
19193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19194 long arg2 ;
19195 PyObject * obj0 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "self",(char *) "count", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->SetItemCount(arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 return resultobj;
19211 fail:
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19219 int arg2 ;
19220 int arg3 ;
19221 bool result;
19222 PyObject * obj0 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "dx",(char *) "dy", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 result = (bool)(arg1)->ScrollList(arg2,arg3);
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 resultobj = PyInt_FromLong((long)result);
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19246 long arg2 ;
19247 wxColour *arg3 = 0 ;
19248 wxColour temp3 ;
19249 PyObject * obj0 = 0 ;
19250 PyObject * obj2 = 0 ;
19251 char *kwnames[] = {
19252 (char *) "self",(char *) "item",(char *) "col", NULL
19253 };
19254
19255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19257 {
19258 arg3 = &temp3;
19259 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19260 }
19261 {
19262 PyThreadState* __tstate = wxPyBeginAllowThreads();
19263 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19264
19265 wxPyEndAllowThreads(__tstate);
19266 if (PyErr_Occurred()) SWIG_fail;
19267 }
19268 Py_INCREF(Py_None); resultobj = Py_None;
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19278 long arg2 ;
19279 wxColour result;
19280 PyObject * obj0 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "item", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19287 {
19288 PyThreadState* __tstate = wxPyBeginAllowThreads();
19289 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19290
19291 wxPyEndAllowThreads(__tstate);
19292 if (PyErr_Occurred()) SWIG_fail;
19293 }
19294 {
19295 wxColour * resultptr;
19296 resultptr = new wxColour((wxColour &) result);
19297 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19298 }
19299 return resultobj;
19300 fail:
19301 return NULL;
19302 }
19303
19304
19305 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19308 long arg2 ;
19309 wxColour *arg3 = 0 ;
19310 wxColour temp3 ;
19311 PyObject * obj0 = 0 ;
19312 PyObject * obj2 = 0 ;
19313 char *kwnames[] = {
19314 (char *) "self",(char *) "item",(char *) "col", NULL
19315 };
19316
19317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19319 {
19320 arg3 = &temp3;
19321 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19322 }
19323 {
19324 PyThreadState* __tstate = wxPyBeginAllowThreads();
19325 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19326
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
19330 Py_INCREF(Py_None); resultobj = Py_None;
19331 return resultobj;
19332 fail:
19333 return NULL;
19334 }
19335
19336
19337 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19338 PyObject *resultobj;
19339 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19340 long arg2 ;
19341 wxColour result;
19342 PyObject * obj0 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self",(char *) "item", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19349 {
19350 PyThreadState* __tstate = wxPyBeginAllowThreads();
19351 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19352
19353 wxPyEndAllowThreads(__tstate);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 }
19356 {
19357 wxColour * resultptr;
19358 resultptr = new wxColour((wxColour &) result);
19359 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19360 }
19361 return resultobj;
19362 fail:
19363 return NULL;
19364 }
19365
19366
19367 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj;
19369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19370 PyObject *arg2 = (PyObject *) 0 ;
19371 bool result;
19372 PyObject * obj0 = 0 ;
19373 PyObject * obj1 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self",(char *) "func", NULL
19376 };
19377
19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19380 arg2 = obj1;
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 resultobj = PyInt_FromLong((long)result);
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19398 wxWindow *result;
19399 PyObject * obj0 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
19408 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19409
19410 wxPyEndAllowThreads(__tstate);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 }
19413 {
19414 resultobj = wxPyMake_wxObject(result);
19415 }
19416 return resultobj;
19417 fail:
19418 return NULL;
19419 }
19420
19421
19422 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19423 PyObject *obj;
19424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19425 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19426 Py_INCREF(obj);
19427 return Py_BuildValue((char *)"");
19428 }
19429 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19430 PyObject *resultobj;
19431 wxWindow *arg1 = (wxWindow *) 0 ;
19432 wxWindowID arg2 = (wxWindowID) -1 ;
19433 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19434 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19435 wxSize const &arg4_defvalue = wxDefaultSize ;
19436 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19437 long arg5 = (long) wxLC_REPORT ;
19438 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19439 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19440 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19441 wxString *arg7 = (wxString *) &arg7_defvalue ;
19442 wxListView *result;
19443 wxPoint temp3 ;
19444 wxSize temp4 ;
19445 bool temp7 = false ;
19446 PyObject * obj0 = 0 ;
19447 PyObject * obj2 = 0 ;
19448 PyObject * obj3 = 0 ;
19449 PyObject * obj5 = 0 ;
19450 PyObject * obj6 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19457 if (obj2) {
19458 {
19459 arg3 = &temp3;
19460 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19461 }
19462 }
19463 if (obj3) {
19464 {
19465 arg4 = &temp4;
19466 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19467 }
19468 }
19469 if (obj5) {
19470 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19471 if (arg6 == NULL) {
19472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19473 }
19474 }
19475 if (obj6) {
19476 {
19477 arg7 = wxString_in_helper(obj6);
19478 if (arg7 == NULL) SWIG_fail;
19479 temp7 = true;
19480 }
19481 }
19482 {
19483 PyThreadState* __tstate = wxPyBeginAllowThreads();
19484 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19485
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
19489 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19490 {
19491 if (temp7)
19492 delete arg7;
19493 }
19494 return resultobj;
19495 fail:
19496 {
19497 if (temp7)
19498 delete arg7;
19499 }
19500 return NULL;
19501 }
19502
19503
19504 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxListView *result;
19507 char *kwnames[] = {
19508 NULL
19509 };
19510
19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 result = (wxListView *)new wxListView();
19515
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19520 return resultobj;
19521 fail:
19522 return NULL;
19523 }
19524
19525
19526 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19527 PyObject *resultobj;
19528 wxListView *arg1 = (wxListView *) 0 ;
19529 wxWindow *arg2 = (wxWindow *) 0 ;
19530 wxWindowID arg3 = (wxWindowID) -1 ;
19531 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19532 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19533 wxSize const &arg5_defvalue = wxDefaultSize ;
19534 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19535 long arg6 = (long) wxLC_REPORT ;
19536 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19537 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19538 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19539 wxString *arg8 = (wxString *) &arg8_defvalue ;
19540 bool result;
19541 wxPoint temp4 ;
19542 wxSize temp5 ;
19543 bool temp8 = false ;
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj1 = 0 ;
19546 PyObject * obj3 = 0 ;
19547 PyObject * obj4 = 0 ;
19548 PyObject * obj6 = 0 ;
19549 PyObject * obj7 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19557 if (obj3) {
19558 {
19559 arg4 = &temp4;
19560 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19561 }
19562 }
19563 if (obj4) {
19564 {
19565 arg5 = &temp5;
19566 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19567 }
19568 }
19569 if (obj6) {
19570 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19571 if (arg7 == NULL) {
19572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19573 }
19574 }
19575 if (obj7) {
19576 {
19577 arg8 = wxString_in_helper(obj7);
19578 if (arg8 == NULL) SWIG_fail;
19579 temp8 = true;
19580 }
19581 }
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 resultobj = PyInt_FromLong((long)result);
19590 {
19591 if (temp8)
19592 delete arg8;
19593 }
19594 return resultobj;
19595 fail:
19596 {
19597 if (temp8)
19598 delete arg8;
19599 }
19600 return NULL;
19601 }
19602
19603
19604 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19605 PyObject *resultobj;
19606 wxListView *arg1 = (wxListView *) 0 ;
19607 long arg2 ;
19608 bool arg3 = (bool) TRUE ;
19609 PyObject * obj0 = 0 ;
19610 PyObject * obj2 = 0 ;
19611 char *kwnames[] = {
19612 (char *) "self",(char *) "n",(char *) "on", NULL
19613 };
19614
19615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19617 if (obj2) {
19618 arg3 = PyInt_AsLong(obj2) ? true : false;
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 (arg1)->Select(arg2,arg3);
19624
19625 wxPyEndAllowThreads(__tstate);
19626 if (PyErr_Occurred()) SWIG_fail;
19627 }
19628 Py_INCREF(Py_None); resultobj = Py_None;
19629 return resultobj;
19630 fail:
19631 return NULL;
19632 }
19633
19634
19635 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19636 PyObject *resultobj;
19637 wxListView *arg1 = (wxListView *) 0 ;
19638 long arg2 ;
19639 PyObject * obj0 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self",(char *) "index", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 (arg1)->Focus(arg2);
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 Py_INCREF(Py_None); resultobj = Py_None;
19654 return resultobj;
19655 fail:
19656 return NULL;
19657 }
19658
19659
19660 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19661 PyObject *resultobj;
19662 wxListView *arg1 = (wxListView *) 0 ;
19663 long result;
19664 PyObject * obj0 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19671 {
19672 PyThreadState* __tstate = wxPyBeginAllowThreads();
19673 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19674
19675 wxPyEndAllowThreads(__tstate);
19676 if (PyErr_Occurred()) SWIG_fail;
19677 }
19678 resultobj = PyInt_FromLong((long)result);
19679 return resultobj;
19680 fail:
19681 return NULL;
19682 }
19683
19684
19685 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19686 PyObject *resultobj;
19687 wxListView *arg1 = (wxListView *) 0 ;
19688 long arg2 ;
19689 long result;
19690 PyObject * obj0 = 0 ;
19691 char *kwnames[] = {
19692 (char *) "self",(char *) "item", NULL
19693 };
19694
19695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19697 {
19698 PyThreadState* __tstate = wxPyBeginAllowThreads();
19699 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19700
19701 wxPyEndAllowThreads(__tstate);
19702 if (PyErr_Occurred()) SWIG_fail;
19703 }
19704 resultobj = PyInt_FromLong((long)result);
19705 return resultobj;
19706 fail:
19707 return NULL;
19708 }
19709
19710
19711 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19712 PyObject *resultobj;
19713 wxListView *arg1 = (wxListView *) 0 ;
19714 long result;
19715 PyObject * obj0 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19722 {
19723 PyThreadState* __tstate = wxPyBeginAllowThreads();
19724 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19725
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 resultobj = PyInt_FromLong((long)result);
19730 return resultobj;
19731 fail:
19732 return NULL;
19733 }
19734
19735
19736 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj;
19738 wxListView *arg1 = (wxListView *) 0 ;
19739 long arg2 ;
19740 bool result;
19741 PyObject * obj0 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self",(char *) "index", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 result = (bool)(arg1)->IsSelected(arg2);
19751
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 resultobj = PyInt_FromLong((long)result);
19756 return resultobj;
19757 fail:
19758 return NULL;
19759 }
19760
19761
19762 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj;
19764 wxListView *arg1 = (wxListView *) 0 ;
19765 int arg2 ;
19766 int arg3 ;
19767 PyObject * obj0 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "self",(char *) "col",(char *) "image", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 (arg1)->SetColumnImage(arg2,arg3);
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 Py_INCREF(Py_None); resultobj = Py_None;
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxListView *arg1 = (wxListView *) 0 ;
19791 int arg2 ;
19792 PyObject * obj0 = 0 ;
19793 char *kwnames[] = {
19794 (char *) "self",(char *) "col", NULL
19795 };
19796
19797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 (arg1)->ClearColumnImage(arg2);
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 Py_INCREF(Py_None); resultobj = Py_None;
19807 return resultobj;
19808 fail:
19809 return NULL;
19810 }
19811
19812
19813 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19814 PyObject *obj;
19815 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19816 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19817 Py_INCREF(obj);
19818 return Py_BuildValue((char *)"");
19819 }
19820 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19821 PyObject *resultobj;
19822 wxTreeItemId *result;
19823 char *kwnames[] = {
19824 NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 result = (wxTreeItemId *)new wxTreeItemId();
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19836 return resultobj;
19837 fail:
19838 return NULL;
19839 }
19840
19841
19842 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj;
19844 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19845 PyObject * obj0 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19852 {
19853 PyThreadState* __tstate = wxPyBeginAllowThreads();
19854 delete arg1;
19855
19856 wxPyEndAllowThreads(__tstate);
19857 if (PyErr_Occurred()) SWIG_fail;
19858 }
19859 Py_INCREF(Py_None); resultobj = Py_None;
19860 return resultobj;
19861 fail:
19862 return NULL;
19863 }
19864
19865
19866 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19867 PyObject *resultobj;
19868 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19869 bool result;
19870 PyObject * obj0 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "self", NULL
19873 };
19874
19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19877 {
19878 PyThreadState* __tstate = wxPyBeginAllowThreads();
19879 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19880
19881 wxPyEndAllowThreads(__tstate);
19882 if (PyErr_Occurred()) SWIG_fail;
19883 }
19884 resultobj = PyInt_FromLong((long)result);
19885 return resultobj;
19886 fail:
19887 return NULL;
19888 }
19889
19890
19891 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19892 PyObject *resultobj;
19893 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19894 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19895 bool result;
19896 PyObject * obj0 = 0 ;
19897 PyObject * obj1 = 0 ;
19898 char *kwnames[] = {
19899 (char *) "self",(char *) "other", NULL
19900 };
19901
19902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19908
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 resultobj = PyInt_FromLong((long)result);
19913 return resultobj;
19914 fail:
19915 return NULL;
19916 }
19917
19918
19919 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj;
19921 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19922 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19923 bool result;
19924 PyObject * obj0 = 0 ;
19925 PyObject * obj1 = 0 ;
19926 char *kwnames[] = {
19927 (char *) "self",(char *) "other", NULL
19928 };
19929
19930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 resultobj = PyInt_FromLong((long)result);
19941 return resultobj;
19942 fail:
19943 return NULL;
19944 }
19945
19946
19947 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19950 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19951 PyObject * obj0 = 0 ;
19952 PyObject * obj1 = 0 ;
19953 char *kwnames[] = {
19954 (char *) "self",(char *) "m_pItem", NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19960 if (arg1) (arg1)->m_pItem = arg2;
19961
19962 Py_INCREF(Py_None); resultobj = Py_None;
19963 return resultobj;
19964 fail:
19965 return NULL;
19966 }
19967
19968
19969 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19970 PyObject *resultobj;
19971 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19972 wxTreeItemIdValue result;
19973 PyObject * obj0 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19980 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19981
19982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19983 return resultobj;
19984 fail:
19985 return NULL;
19986 }
19987
19988
19989 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19990 PyObject *obj;
19991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19992 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19993 Py_INCREF(obj);
19994 return Py_BuildValue((char *)"");
19995 }
19996 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj;
19998 PyObject *arg1 = (PyObject *) NULL ;
19999 wxPyTreeItemData *result;
20000 PyObject * obj0 = 0 ;
20001 char *kwnames[] = {
20002 (char *) "obj", NULL
20003 };
20004
20005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20006 if (obj0) {
20007 arg1 = obj0;
20008 }
20009 {
20010 PyThreadState* __tstate = wxPyBeginAllowThreads();
20011 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20012
20013 wxPyEndAllowThreads(__tstate);
20014 if (PyErr_Occurred()) SWIG_fail;
20015 }
20016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20017 return resultobj;
20018 fail:
20019 return NULL;
20020 }
20021
20022
20023 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20024 PyObject *resultobj;
20025 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20026 PyObject *result;
20027 PyObject * obj0 = 0 ;
20028 char *kwnames[] = {
20029 (char *) "self", NULL
20030 };
20031
20032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 result = (PyObject *)(arg1)->GetData();
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 resultobj = result;
20042 return resultobj;
20043 fail:
20044 return NULL;
20045 }
20046
20047
20048 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20049 PyObject *resultobj;
20050 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20051 PyObject *arg2 = (PyObject *) 0 ;
20052 PyObject * obj0 = 0 ;
20053 PyObject * obj1 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "obj", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 arg2 = obj1;
20061 {
20062 PyThreadState* __tstate = wxPyBeginAllowThreads();
20063 (arg1)->SetData(arg2);
20064
20065 wxPyEndAllowThreads(__tstate);
20066 if (PyErr_Occurred()) SWIG_fail;
20067 }
20068 Py_INCREF(Py_None); resultobj = Py_None;
20069 return resultobj;
20070 fail:
20071 return NULL;
20072 }
20073
20074
20075 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20076 PyObject *resultobj;
20077 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20078 wxTreeItemId *result;
20079 PyObject * obj0 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 {
20089 wxTreeItemId const &_result_ref = (arg1)->GetId();
20090 result = (wxTreeItemId *) &_result_ref;
20091 }
20092
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20097 return resultobj;
20098 fail:
20099 return NULL;
20100 }
20101
20102
20103 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20104 PyObject *resultobj;
20105 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20106 wxTreeItemId *arg2 = 0 ;
20107 PyObject * obj0 = 0 ;
20108 PyObject * obj1 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self",(char *) "id", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20116 if (arg2 == NULL) {
20117 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20118 }
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 (arg1)->SetId((wxTreeItemId const &)*arg2);
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 Py_INCREF(Py_None); resultobj = Py_None;
20127 return resultobj;
20128 fail:
20129 return NULL;
20130 }
20131
20132
20133 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20134 PyObject *resultobj;
20135 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20136 PyObject * obj0 = 0 ;
20137 char *kwnames[] = {
20138 (char *) "self", NULL
20139 };
20140
20141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20143 {
20144 PyThreadState* __tstate = wxPyBeginAllowThreads();
20145 wxPyTreeItemData_Destroy(arg1);
20146
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 Py_INCREF(Py_None); resultobj = Py_None;
20151 return resultobj;
20152 fail:
20153 return NULL;
20154 }
20155
20156
20157 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20158 PyObject *obj;
20159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20160 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20161 Py_INCREF(obj);
20162 return Py_BuildValue((char *)"");
20163 }
20164 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20165 PyObject *resultobj;
20166 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20167 int arg2 = (int) 0 ;
20168 wxTreeEvent *result;
20169 char *kwnames[] = {
20170 (char *) "commandType",(char *) "id", NULL
20171 };
20172
20173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20174 {
20175 PyThreadState* __tstate = wxPyBeginAllowThreads();
20176 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20177
20178 wxPyEndAllowThreads(__tstate);
20179 if (PyErr_Occurred()) SWIG_fail;
20180 }
20181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj;
20190 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20191 wxTreeItemId result;
20192 PyObject * obj0 = 0 ;
20193 char *kwnames[] = {
20194 (char *) "self", NULL
20195 };
20196
20197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20199 {
20200 PyThreadState* __tstate = wxPyBeginAllowThreads();
20201 result = ((wxTreeEvent const *)arg1)->GetItem();
20202
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 {
20207 wxTreeItemId * resultptr;
20208 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20209 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20210 }
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20220 wxTreeItemId *arg2 = 0 ;
20221 PyObject * obj0 = 0 ;
20222 PyObject * obj1 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self",(char *) "item", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20230 if (arg2 == NULL) {
20231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20232 }
20233 {
20234 PyThreadState* __tstate = wxPyBeginAllowThreads();
20235 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20236
20237 wxPyEndAllowThreads(__tstate);
20238 if (PyErr_Occurred()) SWIG_fail;
20239 }
20240 Py_INCREF(Py_None); resultobj = Py_None;
20241 return resultobj;
20242 fail:
20243 return NULL;
20244 }
20245
20246
20247 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj;
20249 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20250 wxTreeItemId result;
20251 PyObject * obj0 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20258 {
20259 PyThreadState* __tstate = wxPyBeginAllowThreads();
20260 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20261
20262 wxPyEndAllowThreads(__tstate);
20263 if (PyErr_Occurred()) SWIG_fail;
20264 }
20265 {
20266 wxTreeItemId * resultptr;
20267 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20268 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20269 }
20270 return resultobj;
20271 fail:
20272 return NULL;
20273 }
20274
20275
20276 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20277 PyObject *resultobj;
20278 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20279 wxTreeItemId *arg2 = 0 ;
20280 PyObject * obj0 = 0 ;
20281 PyObject * obj1 = 0 ;
20282 char *kwnames[] = {
20283 (char *) "self",(char *) "item", NULL
20284 };
20285
20286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20289 if (arg2 == NULL) {
20290 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20291 }
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 Py_INCREF(Py_None); resultobj = Py_None;
20300 return resultobj;
20301 fail:
20302 return NULL;
20303 }
20304
20305
20306 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20307 PyObject *resultobj;
20308 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20309 wxPoint result;
20310 PyObject * obj0 = 0 ;
20311 char *kwnames[] = {
20312 (char *) "self", NULL
20313 };
20314
20315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 result = ((wxTreeEvent const *)arg1)->GetPoint();
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 {
20325 wxPoint * resultptr;
20326 resultptr = new wxPoint((wxPoint &) result);
20327 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20328 }
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20338 wxPoint *arg2 = 0 ;
20339 wxPoint temp2 ;
20340 PyObject * obj0 = 0 ;
20341 PyObject * obj1 = 0 ;
20342 char *kwnames[] = {
20343 (char *) "self",(char *) "pt", NULL
20344 };
20345
20346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20348 {
20349 arg2 = &temp2;
20350 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20351 }
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 (arg1)->SetPoint((wxPoint const &)*arg2);
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 Py_INCREF(Py_None); resultobj = Py_None;
20360 return resultobj;
20361 fail:
20362 return NULL;
20363 }
20364
20365
20366 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20369 wxKeyEvent *result;
20370 PyObject * obj0 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20377 {
20378 PyThreadState* __tstate = wxPyBeginAllowThreads();
20379 {
20380 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20381 result = (wxKeyEvent *) &_result_ref;
20382 }
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20388 return resultobj;
20389 fail:
20390 return NULL;
20391 }
20392
20393
20394 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20397 int result;
20398 PyObject * obj0 = 0 ;
20399 char *kwnames[] = {
20400 (char *) "self", NULL
20401 };
20402
20403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20405 {
20406 PyThreadState* __tstate = wxPyBeginAllowThreads();
20407 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20408
20409 wxPyEndAllowThreads(__tstate);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 }
20412 resultobj = PyInt_FromLong((long)result);
20413 return resultobj;
20414 fail:
20415 return NULL;
20416 }
20417
20418
20419 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj;
20421 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20422 wxKeyEvent *arg2 = 0 ;
20423 PyObject * obj0 = 0 ;
20424 PyObject * obj1 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self",(char *) "evt", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20432 if (arg2 == NULL) {
20433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20434 }
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 Py_INCREF(Py_None); resultobj = Py_None;
20443 return resultobj;
20444 fail:
20445 return NULL;
20446 }
20447
20448
20449 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj;
20451 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20452 wxString *result;
20453 PyObject * obj0 = 0 ;
20454 char *kwnames[] = {
20455 (char *) "self", NULL
20456 };
20457
20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20460 {
20461 PyThreadState* __tstate = wxPyBeginAllowThreads();
20462 {
20463 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20464 result = (wxString *) &_result_ref;
20465 }
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
20471 return resultobj;
20472 fail:
20473 return NULL;
20474 }
20475
20476
20477 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20480 wxString *arg2 = 0 ;
20481 bool temp2 = false ;
20482 PyObject * obj0 = 0 ;
20483 PyObject * obj1 = 0 ;
20484 char *kwnames[] = {
20485 (char *) "self",(char *) "label", NULL
20486 };
20487
20488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20490 {
20491 arg2 = wxString_in_helper(obj1);
20492 if (arg2 == NULL) SWIG_fail;
20493 temp2 = true;
20494 }
20495 {
20496 PyThreadState* __tstate = wxPyBeginAllowThreads();
20497 (arg1)->SetLabel((wxString const &)*arg2);
20498
20499 wxPyEndAllowThreads(__tstate);
20500 if (PyErr_Occurred()) SWIG_fail;
20501 }
20502 Py_INCREF(Py_None); resultobj = Py_None;
20503 {
20504 if (temp2)
20505 delete arg2;
20506 }
20507 return resultobj;
20508 fail:
20509 {
20510 if (temp2)
20511 delete arg2;
20512 }
20513 return NULL;
20514 }
20515
20516
20517 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20520 bool result;
20521 PyObject * obj0 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20531
20532 wxPyEndAllowThreads(__tstate);
20533 if (PyErr_Occurred()) SWIG_fail;
20534 }
20535 resultobj = PyInt_FromLong((long)result);
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20545 bool arg2 ;
20546 PyObject * obj0 = 0 ;
20547 PyObject * obj1 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "self",(char *) "editCancelled", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20554 arg2 = PyInt_AsLong(obj1) ? true : false;
20555 if (PyErr_Occurred()) SWIG_fail;
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 (arg1)->SetEditCanceled(arg2);
20559
20560 wxPyEndAllowThreads(__tstate);
20561 if (PyErr_Occurred()) SWIG_fail;
20562 }
20563 Py_INCREF(Py_None); resultobj = Py_None;
20564 return resultobj;
20565 fail:
20566 return NULL;
20567 }
20568
20569
20570 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20571 PyObject *obj;
20572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20573 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20574 Py_INCREF(obj);
20575 return Py_BuildValue((char *)"");
20576 }
20577 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj;
20579 wxWindow *arg1 = (wxWindow *) 0 ;
20580 wxWindowID arg2 = (wxWindowID) -1 ;
20581 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20582 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20583 wxSize const &arg4_defvalue = wxDefaultSize ;
20584 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20585 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20586 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20587 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20588 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20589 wxString *arg7 = (wxString *) &arg7_defvalue ;
20590 wxPyTreeCtrl *result;
20591 wxPoint temp3 ;
20592 wxSize temp4 ;
20593 bool temp7 = false ;
20594 PyObject * obj0 = 0 ;
20595 PyObject * obj2 = 0 ;
20596 PyObject * obj3 = 0 ;
20597 PyObject * obj5 = 0 ;
20598 PyObject * obj6 = 0 ;
20599 char *kwnames[] = {
20600 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20605 if (obj2) {
20606 {
20607 arg3 = &temp3;
20608 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20609 }
20610 }
20611 if (obj3) {
20612 {
20613 arg4 = &temp4;
20614 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20615 }
20616 }
20617 if (obj5) {
20618 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20619 if (arg6 == NULL) {
20620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20621 }
20622 }
20623 if (obj6) {
20624 {
20625 arg7 = wxString_in_helper(obj6);
20626 if (arg7 == NULL) SWIG_fail;
20627 temp7 = true;
20628 }
20629 }
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
20637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20638 {
20639 if (temp7)
20640 delete arg7;
20641 }
20642 return resultobj;
20643 fail:
20644 {
20645 if (temp7)
20646 delete arg7;
20647 }
20648 return NULL;
20649 }
20650
20651
20652 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj;
20654 wxPyTreeCtrl *result;
20655 char *kwnames[] = {
20656 NULL
20657 };
20658
20659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20663
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20668 return resultobj;
20669 fail:
20670 return NULL;
20671 }
20672
20673
20674 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20675 PyObject *resultobj;
20676 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20677 wxWindow *arg2 = (wxWindow *) 0 ;
20678 wxWindowID arg3 = (wxWindowID) -1 ;
20679 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20680 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20681 wxSize const &arg5_defvalue = wxDefaultSize ;
20682 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20683 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20684 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20685 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20686 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20687 wxString *arg8 = (wxString *) &arg8_defvalue ;
20688 bool result;
20689 wxPoint temp4 ;
20690 wxSize temp5 ;
20691 bool temp8 = false ;
20692 PyObject * obj0 = 0 ;
20693 PyObject * obj1 = 0 ;
20694 PyObject * obj3 = 0 ;
20695 PyObject * obj4 = 0 ;
20696 PyObject * obj6 = 0 ;
20697 PyObject * obj7 = 0 ;
20698 char *kwnames[] = {
20699 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20700 };
20701
20702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20705 if (obj3) {
20706 {
20707 arg4 = &temp4;
20708 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20709 }
20710 }
20711 if (obj4) {
20712 {
20713 arg5 = &temp5;
20714 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20715 }
20716 }
20717 if (obj6) {
20718 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20719 if (arg7 == NULL) {
20720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20721 }
20722 }
20723 if (obj7) {
20724 {
20725 arg8 = wxString_in_helper(obj7);
20726 if (arg8 == NULL) SWIG_fail;
20727 temp8 = true;
20728 }
20729 }
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 resultobj = PyInt_FromLong((long)result);
20738 {
20739 if (temp8)
20740 delete arg8;
20741 }
20742 return resultobj;
20743 fail:
20744 {
20745 if (temp8)
20746 delete arg8;
20747 }
20748 return NULL;
20749 }
20750
20751
20752 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20755 PyObject *arg2 = (PyObject *) 0 ;
20756 PyObject *arg3 = (PyObject *) 0 ;
20757 PyObject * obj0 = 0 ;
20758 PyObject * obj1 = 0 ;
20759 PyObject * obj2 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self",(char *) "self",(char *) "_class", NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20766 arg2 = obj1;
20767 arg3 = obj2;
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 (arg1)->_setCallbackInfo(arg2,arg3);
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 Py_INCREF(Py_None); resultobj = Py_None;
20776 return resultobj;
20777 fail:
20778 return NULL;
20779 }
20780
20781
20782 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20783 PyObject *resultobj;
20784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20785 size_t result;
20786 PyObject * obj0 = 0 ;
20787 char *kwnames[] = {
20788 (char *) "self", NULL
20789 };
20790
20791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20793 {
20794 PyThreadState* __tstate = wxPyBeginAllowThreads();
20795 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20796
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 resultobj = PyInt_FromLong((long)result);
20801 return resultobj;
20802 fail:
20803 return NULL;
20804 }
20805
20806
20807 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20808 PyObject *resultobj;
20809 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20810 unsigned int result;
20811 PyObject * obj0 = 0 ;
20812 char *kwnames[] = {
20813 (char *) "self", NULL
20814 };
20815
20816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20818 {
20819 PyThreadState* __tstate = wxPyBeginAllowThreads();
20820 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20821
20822 wxPyEndAllowThreads(__tstate);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 }
20825 resultobj = PyInt_FromLong((long)result);
20826 return resultobj;
20827 fail:
20828 return NULL;
20829 }
20830
20831
20832 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20833 PyObject *resultobj;
20834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20835 unsigned int arg2 ;
20836 PyObject * obj0 = 0 ;
20837 PyObject * obj1 = 0 ;
20838 char *kwnames[] = {
20839 (char *) "self",(char *) "indent", NULL
20840 };
20841
20842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20844 arg2 = (unsigned int) PyInt_AsLong(obj1);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 {
20847 PyThreadState* __tstate = wxPyBeginAllowThreads();
20848 (arg1)->SetIndent(arg2);
20849
20850 wxPyEndAllowThreads(__tstate);
20851 if (PyErr_Occurred()) SWIG_fail;
20852 }
20853 Py_INCREF(Py_None); resultobj = Py_None;
20854 return resultobj;
20855 fail:
20856 return NULL;
20857 }
20858
20859
20860 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20863 unsigned int result;
20864 PyObject * obj0 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "self", NULL
20867 };
20868
20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20871 {
20872 PyThreadState* __tstate = wxPyBeginAllowThreads();
20873 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20874
20875 wxPyEndAllowThreads(__tstate);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 }
20878 resultobj = PyInt_FromLong((long)result);
20879 return resultobj;
20880 fail:
20881 return NULL;
20882 }
20883
20884
20885 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20886 PyObject *resultobj;
20887 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20888 unsigned int arg2 ;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self",(char *) "spacing", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20897 arg2 = (unsigned int) PyInt_AsLong(obj1);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 {
20900 PyThreadState* __tstate = wxPyBeginAllowThreads();
20901 (arg1)->SetSpacing(arg2);
20902
20903 wxPyEndAllowThreads(__tstate);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 }
20906 Py_INCREF(Py_None); resultobj = Py_None;
20907 return resultobj;
20908 fail:
20909 return NULL;
20910 }
20911
20912
20913 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20914 PyObject *resultobj;
20915 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20916 wxImageList *result;
20917 PyObject * obj0 = 0 ;
20918 char *kwnames[] = {
20919 (char *) "self", NULL
20920 };
20921
20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 {
20932 resultobj = wxPyMake_wxObject(result);
20933 }
20934 return resultobj;
20935 fail:
20936 return NULL;
20937 }
20938
20939
20940 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20941 PyObject *resultobj;
20942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20943 wxImageList *result;
20944 PyObject * obj0 = 0 ;
20945 char *kwnames[] = {
20946 (char *) "self", NULL
20947 };
20948
20949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 {
20959 resultobj = wxPyMake_wxObject(result);
20960 }
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20968 PyObject *resultobj;
20969 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20970 wxImageList *arg2 = (wxImageList *) 0 ;
20971 PyObject * obj0 = 0 ;
20972 PyObject * obj1 = 0 ;
20973 char *kwnames[] = {
20974 (char *) "self",(char *) "imageList", NULL
20975 };
20976
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20980 {
20981 PyThreadState* __tstate = wxPyBeginAllowThreads();
20982 (arg1)->SetImageList(arg2);
20983
20984 wxPyEndAllowThreads(__tstate);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 }
20987 Py_INCREF(Py_None); resultobj = Py_None;
20988 return resultobj;
20989 fail:
20990 return NULL;
20991 }
20992
20993
20994 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20997 wxImageList *arg2 = (wxImageList *) 0 ;
20998 PyObject * obj0 = 0 ;
20999 PyObject * obj1 = 0 ;
21000 char *kwnames[] = {
21001 (char *) "self",(char *) "imageList", NULL
21002 };
21003
21004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21007 {
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 (arg1)->SetStateImageList(arg2);
21010
21011 wxPyEndAllowThreads(__tstate);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 }
21014 Py_INCREF(Py_None); resultobj = Py_None;
21015 return resultobj;
21016 fail:
21017 return NULL;
21018 }
21019
21020
21021 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj;
21023 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21024 wxImageList *arg2 = (wxImageList *) 0 ;
21025 PyObject * obj0 = 0 ;
21026 PyObject * obj1 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self",(char *) "imageList", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21034 {
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 (arg1)->AssignImageList(arg2);
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 Py_INCREF(Py_None); resultobj = Py_None;
21042 return resultobj;
21043 fail:
21044 return NULL;
21045 }
21046
21047
21048 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21049 PyObject *resultobj;
21050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21051 wxImageList *arg2 = (wxImageList *) 0 ;
21052 PyObject * obj0 = 0 ;
21053 PyObject * obj1 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "self",(char *) "imageList", NULL
21056 };
21057
21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21061 {
21062 PyThreadState* __tstate = wxPyBeginAllowThreads();
21063 (arg1)->AssignStateImageList(arg2);
21064
21065 wxPyEndAllowThreads(__tstate);
21066 if (PyErr_Occurred()) SWIG_fail;
21067 }
21068 Py_INCREF(Py_None); resultobj = Py_None;
21069 return resultobj;
21070 fail:
21071 return NULL;
21072 }
21073
21074
21075 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21076 PyObject *resultobj;
21077 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21078 wxTreeItemId *arg2 = 0 ;
21079 wxString result;
21080 PyObject * obj0 = 0 ;
21081 PyObject * obj1 = 0 ;
21082 char *kwnames[] = {
21083 (char *) "self",(char *) "item", NULL
21084 };
21085
21086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21089 if (arg2 == NULL) {
21090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21091 }
21092 {
21093 PyThreadState* __tstate = wxPyBeginAllowThreads();
21094 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21095
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 {
21100 #if wxUSE_UNICODE
21101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21102 #else
21103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21104 #endif
21105 }
21106 return resultobj;
21107 fail:
21108 return NULL;
21109 }
21110
21111
21112 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21113 PyObject *resultobj;
21114 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21115 wxTreeItemId *arg2 = 0 ;
21116 int arg3 = (int) wxTreeItemIcon_Normal ;
21117 int result;
21118 PyObject * obj0 = 0 ;
21119 PyObject * obj1 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self",(char *) "item",(char *) "which", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21127 if (arg2 == NULL) {
21128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21129 }
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21133
21134 wxPyEndAllowThreads(__tstate);
21135 if (PyErr_Occurred()) SWIG_fail;
21136 }
21137 resultobj = PyInt_FromLong((long)result);
21138 return resultobj;
21139 fail:
21140 return NULL;
21141 }
21142
21143
21144 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj;
21146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21147 wxTreeItemId *arg2 = 0 ;
21148 wxPyTreeItemData *result;
21149 PyObject * obj0 = 0 ;
21150 PyObject * obj1 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "self",(char *) "item", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21158 if (arg2 == NULL) {
21159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21160 }
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21169 return resultobj;
21170 fail:
21171 return NULL;
21172 }
21173
21174
21175 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21176 PyObject *resultobj;
21177 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21178 wxTreeItemId *arg2 = 0 ;
21179 PyObject *result;
21180 PyObject * obj0 = 0 ;
21181 PyObject * obj1 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "item", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21189 if (arg2 == NULL) {
21190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21191 }
21192 {
21193 PyThreadState* __tstate = wxPyBeginAllowThreads();
21194 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21195
21196 wxPyEndAllowThreads(__tstate);
21197 if (PyErr_Occurred()) SWIG_fail;
21198 }
21199 resultobj = result;
21200 return resultobj;
21201 fail:
21202 return NULL;
21203 }
21204
21205
21206 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21209 wxTreeItemId *arg2 = 0 ;
21210 wxColour result;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "item", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21220 if (arg2 == NULL) {
21221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21222 }
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21226
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 {
21231 wxColour * resultptr;
21232 resultptr = new wxColour((wxColour &) result);
21233 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21234 }
21235 return resultobj;
21236 fail:
21237 return NULL;
21238 }
21239
21240
21241 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21242 PyObject *resultobj;
21243 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21244 wxTreeItemId *arg2 = 0 ;
21245 wxColour result;
21246 PyObject * obj0 = 0 ;
21247 PyObject * obj1 = 0 ;
21248 char *kwnames[] = {
21249 (char *) "self",(char *) "item", NULL
21250 };
21251
21252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21255 if (arg2 == NULL) {
21256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21257 }
21258 {
21259 PyThreadState* __tstate = wxPyBeginAllowThreads();
21260 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21261
21262 wxPyEndAllowThreads(__tstate);
21263 if (PyErr_Occurred()) SWIG_fail;
21264 }
21265 {
21266 wxColour * resultptr;
21267 resultptr = new wxColour((wxColour &) result);
21268 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21269 }
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21279 wxTreeItemId *arg2 = 0 ;
21280 wxFont result;
21281 PyObject * obj0 = 0 ;
21282 PyObject * obj1 = 0 ;
21283 char *kwnames[] = {
21284 (char *) "self",(char *) "item", NULL
21285 };
21286
21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21290 if (arg2 == NULL) {
21291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21292 }
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 {
21301 wxFont * resultptr;
21302 resultptr = new wxFont((wxFont &) result);
21303 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21304 }
21305 return resultobj;
21306 fail:
21307 return NULL;
21308 }
21309
21310
21311 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21312 PyObject *resultobj;
21313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21314 wxTreeItemId *arg2 = 0 ;
21315 wxString *arg3 = 0 ;
21316 bool temp3 = false ;
21317 PyObject * obj0 = 0 ;
21318 PyObject * obj1 = 0 ;
21319 PyObject * obj2 = 0 ;
21320 char *kwnames[] = {
21321 (char *) "self",(char *) "item",(char *) "text", NULL
21322 };
21323
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21326 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21327 if (arg2 == NULL) {
21328 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21329 }
21330 {
21331 arg3 = wxString_in_helper(obj2);
21332 if (arg3 == NULL) SWIG_fail;
21333 temp3 = true;
21334 }
21335 {
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21338
21339 wxPyEndAllowThreads(__tstate);
21340 if (PyErr_Occurred()) SWIG_fail;
21341 }
21342 Py_INCREF(Py_None); resultobj = Py_None;
21343 {
21344 if (temp3)
21345 delete arg3;
21346 }
21347 return resultobj;
21348 fail:
21349 {
21350 if (temp3)
21351 delete arg3;
21352 }
21353 return NULL;
21354 }
21355
21356
21357 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21358 PyObject *resultobj;
21359 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21360 wxTreeItemId *arg2 = 0 ;
21361 int arg3 ;
21362 int arg4 = (int) wxTreeItemIcon_Normal ;
21363 PyObject * obj0 = 0 ;
21364 PyObject * obj1 = 0 ;
21365 char *kwnames[] = {
21366 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21367 };
21368
21369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21372 if (arg2 == NULL) {
21373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21374 }
21375 {
21376 PyThreadState* __tstate = wxPyBeginAllowThreads();
21377 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21378
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 Py_INCREF(Py_None); resultobj = Py_None;
21383 return resultobj;
21384 fail:
21385 return NULL;
21386 }
21387
21388
21389 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj;
21391 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21392 wxTreeItemId *arg2 = 0 ;
21393 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21394 PyObject * obj0 = 0 ;
21395 PyObject * obj1 = 0 ;
21396 PyObject * obj2 = 0 ;
21397 char *kwnames[] = {
21398 (char *) "self",(char *) "item",(char *) "data", NULL
21399 };
21400
21401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21403 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21404 if (arg2 == NULL) {
21405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21406 }
21407 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21408 {
21409 PyThreadState* __tstate = wxPyBeginAllowThreads();
21410 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21411
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 Py_INCREF(Py_None); resultobj = Py_None;
21416 return resultobj;
21417 fail:
21418 return NULL;
21419 }
21420
21421
21422 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj;
21424 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21425 wxTreeItemId *arg2 = 0 ;
21426 PyObject *arg3 = (PyObject *) 0 ;
21427 PyObject * obj0 = 0 ;
21428 PyObject * obj1 = 0 ;
21429 PyObject * obj2 = 0 ;
21430 char *kwnames[] = {
21431 (char *) "self",(char *) "item",(char *) "obj", NULL
21432 };
21433
21434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21437 if (arg2 == NULL) {
21438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21439 }
21440 arg3 = obj2;
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 Py_INCREF(Py_None); resultobj = Py_None;
21449 return resultobj;
21450 fail:
21451 return NULL;
21452 }
21453
21454
21455 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21458 wxTreeItemId *arg2 = 0 ;
21459 bool arg3 = (bool) TRUE ;
21460 PyObject * obj0 = 0 ;
21461 PyObject * obj1 = 0 ;
21462 PyObject * obj2 = 0 ;
21463 char *kwnames[] = {
21464 (char *) "self",(char *) "item",(char *) "has", NULL
21465 };
21466
21467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21470 if (arg2 == NULL) {
21471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21472 }
21473 if (obj2) {
21474 arg3 = PyInt_AsLong(obj2) ? true : false;
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 Py_INCREF(Py_None); resultobj = Py_None;
21485 return resultobj;
21486 fail:
21487 return NULL;
21488 }
21489
21490
21491 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj;
21493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21494 wxTreeItemId *arg2 = 0 ;
21495 bool arg3 = (bool) TRUE ;
21496 PyObject * obj0 = 0 ;
21497 PyObject * obj1 = 0 ;
21498 PyObject * obj2 = 0 ;
21499 char *kwnames[] = {
21500 (char *) "self",(char *) "item",(char *) "bold", NULL
21501 };
21502
21503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21506 if (arg2 == NULL) {
21507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21508 }
21509 if (obj2) {
21510 arg3 = PyInt_AsLong(obj2) ? true : false;
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 {
21514 PyThreadState* __tstate = wxPyBeginAllowThreads();
21515 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21516
21517 wxPyEndAllowThreads(__tstate);
21518 if (PyErr_Occurred()) SWIG_fail;
21519 }
21520 Py_INCREF(Py_None); resultobj = Py_None;
21521 return resultobj;
21522 fail:
21523 return NULL;
21524 }
21525
21526
21527 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21528 PyObject *resultobj;
21529 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21530 wxTreeItemId *arg2 = 0 ;
21531 bool arg3 = (bool) TRUE ;
21532 PyObject * obj0 = 0 ;
21533 PyObject * obj1 = 0 ;
21534 PyObject * obj2 = 0 ;
21535 char *kwnames[] = {
21536 (char *) "self",(char *) "item",(char *) "highlight", NULL
21537 };
21538
21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
21540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21542 if (arg2 == NULL) {
21543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21544 }
21545 if (obj2) {
21546 arg3 = PyInt_AsLong(obj2) ? true : false;
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 Py_INCREF(Py_None); resultobj = Py_None;
21557 return resultobj;
21558 fail:
21559 return NULL;
21560 }
21561
21562
21563 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21564 PyObject *resultobj;
21565 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21566 wxTreeItemId *arg2 = 0 ;
21567 wxColour *arg3 = 0 ;
21568 wxColour temp3 ;
21569 PyObject * obj0 = 0 ;
21570 PyObject * obj1 = 0 ;
21571 PyObject * obj2 = 0 ;
21572 char *kwnames[] = {
21573 (char *) "self",(char *) "item",(char *) "col", NULL
21574 };
21575
21576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21579 if (arg2 == NULL) {
21580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21581 }
21582 {
21583 arg3 = &temp3;
21584 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21585 }
21586 {
21587 PyThreadState* __tstate = wxPyBeginAllowThreads();
21588 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21589
21590 wxPyEndAllowThreads(__tstate);
21591 if (PyErr_Occurred()) SWIG_fail;
21592 }
21593 Py_INCREF(Py_None); resultobj = Py_None;
21594 return resultobj;
21595 fail:
21596 return NULL;
21597 }
21598
21599
21600 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21601 PyObject *resultobj;
21602 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21603 wxTreeItemId *arg2 = 0 ;
21604 wxColour *arg3 = 0 ;
21605 wxColour temp3 ;
21606 PyObject * obj0 = 0 ;
21607 PyObject * obj1 = 0 ;
21608 PyObject * obj2 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self",(char *) "item",(char *) "col", NULL
21611 };
21612
21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21616 if (arg2 == NULL) {
21617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21618 }
21619 {
21620 arg3 = &temp3;
21621 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21622 }
21623 {
21624 PyThreadState* __tstate = wxPyBeginAllowThreads();
21625 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21626
21627 wxPyEndAllowThreads(__tstate);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 Py_INCREF(Py_None); resultobj = Py_None;
21631 return resultobj;
21632 fail:
21633 return NULL;
21634 }
21635
21636
21637 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21638 PyObject *resultobj;
21639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21640 wxTreeItemId *arg2 = 0 ;
21641 wxFont *arg3 = 0 ;
21642 PyObject * obj0 = 0 ;
21643 PyObject * obj1 = 0 ;
21644 PyObject * obj2 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self",(char *) "item",(char *) "font", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21652 if (arg2 == NULL) {
21653 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21654 }
21655 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21656 if (arg3 == NULL) {
21657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21658 }
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 Py_INCREF(Py_None); resultobj = Py_None;
21667 return resultobj;
21668 fail:
21669 return NULL;
21670 }
21671
21672
21673 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj;
21675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21676 wxTreeItemId *arg2 = 0 ;
21677 bool result;
21678 PyObject * obj0 = 0 ;
21679 PyObject * obj1 = 0 ;
21680 char *kwnames[] = {
21681 (char *) "self",(char *) "item", NULL
21682 };
21683
21684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21687 if (arg2 == NULL) {
21688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21689 }
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 resultobj = PyInt_FromLong((long)result);
21698 return resultobj;
21699 fail:
21700 return NULL;
21701 }
21702
21703
21704 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj;
21706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21707 wxTreeItemId *arg2 = 0 ;
21708 bool result;
21709 PyObject * obj0 = 0 ;
21710 PyObject * obj1 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "self",(char *) "item", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21718 if (arg2 == NULL) {
21719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21720 }
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21724
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 resultobj = PyInt_FromLong((long)result);
21729 return resultobj;
21730 fail:
21731 return NULL;
21732 }
21733
21734
21735 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21736 PyObject *resultobj;
21737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21738 wxTreeItemId *arg2 = 0 ;
21739 bool result;
21740 PyObject * obj0 = 0 ;
21741 PyObject * obj1 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self",(char *) "item", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21749 if (arg2 == NULL) {
21750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21751 }
21752 {
21753 PyThreadState* __tstate = wxPyBeginAllowThreads();
21754 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21755
21756 wxPyEndAllowThreads(__tstate);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 }
21759 resultobj = PyInt_FromLong((long)result);
21760 return resultobj;
21761 fail:
21762 return NULL;
21763 }
21764
21765
21766 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj;
21768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21769 wxTreeItemId *arg2 = 0 ;
21770 bool result;
21771 PyObject * obj0 = 0 ;
21772 PyObject * obj1 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "item", NULL
21775 };
21776
21777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21780 if (arg2 == NULL) {
21781 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21782 }
21783 {
21784 PyThreadState* __tstate = wxPyBeginAllowThreads();
21785 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21786
21787 wxPyEndAllowThreads(__tstate);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 }
21790 resultobj = PyInt_FromLong((long)result);
21791 return resultobj;
21792 fail:
21793 return NULL;
21794 }
21795
21796
21797 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21798 PyObject *resultobj;
21799 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21800 wxTreeItemId *arg2 = 0 ;
21801 bool result;
21802 PyObject * obj0 = 0 ;
21803 PyObject * obj1 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self",(char *) "item", NULL
21806 };
21807
21808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21811 if (arg2 == NULL) {
21812 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21813 }
21814 {
21815 PyThreadState* __tstate = wxPyBeginAllowThreads();
21816 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21817
21818 wxPyEndAllowThreads(__tstate);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 }
21821 resultobj = PyInt_FromLong((long)result);
21822 return resultobj;
21823 fail:
21824 return NULL;
21825 }
21826
21827
21828 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21829 PyObject *resultobj;
21830 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21831 wxTreeItemId *arg2 = 0 ;
21832 bool arg3 = (bool) TRUE ;
21833 size_t result;
21834 PyObject * obj0 = 0 ;
21835 PyObject * obj1 = 0 ;
21836 PyObject * obj2 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self",(char *) "item",(char *) "recursively", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21844 if (arg2 == NULL) {
21845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21846 }
21847 if (obj2) {
21848 arg3 = PyInt_AsLong(obj2) ? true : false;
21849 if (PyErr_Occurred()) SWIG_fail;
21850 }
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
21858 resultobj = PyInt_FromLong((long)result);
21859 return resultobj;
21860 fail:
21861 return NULL;
21862 }
21863
21864
21865 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21868 wxTreeItemId result;
21869 PyObject * obj0 = 0 ;
21870 char *kwnames[] = {
21871 (char *) "self", NULL
21872 };
21873
21874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21879
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 {
21884 wxTreeItemId * resultptr;
21885 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21886 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21887 }
21888 return resultobj;
21889 fail:
21890 return NULL;
21891 }
21892
21893
21894 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21895 PyObject *resultobj;
21896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21897 wxTreeItemId result;
21898 PyObject * obj0 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 {
21913 wxTreeItemId * resultptr;
21914 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21916 }
21917 return resultobj;
21918 fail:
21919 return NULL;
21920 }
21921
21922
21923 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21924 PyObject *resultobj;
21925 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21926 PyObject *result;
21927 PyObject * obj0 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 resultobj = result;
21942 return resultobj;
21943 fail:
21944 return NULL;
21945 }
21946
21947
21948 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj;
21950 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21951 wxTreeItemId *arg2 = 0 ;
21952 wxTreeItemId result;
21953 PyObject * obj0 = 0 ;
21954 PyObject * obj1 = 0 ;
21955 char *kwnames[] = {
21956 (char *) "self",(char *) "item", NULL
21957 };
21958
21959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21962 if (arg2 == NULL) {
21963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21964 }
21965 {
21966 PyThreadState* __tstate = wxPyBeginAllowThreads();
21967 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21968
21969 wxPyEndAllowThreads(__tstate);
21970 if (PyErr_Occurred()) SWIG_fail;
21971 }
21972 {
21973 wxTreeItemId * resultptr;
21974 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21975 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21976 }
21977 return resultobj;
21978 fail:
21979 return NULL;
21980 }
21981
21982
21983 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21984 PyObject *resultobj;
21985 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21986 wxTreeItemId *arg2 = 0 ;
21987 PyObject *result;
21988 PyObject * obj0 = 0 ;
21989 PyObject * obj1 = 0 ;
21990 char *kwnames[] = {
21991 (char *) "self",(char *) "item", NULL
21992 };
21993
21994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21997 if (arg2 == NULL) {
21998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21999 }
22000 {
22001 PyThreadState* __tstate = wxPyBeginAllowThreads();
22002 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22003
22004 wxPyEndAllowThreads(__tstate);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 }
22007 resultobj = result;
22008 return resultobj;
22009 fail:
22010 return NULL;
22011 }
22012
22013
22014 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22015 PyObject *resultobj;
22016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22017 wxTreeItemId *arg2 = 0 ;
22018 wxTreeItemIdValue *arg3 = 0 ;
22019 PyObject *result;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 PyObject * obj2 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self",(char *) "item",(char *) "cookie", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22029 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22030 if (arg2 == NULL) {
22031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22032 }
22033 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22034 if (arg3 == NULL) {
22035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22036 }
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 resultobj = result;
22045 return resultobj;
22046 fail:
22047 return NULL;
22048 }
22049
22050
22051 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22052 PyObject *resultobj;
22053 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22054 wxTreeItemId *arg2 = 0 ;
22055 wxTreeItemId result;
22056 PyObject * obj0 = 0 ;
22057 PyObject * obj1 = 0 ;
22058 char *kwnames[] = {
22059 (char *) "self",(char *) "item", NULL
22060 };
22061
22062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22065 if (arg2 == NULL) {
22066 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22067 }
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
22070 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22071
22072 wxPyEndAllowThreads(__tstate);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 }
22075 {
22076 wxTreeItemId * resultptr;
22077 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22078 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22079 }
22080 return resultobj;
22081 fail:
22082 return NULL;
22083 }
22084
22085
22086 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj;
22088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22089 wxTreeItemId *arg2 = 0 ;
22090 wxTreeItemId result;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 char *kwnames[] = {
22094 (char *) "self",(char *) "item", NULL
22095 };
22096
22097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22099 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22100 if (arg2 == NULL) {
22101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22102 }
22103 {
22104 PyThreadState* __tstate = wxPyBeginAllowThreads();
22105 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22106
22107 wxPyEndAllowThreads(__tstate);
22108 if (PyErr_Occurred()) SWIG_fail;
22109 }
22110 {
22111 wxTreeItemId * resultptr;
22112 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22113 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22114 }
22115 return resultobj;
22116 fail:
22117 return NULL;
22118 }
22119
22120
22121 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22122 PyObject *resultobj;
22123 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22124 wxTreeItemId *arg2 = 0 ;
22125 wxTreeItemId result;
22126 PyObject * obj0 = 0 ;
22127 PyObject * obj1 = 0 ;
22128 char *kwnames[] = {
22129 (char *) "self",(char *) "item", NULL
22130 };
22131
22132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22135 if (arg2 == NULL) {
22136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22137 }
22138 {
22139 PyThreadState* __tstate = wxPyBeginAllowThreads();
22140 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22141
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
22145 {
22146 wxTreeItemId * resultptr;
22147 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22148 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22149 }
22150 return resultobj;
22151 fail:
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22159 wxTreeItemId result;
22160 PyObject * obj0 = 0 ;
22161 char *kwnames[] = {
22162 (char *) "self", NULL
22163 };
22164
22165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22167 {
22168 PyThreadState* __tstate = wxPyBeginAllowThreads();
22169 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22170
22171 wxPyEndAllowThreads(__tstate);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 {
22175 wxTreeItemId * resultptr;
22176 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22178 }
22179 return resultobj;
22180 fail:
22181 return NULL;
22182 }
22183
22184
22185 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj;
22187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22188 wxTreeItemId *arg2 = 0 ;
22189 wxTreeItemId result;
22190 PyObject * obj0 = 0 ;
22191 PyObject * obj1 = 0 ;
22192 char *kwnames[] = {
22193 (char *) "self",(char *) "item", NULL
22194 };
22195
22196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22199 if (arg2 == NULL) {
22200 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22201 }
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 {
22210 wxTreeItemId * resultptr;
22211 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22212 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22213 }
22214 return resultobj;
22215 fail:
22216 return NULL;
22217 }
22218
22219
22220 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22221 PyObject *resultobj;
22222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22223 wxTreeItemId *arg2 = 0 ;
22224 wxTreeItemId result;
22225 PyObject * obj0 = 0 ;
22226 PyObject * obj1 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "self",(char *) "item", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22234 if (arg2 == NULL) {
22235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22236 }
22237 {
22238 PyThreadState* __tstate = wxPyBeginAllowThreads();
22239 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22240
22241 wxPyEndAllowThreads(__tstate);
22242 if (PyErr_Occurred()) SWIG_fail;
22243 }
22244 {
22245 wxTreeItemId * resultptr;
22246 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22247 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22248 }
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22258 wxString *arg2 = 0 ;
22259 int arg3 = (int) -1 ;
22260 int arg4 = (int) -1 ;
22261 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22262 wxTreeItemId result;
22263 bool temp2 = false ;
22264 PyObject * obj0 = 0 ;
22265 PyObject * obj1 = 0 ;
22266 PyObject * obj4 = 0 ;
22267 char *kwnames[] = {
22268 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22269 };
22270
22271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22273 {
22274 arg2 = wxString_in_helper(obj1);
22275 if (arg2 == NULL) SWIG_fail;
22276 temp2 = true;
22277 }
22278 if (obj4) {
22279 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22280 }
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 {
22289 wxTreeItemId * resultptr;
22290 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22291 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22292 }
22293 {
22294 if (temp2)
22295 delete arg2;
22296 }
22297 return resultobj;
22298 fail:
22299 {
22300 if (temp2)
22301 delete arg2;
22302 }
22303 return NULL;
22304 }
22305
22306
22307 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj;
22309 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22310 wxTreeItemId *arg2 = 0 ;
22311 wxString *arg3 = 0 ;
22312 int arg4 = (int) -1 ;
22313 int arg5 = (int) -1 ;
22314 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22315 wxTreeItemId result;
22316 bool temp3 = false ;
22317 PyObject * obj0 = 0 ;
22318 PyObject * obj1 = 0 ;
22319 PyObject * obj2 = 0 ;
22320 PyObject * obj5 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22328 if (arg2 == NULL) {
22329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22330 }
22331 {
22332 arg3 = wxString_in_helper(obj2);
22333 if (arg3 == NULL) SWIG_fail;
22334 temp3 = true;
22335 }
22336 if (obj5) {
22337 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22338 }
22339 {
22340 PyThreadState* __tstate = wxPyBeginAllowThreads();
22341 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22342
22343 wxPyEndAllowThreads(__tstate);
22344 if (PyErr_Occurred()) SWIG_fail;
22345 }
22346 {
22347 wxTreeItemId * resultptr;
22348 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22349 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22350 }
22351 {
22352 if (temp3)
22353 delete arg3;
22354 }
22355 return resultobj;
22356 fail:
22357 {
22358 if (temp3)
22359 delete arg3;
22360 }
22361 return NULL;
22362 }
22363
22364
22365 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22366 PyObject *resultobj;
22367 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22368 wxTreeItemId *arg2 = 0 ;
22369 wxTreeItemId *arg3 = 0 ;
22370 wxString *arg4 = 0 ;
22371 int arg5 = (int) -1 ;
22372 int arg6 = (int) -1 ;
22373 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22374 wxTreeItemId result;
22375 bool temp4 = false ;
22376 PyObject * obj0 = 0 ;
22377 PyObject * obj1 = 0 ;
22378 PyObject * obj2 = 0 ;
22379 PyObject * obj3 = 0 ;
22380 PyObject * obj6 = 0 ;
22381 char *kwnames[] = {
22382 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22383 };
22384
22385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22388 if (arg2 == NULL) {
22389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22390 }
22391 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22392 if (arg3 == NULL) {
22393 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22394 }
22395 {
22396 arg4 = wxString_in_helper(obj3);
22397 if (arg4 == NULL) SWIG_fail;
22398 temp4 = true;
22399 }
22400 if (obj6) {
22401 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22402 }
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22406
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 {
22411 wxTreeItemId * resultptr;
22412 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22413 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22414 }
22415 {
22416 if (temp4)
22417 delete arg4;
22418 }
22419 return resultobj;
22420 fail:
22421 {
22422 if (temp4)
22423 delete arg4;
22424 }
22425 return NULL;
22426 }
22427
22428
22429 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22430 PyObject *resultobj;
22431 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22432 wxTreeItemId *arg2 = 0 ;
22433 size_t arg3 ;
22434 wxString *arg4 = 0 ;
22435 int arg5 = (int) -1 ;
22436 int arg6 = (int) -1 ;
22437 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22438 wxTreeItemId result;
22439 bool temp4 = false ;
22440 PyObject * obj0 = 0 ;
22441 PyObject * obj1 = 0 ;
22442 PyObject * obj2 = 0 ;
22443 PyObject * obj3 = 0 ;
22444 PyObject * obj6 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22452 if (arg2 == NULL) {
22453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22454 }
22455 arg3 = (size_t) PyInt_AsLong(obj2);
22456 if (PyErr_Occurred()) SWIG_fail;
22457 {
22458 arg4 = wxString_in_helper(obj3);
22459 if (arg4 == NULL) SWIG_fail;
22460 temp4 = true;
22461 }
22462 if (obj6) {
22463 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22464 }
22465 {
22466 PyThreadState* __tstate = wxPyBeginAllowThreads();
22467 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22468
22469 wxPyEndAllowThreads(__tstate);
22470 if (PyErr_Occurred()) SWIG_fail;
22471 }
22472 {
22473 wxTreeItemId * resultptr;
22474 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22475 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22476 }
22477 {
22478 if (temp4)
22479 delete arg4;
22480 }
22481 return resultobj;
22482 fail:
22483 {
22484 if (temp4)
22485 delete arg4;
22486 }
22487 return NULL;
22488 }
22489
22490
22491 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22492 PyObject *resultobj;
22493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22494 wxTreeItemId *arg2 = 0 ;
22495 wxString *arg3 = 0 ;
22496 int arg4 = (int) -1 ;
22497 int arg5 = (int) -1 ;
22498 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22499 wxTreeItemId result;
22500 bool temp3 = false ;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 PyObject * obj2 = 0 ;
22504 PyObject * obj5 = 0 ;
22505 char *kwnames[] = {
22506 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22507 };
22508
22509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22512 if (arg2 == NULL) {
22513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22514 }
22515 {
22516 arg3 = wxString_in_helper(obj2);
22517 if (arg3 == NULL) SWIG_fail;
22518 temp3 = true;
22519 }
22520 if (obj5) {
22521 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22522 }
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22526
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 {
22531 wxTreeItemId * resultptr;
22532 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22533 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22534 }
22535 {
22536 if (temp3)
22537 delete arg3;
22538 }
22539 return resultobj;
22540 fail:
22541 {
22542 if (temp3)
22543 delete arg3;
22544 }
22545 return NULL;
22546 }
22547
22548
22549 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22550 PyObject *resultobj;
22551 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22552 wxTreeItemId *arg2 = 0 ;
22553 PyObject * obj0 = 0 ;
22554 PyObject * obj1 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self",(char *) "item", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22562 if (arg2 == NULL) {
22563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22564 }
22565 {
22566 PyThreadState* __tstate = wxPyBeginAllowThreads();
22567 (arg1)->Delete((wxTreeItemId const &)*arg2);
22568
22569 wxPyEndAllowThreads(__tstate);
22570 if (PyErr_Occurred()) SWIG_fail;
22571 }
22572 Py_INCREF(Py_None); resultobj = Py_None;
22573 return resultobj;
22574 fail:
22575 return NULL;
22576 }
22577
22578
22579 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22580 PyObject *resultobj;
22581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22582 wxTreeItemId *arg2 = 0 ;
22583 PyObject * obj0 = 0 ;
22584 PyObject * obj1 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self",(char *) "item", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22592 if (arg2 == NULL) {
22593 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22594 }
22595 {
22596 PyThreadState* __tstate = wxPyBeginAllowThreads();
22597 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22598
22599 wxPyEndAllowThreads(__tstate);
22600 if (PyErr_Occurred()) SWIG_fail;
22601 }
22602 Py_INCREF(Py_None); resultobj = Py_None;
22603 return resultobj;
22604 fail:
22605 return NULL;
22606 }
22607
22608
22609 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22610 PyObject *resultobj;
22611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22612 PyObject * obj0 = 0 ;
22613 char *kwnames[] = {
22614 (char *) "self", NULL
22615 };
22616
22617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 (arg1)->DeleteAllItems();
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 Py_INCREF(Py_None); resultobj = Py_None;
22627 return resultobj;
22628 fail:
22629 return NULL;
22630 }
22631
22632
22633 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22634 PyObject *resultobj;
22635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22636 wxTreeItemId *arg2 = 0 ;
22637 PyObject * obj0 = 0 ;
22638 PyObject * obj1 = 0 ;
22639 char *kwnames[] = {
22640 (char *) "self",(char *) "item", NULL
22641 };
22642
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22646 if (arg2 == NULL) {
22647 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22648 }
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 (arg1)->Expand((wxTreeItemId const &)*arg2);
22652
22653 wxPyEndAllowThreads(__tstate);
22654 if (PyErr_Occurred()) SWIG_fail;
22655 }
22656 Py_INCREF(Py_None); resultobj = Py_None;
22657 return resultobj;
22658 fail:
22659 return NULL;
22660 }
22661
22662
22663 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22664 PyObject *resultobj;
22665 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22666 wxTreeItemId *arg2 = 0 ;
22667 PyObject * obj0 = 0 ;
22668 PyObject * obj1 = 0 ;
22669 char *kwnames[] = {
22670 (char *) "self",(char *) "item", NULL
22671 };
22672
22673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22676 if (arg2 == NULL) {
22677 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22678 }
22679 {
22680 PyThreadState* __tstate = wxPyBeginAllowThreads();
22681 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22682
22683 wxPyEndAllowThreads(__tstate);
22684 if (PyErr_Occurred()) SWIG_fail;
22685 }
22686 Py_INCREF(Py_None); resultobj = Py_None;
22687 return resultobj;
22688 fail:
22689 return NULL;
22690 }
22691
22692
22693 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22694 PyObject *resultobj;
22695 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22696 wxTreeItemId *arg2 = 0 ;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self",(char *) "item", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22706 if (arg2 == NULL) {
22707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22708 }
22709 {
22710 PyThreadState* __tstate = wxPyBeginAllowThreads();
22711 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22712
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 Py_INCREF(Py_None); resultobj = Py_None;
22717 return resultobj;
22718 fail:
22719 return NULL;
22720 }
22721
22722
22723 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22724 PyObject *resultobj;
22725 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22726 wxTreeItemId *arg2 = 0 ;
22727 PyObject * obj0 = 0 ;
22728 PyObject * obj1 = 0 ;
22729 char *kwnames[] = {
22730 (char *) "self",(char *) "item", NULL
22731 };
22732
22733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22736 if (arg2 == NULL) {
22737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22738 }
22739 {
22740 PyThreadState* __tstate = wxPyBeginAllowThreads();
22741 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 Py_INCREF(Py_None); resultobj = Py_None;
22747 return resultobj;
22748 fail:
22749 return NULL;
22750 }
22751
22752
22753 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22754 PyObject *resultobj;
22755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22756 PyObject * obj0 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22763 {
22764 PyThreadState* __tstate = wxPyBeginAllowThreads();
22765 (arg1)->Unselect();
22766
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 Py_INCREF(Py_None); resultobj = Py_None;
22771 return resultobj;
22772 fail:
22773 return NULL;
22774 }
22775
22776
22777 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22778 PyObject *resultobj;
22779 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22780 PyObject * obj0 = 0 ;
22781 char *kwnames[] = {
22782 (char *) "self", NULL
22783 };
22784
22785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22787 {
22788 PyThreadState* __tstate = wxPyBeginAllowThreads();
22789 (arg1)->UnselectAll();
22790
22791 wxPyEndAllowThreads(__tstate);
22792 if (PyErr_Occurred()) SWIG_fail;
22793 }
22794 Py_INCREF(Py_None); resultobj = Py_None;
22795 return resultobj;
22796 fail:
22797 return NULL;
22798 }
22799
22800
22801 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22802 PyObject *resultobj;
22803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22804 wxTreeItemId *arg2 = 0 ;
22805 PyObject * obj0 = 0 ;
22806 PyObject * obj1 = 0 ;
22807 char *kwnames[] = {
22808 (char *) "self",(char *) "item", NULL
22809 };
22810
22811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22813 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22814 if (arg2 == NULL) {
22815 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22816 }
22817 {
22818 PyThreadState* __tstate = wxPyBeginAllowThreads();
22819 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22820
22821 wxPyEndAllowThreads(__tstate);
22822 if (PyErr_Occurred()) SWIG_fail;
22823 }
22824 Py_INCREF(Py_None); resultobj = Py_None;
22825 return resultobj;
22826 fail:
22827 return NULL;
22828 }
22829
22830
22831 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22832 PyObject *resultobj;
22833 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22834 wxTreeItemId *arg2 = 0 ;
22835 PyObject * obj0 = 0 ;
22836 PyObject * obj1 = 0 ;
22837 char *kwnames[] = {
22838 (char *) "self",(char *) "item", NULL
22839 };
22840
22841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22844 if (arg2 == NULL) {
22845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22846 }
22847 {
22848 PyThreadState* __tstate = wxPyBeginAllowThreads();
22849 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22850
22851 wxPyEndAllowThreads(__tstate);
22852 if (PyErr_Occurred()) SWIG_fail;
22853 }
22854 Py_INCREF(Py_None); resultobj = Py_None;
22855 return resultobj;
22856 fail:
22857 return NULL;
22858 }
22859
22860
22861 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22862 PyObject *resultobj;
22863 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22864 wxTreeItemId *arg2 = 0 ;
22865 PyObject * obj0 = 0 ;
22866 PyObject * obj1 = 0 ;
22867 char *kwnames[] = {
22868 (char *) "self",(char *) "item", NULL
22869 };
22870
22871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22874 if (arg2 == NULL) {
22875 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22876 }
22877 {
22878 PyThreadState* __tstate = wxPyBeginAllowThreads();
22879 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22880
22881 wxPyEndAllowThreads(__tstate);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 }
22884 Py_INCREF(Py_None); resultobj = Py_None;
22885 return resultobj;
22886 fail:
22887 return NULL;
22888 }
22889
22890
22891 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22892 PyObject *resultobj;
22893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22894 wxTreeItemId *arg2 = 0 ;
22895 PyObject * obj0 = 0 ;
22896 PyObject * obj1 = 0 ;
22897 char *kwnames[] = {
22898 (char *) "self",(char *) "item", NULL
22899 };
22900
22901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,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 if (arg2 == NULL) {
22905 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22906 }
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 Py_INCREF(Py_None); resultobj = Py_None;
22915 return resultobj;
22916 fail:
22917 return NULL;
22918 }
22919
22920
22921 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22924 wxTextCtrl *result;
22925 PyObject * obj0 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22935
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 {
22940 resultobj = wxPyMake_wxObject(result);
22941 }
22942 return resultobj;
22943 fail:
22944 return NULL;
22945 }
22946
22947
22948 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22951 wxTreeItemId *arg2 = 0 ;
22952 bool arg3 = (bool) FALSE ;
22953 PyObject * obj0 = 0 ;
22954 PyObject * obj1 = 0 ;
22955 PyObject * obj2 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
22958 };
22959
22960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
22961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22963 if (arg2 == NULL) {
22964 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22965 }
22966 if (obj2) {
22967 arg3 = PyInt_AsLong(obj2) ? true : false;
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 {
22971 PyThreadState* __tstate = wxPyBeginAllowThreads();
22972 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
22973
22974 wxPyEndAllowThreads(__tstate);
22975 if (PyErr_Occurred()) SWIG_fail;
22976 }
22977 Py_INCREF(Py_None); resultobj = Py_None;
22978 return resultobj;
22979 fail:
22980 return NULL;
22981 }
22982
22983
22984 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22985 PyObject *resultobj;
22986 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22987 wxTreeItemId *arg2 = 0 ;
22988 PyObject * obj0 = 0 ;
22989 PyObject * obj1 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self",(char *) "item", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22997 if (arg2 == NULL) {
22998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22999 }
23000 {
23001 PyThreadState* __tstate = wxPyBeginAllowThreads();
23002 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23003
23004 wxPyEndAllowThreads(__tstate);
23005 if (PyErr_Occurred()) SWIG_fail;
23006 }
23007 Py_INCREF(Py_None); resultobj = Py_None;
23008 return resultobj;
23009 fail:
23010 return NULL;
23011 }
23012
23013
23014 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23015 PyObject *resultobj;
23016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23017 wxPoint *arg2 = 0 ;
23018 int *arg3 = 0 ;
23019 wxTreeItemId result;
23020 wxPoint temp2 ;
23021 int temp3 ;
23022 PyObject * obj0 = 0 ;
23023 PyObject * obj1 = 0 ;
23024 char *kwnames[] = {
23025 (char *) "self",(char *) "point", NULL
23026 };
23027
23028 arg3 = &temp3;
23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23031 {
23032 arg2 = &temp2;
23033 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23034 }
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 {
23043 wxTreeItemId * resultptr;
23044 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23045 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23046 }
23047 {
23048 PyObject *o = PyInt_FromLong((long) (*arg3));
23049 resultobj = t_output_helper(resultobj,o);
23050 }
23051 return resultobj;
23052 fail:
23053 return NULL;
23054 }
23055
23056
23057 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23058 PyObject *resultobj;
23059 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23060 wxTreeItemId *arg2 = 0 ;
23061 bool arg3 = (bool) FALSE ;
23062 PyObject *result;
23063 PyObject * obj0 = 0 ;
23064 PyObject * obj1 = 0 ;
23065 PyObject * obj2 = 0 ;
23066 char *kwnames[] = {
23067 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23068 };
23069
23070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23073 if (arg2 == NULL) {
23074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23075 }
23076 if (obj2) {
23077 arg3 = PyInt_AsLong(obj2) ? true : false;
23078 if (PyErr_Occurred()) SWIG_fail;
23079 }
23080 {
23081 PyThreadState* __tstate = wxPyBeginAllowThreads();
23082 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23083
23084 wxPyEndAllowThreads(__tstate);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 }
23087 resultobj = result;
23088 return resultobj;
23089 fail:
23090 return NULL;
23091 }
23092
23093
23094 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23095 PyObject *obj;
23096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23097 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23098 Py_INCREF(obj);
23099 return Py_BuildValue((char *)"");
23100 }
23101 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23102 PyObject *resultobj;
23103 wxWindow *arg1 = (wxWindow *) 0 ;
23104 wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
23105 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23106 wxString *arg3 = (wxString *) &arg3_defvalue ;
23107 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23108 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23109 wxSize const &arg5_defvalue = wxDefaultSize ;
23110 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23111 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23112 wxString const &arg7_defvalue = wxPyEmptyString ;
23113 wxString *arg7 = (wxString *) &arg7_defvalue ;
23114 int arg8 = (int) 0 ;
23115 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
23116 wxString *arg9 = (wxString *) &arg9_defvalue ;
23117 wxGenericDirCtrl *result;
23118 bool temp3 = false ;
23119 wxPoint temp4 ;
23120 wxSize temp5 ;
23121 bool temp7 = false ;
23122 bool temp9 = false ;
23123 PyObject * obj0 = 0 ;
23124 PyObject * obj2 = 0 ;
23125 PyObject * obj3 = 0 ;
23126 PyObject * obj4 = 0 ;
23127 PyObject * obj6 = 0 ;
23128 PyObject * obj8 = 0 ;
23129 char *kwnames[] = {
23130 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23131 };
23132
23133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23135 if (obj2) {
23136 {
23137 arg3 = wxString_in_helper(obj2);
23138 if (arg3 == NULL) SWIG_fail;
23139 temp3 = true;
23140 }
23141 }
23142 if (obj3) {
23143 {
23144 arg4 = &temp4;
23145 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23146 }
23147 }
23148 if (obj4) {
23149 {
23150 arg5 = &temp5;
23151 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23152 }
23153 }
23154 if (obj6) {
23155 {
23156 arg7 = wxString_in_helper(obj6);
23157 if (arg7 == NULL) SWIG_fail;
23158 temp7 = true;
23159 }
23160 }
23161 if (obj8) {
23162 {
23163 arg9 = wxString_in_helper(obj8);
23164 if (arg9 == NULL) SWIG_fail;
23165 temp9 = true;
23166 }
23167 }
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23171
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23176 {
23177 if (temp3)
23178 delete arg3;
23179 }
23180 {
23181 if (temp7)
23182 delete arg7;
23183 }
23184 {
23185 if (temp9)
23186 delete arg9;
23187 }
23188 return resultobj;
23189 fail:
23190 {
23191 if (temp3)
23192 delete arg3;
23193 }
23194 {
23195 if (temp7)
23196 delete arg7;
23197 }
23198 {
23199 if (temp9)
23200 delete arg9;
23201 }
23202 return NULL;
23203 }
23204
23205
23206 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23207 PyObject *resultobj;
23208 wxGenericDirCtrl *result;
23209 char *kwnames[] = {
23210 NULL
23211 };
23212
23213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23222 return resultobj;
23223 fail:
23224 return NULL;
23225 }
23226
23227
23228 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23229 PyObject *resultobj;
23230 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23231 wxWindow *arg2 = (wxWindow *) 0 ;
23232 wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
23233 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23234 wxString *arg4 = (wxString *) &arg4_defvalue ;
23235 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23236 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23237 wxSize const &arg6_defvalue = wxDefaultSize ;
23238 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23239 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23240 wxString const &arg8_defvalue = wxPyEmptyString ;
23241 wxString *arg8 = (wxString *) &arg8_defvalue ;
23242 int arg9 = (int) 0 ;
23243 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23244 wxString *arg10 = (wxString *) &arg10_defvalue ;
23245 bool result;
23246 bool temp4 = false ;
23247 wxPoint temp5 ;
23248 wxSize temp6 ;
23249 bool temp8 = false ;
23250 bool temp10 = false ;
23251 PyObject * obj0 = 0 ;
23252 PyObject * obj1 = 0 ;
23253 PyObject * obj3 = 0 ;
23254 PyObject * obj4 = 0 ;
23255 PyObject * obj5 = 0 ;
23256 PyObject * obj7 = 0 ;
23257 PyObject * obj9 = 0 ;
23258 char *kwnames[] = {
23259 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23260 };
23261
23262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23265 if (obj3) {
23266 {
23267 arg4 = wxString_in_helper(obj3);
23268 if (arg4 == NULL) SWIG_fail;
23269 temp4 = true;
23270 }
23271 }
23272 if (obj4) {
23273 {
23274 arg5 = &temp5;
23275 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23276 }
23277 }
23278 if (obj5) {
23279 {
23280 arg6 = &temp6;
23281 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23282 }
23283 }
23284 if (obj7) {
23285 {
23286 arg8 = wxString_in_helper(obj7);
23287 if (arg8 == NULL) SWIG_fail;
23288 temp8 = true;
23289 }
23290 }
23291 if (obj9) {
23292 {
23293 arg10 = wxString_in_helper(obj9);
23294 if (arg10 == NULL) SWIG_fail;
23295 temp10 = true;
23296 }
23297 }
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23301
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 resultobj = PyInt_FromLong((long)result);
23306 {
23307 if (temp4)
23308 delete arg4;
23309 }
23310 {
23311 if (temp8)
23312 delete arg8;
23313 }
23314 {
23315 if (temp10)
23316 delete arg10;
23317 }
23318 return resultobj;
23319 fail:
23320 {
23321 if (temp4)
23322 delete arg4;
23323 }
23324 {
23325 if (temp8)
23326 delete arg8;
23327 }
23328 {
23329 if (temp10)
23330 delete arg10;
23331 }
23332 return NULL;
23333 }
23334
23335
23336 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23337 PyObject *resultobj;
23338 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23339 wxString *arg2 = 0 ;
23340 bool result;
23341 bool temp2 = false ;
23342 PyObject * obj0 = 0 ;
23343 PyObject * obj1 = 0 ;
23344 char *kwnames[] = {
23345 (char *) "self",(char *) "path", NULL
23346 };
23347
23348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23350 {
23351 arg2 = wxString_in_helper(obj1);
23352 if (arg2 == NULL) SWIG_fail;
23353 temp2 = true;
23354 }
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
23362 resultobj = PyInt_FromLong((long)result);
23363 {
23364 if (temp2)
23365 delete arg2;
23366 }
23367 return resultobj;
23368 fail:
23369 {
23370 if (temp2)
23371 delete arg2;
23372 }
23373 return NULL;
23374 }
23375
23376
23377 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23378 PyObject *resultobj;
23379 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23380 wxString result;
23381 PyObject * obj0 = 0 ;
23382 char *kwnames[] = {
23383 (char *) "self", NULL
23384 };
23385
23386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23388 {
23389 PyThreadState* __tstate = wxPyBeginAllowThreads();
23390 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23391
23392 wxPyEndAllowThreads(__tstate);
23393 if (PyErr_Occurred()) SWIG_fail;
23394 }
23395 {
23396 #if wxUSE_UNICODE
23397 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23398 #else
23399 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23400 #endif
23401 }
23402 return resultobj;
23403 fail:
23404 return NULL;
23405 }
23406
23407
23408 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23409 PyObject *resultobj;
23410 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23411 wxString *arg2 = 0 ;
23412 bool temp2 = false ;
23413 PyObject * obj0 = 0 ;
23414 PyObject * obj1 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self",(char *) "path", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23421 {
23422 arg2 = wxString_in_helper(obj1);
23423 if (arg2 == NULL) SWIG_fail;
23424 temp2 = true;
23425 }
23426 {
23427 PyThreadState* __tstate = wxPyBeginAllowThreads();
23428 (arg1)->SetDefaultPath((wxString const &)*arg2);
23429
23430 wxPyEndAllowThreads(__tstate);
23431 if (PyErr_Occurred()) SWIG_fail;
23432 }
23433 Py_INCREF(Py_None); resultobj = Py_None;
23434 {
23435 if (temp2)
23436 delete arg2;
23437 }
23438 return resultobj;
23439 fail:
23440 {
23441 if (temp2)
23442 delete arg2;
23443 }
23444 return NULL;
23445 }
23446
23447
23448 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23451 wxString result;
23452 PyObject * obj0 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "self", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
23466 {
23467 #if wxUSE_UNICODE
23468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23469 #else
23470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23471 #endif
23472 }
23473 return resultobj;
23474 fail:
23475 return NULL;
23476 }
23477
23478
23479 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23480 PyObject *resultobj;
23481 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23482 wxString result;
23483 PyObject * obj0 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 {
23498 #if wxUSE_UNICODE
23499 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23500 #else
23501 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23502 #endif
23503 }
23504 return resultobj;
23505 fail:
23506 return NULL;
23507 }
23508
23509
23510 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23511 PyObject *resultobj;
23512 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23513 wxString *arg2 = 0 ;
23514 bool temp2 = false ;
23515 PyObject * obj0 = 0 ;
23516 PyObject * obj1 = 0 ;
23517 char *kwnames[] = {
23518 (char *) "self",(char *) "path", NULL
23519 };
23520
23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23523 {
23524 arg2 = wxString_in_helper(obj1);
23525 if (arg2 == NULL) SWIG_fail;
23526 temp2 = true;
23527 }
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 (arg1)->SetPath((wxString const &)*arg2);
23531
23532 wxPyEndAllowThreads(__tstate);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 }
23535 Py_INCREF(Py_None); resultobj = Py_None;
23536 {
23537 if (temp2)
23538 delete arg2;
23539 }
23540 return resultobj;
23541 fail:
23542 {
23543 if (temp2)
23544 delete arg2;
23545 }
23546 return NULL;
23547 }
23548
23549
23550 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23551 PyObject *resultobj;
23552 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23553 bool arg2 ;
23554 PyObject * obj0 = 0 ;
23555 PyObject * obj1 = 0 ;
23556 char *kwnames[] = {
23557 (char *) "self",(char *) "show", NULL
23558 };
23559
23560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23562 arg2 = PyInt_AsLong(obj1) ? true : false;
23563 if (PyErr_Occurred()) SWIG_fail;
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 (arg1)->ShowHidden(arg2);
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 Py_INCREF(Py_None); resultobj = Py_None;
23572 return resultobj;
23573 fail:
23574 return NULL;
23575 }
23576
23577
23578 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23579 PyObject *resultobj;
23580 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23581 bool result;
23582 PyObject * obj0 = 0 ;
23583 char *kwnames[] = {
23584 (char *) "self", NULL
23585 };
23586
23587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23589 {
23590 PyThreadState* __tstate = wxPyBeginAllowThreads();
23591 result = (bool)(arg1)->GetShowHidden();
23592
23593 wxPyEndAllowThreads(__tstate);
23594 if (PyErr_Occurred()) SWIG_fail;
23595 }
23596 resultobj = PyInt_FromLong((long)result);
23597 return resultobj;
23598 fail:
23599 return NULL;
23600 }
23601
23602
23603 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23604 PyObject *resultobj;
23605 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23606 wxString result;
23607 PyObject * obj0 = 0 ;
23608 char *kwnames[] = {
23609 (char *) "self", NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23614 {
23615 PyThreadState* __tstate = wxPyBeginAllowThreads();
23616 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23617
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 {
23622 #if wxUSE_UNICODE
23623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23624 #else
23625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23626 #endif
23627 }
23628 return resultobj;
23629 fail:
23630 return NULL;
23631 }
23632
23633
23634 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23635 PyObject *resultobj;
23636 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23637 wxString *arg2 = 0 ;
23638 bool temp2 = false ;
23639 PyObject * obj0 = 0 ;
23640 PyObject * obj1 = 0 ;
23641 char *kwnames[] = {
23642 (char *) "self",(char *) "filter", NULL
23643 };
23644
23645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23647 {
23648 arg2 = wxString_in_helper(obj1);
23649 if (arg2 == NULL) SWIG_fail;
23650 temp2 = true;
23651 }
23652 {
23653 PyThreadState* __tstate = wxPyBeginAllowThreads();
23654 (arg1)->SetFilter((wxString const &)*arg2);
23655
23656 wxPyEndAllowThreads(__tstate);
23657 if (PyErr_Occurred()) SWIG_fail;
23658 }
23659 Py_INCREF(Py_None); resultobj = Py_None;
23660 {
23661 if (temp2)
23662 delete arg2;
23663 }
23664 return resultobj;
23665 fail:
23666 {
23667 if (temp2)
23668 delete arg2;
23669 }
23670 return NULL;
23671 }
23672
23673
23674 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23675 PyObject *resultobj;
23676 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23677 int result;
23678 PyObject * obj0 = 0 ;
23679 char *kwnames[] = {
23680 (char *) "self", NULL
23681 };
23682
23683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23685 {
23686 PyThreadState* __tstate = wxPyBeginAllowThreads();
23687 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23688
23689 wxPyEndAllowThreads(__tstate);
23690 if (PyErr_Occurred()) SWIG_fail;
23691 }
23692 resultobj = PyInt_FromLong((long)result);
23693 return resultobj;
23694 fail:
23695 return NULL;
23696 }
23697
23698
23699 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23700 PyObject *resultobj;
23701 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23702 int arg2 ;
23703 PyObject * obj0 = 0 ;
23704 char *kwnames[] = {
23705 (char *) "self",(char *) "n", NULL
23706 };
23707
23708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23710 {
23711 PyThreadState* __tstate = wxPyBeginAllowThreads();
23712 (arg1)->SetFilterIndex(arg2);
23713
23714 wxPyEndAllowThreads(__tstate);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 Py_INCREF(Py_None); resultobj = Py_None;
23718 return resultobj;
23719 fail:
23720 return NULL;
23721 }
23722
23723
23724 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23725 PyObject *resultobj;
23726 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23727 wxTreeItemId result;
23728 PyObject * obj0 = 0 ;
23729 char *kwnames[] = {
23730 (char *) "self", NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 result = (arg1)->GetRootId();
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 {
23743 wxTreeItemId * resultptr;
23744 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23745 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23746 }
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23754 PyObject *resultobj;
23755 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23756 wxTreeCtrl *result;
23757 PyObject * obj0 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 {
23772 resultobj = wxPyMake_wxObject(result);
23773 }
23774 return resultobj;
23775 fail:
23776 return NULL;
23777 }
23778
23779
23780 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23781 PyObject *resultobj;
23782 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23783 wxDirFilterListCtrl *result;
23784 PyObject * obj0 = 0 ;
23785 char *kwnames[] = {
23786 (char *) "self", NULL
23787 };
23788
23789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23799 return resultobj;
23800 fail:
23801 return NULL;
23802 }
23803
23804
23805 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23808 wxTreeItemId arg2 ;
23809 wxString *arg3 = 0 ;
23810 bool *arg4 = 0 ;
23811 wxTreeItemId result;
23812 wxTreeItemId *argp2 ;
23813 bool temp3 = false ;
23814 bool temp4 ;
23815 PyObject * obj0 = 0 ;
23816 PyObject * obj1 = 0 ;
23817 PyObject * obj2 = 0 ;
23818 char *kwnames[] = {
23819 (char *) "self",(char *) "parentId",(char *) "path", NULL
23820 };
23821
23822 arg4 = &temp4;
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23825 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23826 arg2 = *argp2;
23827 {
23828 arg3 = wxString_in_helper(obj2);
23829 if (arg3 == NULL) SWIG_fail;
23830 temp3 = true;
23831 }
23832 {
23833 PyThreadState* __tstate = wxPyBeginAllowThreads();
23834 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23835
23836 wxPyEndAllowThreads(__tstate);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 {
23840 wxTreeItemId * resultptr;
23841 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23842 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23843 }
23844 {
23845 PyObject *o = PyInt_FromLong((long) (*arg4));
23846 resultobj = t_output_helper(resultobj,o);
23847 }
23848 {
23849 if (temp3)
23850 delete arg3;
23851 }
23852 return resultobj;
23853 fail:
23854 {
23855 if (temp3)
23856 delete arg3;
23857 }
23858 return NULL;
23859 }
23860
23861
23862 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23863 PyObject *resultobj;
23864 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23865 PyObject * obj0 = 0 ;
23866 char *kwnames[] = {
23867 (char *) "self", NULL
23868 };
23869
23870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23872 {
23873 PyThreadState* __tstate = wxPyBeginAllowThreads();
23874 (arg1)->DoResize();
23875
23876 wxPyEndAllowThreads(__tstate);
23877 if (PyErr_Occurred()) SWIG_fail;
23878 }
23879 Py_INCREF(Py_None); resultobj = Py_None;
23880 return resultobj;
23881 fail:
23882 return NULL;
23883 }
23884
23885
23886 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23887 PyObject *resultobj;
23888 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23889 PyObject * obj0 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 (arg1)->ReCreateTree();
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 Py_INCREF(Py_None); resultobj = Py_None;
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23911 PyObject *obj;
23912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23913 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23914 Py_INCREF(obj);
23915 return Py_BuildValue((char *)"");
23916 }
23917 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23918 PyObject *resultobj;
23919 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23920 wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
23921 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23922 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23923 wxSize const &arg4_defvalue = wxDefaultSize ;
23924 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23925 long arg5 = (long) 0 ;
23926 wxDirFilterListCtrl *result;
23927 wxPoint temp3 ;
23928 wxSize temp4 ;
23929 PyObject * obj0 = 0 ;
23930 PyObject * obj2 = 0 ;
23931 PyObject * obj3 = 0 ;
23932 char *kwnames[] = {
23933 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23934 };
23935
23936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23938 if (obj2) {
23939 {
23940 arg3 = &temp3;
23941 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23942 }
23943 }
23944 if (obj3) {
23945 {
23946 arg4 = &temp4;
23947 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23948 }
23949 }
23950 {
23951 PyThreadState* __tstate = wxPyBeginAllowThreads();
23952 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23953
23954 wxPyEndAllowThreads(__tstate);
23955 if (PyErr_Occurred()) SWIG_fail;
23956 }
23957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23958 return resultobj;
23959 fail:
23960 return NULL;
23961 }
23962
23963
23964 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23965 PyObject *resultobj;
23966 wxDirFilterListCtrl *result;
23967 char *kwnames[] = {
23968 NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23975
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj;
23988 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23989 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23990 wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
23991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23993 wxSize const &arg5_defvalue = wxDefaultSize ;
23994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23995 long arg6 = (long) 0 ;
23996 bool result;
23997 wxPoint temp4 ;
23998 wxSize temp5 ;
23999 PyObject * obj0 = 0 ;
24000 PyObject * obj1 = 0 ;
24001 PyObject * obj3 = 0 ;
24002 PyObject * obj4 = 0 ;
24003 char *kwnames[] = {
24004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24005 };
24006
24007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24010 if (obj3) {
24011 {
24012 arg4 = &temp4;
24013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24014 }
24015 }
24016 if (obj4) {
24017 {
24018 arg5 = &temp5;
24019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24020 }
24021 }
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 resultobj = PyInt_FromLong((long)result);
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24037 PyObject *resultobj;
24038 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24039 wxString *arg2 = 0 ;
24040 int arg3 ;
24041 bool temp2 = false ;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj1 = 0 ;
24044 char *kwnames[] = {
24045 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24046 };
24047
24048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24050 {
24051 arg2 = wxString_in_helper(obj1);
24052 if (arg2 == NULL) SWIG_fail;
24053 temp2 = true;
24054 }
24055 {
24056 PyThreadState* __tstate = wxPyBeginAllowThreads();
24057 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24058
24059 wxPyEndAllowThreads(__tstate);
24060 if (PyErr_Occurred()) SWIG_fail;
24061 }
24062 Py_INCREF(Py_None); resultobj = Py_None;
24063 {
24064 if (temp2)
24065 delete arg2;
24066 }
24067 return resultobj;
24068 fail:
24069 {
24070 if (temp2)
24071 delete arg2;
24072 }
24073 return NULL;
24074 }
24075
24076
24077 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24078 PyObject *obj;
24079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24080 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24081 Py_INCREF(obj);
24082 return Py_BuildValue((char *)"");
24083 }
24084 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24085 PyObject *resultobj;
24086 wxWindow *arg1 = (wxWindow *) 0 ;
24087 wxWindowID arg2 ;
24088 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24089 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24090 wxSize const &arg4_defvalue = wxDefaultSize ;
24091 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24092 long arg5 = (long) 0 ;
24093 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24094 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24095 wxString const &arg7_defvalue = wxPyControlNameStr ;
24096 wxString *arg7 = (wxString *) &arg7_defvalue ;
24097 wxPyControl *result;
24098 wxPoint temp3 ;
24099 wxSize temp4 ;
24100 bool temp7 = false ;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj2 = 0 ;
24103 PyObject * obj3 = 0 ;
24104 PyObject * obj5 = 0 ;
24105 PyObject * obj6 = 0 ;
24106 char *kwnames[] = {
24107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24108 };
24109
24110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24112 if (obj2) {
24113 {
24114 arg3 = &temp3;
24115 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24116 }
24117 }
24118 if (obj3) {
24119 {
24120 arg4 = &temp4;
24121 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24122 }
24123 }
24124 if (obj5) {
24125 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24126 if (arg6 == NULL) {
24127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24128 }
24129 }
24130 if (obj6) {
24131 {
24132 arg7 = wxString_in_helper(obj6);
24133 if (arg7 == NULL) SWIG_fail;
24134 temp7 = true;
24135 }
24136 }
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24145 {
24146 if (temp7)
24147 delete arg7;
24148 }
24149 return resultobj;
24150 fail:
24151 {
24152 if (temp7)
24153 delete arg7;
24154 }
24155 return NULL;
24156 }
24157
24158
24159 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24160 PyObject *resultobj;
24161 wxPyControl *arg1 = (wxPyControl *) 0 ;
24162 PyObject *arg2 = (PyObject *) 0 ;
24163 PyObject *arg3 = (PyObject *) 0 ;
24164 PyObject * obj0 = 0 ;
24165 PyObject * obj1 = 0 ;
24166 PyObject * obj2 = 0 ;
24167 char *kwnames[] = {
24168 (char *) "self",(char *) "self",(char *) "_class", NULL
24169 };
24170
24171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24173 arg2 = obj1;
24174 arg3 = obj2;
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 (arg1)->_setCallbackInfo(arg2,arg3);
24178
24179 wxPyEndAllowThreads(__tstate);
24180 if (PyErr_Occurred()) SWIG_fail;
24181 }
24182 Py_INCREF(Py_None); resultobj = Py_None;
24183 return resultobj;
24184 fail:
24185 return NULL;
24186 }
24187
24188
24189 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24190 PyObject *resultobj;
24191 wxPyControl *arg1 = (wxPyControl *) 0 ;
24192 int arg2 ;
24193 int arg3 ;
24194 int arg4 ;
24195 int arg5 ;
24196 PyObject * obj0 = 0 ;
24197 char *kwnames[] = {
24198 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24199 };
24200
24201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24206
24207 wxPyEndAllowThreads(__tstate);
24208 if (PyErr_Occurred()) SWIG_fail;
24209 }
24210 Py_INCREF(Py_None); resultobj = Py_None;
24211 return resultobj;
24212 fail:
24213 return NULL;
24214 }
24215
24216
24217 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyControl *arg1 = (wxPyControl *) 0 ;
24220 int arg2 ;
24221 int arg3 ;
24222 int arg4 ;
24223 int arg5 ;
24224 int arg6 = (int) wxSIZE_AUTO ;
24225 PyObject * obj0 = 0 ;
24226 char *kwnames[] = {
24227 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24228 };
24229
24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 Py_INCREF(Py_None); resultobj = Py_None;
24240 return resultobj;
24241 fail:
24242 return NULL;
24243 }
24244
24245
24246 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxPyControl *arg1 = (wxPyControl *) 0 ;
24249 int arg2 ;
24250 int arg3 ;
24251 PyObject * obj0 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "self",(char *) "width",(char *) "height", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24258 {
24259 PyThreadState* __tstate = wxPyBeginAllowThreads();
24260 (arg1)->base_DoSetClientSize(arg2,arg3);
24261
24262 wxPyEndAllowThreads(__tstate);
24263 if (PyErr_Occurred()) SWIG_fail;
24264 }
24265 Py_INCREF(Py_None); resultobj = Py_None;
24266 return resultobj;
24267 fail:
24268 return NULL;
24269 }
24270
24271
24272 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24273 PyObject *resultobj;
24274 wxPyControl *arg1 = (wxPyControl *) 0 ;
24275 int arg2 ;
24276 int arg3 ;
24277 PyObject * obj0 = 0 ;
24278 char *kwnames[] = {
24279 (char *) "self",(char *) "x",(char *) "y", NULL
24280 };
24281
24282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24284 {
24285 PyThreadState* __tstate = wxPyBeginAllowThreads();
24286 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24287
24288 wxPyEndAllowThreads(__tstate);
24289 if (PyErr_Occurred()) SWIG_fail;
24290 }
24291 Py_INCREF(Py_None); resultobj = Py_None;
24292 return resultobj;
24293 fail:
24294 return NULL;
24295 }
24296
24297
24298 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24299 PyObject *resultobj;
24300 wxPyControl *arg1 = (wxPyControl *) 0 ;
24301 int *arg2 = (int *) 0 ;
24302 int *arg3 = (int *) 0 ;
24303 int temp2 ;
24304 int temp3 ;
24305 PyObject * obj0 = 0 ;
24306 char *kwnames[] = {
24307 (char *) "self", NULL
24308 };
24309
24310 arg2 = &temp2;
24311 arg3 = &temp3;
24312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24317
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 Py_INCREF(Py_None); resultobj = Py_None;
24322 {
24323 PyObject *o = PyInt_FromLong((long) (*arg2));
24324 resultobj = t_output_helper(resultobj,o);
24325 }
24326 {
24327 PyObject *o = PyInt_FromLong((long) (*arg3));
24328 resultobj = t_output_helper(resultobj,o);
24329 }
24330 return resultobj;
24331 fail:
24332 return NULL;
24333 }
24334
24335
24336 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24337 PyObject *resultobj;
24338 wxPyControl *arg1 = (wxPyControl *) 0 ;
24339 int *arg2 = (int *) 0 ;
24340 int *arg3 = (int *) 0 ;
24341 int temp2 ;
24342 int temp3 ;
24343 PyObject * obj0 = 0 ;
24344 char *kwnames[] = {
24345 (char *) "self", NULL
24346 };
24347
24348 arg2 = &temp2;
24349 arg3 = &temp3;
24350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
24359 Py_INCREF(Py_None); resultobj = Py_None;
24360 {
24361 PyObject *o = PyInt_FromLong((long) (*arg2));
24362 resultobj = t_output_helper(resultobj,o);
24363 }
24364 {
24365 PyObject *o = PyInt_FromLong((long) (*arg3));
24366 resultobj = t_output_helper(resultobj,o);
24367 }
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24375 PyObject *resultobj;
24376 wxPyControl *arg1 = (wxPyControl *) 0 ;
24377 int *arg2 = (int *) 0 ;
24378 int *arg3 = (int *) 0 ;
24379 int temp2 ;
24380 int temp3 ;
24381 PyObject * obj0 = 0 ;
24382 char *kwnames[] = {
24383 (char *) "self", NULL
24384 };
24385
24386 arg2 = &temp2;
24387 arg3 = &temp3;
24388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 Py_INCREF(Py_None); resultobj = Py_None;
24398 {
24399 PyObject *o = PyInt_FromLong((long) (*arg2));
24400 resultobj = t_output_helper(resultobj,o);
24401 }
24402 {
24403 PyObject *o = PyInt_FromLong((long) (*arg3));
24404 resultobj = t_output_helper(resultobj,o);
24405 }
24406 return resultobj;
24407 fail:
24408 return NULL;
24409 }
24410
24411
24412 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24413 PyObject *resultobj;
24414 wxPyControl *arg1 = (wxPyControl *) 0 ;
24415 wxSize result;
24416 PyObject * obj0 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "self", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24426
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 {
24431 wxSize * resultptr;
24432 resultptr = new wxSize((wxSize &) result);
24433 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24434 }
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxPyControl *arg1 = (wxPyControl *) 0 ;
24444 wxSize result;
24445 PyObject * obj0 = 0 ;
24446 char *kwnames[] = {
24447 (char *) "self", NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 {
24460 wxSize * resultptr;
24461 resultptr = new wxSize((wxSize &) result);
24462 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24463 }
24464 return resultobj;
24465 fail:
24466 return NULL;
24467 }
24468
24469
24470 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj;
24472 wxPyControl *arg1 = (wxPyControl *) 0 ;
24473 PyObject * obj0 = 0 ;
24474 char *kwnames[] = {
24475 (char *) "self", NULL
24476 };
24477
24478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24480 {
24481 PyThreadState* __tstate = wxPyBeginAllowThreads();
24482 (arg1)->base_InitDialog();
24483
24484 wxPyEndAllowThreads(__tstate);
24485 if (PyErr_Occurred()) SWIG_fail;
24486 }
24487 Py_INCREF(Py_None); resultobj = Py_None;
24488 return resultobj;
24489 fail:
24490 return NULL;
24491 }
24492
24493
24494 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24495 PyObject *resultobj;
24496 wxPyControl *arg1 = (wxPyControl *) 0 ;
24497 bool result;
24498 PyObject * obj0 = 0 ;
24499 char *kwnames[] = {
24500 (char *) "self", NULL
24501 };
24502
24503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24505 {
24506 PyThreadState* __tstate = wxPyBeginAllowThreads();
24507 result = (bool)(arg1)->base_TransferDataToWindow();
24508
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 resultobj = PyInt_FromLong((long)result);
24513 return resultobj;
24514 fail:
24515 return NULL;
24516 }
24517
24518
24519 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24520 PyObject *resultobj;
24521 wxPyControl *arg1 = (wxPyControl *) 0 ;
24522 bool result;
24523 PyObject * obj0 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 result = (bool)(arg1)->base_TransferDataFromWindow();
24533
24534 wxPyEndAllowThreads(__tstate);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 resultobj = PyInt_FromLong((long)result);
24538 return resultobj;
24539 fail:
24540 return NULL;
24541 }
24542
24543
24544 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24545 PyObject *resultobj;
24546 wxPyControl *arg1 = (wxPyControl *) 0 ;
24547 bool result;
24548 PyObject * obj0 = 0 ;
24549 char *kwnames[] = {
24550 (char *) "self", NULL
24551 };
24552
24553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 result = (bool)(arg1)->base_Validate();
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 resultobj = PyInt_FromLong((long)result);
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxPyControl *arg1 = (wxPyControl *) 0 ;
24572 bool result;
24573 PyObject * obj0 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "self", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24580 {
24581 PyThreadState* __tstate = wxPyBeginAllowThreads();
24582 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24583
24584 wxPyEndAllowThreads(__tstate);
24585 if (PyErr_Occurred()) SWIG_fail;
24586 }
24587 resultobj = PyInt_FromLong((long)result);
24588 return resultobj;
24589 fail:
24590 return NULL;
24591 }
24592
24593
24594 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24595 PyObject *resultobj;
24596 wxPyControl *arg1 = (wxPyControl *) 0 ;
24597 bool result;
24598 PyObject * obj0 = 0 ;
24599 char *kwnames[] = {
24600 (char *) "self", NULL
24601 };
24602
24603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24608
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 resultobj = PyInt_FromLong((long)result);
24613 return resultobj;
24614 fail:
24615 return NULL;
24616 }
24617
24618
24619 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24620 PyObject *resultobj;
24621 wxPyControl *arg1 = (wxPyControl *) 0 ;
24622 wxSize result;
24623 PyObject * obj0 = 0 ;
24624 char *kwnames[] = {
24625 (char *) "self", NULL
24626 };
24627
24628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24630 {
24631 PyThreadState* __tstate = wxPyBeginAllowThreads();
24632 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24633
24634 wxPyEndAllowThreads(__tstate);
24635 if (PyErr_Occurred()) SWIG_fail;
24636 }
24637 {
24638 wxSize * resultptr;
24639 resultptr = new wxSize((wxSize &) result);
24640 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24641 }
24642 return resultobj;
24643 fail:
24644 return NULL;
24645 }
24646
24647
24648 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj;
24650 wxPyControl *arg1 = (wxPyControl *) 0 ;
24651 wxWindow *arg2 = (wxWindow *) 0 ;
24652 PyObject * obj0 = 0 ;
24653 PyObject * obj1 = 0 ;
24654 char *kwnames[] = {
24655 (char *) "self",(char *) "child", NULL
24656 };
24657
24658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24661 {
24662 PyThreadState* __tstate = wxPyBeginAllowThreads();
24663 (arg1)->base_AddChild(arg2);
24664
24665 wxPyEndAllowThreads(__tstate);
24666 if (PyErr_Occurred()) SWIG_fail;
24667 }
24668 Py_INCREF(Py_None); resultobj = Py_None;
24669 return resultobj;
24670 fail:
24671 return NULL;
24672 }
24673
24674
24675 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24676 PyObject *resultobj;
24677 wxPyControl *arg1 = (wxPyControl *) 0 ;
24678 wxWindow *arg2 = (wxWindow *) 0 ;
24679 PyObject * obj0 = 0 ;
24680 PyObject * obj1 = 0 ;
24681 char *kwnames[] = {
24682 (char *) "self",(char *) "child", NULL
24683 };
24684
24685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24688 {
24689 PyThreadState* __tstate = wxPyBeginAllowThreads();
24690 (arg1)->base_RemoveChild(arg2);
24691
24692 wxPyEndAllowThreads(__tstate);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 }
24695 Py_INCREF(Py_None); resultobj = Py_None;
24696 return resultobj;
24697 fail:
24698 return NULL;
24699 }
24700
24701
24702 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24703 PyObject *obj;
24704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24705 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24706 Py_INCREF(obj);
24707 return Py_BuildValue((char *)"");
24708 }
24709 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24710 PyObject *resultobj;
24711 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24712 wxWindowID arg2 = (wxWindowID) 0 ;
24713 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24714 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24715 wxHelpEvent *result;
24716 wxPoint temp3 ;
24717 PyObject * obj2 = 0 ;
24718 char *kwnames[] = {
24719 (char *) "type",(char *) "winid",(char *) "pt", NULL
24720 };
24721
24722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24723 if (obj2) {
24724 {
24725 arg3 = &temp3;
24726 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24727 }
24728 }
24729 {
24730 PyThreadState* __tstate = wxPyBeginAllowThreads();
24731 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24732
24733 wxPyEndAllowThreads(__tstate);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 }
24736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24737 return resultobj;
24738 fail:
24739 return NULL;
24740 }
24741
24742
24743 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24744 PyObject *resultobj;
24745 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24746 wxPoint *result;
24747 PyObject * obj0 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24754 {
24755 PyThreadState* __tstate = wxPyBeginAllowThreads();
24756 {
24757 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24758 result = (wxPoint *) &_result_ref;
24759 }
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24765 return resultobj;
24766 fail:
24767 return NULL;
24768 }
24769
24770
24771 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24772 PyObject *resultobj;
24773 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24774 wxPoint *arg2 = 0 ;
24775 wxPoint temp2 ;
24776 PyObject * obj0 = 0 ;
24777 PyObject * obj1 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "self",(char *) "pos", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24784 {
24785 arg2 = &temp2;
24786 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24787 }
24788 {
24789 PyThreadState* __tstate = wxPyBeginAllowThreads();
24790 (arg1)->SetPosition((wxPoint const &)*arg2);
24791
24792 wxPyEndAllowThreads(__tstate);
24793 if (PyErr_Occurred()) SWIG_fail;
24794 }
24795 Py_INCREF(Py_None); resultobj = Py_None;
24796 return resultobj;
24797 fail:
24798 return NULL;
24799 }
24800
24801
24802 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24803 PyObject *resultobj;
24804 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24805 wxString *result;
24806 PyObject * obj0 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 {
24816 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24817 result = (wxString *) &_result_ref;
24818 }
24819
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24824 return resultobj;
24825 fail:
24826 return NULL;
24827 }
24828
24829
24830 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj;
24832 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24833 wxString *arg2 = 0 ;
24834 bool temp2 = false ;
24835 PyObject * obj0 = 0 ;
24836 PyObject * obj1 = 0 ;
24837 char *kwnames[] = {
24838 (char *) "self",(char *) "link", NULL
24839 };
24840
24841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24843 {
24844 arg2 = wxString_in_helper(obj1);
24845 if (arg2 == NULL) SWIG_fail;
24846 temp2 = true;
24847 }
24848 {
24849 PyThreadState* __tstate = wxPyBeginAllowThreads();
24850 (arg1)->SetLink((wxString const &)*arg2);
24851
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 Py_INCREF(Py_None); resultobj = Py_None;
24856 {
24857 if (temp2)
24858 delete arg2;
24859 }
24860 return resultobj;
24861 fail:
24862 {
24863 if (temp2)
24864 delete arg2;
24865 }
24866 return NULL;
24867 }
24868
24869
24870 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24871 PyObject *resultobj;
24872 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24873 wxString *result;
24874 PyObject * obj0 = 0 ;
24875 char *kwnames[] = {
24876 (char *) "self", NULL
24877 };
24878
24879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 {
24884 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24885 result = (wxString *) &_result_ref;
24886 }
24887
24888 wxPyEndAllowThreads(__tstate);
24889 if (PyErr_Occurred()) SWIG_fail;
24890 }
24891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24892 return resultobj;
24893 fail:
24894 return NULL;
24895 }
24896
24897
24898 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24899 PyObject *resultobj;
24900 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24901 wxString *arg2 = 0 ;
24902 bool temp2 = false ;
24903 PyObject * obj0 = 0 ;
24904 PyObject * obj1 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self",(char *) "target", NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24911 {
24912 arg2 = wxString_in_helper(obj1);
24913 if (arg2 == NULL) SWIG_fail;
24914 temp2 = true;
24915 }
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->SetTarget((wxString const &)*arg2);
24919
24920 wxPyEndAllowThreads(__tstate);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 Py_INCREF(Py_None); resultobj = Py_None;
24924 {
24925 if (temp2)
24926 delete arg2;
24927 }
24928 return resultobj;
24929 fail:
24930 {
24931 if (temp2)
24932 delete arg2;
24933 }
24934 return NULL;
24935 }
24936
24937
24938 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24939 PyObject *obj;
24940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24941 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24942 Py_INCREF(obj);
24943 return Py_BuildValue((char *)"");
24944 }
24945 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj;
24947 wxWindow *arg1 = (wxWindow *) NULL ;
24948 bool arg2 = (bool) TRUE ;
24949 wxContextHelp *result;
24950 PyObject * obj0 = 0 ;
24951 PyObject * obj1 = 0 ;
24952 char *kwnames[] = {
24953 (char *) "window",(char *) "doNow", NULL
24954 };
24955
24956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24957 if (obj0) {
24958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24959 }
24960 if (obj1) {
24961 arg2 = PyInt_AsLong(obj1) ? true : false;
24962 if (PyErr_Occurred()) SWIG_fail;
24963 }
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24972 return resultobj;
24973 fail:
24974 return NULL;
24975 }
24976
24977
24978 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24979 PyObject *resultobj;
24980 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24981 PyObject * obj0 = 0 ;
24982 char *kwnames[] = {
24983 (char *) "self", NULL
24984 };
24985
24986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 delete arg1;
24991
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 Py_INCREF(Py_None); resultobj = Py_None;
24996 return resultobj;
24997 fail:
24998 return NULL;
24999 }
25000
25001
25002 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25003 PyObject *resultobj;
25004 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25005 wxWindow *arg2 = (wxWindow *) NULL ;
25006 bool result;
25007 PyObject * obj0 = 0 ;
25008 PyObject * obj1 = 0 ;
25009 char *kwnames[] = {
25010 (char *) "self",(char *) "window", NULL
25011 };
25012
25013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25015 if (obj1) {
25016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25017 }
25018 {
25019 PyThreadState* __tstate = wxPyBeginAllowThreads();
25020 result = (bool)(arg1)->BeginContextHelp(arg2);
25021
25022 wxPyEndAllowThreads(__tstate);
25023 if (PyErr_Occurred()) SWIG_fail;
25024 }
25025 resultobj = PyInt_FromLong((long)result);
25026 return resultobj;
25027 fail:
25028 return NULL;
25029 }
25030
25031
25032 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25033 PyObject *resultobj;
25034 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25035 bool result;
25036 PyObject * obj0 = 0 ;
25037 char *kwnames[] = {
25038 (char *) "self", NULL
25039 };
25040
25041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25043 {
25044 PyThreadState* __tstate = wxPyBeginAllowThreads();
25045 result = (bool)(arg1)->EndContextHelp();
25046
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 resultobj = PyInt_FromLong((long)result);
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25058 PyObject *obj;
25059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25060 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25061 Py_INCREF(obj);
25062 return Py_BuildValue((char *)"");
25063 }
25064 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25065 PyObject *resultobj;
25066 wxWindow *arg1 = (wxWindow *) 0 ;
25067 wxWindowID arg2 = (wxWindowID) wxID_CONTEXT_HELP ;
25068 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25069 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25070 wxSize const &arg4_defvalue = wxDefaultSize ;
25071 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25072 long arg5 = (long) wxBU_AUTODRAW ;
25073 wxContextHelpButton *result;
25074 wxPoint temp3 ;
25075 wxSize temp4 ;
25076 PyObject * obj0 = 0 ;
25077 PyObject * obj2 = 0 ;
25078 PyObject * obj3 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25085 if (obj2) {
25086 {
25087 arg3 = &temp3;
25088 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25089 }
25090 }
25091 if (obj3) {
25092 {
25093 arg4 = &temp4;
25094 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25095 }
25096 }
25097 {
25098 PyThreadState* __tstate = wxPyBeginAllowThreads();
25099 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25100
25101 wxPyEndAllowThreads(__tstate);
25102 if (PyErr_Occurred()) SWIG_fail;
25103 }
25104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25105 return resultobj;
25106 fail:
25107 return NULL;
25108 }
25109
25110
25111 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25112 PyObject *obj;
25113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25114 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25115 Py_INCREF(obj);
25116 return Py_BuildValue((char *)"");
25117 }
25118 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25119 PyObject *resultobj;
25120 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25121 wxHelpProvider *result;
25122 PyObject * obj0 = 0 ;
25123 char *kwnames[] = {
25124 (char *) "helpProvider", NULL
25125 };
25126
25127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25129 {
25130 PyThreadState* __tstate = wxPyBeginAllowThreads();
25131 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25132
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25137 return resultobj;
25138 fail:
25139 return NULL;
25140 }
25141
25142
25143 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25144 PyObject *resultobj;
25145 wxHelpProvider *result;
25146 char *kwnames[] = {
25147 NULL
25148 };
25149
25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25151 {
25152 PyThreadState* __tstate = wxPyBeginAllowThreads();
25153 result = (wxHelpProvider *)wxHelpProvider::Get();
25154
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25159 return resultobj;
25160 fail:
25161 return NULL;
25162 }
25163
25164
25165 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25166 PyObject *resultobj;
25167 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25168 wxWindow *arg2 = (wxWindow *) 0 ;
25169 wxString result;
25170 PyObject * obj0 = 0 ;
25171 PyObject * obj1 = 0 ;
25172 char *kwnames[] = {
25173 (char *) "self",(char *) "window", NULL
25174 };
25175
25176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 result = (arg1)->GetHelp((wxWindow const *)arg2);
25182
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 {
25187 #if wxUSE_UNICODE
25188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25189 #else
25190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25191 #endif
25192 }
25193 return resultobj;
25194 fail:
25195 return NULL;
25196 }
25197
25198
25199 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25200 PyObject *resultobj;
25201 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25202 wxWindow *arg2 = (wxWindow *) 0 ;
25203 bool result;
25204 PyObject * obj0 = 0 ;
25205 PyObject * obj1 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self",(char *) "window", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 result = (bool)(arg1)->ShowHelp(arg2);
25216
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 resultobj = PyInt_FromLong((long)result);
25221 return resultobj;
25222 fail:
25223 return NULL;
25224 }
25225
25226
25227 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25228 PyObject *resultobj;
25229 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25230 wxWindow *arg2 = (wxWindow *) 0 ;
25231 wxString *arg3 = 0 ;
25232 bool temp3 = false ;
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 PyObject * obj2 = 0 ;
25236 char *kwnames[] = {
25237 (char *) "self",(char *) "window",(char *) "text", NULL
25238 };
25239
25240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25243 {
25244 arg3 = wxString_in_helper(obj2);
25245 if (arg3 == NULL) SWIG_fail;
25246 temp3 = true;
25247 }
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25251
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 Py_INCREF(Py_None); resultobj = Py_None;
25256 {
25257 if (temp3)
25258 delete arg3;
25259 }
25260 return resultobj;
25261 fail:
25262 {
25263 if (temp3)
25264 delete arg3;
25265 }
25266 return NULL;
25267 }
25268
25269
25270 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25271 PyObject *resultobj;
25272 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25273 wxWindowID arg2 ;
25274 wxString *arg3 = 0 ;
25275 bool temp3 = false ;
25276 PyObject * obj0 = 0 ;
25277 PyObject * obj2 = 0 ;
25278 char *kwnames[] = {
25279 (char *) "self",(char *) "id",(char *) "text", NULL
25280 };
25281
25282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25284 {
25285 arg3 = wxString_in_helper(obj2);
25286 if (arg3 == NULL) SWIG_fail;
25287 temp3 = true;
25288 }
25289 {
25290 PyThreadState* __tstate = wxPyBeginAllowThreads();
25291 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25292
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 Py_INCREF(Py_None); resultobj = Py_None;
25297 {
25298 if (temp3)
25299 delete arg3;
25300 }
25301 return resultobj;
25302 fail:
25303 {
25304 if (temp3)
25305 delete arg3;
25306 }
25307 return NULL;
25308 }
25309
25310
25311 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25312 PyObject *resultobj;
25313 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25314 PyObject * obj0 = 0 ;
25315 char *kwnames[] = {
25316 (char *) "self", NULL
25317 };
25318
25319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25321 {
25322 PyThreadState* __tstate = wxPyBeginAllowThreads();
25323 wxHelpProvider_Destroy(arg1);
25324
25325 wxPyEndAllowThreads(__tstate);
25326 if (PyErr_Occurred()) SWIG_fail;
25327 }
25328 Py_INCREF(Py_None); resultobj = Py_None;
25329 return resultobj;
25330 fail:
25331 return NULL;
25332 }
25333
25334
25335 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25336 PyObject *obj;
25337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25338 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25339 Py_INCREF(obj);
25340 return Py_BuildValue((char *)"");
25341 }
25342 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj;
25344 wxSimpleHelpProvider *result;
25345 char *kwnames[] = {
25346 NULL
25347 };
25348
25349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25358 return resultobj;
25359 fail:
25360 return NULL;
25361 }
25362
25363
25364 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25365 PyObject *obj;
25366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25367 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25368 Py_INCREF(obj);
25369 return Py_BuildValue((char *)"");
25370 }
25371 static PyMethodDef SwigMethods[] = {
25372 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25380 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25395 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25406 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25415 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25427 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25432 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25445 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25449 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25453 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25454 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25455 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25458 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25459 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25461 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25462 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25464 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25465 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25466 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25469 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25470 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25471 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25472 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25473 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25475 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25476 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25479 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25481 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25482 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25483 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25485 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25488 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25494 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25495 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25496 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25497 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25499 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25503 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25504 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25505 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25506 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25507 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25508 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25509 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25510 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25511 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25512 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25513 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25514 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25515 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25516 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25518 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25523 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25529 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25532 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25533 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25536 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25538 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25540 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25541 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25544 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25546 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25553 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25554 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25555 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25558 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25578 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25580 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
25581 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
25583 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
25594 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25598 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
25605 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
25606 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
25607 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
25608 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
25613 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
25615 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
25617 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25632 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
25634 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
25640 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
25653 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
25665 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
25671 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
25672 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
25681 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
25685 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
25689 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25690 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
25692 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
25694 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
25697 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
25698 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
25700 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25702 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
25703 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
25704 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
25708 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
25710 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
25711 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
25712 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
25715 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
25717 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
25718 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25720 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
25721 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
25722 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
25723 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25724 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25725 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
25726 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
25727 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
25728 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
25729 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25730 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
25731 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
25732 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
25733 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25734 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
25735 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
25736 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
25737 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
25738 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25739 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25740 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25741 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
25742 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
25743 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
25744 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
25745 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
25746 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25747 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
25748 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
25749 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25750 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25751 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
25752 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
25753 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
25754 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
25755 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
25756 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
25757 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
25758 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
25759 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
25760 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
25761 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
25762 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
25763 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
25764 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
25765 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
25766 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
25767 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
25768 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
25769 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
25770 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
25771 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25772 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
25773 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
25774 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
25775 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
25776 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
25777 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25778 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25779 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25780 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25781 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25782 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
25783 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
25784 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25785 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
25786 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
25787 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
25788 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25789 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
25790 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
25791 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
25792 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
25793 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25794 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25795 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
25799 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
25800 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
25804 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
25805 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25806 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25807 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25811 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25812 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25814 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
25815 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
25816 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
25817 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
25818 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
25820 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
25821 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
25822 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
25825 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
25826 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
25827 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
25835 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
25866 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
25868 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
25895 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
25965 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
25977 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
25985 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
25992 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26007 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26081 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26103 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26108 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26129 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26137 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26142 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26144 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26152 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26154 { NULL, NULL }
26155 };
26156
26157
26158 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26159
26160 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26161 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26162 }
26163 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26164 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26165 }
26166 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26167 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26168 }
26169 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26170 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26171 }
26172 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26173 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26174 }
26175 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26176 return (void *)((wxSizer *) ((wxGridSizer *) x));
26177 }
26178 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26179 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26180 }
26181 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26182 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26183 }
26184 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26185 return (void *)((wxSizer *) ((wxPySizer *) x));
26186 }
26187 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26188 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26189 }
26190 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26191 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26192 }
26193 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26194 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26195 }
26196 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26197 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26198 }
26199 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26200 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26201 }
26202 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26203 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26204 }
26205 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26206 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26207 }
26208 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26209 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26210 }
26211 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26212 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26213 }
26214 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26215 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26216 }
26217 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26218 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26219 }
26220 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26221 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26222 }
26223 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26224 return (void *)((wxEvent *) ((wxPyEvent *) x));
26225 }
26226 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26227 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26228 }
26229 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26230 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26231 }
26232 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26233 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26234 }
26235 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26236 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26237 }
26238 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26239 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26240 }
26241 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26242 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26243 }
26244 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26245 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26246 }
26247 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26248 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26249 }
26250 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26251 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26252 }
26253 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26254 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26255 }
26256 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26257 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26258 }
26259 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26260 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26261 }
26262 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26263 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26264 }
26265 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26266 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26267 }
26268 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26269 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26270 }
26271 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26273 }
26274 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26275 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26276 }
26277 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26278 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26279 }
26280 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26281 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26282 }
26283 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26284 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26285 }
26286 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26287 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26288 }
26289 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26290 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26291 }
26292 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26293 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26294 }
26295 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26296 return (void *)((wxEvent *) ((wxShowEvent *) x));
26297 }
26298 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26299 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26300 }
26301 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26302 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26303 }
26304 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26305 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26306 }
26307 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26308 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26309 }
26310 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26311 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26312 }
26313 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26314 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26315 }
26316 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26317 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
26318 }
26319 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26320 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26321 }
26322 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26323 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26324 }
26325 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26326 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26327 }
26328 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26329 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26330 }
26331 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26332 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26333 }
26334 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26335 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26336 }
26337 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26338 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26339 }
26340 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26341 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26342 }
26343 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26344 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26345 }
26346 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26347 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26348 }
26349 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26350 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26351 }
26352 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26353 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
26354 }
26355 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26356 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26357 }
26358 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26359 return (void *)((wxControl *) ((wxStaticBox *) x));
26360 }
26361 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26362 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26363 }
26364 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26365 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26366 }
26367 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26368 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26369 }
26370 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26371 return (void *)((wxControl *) ((wxScrollBar *) x));
26372 }
26373 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26374 return (void *)((wxControl *) ((wxBookCtrl *) x));
26375 }
26376 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26377 return (void *)((wxControl *) ((wxRadioButton *) x));
26378 }
26379 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26380 return (void *)((wxControl *) ((wxToggleButton *) x));
26381 }
26382 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26383 return (void *)((wxControl *) ((wxGauge *) x));
26384 }
26385 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26386 return (void *)((wxControl *) ((wxToolBarBase *) x));
26387 }
26388 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26389 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26390 }
26391 static void *_p_wxButtonTo_p_wxControl(void *x) {
26392 return (void *)((wxControl *) ((wxButton *) x));
26393 }
26394 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26395 return (void *)((wxControl *) ((wxSpinButton *) x));
26396 }
26397 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26398 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26399 }
26400 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26401 return (void *)((wxControl *) ((wxControlWithItems *) x));
26402 }
26403 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26404 return (void *)((wxControl *) ((wxRadioBox *) x));
26405 }
26406 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26407 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26408 }
26409 static void *_p_wxListbookTo_p_wxControl(void *x) {
26410 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26411 }
26412 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26413 return (void *)((wxControl *) ((wxCheckBox *) x));
26414 }
26415 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26416 return (void *)((wxControl *) ((wxTextCtrl *) x));
26417 }
26418 static void *_p_wxListViewTo_p_wxControl(void *x) {
26419 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26420 }
26421 static void *_p_wxSliderTo_p_wxControl(void *x) {
26422 return (void *)((wxControl *) ((wxSlider *) x));
26423 }
26424 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26425 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26426 }
26427 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26428 return (void *)((wxControl *) ((wxPyControl *) x));
26429 }
26430 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26431 return (void *)((wxControl *) ((wxStaticLine *) x));
26432 }
26433 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26434 return (void *)((wxControl *) ((wxStaticText *) x));
26435 }
26436 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26437 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26438 }
26439 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
26440 return (void *)((wxChoice *) ((wxComboBox *) x));
26441 }
26442 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26443 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26444 }
26445 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26446 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26447 }
26448 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26449 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26450 }
26451 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26452 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26453 }
26454 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26455 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26456 }
26457 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26458 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26459 }
26460 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26462 }
26463 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26464 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26465 }
26466 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26467 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26468 }
26469 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26470 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26471 }
26472 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26474 }
26475 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26476 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26477 }
26478 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26480 }
26481 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26483 }
26484 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26485 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26486 }
26487 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26488 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26489 }
26490 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26491 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26492 }
26493 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26494 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26495 }
26496 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26497 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
26498 }
26499 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26500 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26501 }
26502 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26503 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26504 }
26505 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26506 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26507 }
26508 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26509 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26510 }
26511 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26512 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26513 }
26514 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26515 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26516 }
26517 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26518 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26519 }
26520 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26521 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26522 }
26523 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26524 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26525 }
26526 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26527 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26528 }
26529 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26530 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26531 }
26532 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26533 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26534 }
26535 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26536 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26537 }
26538 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26539 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26540 }
26541 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26542 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26543 }
26544 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26545 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26546 }
26547 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26548 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26549 }
26550 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26551 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26552 }
26553 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26554 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26555 }
26556 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26557 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26558 }
26559 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26560 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26561 }
26562 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26563 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26564 }
26565 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26566 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26567 }
26568 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26569 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
26570 }
26571 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
26572 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26573 }
26574 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
26575 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26576 }
26577 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
26578 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26579 }
26580 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
26581 return (void *)((wxListBox *) ((wxCheckListBox *) x));
26582 }
26583 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
26584 return (void *)((wxBookCtrl *) ((wxListbook *) x));
26585 }
26586 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
26587 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
26588 }
26589 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
26590 return (void *)((wxButton *) ((wxBitmapButton *) x));
26591 }
26592 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
26593 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
26594 }
26595 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
26596 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
26597 }
26598 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
26599 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
26600 }
26601 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26602 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26603 }
26604 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26605 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26606 }
26607 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26608 return (void *)((wxObject *) ((wxSizerItem *) x));
26609 }
26610 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26611 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26612 }
26613 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26614 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26615 }
26616 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
26617 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
26618 }
26619 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
26620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26621 }
26622 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26623 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26624 }
26625 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26626 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26627 }
26628 static void *_p_wxSizerTo_p_wxObject(void *x) {
26629 return (void *)((wxObject *) ((wxSizer *) x));
26630 }
26631 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26632 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26633 }
26634 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
26635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
26636 }
26637 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
26638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26639 }
26640 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26642 }
26643 static void *_p_wxEventTo_p_wxObject(void *x) {
26644 return (void *)((wxObject *) ((wxEvent *) x));
26645 }
26646 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26647 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26648 }
26649 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26650 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26651 }
26652 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26653 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26654 }
26655 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
26656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26657 }
26658 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
26659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26660 }
26661 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
26662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26663 }
26664 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26665 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26666 }
26667 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26668 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26669 }
26670 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26671 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26672 }
26673 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26674 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26675 }
26676 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26677 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26678 }
26679 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26680 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26681 }
26682 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
26683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
26684 }
26685 static void *_p_wxControlTo_p_wxObject(void *x) {
26686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26687 }
26688 static void *_p_wxPyControlTo_p_wxObject(void *x) {
26689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
26690 }
26691 static void *_p_wxGaugeTo_p_wxObject(void *x) {
26692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
26693 }
26694 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
26695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
26696 }
26697 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
26698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
26699 }
26700 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
26701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26702 }
26703 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26704 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26705 }
26706 static void *_p_wxChoiceTo_p_wxObject(void *x) {
26707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26708 }
26709 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26710 return (void *)((wxObject *) ((wxFSFile *) x));
26711 }
26712 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26713 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26714 }
26715 static void *_p_wxListViewTo_p_wxObject(void *x) {
26716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26717 }
26718 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
26719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26720 }
26721 static void *_p_wxNotebookTo_p_wxObject(void *x) {
26722 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26723 }
26724 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26725 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26726 }
26727 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26728 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26729 }
26730 static void *_p_wxListbookTo_p_wxObject(void *x) {
26731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26732 }
26733 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26734 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26735 }
26736 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
26737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26738 }
26739 static void *_p_wxSliderTo_p_wxObject(void *x) {
26740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
26741 }
26742 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26743 return (void *)((wxObject *) ((wxMenuItem *) x));
26744 }
26745 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26746 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26747 }
26748 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26749 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26750 }
26751 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26752 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26753 }
26754 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26755 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26756 }
26757 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26758 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26759 }
26760 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26761 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26762 }
26763 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26764 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26765 }
26766 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26767 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26768 }
26769 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
26770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
26771 }
26772 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
26773 return (void *)((wxObject *) ((wxContextHelp *) x));
26774 }
26775 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26776 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26777 }
26778 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26779 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26780 }
26781 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26782 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26783 }
26784 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26785 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26786 }
26787 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26788 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26789 }
26790 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26791 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26792 }
26793 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26794 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26795 }
26796 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26797 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26798 }
26799 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26800 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26801 }
26802 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26803 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26804 }
26805 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26806 return (void *)((wxObject *) ((wxImageHandler *) x));
26807 }
26808 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26809 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26810 }
26811 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26812 return (void *)((wxObject *) ((wxEvtHandler *) x));
26813 }
26814 static void *_p_wxListEventTo_p_wxObject(void *x) {
26815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26816 }
26817 static void *_p_wxListBoxTo_p_wxObject(void *x) {
26818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26819 }
26820 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
26821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26822 }
26823 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
26824 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26825 }
26826 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
26827 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26828 }
26829 static void *_p_wxButtonTo_p_wxObject(void *x) {
26830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
26831 }
26832 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
26833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
26834 }
26835 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
26836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26837 }
26838 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
26839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
26840 }
26841 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
26842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
26843 }
26844 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
26845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
26846 }
26847 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
26848 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
26849 }
26850 static void *_p_wxListItemTo_p_wxObject(void *x) {
26851 return (void *)((wxObject *) ((wxListItem *) x));
26852 }
26853 static void *_p_wxImageTo_p_wxObject(void *x) {
26854 return (void *)((wxObject *) ((wxImage *) x));
26855 }
26856 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
26857 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
26858 }
26859 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26860 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26861 }
26862 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
26863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26864 }
26865 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
26866 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26867 }
26868 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
26869 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26870 }
26871 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26872 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26873 }
26874 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26875 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26876 }
26877 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26878 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26879 }
26880 static void *_p_wxWindowTo_p_wxObject(void *x) {
26881 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26882 }
26883 static void *_p_wxMenuTo_p_wxObject(void *x) {
26884 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26885 }
26886 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26888 }
26889 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26890 return (void *)((wxObject *) ((wxFileSystem *) x));
26891 }
26892 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26893 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26894 }
26895 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26896 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26897 }
26898 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26899 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26900 }
26901 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26902 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26903 }
26904 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26905 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26906 }
26907 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26908 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26909 }
26910 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
26911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26912 }
26913 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26914 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26915 }
26916 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26917 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26918 }
26919 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
26920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
26921 }
26922 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26923 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26924 }
26925 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26926 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26927 }
26928 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26929 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26930 }
26931 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26933 }
26934 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
26935 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
26936 }
26937 static void *_p_wxToolBarTo_p_wxObject(void *x) {
26938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26939 }
26940 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26941 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26942 }
26943 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26944 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26945 }
26946 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
26947 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
26948 }
26949 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
26950 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
26951 }
26952 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26953 return (void *)((wxWindow *) ((wxMenuBar *) x));
26954 }
26955 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
26956 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26957 }
26958 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
26959 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
26960 }
26961 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
26962 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
26963 }
26964 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
26965 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
26966 }
26967 static void *_p_wxControlTo_p_wxWindow(void *x) {
26968 return (void *)((wxWindow *) ((wxControl *) x));
26969 }
26970 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
26971 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
26972 }
26973 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
26974 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26975 }
26976 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
26977 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
26978 }
26979 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
26980 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
26981 }
26982 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
26983 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
26984 }
26985 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
26986 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
26987 }
26988 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26989 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26990 }
26991 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
26992 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
26993 }
26994 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
26995 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
26996 }
26997 static void *_p_wxListbookTo_p_wxWindow(void *x) {
26998 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26999 }
27000 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27001 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27002 }
27003 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27004 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27005 }
27006 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27007 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27008 }
27009 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27010 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27011 }
27012 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27013 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27014 }
27015 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27016 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27017 }
27018 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27019 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27020 }
27021 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27022 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27023 }
27024 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27025 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27026 }
27027 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27028 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27029 }
27030 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27031 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27032 }
27033 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27034 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27035 }
27036 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27037 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27038 }
27039 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27040 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27041 }
27042 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27043 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27044 }
27045 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27046 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27047 }
27048 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27049 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27050 }
27051 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27052 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27053 }
27054 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27055 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27056 }
27057 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27058 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27059 }
27060 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27061 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27062 }
27063 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27064 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27065 }
27066 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27067 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27068 }
27069 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27070 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27071 }
27072 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27073 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27074 }
27075 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27076 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27077 }
27078 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27079 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27080 }
27081 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27082 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27083 }
27084 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27085 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27086 }
27087 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27088 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27089 }
27090 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27091 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27092 }
27093 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27094 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27095 }
27096 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27097 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27098 }
27099 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
27100 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
27101 }
27102 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27103 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27104 }
27105 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27106 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27107 }
27108 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27109 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27110 }
27111 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27112 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27113 }
27114 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27115 return (void *)((wxValidator *) ((wxPyValidator *) x));
27116 }
27117 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27118 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}};
27119 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}};
27120 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27121 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27122 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27123 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27124 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_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
27125 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27126 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27127 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27128 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}};
27129 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27130 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27131 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27132 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}};
27133 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27134 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27135 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27136 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27137 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27138 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27139 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}};
27140 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27141 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27142 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27143 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27144 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27145 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27146 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27147 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_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
27148 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27149 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27150 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27151 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27152 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27153 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27154 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27155 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27156 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}};
27157 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27158 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27159 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27160 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}};
27161 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27162 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}};
27163 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27164 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27165 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27166 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27167 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27168 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27169 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27170 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27171 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27172 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27173 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27174 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27175 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27176 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27177 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27178 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27179 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27180 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27181 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_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_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_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_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}};
27182 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27183 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}};
27184 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27185 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27186 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27187 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27188 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_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}};
27189 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27190 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}};
27191 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27192 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27193 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27194 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27195 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27196
27197 static swig_type_info *swig_types_initial[] = {
27198 _swigt__p_wxTextUrlEvent,
27199 _swigt__p_wxBookCtrlEvent,
27200 _swigt__p_wxSizer,
27201 _swigt__p_wxTreeItemIdValue,
27202 _swigt__wxTreeItemIdValue,
27203 _swigt__p_wxCheckBox,
27204 _swigt__p_wxPyTreeCtrl,
27205 _swigt__p_wxEvent,
27206 _swigt__p_wxGenericDirCtrl,
27207 _swigt__p_bool,
27208 _swigt__p_wxPyTreeItemData,
27209 _swigt__p_wxItemContainer,
27210 _swigt__p_wxDirFilterListCtrl,
27211 _swigt__p_wxPyListCtrl,
27212 _swigt__p_wxStaticLine,
27213 _swigt__p_wxControl,
27214 _swigt__p_wxPyControl,
27215 _swigt__p_wxGauge,
27216 _swigt__p_wxToolBarBase,
27217 _swigt__p_wxFont,
27218 _swigt__p_wxToggleButton,
27219 _swigt__p_wxRadioButton,
27220 _swigt__p_wxChoice,
27221 _swigt__p_wxListItemAttr,
27222 _swigt__p_int,
27223 _swigt__p_wxSize,
27224 _swigt__p_wxListView,
27225 _swigt__p_wxIcon,
27226 _swigt__p_wxTextCtrl,
27227 _swigt__p_wxNotebook,
27228 _swigt__p_wxNotifyEvent,
27229 _swigt__p_wxArrayString,
27230 _swigt__p_wxListbook,
27231 _swigt__p_wxStaticBitmap,
27232 _swigt__p_wxSlider,
27233 _swigt__p_wxStaticBox,
27234 _swigt__p_wxArrayInt,
27235 _swigt__p_wxContextHelp,
27236 _swigt__p_long,
27237 _swigt__p_wxEvtHandler,
27238 _swigt__p_wxListEvent,
27239 _swigt__p_wxListBox,
27240 _swigt__p_wxCheckListBox,
27241 _swigt__p_wxBookCtrl,
27242 _swigt__p_wxSpinButton,
27243 _swigt__p_wxButton,
27244 _swigt__p_wxBitmapButton,
27245 _swigt__p_wxRect,
27246 _swigt__p_wxContextHelpButton,
27247 _swigt__p_wxRadioBox,
27248 _swigt__p_wxScrollBar,
27249 _swigt__p_wxTreeItemId,
27250 _swigt__p_wxComboBox,
27251 _swigt__p_wxHelpEvent,
27252 _swigt__p_wxListItem,
27253 _swigt__p_wxNotebookSizer,
27254 _swigt__p_wxSpinCtrl,
27255 _swigt__p_wxImageList,
27256 _swigt__p_wxHelpProvider,
27257 _swigt__p_wxTextAttr,
27258 _swigt__p_wxSimpleHelpProvider,
27259 _swigt__p_wxPoint,
27260 _swigt__p_wxListbookEvent,
27261 _swigt__p_wxNotebookEvent,
27262 _swigt__p_wxObject,
27263 _swigt__p_wxKeyEvent,
27264 _swigt__p_wxWindow,
27265 _swigt__p_wxString,
27266 _swigt__p_wxBitmap,
27267 _swigt__p_wxTreeEvent,
27268 _swigt__p_wxMouseEvent,
27269 _swigt__p_wxCommandEvent,
27270 _swigt__p_wxStaticText,
27271 _swigt__p_wxControlWithItems,
27272 _swigt__p_wxToolBarToolBase,
27273 _swigt__p_wxColour,
27274 _swigt__p_wxToolBar,
27275 _swigt__p_wxBookCtrlSizer,
27276 _swigt__p_wxValidator,
27277 0
27278 };
27279
27280
27281 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27282
27283 static swig_const_info swig_const_table[] = {
27284 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27285 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27286 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27287 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27288 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27289 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27290 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27291 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27292 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27293 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27294 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27295 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27296 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27297 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27298 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27299 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27300 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27301 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27302 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27303 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27304 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27305 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27306 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27307 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27308 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27309 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27310 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27311 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27312 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27313 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27314 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27315 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27316 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27317 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27318 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27319 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27320 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27321 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27322 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27323 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27324 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27325 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27326 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27327 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27328 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27329 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27330 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27331 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27332 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27333 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27334 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27335 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27336 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27337 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27338 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27339 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27340 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27341 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27342 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27343 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27344 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27345 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27346 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27347 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27348 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27349 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27350 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27351 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27352 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27353 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27354 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27355 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27356 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27357 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27358 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27359 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27360 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27361 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27362 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27363 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27364 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27365 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27366 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27367 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27368 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27369 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27370 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27371 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27372 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27373 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27374 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27375 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27376 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27377 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27378 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27379 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27380 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27381 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27382 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27383 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27384 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27385 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27386 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27387 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27388 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27389 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27390 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27391 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27392 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27393 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27394 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27395 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27396 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27397 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27398 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27399 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27400 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27401 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27402 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27403 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27404 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27405 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27406 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27407 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27408 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27409 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27410 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27411 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27412 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27413 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27414 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27415 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27416 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27417 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27418 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27419 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27420 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27421 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27422 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27423 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27424 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27425 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27426 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27427 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27428 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27429 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27430 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27431 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27432 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27433 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27434 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27435 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27436 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27437 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27438 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27439 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27440 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27441 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27442 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27443 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27444 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27445 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27446 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27447 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27448 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27449 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27450 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27451 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27452 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27453 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27454 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27455 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27456 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27457 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27458 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27459 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27460 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27461 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27462 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27463 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27464 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27465 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27466 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27467 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27468 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27469 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27470 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27471 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27472 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27473 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27474 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27475 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27476 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27477 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27478 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27479 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27480 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27481 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27482 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27483 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27484 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27485 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27486 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27487 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27488 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27489 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27490 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27491 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27492 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27493 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27494 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27495 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27496 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27497 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27498 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27499 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27500 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27501 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27502 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27503 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27504 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27505 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27506 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27507 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27508 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27509 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27510 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27511 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27512 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27513 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27514 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27515 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27516 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27517 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27518 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27519 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27520 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27521 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27522 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27523 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27524 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27525 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27526 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27527 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27528 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27529 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27530 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27531 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27532 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27533 {0}};
27534
27535 #ifdef __cplusplus
27536 }
27537 #endif
27538
27539 #ifdef __cplusplus
27540 extern "C"
27541 #endif
27542 SWIGEXPORT(void) SWIG_init(void) {
27543 static PyObject *SWIG_globals = 0;
27544 static int typeinit = 0;
27545 PyObject *m, *d;
27546 int i;
27547 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27548 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27549 d = PyModule_GetDict(m);
27550
27551 if (!typeinit) {
27552 for (i = 0; swig_types_initial[i]; i++) {
27553 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27554 }
27555 typeinit = 1;
27556 }
27557 SWIG_InstallConstants(d,swig_const_table);
27558
27559 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
27560 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
27561 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
27562 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
27563 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
27564 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
27565 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
27566 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
27567 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
27568 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
27569 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
27570 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
27571 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
27572 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
27573 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
27574 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
27575 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
27576 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
27577 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
27578 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
27579 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
27580 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
27581 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
27582 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
27583 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
27584 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
27585 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
27586 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
27587 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
27588 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
27589 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
27590 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
27591
27592 // Map renamed classes back to their common name for OOR
27593 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27594
27595 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
27596 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
27597 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
27598 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
27599 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
27600 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
27601 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
27602 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
27603 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
27604 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
27605 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
27606 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
27607 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
27608 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
27609 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
27610 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
27611 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
27612 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
27613 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
27614
27615 // Map renamed classes back to their common name for OOR
27616 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27617 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27618
27619 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
27620 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
27621 }
27622