]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
caccc06f5254de0f86b87fa01944f2cb3305b1f1
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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
587
588 return (wxWindow*)self->m_mainWin;
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_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject *resultobj;
1044 wxSize result;
1045 char *kwnames[] = {
1046 NULL
1047 };
1048
1049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1050 {
1051 PyThreadState* __tstate = wxPyBeginAllowThreads();
1052 result = wxButton::GetDefaultSize();
1053
1054 wxPyEndAllowThreads(__tstate);
1055 if (PyErr_Occurred()) SWIG_fail;
1056 }
1057 {
1058 wxSize * resultptr;
1059 resultptr = new wxSize((wxSize &) result);
1060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1061 }
1062 return resultobj;
1063 fail:
1064 return NULL;
1065 }
1066
1067
1068 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1069 PyObject *obj;
1070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1071 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1072 Py_INCREF(obj);
1073 return Py_BuildValue((char *)"");
1074 }
1075 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1076 PyObject *resultobj;
1077 wxWindow *arg1 = (wxWindow *) 0 ;
1078 wxWindowID arg2 ;
1079 wxBitmap *arg3 = 0 ;
1080 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1081 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1082 wxSize const &arg5_defvalue = wxDefaultSize ;
1083 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1084 long arg6 = (long) wxBU_AUTODRAW ;
1085 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1086 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1087 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1088 wxString *arg8 = (wxString *) &arg8_defvalue ;
1089 wxBitmapButton *result;
1090 wxPoint temp4 ;
1091 wxSize temp5 ;
1092 bool temp8 = false ;
1093 PyObject * obj0 = 0 ;
1094 PyObject * obj2 = 0 ;
1095 PyObject * obj3 = 0 ;
1096 PyObject * obj4 = 0 ;
1097 PyObject * obj6 = 0 ;
1098 PyObject * obj7 = 0 ;
1099 char *kwnames[] = {
1100 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1101 };
1102
1103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1105 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1106 if (arg3 == NULL) {
1107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1108 }
1109 if (obj3) {
1110 {
1111 arg4 = &temp4;
1112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1113 }
1114 }
1115 if (obj4) {
1116 {
1117 arg5 = &temp5;
1118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1119 }
1120 }
1121 if (obj6) {
1122 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1123 if (arg7 == NULL) {
1124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1125 }
1126 }
1127 if (obj7) {
1128 {
1129 arg8 = wxString_in_helper(obj7);
1130 if (arg8 == NULL) SWIG_fail;
1131 temp8 = true;
1132 }
1133 }
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 {
1142 resultobj = wxPyMake_wxObject(result);
1143 }
1144 {
1145 if (temp8)
1146 delete arg8;
1147 }
1148 return resultobj;
1149 fail:
1150 {
1151 if (temp8)
1152 delete arg8;
1153 }
1154 return NULL;
1155 }
1156
1157
1158 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1159 PyObject *resultobj;
1160 wxBitmapButton *result;
1161 char *kwnames[] = {
1162 NULL
1163 };
1164
1165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 result = (wxBitmapButton *)new wxBitmapButton();
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) SWIG_fail;
1172 }
1173 {
1174 resultobj = wxPyMake_wxObject(result);
1175 }
1176 return resultobj;
1177 fail:
1178 return NULL;
1179 }
1180
1181
1182 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1183 PyObject *resultobj;
1184 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1185 wxWindow *arg2 = (wxWindow *) 0 ;
1186 wxWindowID arg3 ;
1187 wxBitmap *arg4 = 0 ;
1188 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1189 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1190 wxSize const &arg6_defvalue = wxDefaultSize ;
1191 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1192 long arg7 = (long) wxBU_AUTODRAW ;
1193 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1194 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1195 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1196 wxString *arg9 = (wxString *) &arg9_defvalue ;
1197 bool result;
1198 wxPoint temp5 ;
1199 wxSize temp6 ;
1200 bool temp9 = false ;
1201 PyObject * obj0 = 0 ;
1202 PyObject * obj1 = 0 ;
1203 PyObject * obj3 = 0 ;
1204 PyObject * obj4 = 0 ;
1205 PyObject * obj5 = 0 ;
1206 PyObject * obj7 = 0 ;
1207 PyObject * obj8 = 0 ;
1208 char *kwnames[] = {
1209 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1210 };
1211
1212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1215 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1216 if (arg4 == NULL) {
1217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1218 }
1219 if (obj4) {
1220 {
1221 arg5 = &temp5;
1222 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1223 }
1224 }
1225 if (obj5) {
1226 {
1227 arg6 = &temp6;
1228 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1229 }
1230 }
1231 if (obj7) {
1232 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1233 if (arg8 == NULL) {
1234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1235 }
1236 }
1237 if (obj8) {
1238 {
1239 arg9 = wxString_in_helper(obj8);
1240 if (arg9 == NULL) SWIG_fail;
1241 temp9 = true;
1242 }
1243 }
1244 {
1245 PyThreadState* __tstate = wxPyBeginAllowThreads();
1246 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1247
1248 wxPyEndAllowThreads(__tstate);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 }
1251 resultobj = PyInt_FromLong((long)result);
1252 {
1253 if (temp9)
1254 delete arg9;
1255 }
1256 return resultobj;
1257 fail:
1258 {
1259 if (temp9)
1260 delete arg9;
1261 }
1262 return NULL;
1263 }
1264
1265
1266 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1267 PyObject *resultobj;
1268 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1269 wxBitmap result;
1270 PyObject * obj0 = 0 ;
1271 char *kwnames[] = {
1272 (char *) "self", NULL
1273 };
1274
1275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1277 {
1278 PyThreadState* __tstate = wxPyBeginAllowThreads();
1279 result = (arg1)->GetBitmapLabel();
1280
1281 wxPyEndAllowThreads(__tstate);
1282 if (PyErr_Occurred()) SWIG_fail;
1283 }
1284 {
1285 wxBitmap * resultptr;
1286 resultptr = new wxBitmap((wxBitmap &) result);
1287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1288 }
1289 return resultobj;
1290 fail:
1291 return NULL;
1292 }
1293
1294
1295 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject *resultobj;
1297 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1298 wxBitmap result;
1299 PyObject * obj0 = 0 ;
1300 char *kwnames[] = {
1301 (char *) "self", NULL
1302 };
1303
1304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 {
1307 PyThreadState* __tstate = wxPyBeginAllowThreads();
1308 result = (arg1)->GetBitmapDisabled();
1309
1310 wxPyEndAllowThreads(__tstate);
1311 if (PyErr_Occurred()) SWIG_fail;
1312 }
1313 {
1314 wxBitmap * resultptr;
1315 resultptr = new wxBitmap((wxBitmap &) result);
1316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1317 }
1318 return resultobj;
1319 fail:
1320 return NULL;
1321 }
1322
1323
1324 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1327 wxBitmap result;
1328 PyObject * obj0 = 0 ;
1329 char *kwnames[] = {
1330 (char *) "self", NULL
1331 };
1332
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1335 {
1336 PyThreadState* __tstate = wxPyBeginAllowThreads();
1337 result = (arg1)->GetBitmapFocus();
1338
1339 wxPyEndAllowThreads(__tstate);
1340 if (PyErr_Occurred()) SWIG_fail;
1341 }
1342 {
1343 wxBitmap * resultptr;
1344 resultptr = new wxBitmap((wxBitmap &) result);
1345 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1346 }
1347 return resultobj;
1348 fail:
1349 return NULL;
1350 }
1351
1352
1353 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject *resultobj;
1355 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1356 wxBitmap result;
1357 PyObject * obj0 = 0 ;
1358 char *kwnames[] = {
1359 (char *) "self", NULL
1360 };
1361
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1364 {
1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
1366 result = (arg1)->GetBitmapSelected();
1367
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 {
1372 wxBitmap * resultptr;
1373 resultptr = new wxBitmap((wxBitmap &) result);
1374 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1375 }
1376 return resultobj;
1377 fail:
1378 return NULL;
1379 }
1380
1381
1382 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1385 wxBitmap *arg2 = 0 ;
1386 PyObject * obj0 = 0 ;
1387 PyObject * obj1 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "bitmap", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1395 if (arg2 == NULL) {
1396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1397 }
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 Py_INCREF(Py_None); resultobj = Py_None;
1406 return resultobj;
1407 fail:
1408 return NULL;
1409 }
1410
1411
1412 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject *resultobj;
1414 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1415 wxBitmap *arg2 = 0 ;
1416 PyObject * obj0 = 0 ;
1417 PyObject * obj1 = 0 ;
1418 char *kwnames[] = {
1419 (char *) "self",(char *) "bitmap", NULL
1420 };
1421
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1425 if (arg2 == NULL) {
1426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1427 }
1428 {
1429 PyThreadState* __tstate = wxPyBeginAllowThreads();
1430 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1431
1432 wxPyEndAllowThreads(__tstate);
1433 if (PyErr_Occurred()) SWIG_fail;
1434 }
1435 Py_INCREF(Py_None); resultobj = Py_None;
1436 return resultobj;
1437 fail:
1438 return NULL;
1439 }
1440
1441
1442 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1443 PyObject *resultobj;
1444 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1445 wxBitmap *arg2 = 0 ;
1446 PyObject * obj0 = 0 ;
1447 PyObject * obj1 = 0 ;
1448 char *kwnames[] = {
1449 (char *) "self",(char *) "bitmap", NULL
1450 };
1451
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1455 if (arg2 == NULL) {
1456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1457 }
1458 {
1459 PyThreadState* __tstate = wxPyBeginAllowThreads();
1460 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1461
1462 wxPyEndAllowThreads(__tstate);
1463 if (PyErr_Occurred()) SWIG_fail;
1464 }
1465 Py_INCREF(Py_None); resultobj = Py_None;
1466 return resultobj;
1467 fail:
1468 return NULL;
1469 }
1470
1471
1472 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1473 PyObject *resultobj;
1474 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1475 wxBitmap *arg2 = 0 ;
1476 PyObject * obj0 = 0 ;
1477 PyObject * obj1 = 0 ;
1478 char *kwnames[] = {
1479 (char *) "self",(char *) "bitmap", NULL
1480 };
1481
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1485 if (arg2 == NULL) {
1486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1487 }
1488 {
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1491
1492 wxPyEndAllowThreads(__tstate);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 Py_INCREF(Py_None); resultobj = Py_None;
1496 return resultobj;
1497 fail:
1498 return NULL;
1499 }
1500
1501
1502 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1503 PyObject *resultobj;
1504 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1505 int arg2 ;
1506 int arg3 ;
1507 PyObject * obj0 = 0 ;
1508 char *kwnames[] = {
1509 (char *) "self",(char *) "x",(char *) "y", NULL
1510 };
1511
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 (arg1)->SetMargins(arg2,arg3);
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_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1531 int result;
1532 PyObject * obj0 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "self", NULL
1535 };
1536
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 resultobj = PyInt_FromLong((long)result);
1547 return resultobj;
1548 fail:
1549 return NULL;
1550 }
1551
1552
1553 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1556 int result;
1557 PyObject * obj0 = 0 ;
1558 char *kwnames[] = {
1559 (char *) "self", NULL
1560 };
1561
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 resultobj = PyInt_FromLong((long)result);
1572 return resultobj;
1573 fail:
1574 return NULL;
1575 }
1576
1577
1578 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1579 PyObject *obj;
1580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1581 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1582 Py_INCREF(obj);
1583 return Py_BuildValue((char *)"");
1584 }
1585 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxWindow *arg1 = (wxWindow *) 0 ;
1588 wxWindowID arg2 ;
1589 wxString *arg3 = 0 ;
1590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1592 wxSize const &arg5_defvalue = wxDefaultSize ;
1593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1594 long arg6 = (long) 0 ;
1595 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1596 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1597 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1598 wxString *arg8 = (wxString *) &arg8_defvalue ;
1599 wxCheckBox *result;
1600 bool temp3 = false ;
1601 wxPoint temp4 ;
1602 wxSize temp5 ;
1603 bool temp8 = false ;
1604 PyObject * obj0 = 0 ;
1605 PyObject * obj2 = 0 ;
1606 PyObject * obj3 = 0 ;
1607 PyObject * obj4 = 0 ;
1608 PyObject * obj6 = 0 ;
1609 PyObject * obj7 = 0 ;
1610 char *kwnames[] = {
1611 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1616 {
1617 arg3 = wxString_in_helper(obj2);
1618 if (arg3 == NULL) SWIG_fail;
1619 temp3 = true;
1620 }
1621 if (obj3) {
1622 {
1623 arg4 = &temp4;
1624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1625 }
1626 }
1627 if (obj4) {
1628 {
1629 arg5 = &temp5;
1630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1631 }
1632 }
1633 if (obj6) {
1634 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 if (arg7 == NULL) {
1636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1637 }
1638 }
1639 if (obj7) {
1640 {
1641 arg8 = wxString_in_helper(obj7);
1642 if (arg8 == NULL) SWIG_fail;
1643 temp8 = true;
1644 }
1645 }
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1654 {
1655 if (temp3)
1656 delete arg3;
1657 }
1658 {
1659 if (temp8)
1660 delete arg8;
1661 }
1662 return resultobj;
1663 fail:
1664 {
1665 if (temp3)
1666 delete arg3;
1667 }
1668 {
1669 if (temp8)
1670 delete arg8;
1671 }
1672 return NULL;
1673 }
1674
1675
1676 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 wxCheckBox *result;
1679 char *kwnames[] = {
1680 NULL
1681 };
1682
1683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
1686 result = (wxCheckBox *)new wxCheckBox();
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1692 return resultobj;
1693 fail:
1694 return NULL;
1695 }
1696
1697
1698 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject *resultobj;
1700 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1701 wxWindow *arg2 = (wxWindow *) 0 ;
1702 wxWindowID arg3 ;
1703 wxString *arg4 = 0 ;
1704 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1705 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1706 wxSize const &arg6_defvalue = wxDefaultSize ;
1707 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1708 long arg7 = (long) 0 ;
1709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1711 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1712 wxString *arg9 = (wxString *) &arg9_defvalue ;
1713 bool result;
1714 bool temp4 = false ;
1715 wxPoint temp5 ;
1716 wxSize temp6 ;
1717 bool temp9 = false ;
1718 PyObject * obj0 = 0 ;
1719 PyObject * obj1 = 0 ;
1720 PyObject * obj3 = 0 ;
1721 PyObject * obj4 = 0 ;
1722 PyObject * obj5 = 0 ;
1723 PyObject * obj7 = 0 ;
1724 PyObject * obj8 = 0 ;
1725 char *kwnames[] = {
1726 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1727 };
1728
1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1732 {
1733 arg4 = wxString_in_helper(obj3);
1734 if (arg4 == NULL) SWIG_fail;
1735 temp4 = true;
1736 }
1737 if (obj4) {
1738 {
1739 arg5 = &temp5;
1740 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1741 }
1742 }
1743 if (obj5) {
1744 {
1745 arg6 = &temp6;
1746 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1747 }
1748 }
1749 if (obj7) {
1750 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1751 if (arg8 == NULL) {
1752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1753 }
1754 }
1755 if (obj8) {
1756 {
1757 arg9 = wxString_in_helper(obj8);
1758 if (arg9 == NULL) SWIG_fail;
1759 temp9 = true;
1760 }
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 resultobj = PyInt_FromLong((long)result);
1770 {
1771 if (temp4)
1772 delete arg4;
1773 }
1774 {
1775 if (temp9)
1776 delete arg9;
1777 }
1778 return resultobj;
1779 fail:
1780 {
1781 if (temp4)
1782 delete arg4;
1783 }
1784 {
1785 if (temp9)
1786 delete arg9;
1787 }
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1795 bool result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 result = (bool)(arg1)->GetValue();
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 resultobj = PyInt_FromLong((long)result);
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1820 bool result;
1821 PyObject * obj0 = 0 ;
1822 char *kwnames[] = {
1823 (char *) "self", NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 result = (bool)(arg1)->IsChecked();
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 resultobj = PyInt_FromLong((long)result);
1836 return resultobj;
1837 fail:
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1845 bool arg2 ;
1846 PyObject * obj0 = 0 ;
1847 PyObject * obj1 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self",(char *) "state", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 arg2 = PyInt_AsLong(obj1) ? true : false;
1855 if (PyErr_Occurred()) SWIG_fail;
1856 {
1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
1858 (arg1)->SetValue(arg2);
1859
1860 wxPyEndAllowThreads(__tstate);
1861 if (PyErr_Occurred()) SWIG_fail;
1862 }
1863 Py_INCREF(Py_None); resultobj = Py_None;
1864 return resultobj;
1865 fail:
1866 return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1873 int result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) SWIG_fail;
1887 }
1888 resultobj = PyInt_FromLong((long)result);
1889 return resultobj;
1890 fail:
1891 return NULL;
1892 }
1893
1894
1895 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject *resultobj;
1897 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1898 int arg2 ;
1899 PyObject * obj0 = 0 ;
1900 char *kwnames[] = {
1901 (char *) "self",(char *) "state", NULL
1902 };
1903
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 return resultobj;
1915 fail:
1916 return NULL;
1917 }
1918
1919
1920 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1923 bool result;
1924 PyObject * obj0 = 0 ;
1925 char *kwnames[] = {
1926 (char *) "self", NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 resultobj = PyInt_FromLong((long)result);
1939 return resultobj;
1940 fail:
1941 return NULL;
1942 }
1943
1944
1945 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1948 bool result;
1949 PyObject * obj0 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "self", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1956 {
1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
1958 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1959
1960 wxPyEndAllowThreads(__tstate);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 }
1963 resultobj = PyInt_FromLong((long)result);
1964 return resultobj;
1965 fail:
1966 return NULL;
1967 }
1968
1969
1970 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1971 PyObject *obj;
1972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1973 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1974 Py_INCREF(obj);
1975 return Py_BuildValue((char *)"");
1976 }
1977 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxWindow *arg1 = (wxWindow *) 0 ;
1980 wxWindowID arg2 ;
1981 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1982 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1983 wxSize const &arg4_defvalue = wxDefaultSize ;
1984 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1985 int arg5 = (int) 0 ;
1986 wxString *arg6 = (wxString *) NULL ;
1987 long arg7 = (long) 0 ;
1988 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1989 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1990 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
1991 wxString *arg9 = (wxString *) &arg9_defvalue ;
1992 wxChoice *result;
1993 wxPoint temp3 ;
1994 wxSize temp4 ;
1995 bool temp8 = false ;
1996 PyObject * obj0 = 0 ;
1997 PyObject * obj2 = 0 ;
1998 PyObject * obj3 = 0 ;
1999 PyObject * obj4 = 0 ;
2000 PyObject * obj6 = 0 ;
2001 PyObject * obj7 = 0 ;
2002 char *kwnames[] = {
2003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2008 if (obj2) {
2009 {
2010 arg3 = &temp3;
2011 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2012 }
2013 }
2014 if (obj3) {
2015 {
2016 arg4 = &temp4;
2017 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2018 }
2019 }
2020 if (obj4) {
2021 {
2022 arg5 = PyList_Size(obj4);
2023 arg6 = wxString_LIST_helper(obj4);
2024 if (arg6 == NULL) SWIG_fail;
2025 }
2026 }
2027 if (obj6) {
2028 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2029 if (arg8 == NULL) {
2030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2031 }
2032 }
2033 if (obj7) {
2034 {
2035 arg9 = wxString_in_helper(obj7);
2036 if (arg9 == NULL) SWIG_fail;
2037 temp8 = true;
2038 }
2039 }
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2048 {
2049 if (arg6) delete [] arg6;
2050 }
2051 {
2052 if (temp8)
2053 delete arg9;
2054 }
2055 return resultobj;
2056 fail:
2057 {
2058 if (arg6) delete [] arg6;
2059 }
2060 {
2061 if (temp8)
2062 delete arg9;
2063 }
2064 return NULL;
2065 }
2066
2067
2068 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxChoice *result;
2071 char *kwnames[] = {
2072 NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 result = (wxChoice *)new wxChoice();
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 }
2083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2084 return resultobj;
2085 fail:
2086 return NULL;
2087 }
2088
2089
2090 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject *resultobj;
2092 wxChoice *arg1 = (wxChoice *) 0 ;
2093 wxWindow *arg2 = (wxWindow *) 0 ;
2094 wxWindowID arg3 ;
2095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2097 wxSize const &arg5_defvalue = wxDefaultSize ;
2098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2099 int arg6 = (int) 0 ;
2100 wxString *arg7 = (wxString *) NULL ;
2101 long arg8 = (long) 0 ;
2102 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2103 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2104 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2105 wxString *arg10 = (wxString *) &arg10_defvalue ;
2106 bool result;
2107 wxPoint temp4 ;
2108 wxSize temp5 ;
2109 bool temp9 = false ;
2110 PyObject * obj0 = 0 ;
2111 PyObject * obj1 = 0 ;
2112 PyObject * obj3 = 0 ;
2113 PyObject * obj4 = 0 ;
2114 PyObject * obj5 = 0 ;
2115 PyObject * obj7 = 0 ;
2116 PyObject * obj8 = 0 ;
2117 char *kwnames[] = {
2118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2119 };
2120
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2124 if (obj3) {
2125 {
2126 arg4 = &temp4;
2127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2128 }
2129 }
2130 if (obj4) {
2131 {
2132 arg5 = &temp5;
2133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2134 }
2135 }
2136 if (obj5) {
2137 {
2138 arg6 = PyList_Size(obj5);
2139 arg7 = wxString_LIST_helper(obj5);
2140 if (arg7 == NULL) SWIG_fail;
2141 }
2142 }
2143 if (obj7) {
2144 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2145 if (arg9 == NULL) {
2146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2147 }
2148 }
2149 if (obj8) {
2150 {
2151 arg10 = wxString_in_helper(obj8);
2152 if (arg10 == NULL) SWIG_fail;
2153 temp9 = true;
2154 }
2155 }
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 resultobj = PyInt_FromLong((long)result);
2164 {
2165 if (arg7) delete [] arg7;
2166 }
2167 {
2168 if (temp9)
2169 delete arg10;
2170 }
2171 return resultobj;
2172 fail:
2173 {
2174 if (arg7) delete [] arg7;
2175 }
2176 {
2177 if (temp9)
2178 delete arg10;
2179 }
2180 return NULL;
2181 }
2182
2183
2184 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject *resultobj;
2186 wxChoice *arg1 = (wxChoice *) 0 ;
2187 int result;
2188 PyObject * obj0 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (int)(arg1)->GetColumns();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 resultobj = PyInt_FromLong((long)result);
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxChoice *arg1 = (wxChoice *) 0 ;
2212 int arg2 = (int) (int)1 ;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self",(char *) "n", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 (arg1)->SetColumns(arg2);
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 Py_INCREF(Py_None); resultobj = Py_None;
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxChoice *arg1 = (wxChoice *) 0 ;
2237 int arg2 ;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "n", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->SetSelection(arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxChoice *arg1 = (wxChoice *) 0 ;
2262 wxString *arg2 = 0 ;
2263 bool temp2 = false ;
2264 PyObject * obj0 = 0 ;
2265 PyObject * obj1 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self",(char *) "string", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2272 {
2273 arg2 = wxString_in_helper(obj1);
2274 if (arg2 == NULL) SWIG_fail;
2275 temp2 = true;
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 (arg1)->SetStringSelection((wxString const &)*arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 Py_INCREF(Py_None); resultobj = Py_None;
2285 {
2286 if (temp2)
2287 delete arg2;
2288 }
2289 return resultobj;
2290 fail:
2291 {
2292 if (temp2)
2293 delete arg2;
2294 }
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxChoice *arg1 = (wxChoice *) 0 ;
2302 int arg2 ;
2303 wxString *arg3 = 0 ;
2304 bool temp3 = false ;
2305 PyObject * obj0 = 0 ;
2306 PyObject * obj2 = 0 ;
2307 char *kwnames[] = {
2308 (char *) "self",(char *) "n",(char *) "s", NULL
2309 };
2310
2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2313 {
2314 arg3 = wxString_in_helper(obj2);
2315 if (arg3 == NULL) SWIG_fail;
2316 temp3 = true;
2317 }
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
2320 (arg1)->SetString(arg2,(wxString const &)*arg3);
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 }
2325 Py_INCREF(Py_None); resultobj = Py_None;
2326 {
2327 if (temp3)
2328 delete arg3;
2329 }
2330 return resultobj;
2331 fail:
2332 {
2333 if (temp3)
2334 delete arg3;
2335 }
2336 return NULL;
2337 }
2338
2339
2340 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2341 PyObject *obj;
2342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2343 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2344 Py_INCREF(obj);
2345 return Py_BuildValue((char *)"");
2346 }
2347 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2348 PyObject *resultobj;
2349 wxWindow *arg1 = (wxWindow *) 0 ;
2350 wxWindowID arg2 ;
2351 wxString const &arg3_defvalue = wxPyEmptyString ;
2352 wxString *arg3 = (wxString *) &arg3_defvalue ;
2353 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2354 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2355 wxSize const &arg5_defvalue = wxDefaultSize ;
2356 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2357 int arg6 = (int) 0 ;
2358 wxString *arg7 = (wxString *) NULL ;
2359 long arg8 = (long) 0 ;
2360 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2361 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2362 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2363 wxString *arg10 = (wxString *) &arg10_defvalue ;
2364 wxComboBox *result;
2365 bool temp3 = false ;
2366 wxPoint temp4 ;
2367 wxSize temp5 ;
2368 bool temp9 = false ;
2369 PyObject * obj0 = 0 ;
2370 PyObject * obj2 = 0 ;
2371 PyObject * obj3 = 0 ;
2372 PyObject * obj4 = 0 ;
2373 PyObject * obj5 = 0 ;
2374 PyObject * obj7 = 0 ;
2375 PyObject * obj8 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2382 if (obj2) {
2383 {
2384 arg3 = wxString_in_helper(obj2);
2385 if (arg3 == NULL) SWIG_fail;
2386 temp3 = true;
2387 }
2388 }
2389 if (obj3) {
2390 {
2391 arg4 = &temp4;
2392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2393 }
2394 }
2395 if (obj4) {
2396 {
2397 arg5 = &temp5;
2398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2399 }
2400 }
2401 if (obj5) {
2402 {
2403 arg6 = PyList_Size(obj5);
2404 arg7 = wxString_LIST_helper(obj5);
2405 if (arg7 == NULL) SWIG_fail;
2406 }
2407 }
2408 if (obj7) {
2409 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2410 if (arg9 == NULL) {
2411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2412 }
2413 }
2414 if (obj8) {
2415 {
2416 arg10 = wxString_in_helper(obj8);
2417 if (arg10 == NULL) SWIG_fail;
2418 temp9 = true;
2419 }
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2429 {
2430 if (temp3)
2431 delete arg3;
2432 }
2433 {
2434 if (arg7) delete [] arg7;
2435 }
2436 {
2437 if (temp9)
2438 delete arg10;
2439 }
2440 return resultobj;
2441 fail:
2442 {
2443 if (temp3)
2444 delete arg3;
2445 }
2446 {
2447 if (arg7) delete [] arg7;
2448 }
2449 {
2450 if (temp9)
2451 delete arg10;
2452 }
2453 return NULL;
2454 }
2455
2456
2457 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 wxComboBox *result;
2460 char *kwnames[] = {
2461 NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 result = (wxComboBox *)new wxComboBox();
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2473 return resultobj;
2474 fail:
2475 return NULL;
2476 }
2477
2478
2479 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxComboBox *arg1 = (wxComboBox *) 0 ;
2482 wxWindow *arg2 = (wxWindow *) 0 ;
2483 wxWindowID arg3 ;
2484 wxString const &arg4_defvalue = wxPyEmptyString ;
2485 wxString *arg4 = (wxString *) &arg4_defvalue ;
2486 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2487 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2488 wxSize const &arg6_defvalue = wxDefaultSize ;
2489 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2490 int arg7 = (int) 0 ;
2491 wxString *arg8 = (wxString *) NULL ;
2492 long arg9 = (long) 0 ;
2493 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2494 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2495 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2496 wxString *arg11 = (wxString *) &arg11_defvalue ;
2497 bool result;
2498 bool temp4 = false ;
2499 wxPoint temp5 ;
2500 wxSize temp6 ;
2501 bool temp10 = false ;
2502 PyObject * obj0 = 0 ;
2503 PyObject * obj1 = 0 ;
2504 PyObject * obj3 = 0 ;
2505 PyObject * obj4 = 0 ;
2506 PyObject * obj5 = 0 ;
2507 PyObject * obj6 = 0 ;
2508 PyObject * obj8 = 0 ;
2509 PyObject * obj9 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2517 if (obj3) {
2518 {
2519 arg4 = wxString_in_helper(obj3);
2520 if (arg4 == NULL) SWIG_fail;
2521 temp4 = true;
2522 }
2523 }
2524 if (obj4) {
2525 {
2526 arg5 = &temp5;
2527 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2528 }
2529 }
2530 if (obj5) {
2531 {
2532 arg6 = &temp6;
2533 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2534 }
2535 }
2536 if (obj6) {
2537 {
2538 arg7 = PyList_Size(obj6);
2539 arg8 = wxString_LIST_helper(obj6);
2540 if (arg8 == NULL) SWIG_fail;
2541 }
2542 }
2543 if (obj8) {
2544 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2545 if (arg10 == NULL) {
2546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2547 }
2548 }
2549 if (obj9) {
2550 {
2551 arg11 = wxString_in_helper(obj9);
2552 if (arg11 == NULL) SWIG_fail;
2553 temp10 = true;
2554 }
2555 }
2556 {
2557 PyThreadState* __tstate = wxPyBeginAllowThreads();
2558 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2559
2560 wxPyEndAllowThreads(__tstate);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 }
2563 resultobj = PyInt_FromLong((long)result);
2564 {
2565 if (temp4)
2566 delete arg4;
2567 }
2568 {
2569 if (arg8) delete [] arg8;
2570 }
2571 {
2572 if (temp10)
2573 delete arg11;
2574 }
2575 return resultobj;
2576 fail:
2577 {
2578 if (temp4)
2579 delete arg4;
2580 }
2581 {
2582 if (arg8) delete [] arg8;
2583 }
2584 {
2585 if (temp10)
2586 delete arg11;
2587 }
2588 return NULL;
2589 }
2590
2591
2592 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject *resultobj;
2594 wxComboBox *arg1 = (wxComboBox *) 0 ;
2595 wxString result;
2596 PyObject * obj0 = 0 ;
2597 char *kwnames[] = {
2598 (char *) "self", NULL
2599 };
2600
2601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 result = ((wxComboBox const *)arg1)->GetValue();
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 {
2611 #if wxUSE_UNICODE
2612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2613 #else
2614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2615 #endif
2616 }
2617 return resultobj;
2618 fail:
2619 return NULL;
2620 }
2621
2622
2623 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxComboBox *arg1 = (wxComboBox *) 0 ;
2626 wxString *arg2 = 0 ;
2627 bool temp2 = false ;
2628 PyObject * obj0 = 0 ;
2629 PyObject * obj1 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "self",(char *) "value", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2636 {
2637 arg2 = wxString_in_helper(obj1);
2638 if (arg2 == NULL) SWIG_fail;
2639 temp2 = true;
2640 }
2641 {
2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
2643 (arg1)->SetValue((wxString const &)*arg2);
2644
2645 wxPyEndAllowThreads(__tstate);
2646 if (PyErr_Occurred()) SWIG_fail;
2647 }
2648 Py_INCREF(Py_None); resultobj = Py_None;
2649 {
2650 if (temp2)
2651 delete arg2;
2652 }
2653 return resultobj;
2654 fail:
2655 {
2656 if (temp2)
2657 delete arg2;
2658 }
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxComboBox *arg1 = (wxComboBox *) 0 ;
2666 PyObject * obj0 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 (arg1)->Copy();
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 Py_INCREF(Py_None); resultobj = Py_None;
2681 return resultobj;
2682 fail:
2683 return NULL;
2684 }
2685
2686
2687 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject *resultobj;
2689 wxComboBox *arg1 = (wxComboBox *) 0 ;
2690 PyObject * obj0 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 (arg1)->Cut();
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 Py_INCREF(Py_None); resultobj = Py_None;
2705 return resultobj;
2706 fail:
2707 return NULL;
2708 }
2709
2710
2711 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2712 PyObject *resultobj;
2713 wxComboBox *arg1 = (wxComboBox *) 0 ;
2714 PyObject * obj0 = 0 ;
2715 char *kwnames[] = {
2716 (char *) "self", NULL
2717 };
2718
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2721 {
2722 PyThreadState* __tstate = wxPyBeginAllowThreads();
2723 (arg1)->Paste();
2724
2725 wxPyEndAllowThreads(__tstate);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 Py_INCREF(Py_None); resultobj = Py_None;
2729 return resultobj;
2730 fail:
2731 return NULL;
2732 }
2733
2734
2735 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxComboBox *arg1 = (wxComboBox *) 0 ;
2738 long arg2 ;
2739 PyObject * obj0 = 0 ;
2740 char *kwnames[] = {
2741 (char *) "self",(char *) "pos", NULL
2742 };
2743
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->SetInsertionPoint(arg2);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxComboBox *arg1 = (wxComboBox *) 0 ;
2763 long result;
2764 PyObject * obj0 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 resultobj = PyInt_FromLong((long)result);
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 wxComboBox *arg1 = (wxComboBox *) 0 ;
2788 long result;
2789 PyObject * obj0 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 resultobj = PyInt_FromLong((long)result);
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxComboBox *arg1 = (wxComboBox *) 0 ;
2813 long arg2 ;
2814 long arg3 ;
2815 wxString *arg4 = 0 ;
2816 bool temp4 = false ;
2817 PyObject * obj0 = 0 ;
2818 PyObject * obj3 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 {
2826 arg4 = wxString_in_helper(obj3);
2827 if (arg4 == NULL) SWIG_fail;
2828 temp4 = true;
2829 }
2830 {
2831 PyThreadState* __tstate = wxPyBeginAllowThreads();
2832 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2833
2834 wxPyEndAllowThreads(__tstate);
2835 if (PyErr_Occurred()) SWIG_fail;
2836 }
2837 Py_INCREF(Py_None); resultobj = Py_None;
2838 {
2839 if (temp4)
2840 delete arg4;
2841 }
2842 return resultobj;
2843 fail:
2844 {
2845 if (temp4)
2846 delete arg4;
2847 }
2848 return NULL;
2849 }
2850
2851
2852 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxComboBox *arg1 = (wxComboBox *) 0 ;
2855 long arg2 ;
2856 long arg3 ;
2857 PyObject * obj0 = 0 ;
2858 char *kwnames[] = {
2859 (char *) "self",(char *) "from",(char *) "to", NULL
2860 };
2861
2862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2864 {
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
2866 (arg1)->SetSelection(arg2,arg3);
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
2871 Py_INCREF(Py_None); resultobj = Py_None;
2872 return resultobj;
2873 fail:
2874 return NULL;
2875 }
2876
2877
2878 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2879 PyObject *resultobj;
2880 wxComboBox *arg1 = (wxComboBox *) 0 ;
2881 bool arg2 ;
2882 PyObject * obj0 = 0 ;
2883 PyObject * obj1 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "self",(char *) "editable", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2890 arg2 = PyInt_AsLong(obj1) ? true : false;
2891 if (PyErr_Occurred()) SWIG_fail;
2892 {
2893 PyThreadState* __tstate = wxPyBeginAllowThreads();
2894 (arg1)->SetEditable(arg2);
2895
2896 wxPyEndAllowThreads(__tstate);
2897 if (PyErr_Occurred()) SWIG_fail;
2898 }
2899 Py_INCREF(Py_None); resultobj = Py_None;
2900 return resultobj;
2901 fail:
2902 return NULL;
2903 }
2904
2905
2906 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2907 PyObject *resultobj;
2908 wxComboBox *arg1 = (wxComboBox *) 0 ;
2909 PyObject * obj0 = 0 ;
2910 char *kwnames[] = {
2911 (char *) "self", NULL
2912 };
2913
2914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 (arg1)->SetInsertionPointEnd();
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 Py_INCREF(Py_None); resultobj = Py_None;
2924 return resultobj;
2925 fail:
2926 return NULL;
2927 }
2928
2929
2930 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2931 PyObject *resultobj;
2932 wxComboBox *arg1 = (wxComboBox *) 0 ;
2933 long arg2 ;
2934 long arg3 ;
2935 PyObject * obj0 = 0 ;
2936 char *kwnames[] = {
2937 (char *) "self",(char *) "from",(char *) "to", NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2942 {
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 (arg1)->Remove(arg2,arg3);
2945
2946 wxPyEndAllowThreads(__tstate);
2947 if (PyErr_Occurred()) SWIG_fail;
2948 }
2949 Py_INCREF(Py_None); resultobj = Py_None;
2950 return resultobj;
2951 fail:
2952 return NULL;
2953 }
2954
2955
2956 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2957 PyObject *obj;
2958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2959 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2960 Py_INCREF(obj);
2961 return Py_BuildValue((char *)"");
2962 }
2963 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 wxWindow *arg1 = (wxWindow *) 0 ;
2966 wxWindowID arg2 ;
2967 int arg3 ;
2968 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2969 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2970 wxSize const &arg5_defvalue = wxDefaultSize ;
2971 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2972 long arg6 = (long) wxGA_HORIZONTAL ;
2973 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2974 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2975 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
2976 wxString *arg8 = (wxString *) &arg8_defvalue ;
2977 wxGauge *result;
2978 wxPoint temp4 ;
2979 wxSize temp5 ;
2980 bool temp8 = false ;
2981 PyObject * obj0 = 0 ;
2982 PyObject * obj3 = 0 ;
2983 PyObject * obj4 = 0 ;
2984 PyObject * obj6 = 0 ;
2985 PyObject * obj7 = 0 ;
2986 char *kwnames[] = {
2987 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2988 };
2989
2990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
2991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2992 if (obj3) {
2993 {
2994 arg4 = &temp4;
2995 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2996 }
2997 }
2998 if (obj4) {
2999 {
3000 arg5 = &temp5;
3001 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3002 }
3003 }
3004 if (obj6) {
3005 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3006 if (arg7 == NULL) {
3007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3008 }
3009 }
3010 if (obj7) {
3011 {
3012 arg8 = wxString_in_helper(obj7);
3013 if (arg8 == NULL) SWIG_fail;
3014 temp8 = true;
3015 }
3016 }
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3025 {
3026 if (temp8)
3027 delete arg8;
3028 }
3029 return resultobj;
3030 fail:
3031 {
3032 if (temp8)
3033 delete arg8;
3034 }
3035 return NULL;
3036 }
3037
3038
3039 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3040 PyObject *resultobj;
3041 wxGauge *result;
3042 char *kwnames[] = {
3043 NULL
3044 };
3045
3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 result = (wxGauge *)new wxGauge();
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3055 return resultobj;
3056 fail:
3057 return NULL;
3058 }
3059
3060
3061 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject *resultobj;
3063 wxGauge *arg1 = (wxGauge *) 0 ;
3064 wxWindow *arg2 = (wxWindow *) 0 ;
3065 wxWindowID arg3 ;
3066 int arg4 ;
3067 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3068 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3069 wxSize const &arg6_defvalue = wxDefaultSize ;
3070 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3071 long arg7 = (long) wxGA_HORIZONTAL ;
3072 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3073 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3074 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3075 wxString *arg9 = (wxString *) &arg9_defvalue ;
3076 bool result;
3077 wxPoint temp5 ;
3078 wxSize temp6 ;
3079 bool temp9 = false ;
3080 PyObject * obj0 = 0 ;
3081 PyObject * obj1 = 0 ;
3082 PyObject * obj4 = 0 ;
3083 PyObject * obj5 = 0 ;
3084 PyObject * obj7 = 0 ;
3085 PyObject * obj8 = 0 ;
3086 char *kwnames[] = {
3087 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3088 };
3089
3090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3093 if (obj4) {
3094 {
3095 arg5 = &temp5;
3096 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3097 }
3098 }
3099 if (obj5) {
3100 {
3101 arg6 = &temp6;
3102 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3103 }
3104 }
3105 if (obj7) {
3106 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3107 if (arg8 == NULL) {
3108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3109 }
3110 }
3111 if (obj8) {
3112 {
3113 arg9 = wxString_in_helper(obj8);
3114 if (arg9 == NULL) SWIG_fail;
3115 temp9 = true;
3116 }
3117 }
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
3120 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 resultobj = PyInt_FromLong((long)result);
3126 {
3127 if (temp9)
3128 delete arg9;
3129 }
3130 return resultobj;
3131 fail:
3132 {
3133 if (temp9)
3134 delete arg9;
3135 }
3136 return NULL;
3137 }
3138
3139
3140 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3141 PyObject *resultobj;
3142 wxGauge *arg1 = (wxGauge *) 0 ;
3143 int arg2 ;
3144 PyObject * obj0 = 0 ;
3145 char *kwnames[] = {
3146 (char *) "self",(char *) "range", NULL
3147 };
3148
3149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3151 {
3152 PyThreadState* __tstate = wxPyBeginAllowThreads();
3153 (arg1)->SetRange(arg2);
3154
3155 wxPyEndAllowThreads(__tstate);
3156 if (PyErr_Occurred()) SWIG_fail;
3157 }
3158 Py_INCREF(Py_None); resultobj = Py_None;
3159 return resultobj;
3160 fail:
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxGauge *arg1 = (wxGauge *) 0 ;
3168 int result;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
3178 result = (int)((wxGauge const *)arg1)->GetRange();
3179
3180 wxPyEndAllowThreads(__tstate);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 resultobj = PyInt_FromLong((long)result);
3184 return resultobj;
3185 fail:
3186 return NULL;
3187 }
3188
3189
3190 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3191 PyObject *resultobj;
3192 wxGauge *arg1 = (wxGauge *) 0 ;
3193 int arg2 ;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self",(char *) "pos", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 (arg1)->SetValue(arg2);
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 Py_INCREF(Py_None); resultobj = Py_None;
3209 return resultobj;
3210 fail:
3211 return NULL;
3212 }
3213
3214
3215 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3216 PyObject *resultobj;
3217 wxGauge *arg1 = (wxGauge *) 0 ;
3218 int result;
3219 PyObject * obj0 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3226 {
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 result = (int)((wxGauge const *)arg1)->GetValue();
3229
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 resultobj = PyInt_FromLong((long)result);
3234 return resultobj;
3235 fail:
3236 return NULL;
3237 }
3238
3239
3240 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject *resultobj;
3242 wxGauge *arg1 = (wxGauge *) 0 ;
3243 bool result;
3244 PyObject * obj0 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "self", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (bool)((wxGauge const *)arg1)->IsVertical();
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 resultobj = PyInt_FromLong((long)result);
3259 return resultobj;
3260 fail:
3261 return NULL;
3262 }
3263
3264
3265 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxGauge *arg1 = (wxGauge *) 0 ;
3268 int arg2 ;
3269 PyObject * obj0 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self",(char *) "w", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 (arg1)->SetShadowWidth(arg2);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 Py_INCREF(Py_None); resultobj = Py_None;
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxGauge *arg1 = (wxGauge *) 0 ;
3293 int result;
3294 PyObject * obj0 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 resultobj = PyInt_FromLong((long)result);
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxGauge *arg1 = (wxGauge *) 0 ;
3318 int arg2 ;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self",(char *) "w", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 (arg1)->SetBezelFace(arg2);
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 Py_INCREF(Py_None); resultobj = Py_None;
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxGauge *arg1 = (wxGauge *) 0 ;
3343 int result;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 resultobj = PyInt_FromLong((long)result);
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3366 PyObject *obj;
3367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3368 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3369 Py_INCREF(obj);
3370 return Py_BuildValue((char *)"");
3371 }
3372 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxWindow *arg1 = (wxWindow *) 0 ;
3375 wxWindowID arg2 ;
3376 wxString *arg3 = 0 ;
3377 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3378 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3379 wxSize const &arg5_defvalue = wxDefaultSize ;
3380 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3381 long arg6 = (long) 0 ;
3382 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3383 wxString *arg7 = (wxString *) &arg7_defvalue ;
3384 wxStaticBox *result;
3385 bool temp3 = false ;
3386 wxPoint temp4 ;
3387 wxSize temp5 ;
3388 bool temp7 = false ;
3389 PyObject * obj0 = 0 ;
3390 PyObject * obj2 = 0 ;
3391 PyObject * obj3 = 0 ;
3392 PyObject * obj4 = 0 ;
3393 PyObject * obj6 = 0 ;
3394 char *kwnames[] = {
3395 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3396 };
3397
3398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3400 {
3401 arg3 = wxString_in_helper(obj2);
3402 if (arg3 == NULL) SWIG_fail;
3403 temp3 = true;
3404 }
3405 if (obj3) {
3406 {
3407 arg4 = &temp4;
3408 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3409 }
3410 }
3411 if (obj4) {
3412 {
3413 arg5 = &temp5;
3414 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3415 }
3416 }
3417 if (obj6) {
3418 {
3419 arg7 = wxString_in_helper(obj6);
3420 if (arg7 == NULL) SWIG_fail;
3421 temp7 = true;
3422 }
3423 }
3424 {
3425 PyThreadState* __tstate = wxPyBeginAllowThreads();
3426 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3427
3428 wxPyEndAllowThreads(__tstate);
3429 if (PyErr_Occurred()) SWIG_fail;
3430 }
3431 {
3432 resultobj = wxPyMake_wxObject(result);
3433 }
3434 {
3435 if (temp3)
3436 delete arg3;
3437 }
3438 {
3439 if (temp7)
3440 delete arg7;
3441 }
3442 return resultobj;
3443 fail:
3444 {
3445 if (temp3)
3446 delete arg3;
3447 }
3448 {
3449 if (temp7)
3450 delete arg7;
3451 }
3452 return NULL;
3453 }
3454
3455
3456 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj;
3458 wxStaticBox *result;
3459 char *kwnames[] = {
3460 NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 result = (wxStaticBox *)new wxStaticBox();
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 {
3472 resultobj = wxPyMake_wxObject(result);
3473 }
3474 return resultobj;
3475 fail:
3476 return NULL;
3477 }
3478
3479
3480 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3483 wxWindow *arg2 = (wxWindow *) 0 ;
3484 wxWindowID arg3 ;
3485 wxString *arg4 = 0 ;
3486 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3487 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3488 wxSize const &arg6_defvalue = wxDefaultSize ;
3489 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3490 long arg7 = (long) 0 ;
3491 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3492 wxString *arg8 = (wxString *) &arg8_defvalue ;
3493 bool result;
3494 bool temp4 = false ;
3495 wxPoint temp5 ;
3496 wxSize temp6 ;
3497 bool temp8 = false ;
3498 PyObject * obj0 = 0 ;
3499 PyObject * obj1 = 0 ;
3500 PyObject * obj3 = 0 ;
3501 PyObject * obj4 = 0 ;
3502 PyObject * obj5 = 0 ;
3503 PyObject * obj7 = 0 ;
3504 char *kwnames[] = {
3505 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3506 };
3507
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3511 {
3512 arg4 = wxString_in_helper(obj3);
3513 if (arg4 == NULL) SWIG_fail;
3514 temp4 = true;
3515 }
3516 if (obj4) {
3517 {
3518 arg5 = &temp5;
3519 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3520 }
3521 }
3522 if (obj5) {
3523 {
3524 arg6 = &temp6;
3525 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3526 }
3527 }
3528 if (obj7) {
3529 {
3530 arg8 = wxString_in_helper(obj7);
3531 if (arg8 == NULL) SWIG_fail;
3532 temp8 = true;
3533 }
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3538
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 resultobj = PyInt_FromLong((long)result);
3543 {
3544 if (temp4)
3545 delete arg4;
3546 }
3547 {
3548 if (temp8)
3549 delete arg8;
3550 }
3551 return resultobj;
3552 fail:
3553 {
3554 if (temp4)
3555 delete arg4;
3556 }
3557 {
3558 if (temp8)
3559 delete arg8;
3560 }
3561 return NULL;
3562 }
3563
3564
3565 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3566 PyObject *obj;
3567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3568 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3569 Py_INCREF(obj);
3570 return Py_BuildValue((char *)"");
3571 }
3572 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3573 PyObject *resultobj;
3574 wxWindow *arg1 = (wxWindow *) 0 ;
3575 wxWindowID arg2 ;
3576 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3577 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3578 wxSize const &arg4_defvalue = wxDefaultSize ;
3579 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3580 long arg5 = (long) wxLI_HORIZONTAL ;
3581 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3582 wxString *arg6 = (wxString *) &arg6_defvalue ;
3583 wxStaticLine *result;
3584 wxPoint temp3 ;
3585 wxSize temp4 ;
3586 bool temp6 = false ;
3587 PyObject * obj0 = 0 ;
3588 PyObject * obj2 = 0 ;
3589 PyObject * obj3 = 0 ;
3590 PyObject * obj5 = 0 ;
3591 char *kwnames[] = {
3592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3593 };
3594
3595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3597 if (obj2) {
3598 {
3599 arg3 = &temp3;
3600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3601 }
3602 }
3603 if (obj3) {
3604 {
3605 arg4 = &temp4;
3606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3607 }
3608 }
3609 if (obj5) {
3610 {
3611 arg6 = wxString_in_helper(obj5);
3612 if (arg6 == NULL) SWIG_fail;
3613 temp6 = true;
3614 }
3615 }
3616 {
3617 PyThreadState* __tstate = wxPyBeginAllowThreads();
3618 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3619
3620 wxPyEndAllowThreads(__tstate);
3621 if (PyErr_Occurred()) SWIG_fail;
3622 }
3623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3624 {
3625 if (temp6)
3626 delete arg6;
3627 }
3628 return resultobj;
3629 fail:
3630 {
3631 if (temp6)
3632 delete arg6;
3633 }
3634 return NULL;
3635 }
3636
3637
3638 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3639 PyObject *resultobj;
3640 wxStaticLine *result;
3641 char *kwnames[] = {
3642 NULL
3643 };
3644
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 result = (wxStaticLine *)new wxStaticLine();
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3654 return resultobj;
3655 fail:
3656 return NULL;
3657 }
3658
3659
3660 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3661 PyObject *resultobj;
3662 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3663 wxWindow *arg2 = (wxWindow *) 0 ;
3664 wxWindowID arg3 ;
3665 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3666 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3667 wxSize const &arg5_defvalue = wxDefaultSize ;
3668 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3669 long arg6 = (long) wxLI_HORIZONTAL ;
3670 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3671 wxString *arg7 = (wxString *) &arg7_defvalue ;
3672 bool result;
3673 wxPoint temp4 ;
3674 wxSize temp5 ;
3675 bool temp7 = false ;
3676 PyObject * obj0 = 0 ;
3677 PyObject * obj1 = 0 ;
3678 PyObject * obj3 = 0 ;
3679 PyObject * obj4 = 0 ;
3680 PyObject * obj6 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3688 if (obj3) {
3689 {
3690 arg4 = &temp4;
3691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3692 }
3693 }
3694 if (obj4) {
3695 {
3696 arg5 = &temp5;
3697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3698 }
3699 }
3700 if (obj6) {
3701 {
3702 arg7 = wxString_in_helper(obj6);
3703 if (arg7 == NULL) SWIG_fail;
3704 temp7 = true;
3705 }
3706 }
3707 {
3708 PyThreadState* __tstate = wxPyBeginAllowThreads();
3709 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3710
3711 wxPyEndAllowThreads(__tstate);
3712 if (PyErr_Occurred()) SWIG_fail;
3713 }
3714 resultobj = PyInt_FromLong((long)result);
3715 {
3716 if (temp7)
3717 delete arg7;
3718 }
3719 return resultobj;
3720 fail:
3721 {
3722 if (temp7)
3723 delete arg7;
3724 }
3725 return NULL;
3726 }
3727
3728
3729 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3730 PyObject *resultobj;
3731 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3732 bool result;
3733 PyObject * obj0 = 0 ;
3734 char *kwnames[] = {
3735 (char *) "self", NULL
3736 };
3737
3738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3740 {
3741 PyThreadState* __tstate = wxPyBeginAllowThreads();
3742 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3743
3744 wxPyEndAllowThreads(__tstate);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 }
3747 resultobj = PyInt_FromLong((long)result);
3748 return resultobj;
3749 fail:
3750 return NULL;
3751 }
3752
3753
3754 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject *resultobj;
3756 int result;
3757 char *kwnames[] = {
3758 NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 result = (int)wxStaticLine::GetDefaultSize();
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
3769 resultobj = PyInt_FromLong((long)result);
3770 return resultobj;
3771 fail:
3772 return NULL;
3773 }
3774
3775
3776 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3777 PyObject *obj;
3778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3779 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3780 Py_INCREF(obj);
3781 return Py_BuildValue((char *)"");
3782 }
3783 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3784 PyObject *resultobj;
3785 wxWindow *arg1 = (wxWindow *) 0 ;
3786 wxWindowID arg2 ;
3787 wxString *arg3 = 0 ;
3788 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3789 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3790 wxSize const &arg5_defvalue = wxDefaultSize ;
3791 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3792 long arg6 = (long) 0 ;
3793 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3794 wxString *arg7 = (wxString *) &arg7_defvalue ;
3795 wxStaticText *result;
3796 bool temp3 = false ;
3797 wxPoint temp4 ;
3798 wxSize temp5 ;
3799 bool temp7 = false ;
3800 PyObject * obj0 = 0 ;
3801 PyObject * obj2 = 0 ;
3802 PyObject * obj3 = 0 ;
3803 PyObject * obj4 = 0 ;
3804 PyObject * obj6 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3811 {
3812 arg3 = wxString_in_helper(obj2);
3813 if (arg3 == NULL) SWIG_fail;
3814 temp3 = true;
3815 }
3816 if (obj3) {
3817 {
3818 arg4 = &temp4;
3819 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3820 }
3821 }
3822 if (obj4) {
3823 {
3824 arg5 = &temp5;
3825 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3826 }
3827 }
3828 if (obj6) {
3829 {
3830 arg7 = wxString_in_helper(obj6);
3831 if (arg7 == NULL) SWIG_fail;
3832 temp7 = true;
3833 }
3834 }
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3843 {
3844 if (temp3)
3845 delete arg3;
3846 }
3847 {
3848 if (temp7)
3849 delete arg7;
3850 }
3851 return resultobj;
3852 fail:
3853 {
3854 if (temp3)
3855 delete arg3;
3856 }
3857 {
3858 if (temp7)
3859 delete arg7;
3860 }
3861 return NULL;
3862 }
3863
3864
3865 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3866 PyObject *resultobj;
3867 wxStaticText *result;
3868 char *kwnames[] = {
3869 NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3873 {
3874 PyThreadState* __tstate = wxPyBeginAllowThreads();
3875 result = (wxStaticText *)new wxStaticText();
3876
3877 wxPyEndAllowThreads(__tstate);
3878 if (PyErr_Occurred()) SWIG_fail;
3879 }
3880 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3881 return resultobj;
3882 fail:
3883 return NULL;
3884 }
3885
3886
3887 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3888 PyObject *resultobj;
3889 wxStaticText *arg1 = (wxStaticText *) 0 ;
3890 wxWindow *arg2 = (wxWindow *) 0 ;
3891 wxWindowID arg3 ;
3892 wxString *arg4 = 0 ;
3893 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3894 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3895 wxSize const &arg6_defvalue = wxDefaultSize ;
3896 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3897 long arg7 = (long) 0 ;
3898 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3899 wxString *arg8 = (wxString *) &arg8_defvalue ;
3900 bool result;
3901 bool temp4 = false ;
3902 wxPoint temp5 ;
3903 wxSize temp6 ;
3904 bool temp8 = false ;
3905 PyObject * obj0 = 0 ;
3906 PyObject * obj1 = 0 ;
3907 PyObject * obj3 = 0 ;
3908 PyObject * obj4 = 0 ;
3909 PyObject * obj5 = 0 ;
3910 PyObject * obj7 = 0 ;
3911 char *kwnames[] = {
3912 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3913 };
3914
3915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3918 {
3919 arg4 = wxString_in_helper(obj3);
3920 if (arg4 == NULL) SWIG_fail;
3921 temp4 = true;
3922 }
3923 if (obj4) {
3924 {
3925 arg5 = &temp5;
3926 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3927 }
3928 }
3929 if (obj5) {
3930 {
3931 arg6 = &temp6;
3932 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3933 }
3934 }
3935 if (obj7) {
3936 {
3937 arg8 = wxString_in_helper(obj7);
3938 if (arg8 == NULL) SWIG_fail;
3939 temp8 = true;
3940 }
3941 }
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3945
3946 wxPyEndAllowThreads(__tstate);
3947 if (PyErr_Occurred()) SWIG_fail;
3948 }
3949 resultobj = PyInt_FromLong((long)result);
3950 {
3951 if (temp4)
3952 delete arg4;
3953 }
3954 {
3955 if (temp8)
3956 delete arg8;
3957 }
3958 return resultobj;
3959 fail:
3960 {
3961 if (temp4)
3962 delete arg4;
3963 }
3964 {
3965 if (temp8)
3966 delete arg8;
3967 }
3968 return NULL;
3969 }
3970
3971
3972 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3973 PyObject *obj;
3974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3975 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
3976 Py_INCREF(obj);
3977 return Py_BuildValue((char *)"");
3978 }
3979 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject *resultobj;
3981 wxWindow *arg1 = (wxWindow *) 0 ;
3982 wxWindowID arg2 ;
3983 wxBitmap *arg3 = 0 ;
3984 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3985 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3986 wxSize const &arg5_defvalue = wxDefaultSize ;
3987 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3988 long arg6 = (long) 0 ;
3989 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
3990 wxString *arg7 = (wxString *) &arg7_defvalue ;
3991 wxStaticBitmap *result;
3992 wxPoint temp4 ;
3993 wxSize temp5 ;
3994 bool temp7 = false ;
3995 PyObject * obj0 = 0 ;
3996 PyObject * obj2 = 0 ;
3997 PyObject * obj3 = 0 ;
3998 PyObject * obj4 = 0 ;
3999 PyObject * obj6 = 0 ;
4000 char *kwnames[] = {
4001 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4002 };
4003
4004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4006 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4007 if (arg3 == NULL) {
4008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4009 }
4010 if (obj3) {
4011 {
4012 arg4 = &temp4;
4013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4014 }
4015 }
4016 if (obj4) {
4017 {
4018 arg5 = &temp5;
4019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4020 }
4021 }
4022 if (obj6) {
4023 {
4024 arg7 = wxString_in_helper(obj6);
4025 if (arg7 == NULL) SWIG_fail;
4026 temp7 = true;
4027 }
4028 }
4029 {
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4031 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4032
4033 wxPyEndAllowThreads(__tstate);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4037 {
4038 if (temp7)
4039 delete arg7;
4040 }
4041 return resultobj;
4042 fail:
4043 {
4044 if (temp7)
4045 delete arg7;
4046 }
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxStaticBitmap *result;
4054 char *kwnames[] = {
4055 NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4059 {
4060 PyThreadState* __tstate = wxPyBeginAllowThreads();
4061 result = (wxStaticBitmap *)new wxStaticBitmap();
4062
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4074 PyObject *resultobj;
4075 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4076 wxWindow *arg2 = (wxWindow *) 0 ;
4077 wxWindowID arg3 ;
4078 wxBitmap *arg4 = 0 ;
4079 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4080 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4081 wxSize const &arg6_defvalue = wxDefaultSize ;
4082 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4083 long arg7 = (long) 0 ;
4084 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4085 wxString *arg8 = (wxString *) &arg8_defvalue ;
4086 bool result;
4087 wxPoint temp5 ;
4088 wxSize temp6 ;
4089 bool temp8 = false ;
4090 PyObject * obj0 = 0 ;
4091 PyObject * obj1 = 0 ;
4092 PyObject * obj3 = 0 ;
4093 PyObject * obj4 = 0 ;
4094 PyObject * obj5 = 0 ;
4095 PyObject * obj7 = 0 ;
4096 char *kwnames[] = {
4097 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4098 };
4099
4100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4103 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4104 if (arg4 == NULL) {
4105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4106 }
4107 if (obj4) {
4108 {
4109 arg5 = &temp5;
4110 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4111 }
4112 }
4113 if (obj5) {
4114 {
4115 arg6 = &temp6;
4116 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4117 }
4118 }
4119 if (obj7) {
4120 {
4121 arg8 = wxString_in_helper(obj7);
4122 if (arg8 == NULL) SWIG_fail;
4123 temp8 = true;
4124 }
4125 }
4126 {
4127 PyThreadState* __tstate = wxPyBeginAllowThreads();
4128 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4129
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 resultobj = PyInt_FromLong((long)result);
4134 {
4135 if (temp8)
4136 delete arg8;
4137 }
4138 return resultobj;
4139 fail:
4140 {
4141 if (temp8)
4142 delete arg8;
4143 }
4144 return NULL;
4145 }
4146
4147
4148 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4149 PyObject *resultobj;
4150 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4151 wxBitmap result;
4152 PyObject * obj0 = 0 ;
4153 char *kwnames[] = {
4154 (char *) "self", NULL
4155 };
4156
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (arg1)->GetBitmap();
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 {
4167 wxBitmap * resultptr;
4168 resultptr = new wxBitmap((wxBitmap &) result);
4169 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4170 }
4171 return resultobj;
4172 fail:
4173 return NULL;
4174 }
4175
4176
4177 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4180 wxBitmap *arg2 = 0 ;
4181 PyObject * obj0 = 0 ;
4182 PyObject * obj1 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "self",(char *) "bitmap", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4189 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4190 if (arg2 == NULL) {
4191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4192 }
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4196
4197 wxPyEndAllowThreads(__tstate);
4198 if (PyErr_Occurred()) SWIG_fail;
4199 }
4200 Py_INCREF(Py_None); resultobj = Py_None;
4201 return resultobj;
4202 fail:
4203 return NULL;
4204 }
4205
4206
4207 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4208 PyObject *resultobj;
4209 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4210 wxIcon *arg2 = 0 ;
4211 PyObject * obj0 = 0 ;
4212 PyObject * obj1 = 0 ;
4213 char *kwnames[] = {
4214 (char *) "self",(char *) "icon", NULL
4215 };
4216
4217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4220 if (arg2 == NULL) {
4221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4222 }
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 (arg1)->SetIcon((wxIcon const &)*arg2);
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 Py_INCREF(Py_None); resultobj = Py_None;
4231 return resultobj;
4232 fail:
4233 return NULL;
4234 }
4235
4236
4237 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4238 PyObject *obj;
4239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4240 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4241 Py_INCREF(obj);
4242 return Py_BuildValue((char *)"");
4243 }
4244 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4245 PyObject *resultobj;
4246 wxWindow *arg1 = (wxWindow *) 0 ;
4247 wxWindowID arg2 ;
4248 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4249 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4250 wxSize const &arg4_defvalue = wxDefaultSize ;
4251 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4252 int arg5 = (int) 0 ;
4253 wxString *arg6 = (wxString *) NULL ;
4254 long arg7 = (long) 0 ;
4255 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4256 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4257 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4258 wxString *arg9 = (wxString *) &arg9_defvalue ;
4259 wxListBox *result;
4260 wxPoint temp3 ;
4261 wxSize temp4 ;
4262 bool temp8 = false ;
4263 PyObject * obj0 = 0 ;
4264 PyObject * obj2 = 0 ;
4265 PyObject * obj3 = 0 ;
4266 PyObject * obj4 = 0 ;
4267 PyObject * obj6 = 0 ;
4268 PyObject * obj7 = 0 ;
4269 char *kwnames[] = {
4270 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4271 };
4272
4273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4275 if (obj2) {
4276 {
4277 arg3 = &temp3;
4278 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4279 }
4280 }
4281 if (obj3) {
4282 {
4283 arg4 = &temp4;
4284 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4285 }
4286 }
4287 if (obj4) {
4288 {
4289 arg5 = PyList_Size(obj4);
4290 arg6 = wxString_LIST_helper(obj4);
4291 if (arg6 == NULL) SWIG_fail;
4292 }
4293 }
4294 if (obj6) {
4295 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4296 if (arg8 == NULL) {
4297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4298 }
4299 }
4300 if (obj7) {
4301 {
4302 arg9 = wxString_in_helper(obj7);
4303 if (arg9 == NULL) SWIG_fail;
4304 temp8 = true;
4305 }
4306 }
4307 {
4308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4309 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4310
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
4314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4315 {
4316 if (arg6) delete [] arg6;
4317 }
4318 {
4319 if (temp8)
4320 delete arg9;
4321 }
4322 return resultobj;
4323 fail:
4324 {
4325 if (arg6) delete [] arg6;
4326 }
4327 {
4328 if (temp8)
4329 delete arg9;
4330 }
4331 return NULL;
4332 }
4333
4334
4335 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj;
4337 wxListBox *result;
4338 char *kwnames[] = {
4339 NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 result = (wxListBox *)new wxListBox();
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4351 return resultobj;
4352 fail:
4353 return NULL;
4354 }
4355
4356
4357 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxListBox *arg1 = (wxListBox *) 0 ;
4360 wxWindow *arg2 = (wxWindow *) 0 ;
4361 wxWindowID arg3 ;
4362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4364 wxSize const &arg5_defvalue = wxDefaultSize ;
4365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4366 int arg6 = (int) 0 ;
4367 wxString *arg7 = (wxString *) NULL ;
4368 long arg8 = (long) 0 ;
4369 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4370 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4371 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4372 wxString *arg10 = (wxString *) &arg10_defvalue ;
4373 bool result;
4374 wxPoint temp4 ;
4375 wxSize temp5 ;
4376 bool temp9 = false ;
4377 PyObject * obj0 = 0 ;
4378 PyObject * obj1 = 0 ;
4379 PyObject * obj3 = 0 ;
4380 PyObject * obj4 = 0 ;
4381 PyObject * obj5 = 0 ;
4382 PyObject * obj7 = 0 ;
4383 PyObject * obj8 = 0 ;
4384 char *kwnames[] = {
4385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4386 };
4387
4388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4391 if (obj3) {
4392 {
4393 arg4 = &temp4;
4394 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4395 }
4396 }
4397 if (obj4) {
4398 {
4399 arg5 = &temp5;
4400 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4401 }
4402 }
4403 if (obj5) {
4404 {
4405 arg6 = PyList_Size(obj5);
4406 arg7 = wxString_LIST_helper(obj5);
4407 if (arg7 == NULL) SWIG_fail;
4408 }
4409 }
4410 if (obj7) {
4411 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4412 if (arg9 == NULL) {
4413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4414 }
4415 }
4416 if (obj8) {
4417 {
4418 arg10 = wxString_in_helper(obj8);
4419 if (arg10 == NULL) SWIG_fail;
4420 temp9 = true;
4421 }
4422 }
4423 {
4424 PyThreadState* __tstate = wxPyBeginAllowThreads();
4425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4426
4427 wxPyEndAllowThreads(__tstate);
4428 if (PyErr_Occurred()) SWIG_fail;
4429 }
4430 resultobj = PyInt_FromLong((long)result);
4431 {
4432 if (arg7) delete [] arg7;
4433 }
4434 {
4435 if (temp9)
4436 delete arg10;
4437 }
4438 return resultobj;
4439 fail:
4440 {
4441 if (arg7) delete [] arg7;
4442 }
4443 {
4444 if (temp9)
4445 delete arg10;
4446 }
4447 return NULL;
4448 }
4449
4450
4451 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxListBox *arg1 = (wxListBox *) 0 ;
4454 wxString *arg2 = 0 ;
4455 int arg3 ;
4456 PyObject *arg4 = (PyObject *) NULL ;
4457 bool temp2 = false ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 PyObject * obj3 = 0 ;
4461 char *kwnames[] = {
4462 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4463 };
4464
4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4467 {
4468 arg2 = wxString_in_helper(obj1);
4469 if (arg2 == NULL) SWIG_fail;
4470 temp2 = true;
4471 }
4472 if (obj3) {
4473 arg4 = obj3;
4474 }
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 Py_INCREF(Py_None); resultobj = Py_None;
4483 {
4484 if (temp2)
4485 delete arg2;
4486 }
4487 return resultobj;
4488 fail:
4489 {
4490 if (temp2)
4491 delete arg2;
4492 }
4493 return NULL;
4494 }
4495
4496
4497 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj;
4499 wxListBox *arg1 = (wxListBox *) 0 ;
4500 wxArrayString *arg2 = 0 ;
4501 int arg3 ;
4502 PyObject * obj0 = 0 ;
4503 PyObject * obj1 = 0 ;
4504 char *kwnames[] = {
4505 (char *) "self",(char *) "items",(char *) "pos", NULL
4506 };
4507
4508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4510 {
4511 if (! PySequence_Check(obj1)) {
4512 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4513 SWIG_fail;
4514 }
4515 arg2 = new wxArrayString;
4516 int i, len=PySequence_Length(obj1);
4517 for (i=0; i<len; i++) {
4518 PyObject* item = PySequence_GetItem(obj1, i);
4519 #if wxUSE_UNICODE
4520 PyObject* str = PyObject_Unicode(item);
4521 #else
4522 PyObject* str = PyObject_Str(item);
4523 #endif
4524 arg2->Add(Py2wxString(str));
4525 Py_DECREF(item);
4526 Py_DECREF(str);
4527 }
4528 }
4529 {
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4532
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
4536 Py_INCREF(Py_None); resultobj = Py_None;
4537 {
4538 if (arg2) delete arg2;
4539 }
4540 return resultobj;
4541 fail:
4542 {
4543 if (arg2) delete arg2;
4544 }
4545 return NULL;
4546 }
4547
4548
4549 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4550 PyObject *resultobj;
4551 wxListBox *arg1 = (wxListBox *) 0 ;
4552 wxArrayString *arg2 = 0 ;
4553 PyObject * obj0 = 0 ;
4554 PyObject * obj1 = 0 ;
4555 char *kwnames[] = {
4556 (char *) "self",(char *) "items", NULL
4557 };
4558
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4561 {
4562 if (! PySequence_Check(obj1)) {
4563 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4564 SWIG_fail;
4565 }
4566 arg2 = new wxArrayString;
4567 int i, len=PySequence_Length(obj1);
4568 for (i=0; i<len; i++) {
4569 PyObject* item = PySequence_GetItem(obj1, i);
4570 #if wxUSE_UNICODE
4571 PyObject* str = PyObject_Unicode(item);
4572 #else
4573 PyObject* str = PyObject_Str(item);
4574 #endif
4575 arg2->Add(Py2wxString(str));
4576 Py_DECREF(item);
4577 Py_DECREF(str);
4578 }
4579 }
4580 {
4581 PyThreadState* __tstate = wxPyBeginAllowThreads();
4582 (arg1)->Set((wxArrayString const &)*arg2);
4583
4584 wxPyEndAllowThreads(__tstate);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 Py_INCREF(Py_None); resultobj = Py_None;
4588 {
4589 if (arg2) delete arg2;
4590 }
4591 return resultobj;
4592 fail:
4593 {
4594 if (arg2) delete arg2;
4595 }
4596 return NULL;
4597 }
4598
4599
4600 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4601 PyObject *resultobj;
4602 wxListBox *arg1 = (wxListBox *) 0 ;
4603 int arg2 ;
4604 bool result;
4605 PyObject * obj0 = 0 ;
4606 char *kwnames[] = {
4607 (char *) "self",(char *) "n", NULL
4608 };
4609
4610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 resultobj = PyInt_FromLong((long)result);
4620 return resultobj;
4621 fail:
4622 return NULL;
4623 }
4624
4625
4626 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4627 PyObject *resultobj;
4628 wxListBox *arg1 = (wxListBox *) 0 ;
4629 int arg2 ;
4630 bool arg3 = (bool) TRUE ;
4631 PyObject * obj0 = 0 ;
4632 PyObject * obj2 = 0 ;
4633 char *kwnames[] = {
4634 (char *) "self",(char *) "n",(char *) "select", NULL
4635 };
4636
4637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4639 if (obj2) {
4640 arg3 = PyInt_AsLong(obj2) ? true : false;
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 {
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 (arg1)->SetSelection(arg2,arg3);
4646
4647 wxPyEndAllowThreads(__tstate);
4648 if (PyErr_Occurred()) SWIG_fail;
4649 }
4650 Py_INCREF(Py_None); resultobj = Py_None;
4651 return resultobj;
4652 fail:
4653 return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj;
4659 wxListBox *arg1 = (wxListBox *) 0 ;
4660 int arg2 ;
4661 PyObject * obj0 = 0 ;
4662 char *kwnames[] = {
4663 (char *) "self",(char *) "n", NULL
4664 };
4665
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",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 (arg1)->Select(arg2);
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 Py_INCREF(Py_None); resultobj = Py_None;
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxListBox *arg1 = (wxListBox *) 0 ;
4685 int arg2 ;
4686 PyObject * obj0 = 0 ;
4687 char *kwnames[] = {
4688 (char *) "self",(char *) "n", NULL
4689 };
4690
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 (arg1)->Deselect(arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 Py_INCREF(Py_None); resultobj = Py_None;
4701 return resultobj;
4702 fail:
4703 return NULL;
4704 }
4705
4706
4707 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 wxListBox *arg1 = (wxListBox *) 0 ;
4710 int arg2 = (int) -1 ;
4711 PyObject * obj0 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "self",(char *) "itemToLeaveSelected", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 (arg1)->DeselectAll(arg2);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxListBox *arg1 = (wxListBox *) 0 ;
4735 wxString *arg2 = 0 ;
4736 bool arg3 = (bool) TRUE ;
4737 bool result;
4738 bool temp2 = false ;
4739 PyObject * obj0 = 0 ;
4740 PyObject * obj1 = 0 ;
4741 PyObject * obj2 = 0 ;
4742 char *kwnames[] = {
4743 (char *) "self",(char *) "s",(char *) "select", NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4748 {
4749 arg2 = wxString_in_helper(obj1);
4750 if (arg2 == NULL) SWIG_fail;
4751 temp2 = true;
4752 }
4753 if (obj2) {
4754 arg3 = PyInt_AsLong(obj2) ? true : false;
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4760
4761 wxPyEndAllowThreads(__tstate);
4762 if (PyErr_Occurred()) SWIG_fail;
4763 }
4764 resultobj = PyInt_FromLong((long)result);
4765 {
4766 if (temp2)
4767 delete arg2;
4768 }
4769 return resultobj;
4770 fail:
4771 {
4772 if (temp2)
4773 delete arg2;
4774 }
4775 return NULL;
4776 }
4777
4778
4779 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4780 PyObject *resultobj;
4781 wxListBox *arg1 = (wxListBox *) 0 ;
4782 PyObject *result;
4783 PyObject * obj0 = 0 ;
4784 char *kwnames[] = {
4785 (char *) "self", NULL
4786 };
4787
4788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4790 {
4791 PyThreadState* __tstate = wxPyBeginAllowThreads();
4792 result = (PyObject *)wxListBox_GetSelections(arg1);
4793
4794 wxPyEndAllowThreads(__tstate);
4795 if (PyErr_Occurred()) SWIG_fail;
4796 }
4797 resultobj = result;
4798 return resultobj;
4799 fail:
4800 return NULL;
4801 }
4802
4803
4804 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 wxListBox *arg1 = (wxListBox *) 0 ;
4807 int arg2 ;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self",(char *) "n", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 (arg1)->SetFirstItem(arg2);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 Py_INCREF(Py_None); resultobj = Py_None;
4823 return resultobj;
4824 fail:
4825 return NULL;
4826 }
4827
4828
4829 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxListBox *arg1 = (wxListBox *) 0 ;
4832 wxString *arg2 = 0 ;
4833 bool temp2 = false ;
4834 PyObject * obj0 = 0 ;
4835 PyObject * obj1 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self",(char *) "s", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4842 {
4843 arg2 = wxString_in_helper(obj1);
4844 if (arg2 == NULL) SWIG_fail;
4845 temp2 = true;
4846 }
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 (arg1)->SetFirstItem((wxString const &)*arg2);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 Py_INCREF(Py_None); resultobj = Py_None;
4855 {
4856 if (temp2)
4857 delete arg2;
4858 }
4859 return resultobj;
4860 fail:
4861 {
4862 if (temp2)
4863 delete arg2;
4864 }
4865 return NULL;
4866 }
4867
4868
4869 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4870 PyObject *resultobj;
4871 wxListBox *arg1 = (wxListBox *) 0 ;
4872 int arg2 ;
4873 PyObject * obj0 = 0 ;
4874 char *kwnames[] = {
4875 (char *) "self",(char *) "n", NULL
4876 };
4877
4878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 (arg1)->EnsureVisible(arg2);
4883
4884 wxPyEndAllowThreads(__tstate);
4885 if (PyErr_Occurred()) SWIG_fail;
4886 }
4887 Py_INCREF(Py_None); resultobj = Py_None;
4888 return resultobj;
4889 fail:
4890 return NULL;
4891 }
4892
4893
4894 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj;
4896 wxListBox *arg1 = (wxListBox *) 0 ;
4897 wxString *arg2 = 0 ;
4898 bool temp2 = false ;
4899 PyObject * obj0 = 0 ;
4900 PyObject * obj1 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self",(char *) "s", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4907 {
4908 arg2 = wxString_in_helper(obj1);
4909 if (arg2 == NULL) SWIG_fail;
4910 temp2 = true;
4911 }
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4919 Py_INCREF(Py_None); resultobj = Py_None;
4920 {
4921 if (temp2)
4922 delete arg2;
4923 }
4924 return resultobj;
4925 fail:
4926 {
4927 if (temp2)
4928 delete arg2;
4929 }
4930 return NULL;
4931 }
4932
4933
4934 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj;
4936 wxListBox *arg1 = (wxListBox *) 0 ;
4937 bool result;
4938 PyObject * obj0 = 0 ;
4939 char *kwnames[] = {
4940 (char *) "self", NULL
4941 };
4942
4943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 result = (bool)((wxListBox const *)arg1)->IsSorted();
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 resultobj = PyInt_FromLong((long)result);
4953 return resultobj;
4954 fail:
4955 return NULL;
4956 }
4957
4958
4959 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4960 PyObject *obj;
4961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4962 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4963 Py_INCREF(obj);
4964 return Py_BuildValue((char *)"");
4965 }
4966 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4967 PyObject *resultobj;
4968 wxWindow *arg1 = (wxWindow *) 0 ;
4969 wxWindowID arg2 ;
4970 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4971 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4972 wxSize const &arg4_defvalue = wxDefaultSize ;
4973 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4974 int arg5 = (int) 0 ;
4975 wxString *arg6 = (wxString *) NULL ;
4976 long arg7 = (long) 0 ;
4977 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4978 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4979 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4980 wxString *arg9 = (wxString *) &arg9_defvalue ;
4981 wxCheckListBox *result;
4982 wxPoint temp3 ;
4983 wxSize temp4 ;
4984 bool temp8 = false ;
4985 PyObject * obj0 = 0 ;
4986 PyObject * obj2 = 0 ;
4987 PyObject * obj3 = 0 ;
4988 PyObject * obj4 = 0 ;
4989 PyObject * obj6 = 0 ;
4990 PyObject * obj7 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4997 if (obj2) {
4998 {
4999 arg3 = &temp3;
5000 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5001 }
5002 }
5003 if (obj3) {
5004 {
5005 arg4 = &temp4;
5006 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5007 }
5008 }
5009 if (obj4) {
5010 {
5011 arg5 = PyList_Size(obj4);
5012 arg6 = wxString_LIST_helper(obj4);
5013 if (arg6 == NULL) SWIG_fail;
5014 }
5015 }
5016 if (obj6) {
5017 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5018 if (arg8 == NULL) {
5019 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5020 }
5021 }
5022 if (obj7) {
5023 {
5024 arg9 = wxString_in_helper(obj7);
5025 if (arg9 == NULL) SWIG_fail;
5026 temp8 = true;
5027 }
5028 }
5029 {
5030 PyThreadState* __tstate = wxPyBeginAllowThreads();
5031 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5032
5033 wxPyEndAllowThreads(__tstate);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 }
5036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5037 {
5038 if (arg6) delete [] arg6;
5039 }
5040 {
5041 if (temp8)
5042 delete arg9;
5043 }
5044 return resultobj;
5045 fail:
5046 {
5047 if (arg6) delete [] arg6;
5048 }
5049 {
5050 if (temp8)
5051 delete arg9;
5052 }
5053 return NULL;
5054 }
5055
5056
5057 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj;
5059 wxCheckListBox *result;
5060 char *kwnames[] = {
5061 NULL
5062 };
5063
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5065 {
5066 PyThreadState* __tstate = wxPyBeginAllowThreads();
5067 result = (wxCheckListBox *)new wxCheckListBox();
5068
5069 wxPyEndAllowThreads(__tstate);
5070 if (PyErr_Occurred()) SWIG_fail;
5071 }
5072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5082 wxWindow *arg2 = (wxWindow *) 0 ;
5083 wxWindowID arg3 ;
5084 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5085 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5086 wxSize const &arg5_defvalue = wxDefaultSize ;
5087 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5088 int arg6 = (int) 0 ;
5089 wxString *arg7 = (wxString *) NULL ;
5090 long arg8 = (long) 0 ;
5091 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5092 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5093 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5094 wxString *arg10 = (wxString *) &arg10_defvalue ;
5095 bool result;
5096 wxPoint temp4 ;
5097 wxSize temp5 ;
5098 bool temp9 = false ;
5099 PyObject * obj0 = 0 ;
5100 PyObject * obj1 = 0 ;
5101 PyObject * obj3 = 0 ;
5102 PyObject * obj4 = 0 ;
5103 PyObject * obj5 = 0 ;
5104 PyObject * obj7 = 0 ;
5105 PyObject * obj8 = 0 ;
5106 char *kwnames[] = {
5107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5108 };
5109
5110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5113 if (obj3) {
5114 {
5115 arg4 = &temp4;
5116 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5117 }
5118 }
5119 if (obj4) {
5120 {
5121 arg5 = &temp5;
5122 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5123 }
5124 }
5125 if (obj5) {
5126 {
5127 arg6 = PyList_Size(obj5);
5128 arg7 = wxString_LIST_helper(obj5);
5129 if (arg7 == NULL) SWIG_fail;
5130 }
5131 }
5132 if (obj7) {
5133 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5134 if (arg9 == NULL) {
5135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5136 }
5137 }
5138 if (obj8) {
5139 {
5140 arg10 = wxString_in_helper(obj8);
5141 if (arg10 == NULL) SWIG_fail;
5142 temp9 = true;
5143 }
5144 }
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 resultobj = PyInt_FromLong((long)result);
5153 {
5154 if (arg7) delete [] arg7;
5155 }
5156 {
5157 if (temp9)
5158 delete arg10;
5159 }
5160 return resultobj;
5161 fail:
5162 {
5163 if (arg7) delete [] arg7;
5164 }
5165 {
5166 if (temp9)
5167 delete arg10;
5168 }
5169 return NULL;
5170 }
5171
5172
5173 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5174 PyObject *resultobj;
5175 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5176 int arg2 ;
5177 bool result;
5178 PyObject * obj0 = 0 ;
5179 char *kwnames[] = {
5180 (char *) "self",(char *) "index", NULL
5181 };
5182
5183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 result = (bool)(arg1)->IsChecked(arg2);
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 resultobj = PyInt_FromLong((long)result);
5193 return resultobj;
5194 fail:
5195 return NULL;
5196 }
5197
5198
5199 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5200 PyObject *resultobj;
5201 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5202 int arg2 ;
5203 int arg3 = (int) TRUE ;
5204 PyObject * obj0 = 0 ;
5205 char *kwnames[] = {
5206 (char *) "self",(char *) "index",(char *) "check", NULL
5207 };
5208
5209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5211 {
5212 PyThreadState* __tstate = wxPyBeginAllowThreads();
5213 (arg1)->Check(arg2,arg3);
5214
5215 wxPyEndAllowThreads(__tstate);
5216 if (PyErr_Occurred()) SWIG_fail;
5217 }
5218 Py_INCREF(Py_None); resultobj = Py_None;
5219 return resultobj;
5220 fail:
5221 return NULL;
5222 }
5223
5224
5225 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5226 PyObject *resultobj;
5227 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5228 wxPoint *arg2 = 0 ;
5229 int result;
5230 wxPoint temp2 ;
5231 PyObject * obj0 = 0 ;
5232 PyObject * obj1 = 0 ;
5233 char *kwnames[] = {
5234 (char *) "self",(char *) "pt", NULL
5235 };
5236
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5239 {
5240 arg2 = &temp2;
5241 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5242 }
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5246
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 resultobj = PyInt_FromLong((long)result);
5251 return resultobj;
5252 fail:
5253 return NULL;
5254 }
5255
5256
5257 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5260 wxCoord arg2 ;
5261 wxCoord arg3 ;
5262 int result;
5263 PyObject * obj0 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self",(char *) "x",(char *) "y", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5270 {
5271 PyThreadState* __tstate = wxPyBeginAllowThreads();
5272 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5273
5274 wxPyEndAllowThreads(__tstate);
5275 if (PyErr_Occurred()) SWIG_fail;
5276 }
5277 resultobj = PyInt_FromLong((long)result);
5278 return resultobj;
5279 fail:
5280 return NULL;
5281 }
5282
5283
5284 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5285 PyObject *obj;
5286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5287 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5288 Py_INCREF(obj);
5289 return Py_BuildValue((char *)"");
5290 }
5291 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5292 PyObject *resultobj;
5293 wxTextAttr *result;
5294
5295 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5296 {
5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
5298 result = (wxTextAttr *)new wxTextAttr();
5299
5300 wxPyEndAllowThreads(__tstate);
5301 if (PyErr_Occurred()) SWIG_fail;
5302 }
5303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5304 return resultobj;
5305 fail:
5306 return NULL;
5307 }
5308
5309
5310 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5311 PyObject *resultobj;
5312 wxColour *arg1 = 0 ;
5313 wxColour const &arg2_defvalue = wxNullColour ;
5314 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5315 wxFont const &arg3_defvalue = wxNullFont ;
5316 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5317 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5318 wxTextAttr *result;
5319 wxColour temp1 ;
5320 wxColour temp2 ;
5321 PyObject * obj0 = 0 ;
5322 PyObject * obj1 = 0 ;
5323 PyObject * obj2 = 0 ;
5324
5325 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5326 {
5327 arg1 = &temp1;
5328 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5329 }
5330 if (obj1) {
5331 {
5332 arg2 = &temp2;
5333 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5334 }
5335 }
5336 if (obj2) {
5337 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5338 if (arg3 == NULL) {
5339 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5340 }
5341 }
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5345
5346 wxPyEndAllowThreads(__tstate);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5350 return resultobj;
5351 fail:
5352 return NULL;
5353 }
5354
5355
5356 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5357 int argc;
5358 PyObject *argv[5];
5359 int ii;
5360
5361 argc = PyObject_Length(args);
5362 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5363 argv[ii] = PyTuple_GetItem(args,ii);
5364 }
5365 if (argc == 0) {
5366 return _wrap_new_TextAttr__SWIG_0(self,args);
5367 }
5368 if ((argc >= 1) && (argc <= 4)) {
5369 int _v;
5370 {
5371 _v = wxColour_typecheck(argv[0]);
5372 }
5373 if (_v) {
5374 if (argc <= 1) {
5375 return _wrap_new_TextAttr__SWIG_1(self,args);
5376 }
5377 {
5378 _v = wxColour_typecheck(argv[1]);
5379 }
5380 if (_v) {
5381 if (argc <= 2) {
5382 return _wrap_new_TextAttr__SWIG_1(self,args);
5383 }
5384 {
5385 void *ptr;
5386 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5387 _v = 0;
5388 PyErr_Clear();
5389 } else {
5390 _v = 1;
5391 }
5392 }
5393 if (_v) {
5394 if (argc <= 3) {
5395 return _wrap_new_TextAttr__SWIG_1(self,args);
5396 }
5397 {
5398 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5399 }
5400 if (_v) {
5401 return _wrap_new_TextAttr__SWIG_1(self,args);
5402 }
5403 }
5404 }
5405 }
5406 }
5407
5408 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5409 return NULL;
5410 }
5411
5412
5413 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5414 PyObject *resultobj;
5415 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5416 PyObject * obj0 = 0 ;
5417 char *kwnames[] = {
5418 (char *) "self", NULL
5419 };
5420
5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 (arg1)->Init();
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
5430 Py_INCREF(Py_None); resultobj = Py_None;
5431 return resultobj;
5432 fail:
5433 return NULL;
5434 }
5435
5436
5437 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5438 PyObject *resultobj;
5439 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5440 wxColour *arg2 = 0 ;
5441 wxColour temp2 ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self",(char *) "colText", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5450 {
5451 arg2 = &temp2;
5452 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5453 }
5454 {
5455 PyThreadState* __tstate = wxPyBeginAllowThreads();
5456 (arg1)->SetTextColour((wxColour const &)*arg2);
5457
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 Py_INCREF(Py_None); resultobj = Py_None;
5462 return resultobj;
5463 fail:
5464 return NULL;
5465 }
5466
5467
5468 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj;
5470 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5471 wxColour *arg2 = 0 ;
5472 wxColour temp2 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "colBack", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5481 {
5482 arg2 = &temp2;
5483 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5484 }
5485 {
5486 PyThreadState* __tstate = wxPyBeginAllowThreads();
5487 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5488
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 Py_INCREF(Py_None); resultobj = Py_None;
5493 return resultobj;
5494 fail:
5495 return NULL;
5496 }
5497
5498
5499 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject *resultobj;
5501 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5502 wxFont *arg2 = 0 ;
5503 long arg3 = (long) wxTEXT_ATTR_FONT ;
5504 PyObject * obj0 = 0 ;
5505 PyObject * obj1 = 0 ;
5506 char *kwnames[] = {
5507 (char *) "self",(char *) "font",(char *) "flags", NULL
5508 };
5509
5510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5513 if (arg2 == NULL) {
5514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5515 }
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5519
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 Py_INCREF(Py_None); resultobj = Py_None;
5524 return resultobj;
5525 fail:
5526 return NULL;
5527 }
5528
5529
5530 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5531 PyObject *resultobj;
5532 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5533 int arg2 ;
5534 PyObject * obj0 = 0 ;
5535 char *kwnames[] = {
5536 (char *) "self",(char *) "alignment", NULL
5537 };
5538
5539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5544
5545 wxPyEndAllowThreads(__tstate);
5546 if (PyErr_Occurred()) SWIG_fail;
5547 }
5548 Py_INCREF(Py_None); resultobj = Py_None;
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5556 PyObject *resultobj;
5557 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5558 wxArrayInt *arg2 = 0 ;
5559 PyObject * obj0 = 0 ;
5560 PyObject * obj1 = 0 ;
5561 char *kwnames[] = {
5562 (char *) "self",(char *) "tabs", NULL
5563 };
5564
5565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5567 {
5568 if (! PySequence_Check(obj1)) {
5569 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5570 SWIG_fail;
5571 }
5572 arg2 = new wxArrayInt;
5573 int i, len=PySequence_Length(obj1);
5574 for (i=0; i<len; i++) {
5575 PyObject* item = PySequence_GetItem(obj1, i);
5576 PyObject* number = PyNumber_Int(item);
5577 arg2->Add(PyInt_AS_LONG(number));
5578 Py_DECREF(item);
5579 Py_DECREF(number);
5580 }
5581 }
5582 {
5583 PyThreadState* __tstate = wxPyBeginAllowThreads();
5584 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5585
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 Py_INCREF(Py_None); resultobj = Py_None;
5590 {
5591 if (arg2) delete arg2;
5592 }
5593 return resultobj;
5594 fail:
5595 {
5596 if (arg2) delete arg2;
5597 }
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5605 int arg2 ;
5606 PyObject * obj0 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self",(char *) "indent", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 (arg1)->SetLeftIndent(arg2);
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 Py_INCREF(Py_None); resultobj = Py_None;
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5630 int arg2 ;
5631 PyObject * obj0 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self",(char *) "indent", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 (arg1)->SetRightIndent(arg2);
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 Py_INCREF(Py_None); resultobj = Py_None;
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5655 long arg2 ;
5656 PyObject * obj0 = 0 ;
5657 char *kwnames[] = {
5658 (char *) "self",(char *) "flags", NULL
5659 };
5660
5661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 (arg1)->SetFlags(arg2);
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 Py_INCREF(Py_None); resultobj = Py_None;
5671 return resultobj;
5672 fail:
5673 return NULL;
5674 }
5675
5676
5677 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5678 PyObject *resultobj;
5679 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5680 bool result;
5681 PyObject * obj0 = 0 ;
5682 char *kwnames[] = {
5683 (char *) "self", NULL
5684 };
5685
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5688 {
5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
5690 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5691
5692 wxPyEndAllowThreads(__tstate);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
5695 resultobj = PyInt_FromLong((long)result);
5696 return resultobj;
5697 fail:
5698 return NULL;
5699 }
5700
5701
5702 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject *resultobj;
5704 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5705 bool result;
5706 PyObject * obj0 = 0 ;
5707 char *kwnames[] = {
5708 (char *) "self", NULL
5709 };
5710
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 resultobj = PyInt_FromLong((long)result);
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5730 bool result;
5731 PyObject * obj0 = 0 ;
5732 char *kwnames[] = {
5733 (char *) "self", NULL
5734 };
5735
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = PyInt_FromLong((long)result);
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5755 bool result;
5756 PyObject * obj0 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 resultobj = PyInt_FromLong((long)result);
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5780 bool result;
5781 PyObject * obj0 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = PyInt_FromLong((long)result);
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5805 bool result;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 resultobj = PyInt_FromLong((long)result);
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5830 bool result;
5831 PyObject * obj0 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 resultobj = PyInt_FromLong((long)result);
5846 return resultobj;
5847 fail:
5848 return NULL;
5849 }
5850
5851
5852 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5855 long arg2 ;
5856 bool result;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self",(char *) "flag", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 resultobj = PyInt_FromLong((long)result);
5872 return resultobj;
5873 fail:
5874 return NULL;
5875 }
5876
5877
5878 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5881 wxColour *result;
5882 PyObject * obj0 = 0 ;
5883 char *kwnames[] = {
5884 (char *) "self", NULL
5885 };
5886
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 {
5892 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5893 result = (wxColour *) &_result_ref;
5894 }
5895
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
5899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5900 return resultobj;
5901 fail:
5902 return NULL;
5903 }
5904
5905
5906 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj;
5908 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5909 wxColour *result;
5910 PyObject * obj0 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5917 {
5918 PyThreadState* __tstate = wxPyBeginAllowThreads();
5919 {
5920 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5921 result = (wxColour *) &_result_ref;
5922 }
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5937 wxFont *result;
5938 PyObject * obj0 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self", NULL
5941 };
5942
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) 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 {
5948 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5949 result = (wxFont *) &_result_ref;
5950 }
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5956 return resultobj;
5957 fail:
5958 return NULL;
5959 }
5960
5961
5962 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5963 PyObject *resultobj;
5964 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5965 int result;
5966 PyObject * obj0 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
5972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
5976
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 resultobj = PyInt_FromLong((long)result);
5981 return resultobj;
5982 fail:
5983 return NULL;
5984 }
5985
5986
5987 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj;
5989 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5990 wxArrayInt *result;
5991 PyObject * obj0 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",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 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6002 result = (wxArrayInt *) &_result_ref;
6003 }
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 {
6009 resultobj = PyList_New(0);
6010 size_t idx;
6011 for (idx = 0; idx < result->GetCount(); idx += 1) {
6012 PyObject* val = PyInt_FromLong( result->Item(idx) );
6013 PyList_Append(resultobj, val);
6014 Py_DECREF(val);
6015 }
6016 }
6017 return resultobj;
6018 fail:
6019 return NULL;
6020 }
6021
6022
6023 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6024 PyObject *resultobj;
6025 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6026 long result;
6027 PyObject * obj0 = 0 ;
6028 char *kwnames[] = {
6029 (char *) "self", NULL
6030 };
6031
6032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6037
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 resultobj = PyInt_FromLong((long)result);
6042 return resultobj;
6043 fail:
6044 return NULL;
6045 }
6046
6047
6048 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6049 PyObject *resultobj;
6050 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6051 long result;
6052 PyObject * obj0 = 0 ;
6053 char *kwnames[] = {
6054 (char *) "self", NULL
6055 };
6056
6057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6062
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 resultobj = PyInt_FromLong((long)result);
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6076 long result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 resultobj = PyInt_FromLong((long)result);
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6101 bool result;
6102 PyObject * obj0 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 resultobj = PyInt_FromLong((long)result);
6117 return resultobj;
6118 fail:
6119 return NULL;
6120 }
6121
6122
6123 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxTextAttr *arg1 = 0 ;
6126 wxTextAttr *arg2 = 0 ;
6127 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6128 wxTextAttr result;
6129 PyObject * obj0 = 0 ;
6130 PyObject * obj1 = 0 ;
6131 PyObject * obj2 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6138 if (arg1 == NULL) {
6139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6140 }
6141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6142 if (arg2 == NULL) {
6143 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6144 }
6145 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 {
6154 wxTextAttr * resultptr;
6155 resultptr = new wxTextAttr((wxTextAttr &) result);
6156 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6157 }
6158 return resultobj;
6159 fail:
6160 return NULL;
6161 }
6162
6163
6164 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6165 PyObject *obj;
6166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6167 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6168 Py_INCREF(obj);
6169 return Py_BuildValue((char *)"");
6170 }
6171 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6172 PyObject *resultobj;
6173 wxWindow *arg1 = (wxWindow *) 0 ;
6174 wxWindowID arg2 ;
6175 wxString const &arg3_defvalue = wxPyEmptyString ;
6176 wxString *arg3 = (wxString *) &arg3_defvalue ;
6177 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6178 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6179 wxSize const &arg5_defvalue = wxDefaultSize ;
6180 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6181 long arg6 = (long) 0 ;
6182 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6183 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6184 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6185 wxString *arg8 = (wxString *) &arg8_defvalue ;
6186 wxTextCtrl *result;
6187 bool temp3 = false ;
6188 wxPoint temp4 ;
6189 wxSize temp5 ;
6190 bool temp8 = false ;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj2 = 0 ;
6193 PyObject * obj3 = 0 ;
6194 PyObject * obj4 = 0 ;
6195 PyObject * obj6 = 0 ;
6196 PyObject * obj7 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6203 if (obj2) {
6204 {
6205 arg3 = wxString_in_helper(obj2);
6206 if (arg3 == NULL) SWIG_fail;
6207 temp3 = true;
6208 }
6209 }
6210 if (obj3) {
6211 {
6212 arg4 = &temp4;
6213 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6214 }
6215 }
6216 if (obj4) {
6217 {
6218 arg5 = &temp5;
6219 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6220 }
6221 }
6222 if (obj6) {
6223 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6224 if (arg7 == NULL) {
6225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6226 }
6227 }
6228 if (obj7) {
6229 {
6230 arg8 = wxString_in_helper(obj7);
6231 if (arg8 == NULL) SWIG_fail;
6232 temp8 = true;
6233 }
6234 }
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6238
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 {
6243 resultobj = wxPyMake_wxObject(result);
6244 }
6245 {
6246 if (temp3)
6247 delete arg3;
6248 }
6249 {
6250 if (temp8)
6251 delete arg8;
6252 }
6253 return resultobj;
6254 fail:
6255 {
6256 if (temp3)
6257 delete arg3;
6258 }
6259 {
6260 if (temp8)
6261 delete arg8;
6262 }
6263 return NULL;
6264 }
6265
6266
6267 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxTextCtrl *result;
6270 char *kwnames[] = {
6271 NULL
6272 };
6273
6274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (wxTextCtrl *)new wxTextCtrl();
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 {
6283 resultobj = wxPyMake_wxObject(result);
6284 }
6285 return resultobj;
6286 fail:
6287 return NULL;
6288 }
6289
6290
6291 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6294 wxWindow *arg2 = (wxWindow *) 0 ;
6295 wxWindowID arg3 ;
6296 wxString const &arg4_defvalue = wxPyEmptyString ;
6297 wxString *arg4 = (wxString *) &arg4_defvalue ;
6298 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6299 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6300 wxSize const &arg6_defvalue = wxDefaultSize ;
6301 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6302 long arg7 = (long) 0 ;
6303 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6304 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6305 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6306 wxString *arg9 = (wxString *) &arg9_defvalue ;
6307 bool result;
6308 bool temp4 = false ;
6309 wxPoint temp5 ;
6310 wxSize temp6 ;
6311 bool temp9 = false ;
6312 PyObject * obj0 = 0 ;
6313 PyObject * obj1 = 0 ;
6314 PyObject * obj3 = 0 ;
6315 PyObject * obj4 = 0 ;
6316 PyObject * obj5 = 0 ;
6317 PyObject * obj7 = 0 ;
6318 PyObject * obj8 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6326 if (obj3) {
6327 {
6328 arg4 = wxString_in_helper(obj3);
6329 if (arg4 == NULL) SWIG_fail;
6330 temp4 = true;
6331 }
6332 }
6333 if (obj4) {
6334 {
6335 arg5 = &temp5;
6336 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6337 }
6338 }
6339 if (obj5) {
6340 {
6341 arg6 = &temp6;
6342 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6343 }
6344 }
6345 if (obj7) {
6346 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6347 if (arg8 == NULL) {
6348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6349 }
6350 }
6351 if (obj8) {
6352 {
6353 arg9 = wxString_in_helper(obj8);
6354 if (arg9 == NULL) SWIG_fail;
6355 temp9 = true;
6356 }
6357 }
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6361
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 resultobj = PyInt_FromLong((long)result);
6366 {
6367 if (temp4)
6368 delete arg4;
6369 }
6370 {
6371 if (temp9)
6372 delete arg9;
6373 }
6374 return resultobj;
6375 fail:
6376 {
6377 if (temp4)
6378 delete arg4;
6379 }
6380 {
6381 if (temp9)
6382 delete arg9;
6383 }
6384 return NULL;
6385 }
6386
6387
6388 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj;
6390 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6391 wxString result;
6392 PyObject * obj0 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 result = ((wxTextCtrl const *)arg1)->GetValue();
6402
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 {
6407 #if wxUSE_UNICODE
6408 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6409 #else
6410 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6411 #endif
6412 }
6413 return resultobj;
6414 fail:
6415 return NULL;
6416 }
6417
6418
6419 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6420 PyObject *resultobj;
6421 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6422 wxString *arg2 = 0 ;
6423 bool temp2 = false ;
6424 PyObject * obj0 = 0 ;
6425 PyObject * obj1 = 0 ;
6426 char *kwnames[] = {
6427 (char *) "self",(char *) "value", NULL
6428 };
6429
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6432 {
6433 arg2 = wxString_in_helper(obj1);
6434 if (arg2 == NULL) SWIG_fail;
6435 temp2 = true;
6436 }
6437 {
6438 PyThreadState* __tstate = wxPyBeginAllowThreads();
6439 (arg1)->SetValue((wxString const &)*arg2);
6440
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 Py_INCREF(Py_None); resultobj = Py_None;
6445 {
6446 if (temp2)
6447 delete arg2;
6448 }
6449 return resultobj;
6450 fail:
6451 {
6452 if (temp2)
6453 delete arg2;
6454 }
6455 return NULL;
6456 }
6457
6458
6459 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj;
6461 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6462 long arg2 ;
6463 long arg3 ;
6464 wxString result;
6465 PyObject * obj0 = 0 ;
6466 char *kwnames[] = {
6467 (char *) "self",(char *) "from",(char *) "to", NULL
6468 };
6469
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 {
6480 #if wxUSE_UNICODE
6481 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6482 #else
6483 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6484 #endif
6485 }
6486 return resultobj;
6487 fail:
6488 return NULL;
6489 }
6490
6491
6492 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6493 PyObject *resultobj;
6494 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6495 long arg2 ;
6496 int result;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self",(char *) "lineNo", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 resultobj = PyInt_FromLong((long)result);
6512 return resultobj;
6513 fail:
6514 return NULL;
6515 }
6516
6517
6518 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6519 PyObject *resultobj;
6520 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6521 long arg2 ;
6522 wxString result;
6523 PyObject * obj0 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "lineNo", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6530 {
6531 PyThreadState* __tstate = wxPyBeginAllowThreads();
6532 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6533
6534 wxPyEndAllowThreads(__tstate);
6535 if (PyErr_Occurred()) SWIG_fail;
6536 }
6537 {
6538 #if wxUSE_UNICODE
6539 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6540 #else
6541 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6542 #endif
6543 }
6544 return resultobj;
6545 fail:
6546 return NULL;
6547 }
6548
6549
6550 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj;
6552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6553 int result;
6554 PyObject * obj0 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "self", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 resultobj = PyInt_FromLong((long)result);
6569 return resultobj;
6570 fail:
6571 return NULL;
6572 }
6573
6574
6575 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6578 bool result;
6579 PyObject * obj0 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = PyInt_FromLong((long)result);
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6603 bool result;
6604 PyObject * obj0 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) 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 = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 resultobj = PyInt_FromLong((long)result);
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6628 bool result;
6629 PyObject * obj0 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "self", NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6639
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 }
6643 resultobj = PyInt_FromLong((long)result);
6644 return resultobj;
6645 fail:
6646 return NULL;
6647 }
6648
6649
6650 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj;
6652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6653 bool result;
6654 PyObject * obj0 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 }
6668 resultobj = PyInt_FromLong((long)result);
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj;
6677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6678 long *arg2 = (long *) 0 ;
6679 long *arg3 = (long *) 0 ;
6680 long temp2 ;
6681 long temp3 ;
6682 PyObject * obj0 = 0 ;
6683 char *kwnames[] = {
6684 (char *) "self", NULL
6685 };
6686
6687 arg2 = &temp2;
6688 arg3 = &temp3;
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6691 {
6692 PyThreadState* __tstate = wxPyBeginAllowThreads();
6693 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 Py_INCREF(Py_None); resultobj = Py_None;
6699 {
6700 PyObject *o = PyInt_FromLong((long) (*arg2));
6701 resultobj = t_output_helper(resultobj,o);
6702 }
6703 {
6704 PyObject *o = PyInt_FromLong((long) (*arg3));
6705 resultobj = t_output_helper(resultobj,o);
6706 }
6707 return resultobj;
6708 fail:
6709 return NULL;
6710 }
6711
6712
6713 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6716 wxString result;
6717 PyObject * obj0 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6727
6728 wxPyEndAllowThreads(__tstate);
6729 if (PyErr_Occurred()) SWIG_fail;
6730 }
6731 {
6732 #if wxUSE_UNICODE
6733 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6734 #else
6735 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6736 #endif
6737 }
6738 return resultobj;
6739 fail:
6740 return NULL;
6741 }
6742
6743
6744 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6745 PyObject *resultobj;
6746 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6747 PyObject * obj0 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 (arg1)->Clear();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 Py_INCREF(Py_None); resultobj = Py_None;
6762 return resultobj;
6763 fail:
6764 return NULL;
6765 }
6766
6767
6768 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6771 long arg2 ;
6772 long arg3 ;
6773 wxString *arg4 = 0 ;
6774 bool temp4 = false ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj3 = 0 ;
6777 char *kwnames[] = {
6778 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6779 };
6780
6781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6783 {
6784 arg4 = wxString_in_helper(obj3);
6785 if (arg4 == NULL) SWIG_fail;
6786 temp4 = true;
6787 }
6788 {
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6791
6792 wxPyEndAllowThreads(__tstate);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
6795 Py_INCREF(Py_None); resultobj = Py_None;
6796 {
6797 if (temp4)
6798 delete arg4;
6799 }
6800 return resultobj;
6801 fail:
6802 {
6803 if (temp4)
6804 delete arg4;
6805 }
6806 return NULL;
6807 }
6808
6809
6810 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6811 PyObject *resultobj;
6812 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6813 long arg2 ;
6814 long arg3 ;
6815 PyObject * obj0 = 0 ;
6816 char *kwnames[] = {
6817 (char *) "self",(char *) "from",(char *) "to", NULL
6818 };
6819
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6822 {
6823 PyThreadState* __tstate = wxPyBeginAllowThreads();
6824 (arg1)->Remove(arg2,arg3);
6825
6826 wxPyEndAllowThreads(__tstate);
6827 if (PyErr_Occurred()) SWIG_fail;
6828 }
6829 Py_INCREF(Py_None); resultobj = Py_None;
6830 return resultobj;
6831 fail:
6832 return NULL;
6833 }
6834
6835
6836 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6837 PyObject *resultobj;
6838 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6839 wxString *arg2 = 0 ;
6840 bool result;
6841 bool temp2 = false ;
6842 PyObject * obj0 = 0 ;
6843 PyObject * obj1 = 0 ;
6844 char *kwnames[] = {
6845 (char *) "self",(char *) "file", NULL
6846 };
6847
6848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6850 {
6851 arg2 = wxString_in_helper(obj1);
6852 if (arg2 == NULL) SWIG_fail;
6853 temp2 = true;
6854 }
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 resultobj = PyInt_FromLong((long)result);
6863 {
6864 if (temp2)
6865 delete arg2;
6866 }
6867 return resultobj;
6868 fail:
6869 {
6870 if (temp2)
6871 delete arg2;
6872 }
6873 return NULL;
6874 }
6875
6876
6877 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6878 PyObject *resultobj;
6879 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6880 wxString const &arg2_defvalue = wxPyEmptyString ;
6881 wxString *arg2 = (wxString *) &arg2_defvalue ;
6882 bool result;
6883 bool temp2 = false ;
6884 PyObject * obj0 = 0 ;
6885 PyObject * obj1 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "file", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6892 if (obj1) {
6893 {
6894 arg2 = wxString_in_helper(obj1);
6895 if (arg2 == NULL) SWIG_fail;
6896 temp2 = true;
6897 }
6898 }
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6902
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 resultobj = PyInt_FromLong((long)result);
6907 {
6908 if (temp2)
6909 delete arg2;
6910 }
6911 return resultobj;
6912 fail:
6913 {
6914 if (temp2)
6915 delete arg2;
6916 }
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6924 PyObject * obj0 = 0 ;
6925 char *kwnames[] = {
6926 (char *) "self", NULL
6927 };
6928
6929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6931 {
6932 PyThreadState* __tstate = wxPyBeginAllowThreads();
6933 (arg1)->MarkDirty();
6934
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 Py_INCREF(Py_None); resultobj = Py_None;
6939 return resultobj;
6940 fail:
6941 return NULL;
6942 }
6943
6944
6945 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6946 PyObject *resultobj;
6947 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6948 PyObject * obj0 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
6954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 (arg1)->DiscardEdits();
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 Py_INCREF(Py_None); resultobj = Py_None;
6963 return resultobj;
6964 fail:
6965 return NULL;
6966 }
6967
6968
6969 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6972 unsigned long arg2 ;
6973 PyObject * obj0 = 0 ;
6974 PyObject * obj1 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self",(char *) "len", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 arg2 = (unsigned long) PyInt_AsLong(obj1);
6982 if (PyErr_Occurred()) SWIG_fail;
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 (arg1)->SetMaxLength(arg2);
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 Py_INCREF(Py_None); resultobj = Py_None;
6991 return resultobj;
6992 fail:
6993 return NULL;
6994 }
6995
6996
6997 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj;
6999 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7000 wxString *arg2 = 0 ;
7001 bool temp2 = false ;
7002 PyObject * obj0 = 0 ;
7003 PyObject * obj1 = 0 ;
7004 char *kwnames[] = {
7005 (char *) "self",(char *) "text", NULL
7006 };
7007
7008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7010 {
7011 arg2 = wxString_in_helper(obj1);
7012 if (arg2 == NULL) SWIG_fail;
7013 temp2 = true;
7014 }
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 (arg1)->WriteText((wxString const &)*arg2);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 Py_INCREF(Py_None); resultobj = Py_None;
7023 {
7024 if (temp2)
7025 delete arg2;
7026 }
7027 return resultobj;
7028 fail:
7029 {
7030 if (temp2)
7031 delete arg2;
7032 }
7033 return NULL;
7034 }
7035
7036
7037 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7038 PyObject *resultobj;
7039 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7040 wxString *arg2 = 0 ;
7041 bool temp2 = false ;
7042 PyObject * obj0 = 0 ;
7043 PyObject * obj1 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self",(char *) "text", NULL
7046 };
7047
7048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7050 {
7051 arg2 = wxString_in_helper(obj1);
7052 if (arg2 == NULL) SWIG_fail;
7053 temp2 = true;
7054 }
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 (arg1)->AppendText((wxString const &)*arg2);
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 Py_INCREF(Py_None); resultobj = Py_None;
7063 {
7064 if (temp2)
7065 delete arg2;
7066 }
7067 return resultobj;
7068 fail:
7069 {
7070 if (temp2)
7071 delete arg2;
7072 }
7073 return NULL;
7074 }
7075
7076
7077 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7080 wxKeyEvent *arg2 = 0 ;
7081 bool result;
7082 PyObject * obj0 = 0 ;
7083 PyObject * obj1 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self",(char *) "event", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7091 if (arg2 == NULL) {
7092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 resultobj = PyInt_FromLong((long)result);
7102 return resultobj;
7103 fail:
7104 return NULL;
7105 }
7106
7107
7108 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject *resultobj;
7110 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7111 long arg2 ;
7112 long arg3 ;
7113 wxTextAttr *arg4 = 0 ;
7114 bool result;
7115 PyObject * obj0 = 0 ;
7116 PyObject * obj3 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7123 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7124 if (arg4 == NULL) {
7125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7126 }
7127 {
7128 PyThreadState* __tstate = wxPyBeginAllowThreads();
7129 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7130
7131 wxPyEndAllowThreads(__tstate);
7132 if (PyErr_Occurred()) SWIG_fail;
7133 }
7134 resultobj = PyInt_FromLong((long)result);
7135 return resultobj;
7136 fail:
7137 return NULL;
7138 }
7139
7140
7141 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7144 long arg2 ;
7145 wxTextAttr *arg3 = 0 ;
7146 bool result;
7147 PyObject * obj0 = 0 ;
7148 PyObject * obj2 = 0 ;
7149 char *kwnames[] = {
7150 (char *) "self",(char *) "position",(char *) "style", NULL
7151 };
7152
7153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7155 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7156 if (arg3 == NULL) {
7157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7158 }
7159 {
7160 PyThreadState* __tstate = wxPyBeginAllowThreads();
7161 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7162
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 resultobj = PyInt_FromLong((long)result);
7167 return resultobj;
7168 fail:
7169 return NULL;
7170 }
7171
7172
7173 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj;
7175 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7176 wxTextAttr *arg2 = 0 ;
7177 bool result;
7178 PyObject * obj0 = 0 ;
7179 PyObject * obj1 = 0 ;
7180 char *kwnames[] = {
7181 (char *) "self",(char *) "style", NULL
7182 };
7183
7184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7187 if (arg2 == NULL) {
7188 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7189 }
7190 {
7191 PyThreadState* __tstate = wxPyBeginAllowThreads();
7192 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7193
7194 wxPyEndAllowThreads(__tstate);
7195 if (PyErr_Occurred()) SWIG_fail;
7196 }
7197 resultobj = PyInt_FromLong((long)result);
7198 return resultobj;
7199 fail:
7200 return NULL;
7201 }
7202
7203
7204 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7205 PyObject *resultobj;
7206 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7207 wxTextAttr *result;
7208 PyObject * obj0 = 0 ;
7209 char *kwnames[] = {
7210 (char *) "self", NULL
7211 };
7212
7213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 {
7218 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7219 result = (wxTextAttr *) &_result_ref;
7220 }
7221
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7226 return resultobj;
7227 fail:
7228 return NULL;
7229 }
7230
7231
7232 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj;
7234 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7235 long arg2 ;
7236 long arg3 ;
7237 long result;
7238 PyObject * obj0 = 0 ;
7239 char *kwnames[] = {
7240 (char *) "self",(char *) "x",(char *) "y", NULL
7241 };
7242
7243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7245 {
7246 PyThreadState* __tstate = wxPyBeginAllowThreads();
7247 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7248
7249 wxPyEndAllowThreads(__tstate);
7250 if (PyErr_Occurred()) SWIG_fail;
7251 }
7252 resultobj = PyInt_FromLong((long)result);
7253 return resultobj;
7254 fail:
7255 return NULL;
7256 }
7257
7258
7259 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7262 long arg2 ;
7263 long *arg3 = (long *) 0 ;
7264 long *arg4 = (long *) 0 ;
7265 long temp3 ;
7266 long temp4 ;
7267 PyObject * obj0 = 0 ;
7268 char *kwnames[] = {
7269 (char *) "self",(char *) "pos", NULL
7270 };
7271
7272 arg3 = &temp3;
7273 arg4 = &temp4;
7274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7276 {
7277 PyThreadState* __tstate = wxPyBeginAllowThreads();
7278 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7279
7280 wxPyEndAllowThreads(__tstate);
7281 if (PyErr_Occurred()) SWIG_fail;
7282 }
7283 Py_INCREF(Py_None); resultobj = Py_None;
7284 {
7285 PyObject *o = PyInt_FromLong((long) (*arg3));
7286 resultobj = t_output_helper(resultobj,o);
7287 }
7288 {
7289 PyObject *o = PyInt_FromLong((long) (*arg4));
7290 resultobj = t_output_helper(resultobj,o);
7291 }
7292 return resultobj;
7293 fail:
7294 return NULL;
7295 }
7296
7297
7298 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7299 PyObject *resultobj;
7300 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7301 long arg2 ;
7302 PyObject * obj0 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "pos", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 (arg1)->ShowPosition(arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 Py_INCREF(Py_None); resultobj = Py_None;
7317 return resultobj;
7318 fail:
7319 return NULL;
7320 }
7321
7322
7323 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj;
7325 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7326 PyObject * obj0 = 0 ;
7327 char *kwnames[] = {
7328 (char *) "self", NULL
7329 };
7330
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7333 {
7334 PyThreadState* __tstate = wxPyBeginAllowThreads();
7335 (arg1)->Copy();
7336
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 Py_INCREF(Py_None); resultobj = Py_None;
7341 return resultobj;
7342 fail:
7343 return NULL;
7344 }
7345
7346
7347 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7350 PyObject * obj0 = 0 ;
7351 char *kwnames[] = {
7352 (char *) "self", NULL
7353 };
7354
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) 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 (arg1)->Cut();
7360
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 Py_INCREF(Py_None); resultobj = Py_None;
7365 return resultobj;
7366 fail:
7367 return NULL;
7368 }
7369
7370
7371 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj;
7373 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7374 PyObject * obj0 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self", NULL
7377 };
7378
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 (arg1)->Paste();
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 Py_INCREF(Py_None); resultobj = Py_None;
7389 return resultobj;
7390 fail:
7391 return NULL;
7392 }
7393
7394
7395 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7396 PyObject *resultobj;
7397 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7398 bool result;
7399 PyObject * obj0 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = PyInt_FromLong((long)result);
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7423 bool result;
7424 PyObject * obj0 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "self", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 resultobj = PyInt_FromLong((long)result);
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7448 bool result;
7449 PyObject * obj0 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "self", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = PyInt_FromLong((long)result);
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 (arg1)->Undo();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 Py_INCREF(Py_None); resultobj = Py_None;
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7497 PyObject * obj0 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 (arg1)->Redo();
7507
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 Py_INCREF(Py_None); resultobj = Py_None;
7512 return resultobj;
7513 fail:
7514 return NULL;
7515 }
7516
7517
7518 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj;
7520 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7521 bool result;
7522 PyObject * obj0 = 0 ;
7523 char *kwnames[] = {
7524 (char *) "self", NULL
7525 };
7526
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 resultobj = PyInt_FromLong((long)result);
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject *resultobj;
7545 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7546 bool result;
7547 PyObject * obj0 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 resultobj = PyInt_FromLong((long)result);
7562 return resultobj;
7563 fail:
7564 return NULL;
7565 }
7566
7567
7568 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj;
7570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7571 long arg2 ;
7572 PyObject * obj0 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "self",(char *) "pos", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 (arg1)->SetInsertionPoint(arg2);
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 Py_INCREF(Py_None); resultobj = Py_None;
7587 return resultobj;
7588 fail:
7589 return NULL;
7590 }
7591
7592
7593 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj;
7595 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7596 PyObject * obj0 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 (arg1)->SetInsertionPointEnd();
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 Py_INCREF(Py_None); resultobj = Py_None;
7611 return resultobj;
7612 fail:
7613 return NULL;
7614 }
7615
7616
7617 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7620 long result;
7621 PyObject * obj0 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7631
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 resultobj = PyInt_FromLong((long)result);
7636 return resultobj;
7637 fail:
7638 return NULL;
7639 }
7640
7641
7642 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj;
7644 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7645 long result;
7646 PyObject * obj0 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7656
7657 wxPyEndAllowThreads(__tstate);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
7660 resultobj = PyInt_FromLong((long)result);
7661 return resultobj;
7662 fail:
7663 return NULL;
7664 }
7665
7666
7667 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj;
7669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7670 long arg2 ;
7671 long arg3 ;
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self",(char *) "from",(char *) "to", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SetSelection(arg2,arg3);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 Py_INCREF(Py_None); resultobj = Py_None;
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7696 PyObject * obj0 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 (arg1)->SelectAll();
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 Py_INCREF(Py_None); resultobj = Py_None;
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7720 bool arg2 ;
7721 PyObject * obj0 = 0 ;
7722 PyObject * obj1 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self",(char *) "editable", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 arg2 = PyInt_AsLong(obj1) ? true : false;
7730 if (PyErr_Occurred()) SWIG_fail;
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 (arg1)->SetEditable(arg2);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 Py_INCREF(Py_None); resultobj = Py_None;
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj;
7747 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7748 wxString *arg2 = 0 ;
7749 bool temp2 = false ;
7750 PyObject * obj0 = 0 ;
7751 PyObject * obj1 = 0 ;
7752 char *kwnames[] = {
7753 (char *) "self",(char *) "text", NULL
7754 };
7755
7756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7758 {
7759 arg2 = wxString_in_helper(obj1);
7760 if (arg2 == NULL) SWIG_fail;
7761 temp2 = true;
7762 }
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 Py_INCREF(Py_None); resultobj = Py_None;
7771 {
7772 if (temp2)
7773 delete arg2;
7774 }
7775 return resultobj;
7776 fail:
7777 {
7778 if (temp2)
7779 delete arg2;
7780 }
7781 return NULL;
7782 }
7783
7784
7785 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7786 PyObject *resultobj;
7787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7788 long arg2 ;
7789 long arg3 ;
7790 wxString result;
7791 PyObject * obj0 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "self",(char *) "from",(char *) "to", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7798 {
7799 PyThreadState* __tstate = wxPyBeginAllowThreads();
7800 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7801
7802 wxPyEndAllowThreads(__tstate);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 {
7806 #if wxUSE_UNICODE
7807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7808 #else
7809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7810 #endif
7811 }
7812 return resultobj;
7813 fail:
7814 return NULL;
7815 }
7816
7817
7818 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7819 PyObject *obj;
7820 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7821 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7822 Py_INCREF(obj);
7823 return Py_BuildValue((char *)"");
7824 }
7825 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7826 PyObject *resultobj;
7827 int arg1 ;
7828 wxMouseEvent *arg2 = 0 ;
7829 long arg3 ;
7830 long arg4 ;
7831 wxTextUrlEvent *result;
7832 PyObject * obj1 = 0 ;
7833 char *kwnames[] = {
7834 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7835 };
7836
7837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7839 if (arg2 == NULL) {
7840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7841 }
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7850 return resultobj;
7851 fail:
7852 return NULL;
7853 }
7854
7855
7856 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj;
7858 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7859 wxMouseEvent *result;
7860 PyObject * obj0 = 0 ;
7861 char *kwnames[] = {
7862 (char *) "self", NULL
7863 };
7864
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 {
7870 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7871 result = (wxMouseEvent *) &_result_ref;
7872 }
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7878 return resultobj;
7879 fail:
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7887 long result;
7888 PyObject * obj0 = 0 ;
7889 char *kwnames[] = {
7890 (char *) "self", NULL
7891 };
7892
7893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 resultobj = PyInt_FromLong((long)result);
7903 return resultobj;
7904 fail:
7905 return NULL;
7906 }
7907
7908
7909 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject *resultobj;
7911 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7912 long result;
7913 PyObject * obj0 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = PyInt_FromLong((long)result);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7935 PyObject *obj;
7936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7937 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7938 Py_INCREF(obj);
7939 return Py_BuildValue((char *)"");
7940 }
7941 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7942 PyObject *resultobj;
7943 wxWindow *arg1 = (wxWindow *) 0 ;
7944 wxWindowID arg2 = (wxWindowID) -1 ;
7945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7947 wxSize const &arg4_defvalue = wxDefaultSize ;
7948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7949 long arg5 = (long) wxSB_HORIZONTAL ;
7950 wxValidator const &arg6_defvalue = wxDefaultValidator ;
7951 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
7952 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
7953 wxString *arg7 = (wxString *) &arg7_defvalue ;
7954 wxScrollBar *result;
7955 wxPoint temp3 ;
7956 wxSize temp4 ;
7957 bool temp7 = false ;
7958 PyObject * obj0 = 0 ;
7959 PyObject * obj2 = 0 ;
7960 PyObject * obj3 = 0 ;
7961 PyObject * obj5 = 0 ;
7962 PyObject * obj6 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
7968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7969 if (obj2) {
7970 {
7971 arg3 = &temp3;
7972 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7973 }
7974 }
7975 if (obj3) {
7976 {
7977 arg4 = &temp4;
7978 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7979 }
7980 }
7981 if (obj5) {
7982 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7983 if (arg6 == NULL) {
7984 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7985 }
7986 }
7987 if (obj6) {
7988 {
7989 arg7 = wxString_in_helper(obj6);
7990 if (arg7 == NULL) SWIG_fail;
7991 temp7 = true;
7992 }
7993 }
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8002 {
8003 if (temp7)
8004 delete arg7;
8005 }
8006 return resultobj;
8007 fail:
8008 {
8009 if (temp7)
8010 delete arg7;
8011 }
8012 return NULL;
8013 }
8014
8015
8016 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8017 PyObject *resultobj;
8018 wxScrollBar *result;
8019 char *kwnames[] = {
8020 NULL
8021 };
8022
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (wxScrollBar *)new wxScrollBar();
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8032 return resultobj;
8033 fail:
8034 return NULL;
8035 }
8036
8037
8038 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj;
8040 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8041 wxWindow *arg2 = (wxWindow *) 0 ;
8042 wxWindowID arg3 = (wxWindowID) -1 ;
8043 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8044 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8045 wxSize const &arg5_defvalue = wxDefaultSize ;
8046 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8047 long arg6 = (long) wxSB_HORIZONTAL ;
8048 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8049 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8050 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8051 wxString *arg8 = (wxString *) &arg8_defvalue ;
8052 bool result;
8053 wxPoint temp4 ;
8054 wxSize temp5 ;
8055 bool temp8 = false ;
8056 PyObject * obj0 = 0 ;
8057 PyObject * obj1 = 0 ;
8058 PyObject * obj3 = 0 ;
8059 PyObject * obj4 = 0 ;
8060 PyObject * obj6 = 0 ;
8061 PyObject * obj7 = 0 ;
8062 char *kwnames[] = {
8063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8064 };
8065
8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8069 if (obj3) {
8070 {
8071 arg4 = &temp4;
8072 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8073 }
8074 }
8075 if (obj4) {
8076 {
8077 arg5 = &temp5;
8078 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8079 }
8080 }
8081 if (obj6) {
8082 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8083 if (arg7 == NULL) {
8084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8085 }
8086 }
8087 if (obj7) {
8088 {
8089 arg8 = wxString_in_helper(obj7);
8090 if (arg8 == NULL) SWIG_fail;
8091 temp8 = true;
8092 }
8093 }
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
8101 resultobj = PyInt_FromLong((long)result);
8102 {
8103 if (temp8)
8104 delete arg8;
8105 }
8106 return resultobj;
8107 fail:
8108 {
8109 if (temp8)
8110 delete arg8;
8111 }
8112 return NULL;
8113 }
8114
8115
8116 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj;
8118 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8119 int result;
8120 PyObject * obj0 = 0 ;
8121 char *kwnames[] = {
8122 (char *) "self", NULL
8123 };
8124
8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
8134 resultobj = PyInt_FromLong((long)result);
8135 return resultobj;
8136 fail:
8137 return NULL;
8138 }
8139
8140
8141 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8142 PyObject *resultobj;
8143 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8144 int result;
8145 PyObject * obj0 = 0 ;
8146 char *kwnames[] = {
8147 (char *) "self", NULL
8148 };
8149
8150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8152 {
8153 PyThreadState* __tstate = wxPyBeginAllowThreads();
8154 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8155
8156 wxPyEndAllowThreads(__tstate);
8157 if (PyErr_Occurred()) SWIG_fail;
8158 }
8159 resultobj = PyInt_FromLong((long)result);
8160 return resultobj;
8161 fail:
8162 return NULL;
8163 }
8164
8165
8166 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8167 PyObject *resultobj;
8168 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8169 int result;
8170 PyObject * obj0 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = PyInt_FromLong((long)result);
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8194 int result;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 result = (int)((wxScrollBar const *)arg1)->GetRange();
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 resultobj = PyInt_FromLong((long)result);
8210 return resultobj;
8211 fail:
8212 return NULL;
8213 }
8214
8215
8216 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8219 bool result;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 resultobj = PyInt_FromLong((long)result);
8235 return resultobj;
8236 fail:
8237 return NULL;
8238 }
8239
8240
8241 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject *resultobj;
8243 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8244 int arg2 ;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self",(char *) "viewStart", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 (arg1)->SetThumbPosition(arg2);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 Py_INCREF(Py_None); resultobj = Py_None;
8260 return resultobj;
8261 fail:
8262 return NULL;
8263 }
8264
8265
8266 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8269 int arg2 ;
8270 int arg3 ;
8271 int arg4 ;
8272 int arg5 ;
8273 bool arg6 = (bool) TRUE ;
8274 PyObject * obj0 = 0 ;
8275 PyObject * obj5 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8282 if (obj5) {
8283 arg6 = PyInt_AsLong(obj5) ? true : false;
8284 if (PyErr_Occurred()) SWIG_fail;
8285 }
8286 {
8287 PyThreadState* __tstate = wxPyBeginAllowThreads();
8288 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8289
8290 wxPyEndAllowThreads(__tstate);
8291 if (PyErr_Occurred()) SWIG_fail;
8292 }
8293 Py_INCREF(Py_None); resultobj = Py_None;
8294 return resultobj;
8295 fail:
8296 return NULL;
8297 }
8298
8299
8300 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8301 PyObject *obj;
8302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8303 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8304 Py_INCREF(obj);
8305 return Py_BuildValue((char *)"");
8306 }
8307 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8308 PyObject *resultobj;
8309 wxWindow *arg1 = (wxWindow *) 0 ;
8310 wxWindowID arg2 = (wxWindowID) -1 ;
8311 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8312 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8313 wxSize const &arg4_defvalue = wxDefaultSize ;
8314 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8315 long arg5 = (long) wxSP_HORIZONTAL ;
8316 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8317 wxString *arg6 = (wxString *) &arg6_defvalue ;
8318 wxSpinButton *result;
8319 wxPoint temp3 ;
8320 wxSize temp4 ;
8321 bool temp6 = false ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj2 = 0 ;
8324 PyObject * obj3 = 0 ;
8325 PyObject * obj5 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8332 if (obj2) {
8333 {
8334 arg3 = &temp3;
8335 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8336 }
8337 }
8338 if (obj3) {
8339 {
8340 arg4 = &temp4;
8341 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8342 }
8343 }
8344 if (obj5) {
8345 {
8346 arg6 = wxString_in_helper(obj5);
8347 if (arg6 == NULL) SWIG_fail;
8348 temp6 = true;
8349 }
8350 }
8351 {
8352 PyThreadState* __tstate = wxPyBeginAllowThreads();
8353 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8354
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8359 {
8360 if (temp6)
8361 delete arg6;
8362 }
8363 return resultobj;
8364 fail:
8365 {
8366 if (temp6)
8367 delete arg6;
8368 }
8369 return NULL;
8370 }
8371
8372
8373 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8374 PyObject *resultobj;
8375 wxSpinButton *result;
8376 char *kwnames[] = {
8377 NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 result = (wxSpinButton *)new wxSpinButton();
8384
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8389 return resultobj;
8390 fail:
8391 return NULL;
8392 }
8393
8394
8395 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8396 PyObject *resultobj;
8397 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8398 wxWindow *arg2 = (wxWindow *) 0 ;
8399 wxWindowID arg3 = (wxWindowID) -1 ;
8400 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8401 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8402 wxSize const &arg5_defvalue = wxDefaultSize ;
8403 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8404 long arg6 = (long) wxSP_HORIZONTAL ;
8405 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8406 wxString *arg7 = (wxString *) &arg7_defvalue ;
8407 bool result;
8408 wxPoint temp4 ;
8409 wxSize temp5 ;
8410 bool temp7 = false ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 PyObject * obj3 = 0 ;
8414 PyObject * obj4 = 0 ;
8415 PyObject * obj6 = 0 ;
8416 char *kwnames[] = {
8417 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8418 };
8419
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8423 if (obj3) {
8424 {
8425 arg4 = &temp4;
8426 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8427 }
8428 }
8429 if (obj4) {
8430 {
8431 arg5 = &temp5;
8432 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8433 }
8434 }
8435 if (obj6) {
8436 {
8437 arg7 = wxString_in_helper(obj6);
8438 if (arg7 == NULL) SWIG_fail;
8439 temp7 = true;
8440 }
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 resultobj = PyInt_FromLong((long)result);
8450 {
8451 if (temp7)
8452 delete arg7;
8453 }
8454 return resultobj;
8455 fail:
8456 {
8457 if (temp7)
8458 delete arg7;
8459 }
8460 return NULL;
8461 }
8462
8463
8464 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8467 int result;
8468 PyObject * obj0 = 0 ;
8469 char *kwnames[] = {
8470 (char *) "self", NULL
8471 };
8472
8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (int)((wxSpinButton const *)arg1)->GetValue();
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 resultobj = PyInt_FromLong((long)result);
8483 return resultobj;
8484 fail:
8485 return NULL;
8486 }
8487
8488
8489 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8492 int result;
8493 PyObject * obj0 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = (int)((wxSpinButton const *)arg1)->GetMin();
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 resultobj = PyInt_FromLong((long)result);
8508 return resultobj;
8509 fail:
8510 return NULL;
8511 }
8512
8513
8514 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8517 int result;
8518 PyObject * obj0 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (int)((wxSpinButton const *)arg1)->GetMax();
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 resultobj = PyInt_FromLong((long)result);
8533 return resultobj;
8534 fail:
8535 return NULL;
8536 }
8537
8538
8539 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8542 int arg2 ;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self",(char *) "val", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 (arg1)->SetValue(arg2);
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 Py_INCREF(Py_None); resultobj = Py_None;
8558 return resultobj;
8559 fail:
8560 return NULL;
8561 }
8562
8563
8564 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8565 PyObject *resultobj;
8566 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8567 int arg2 ;
8568 PyObject * obj0 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self",(char *) "minVal", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 (arg1)->SetMin(arg2);
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 Py_INCREF(Py_None); resultobj = Py_None;
8583 return resultobj;
8584 fail:
8585 return NULL;
8586 }
8587
8588
8589 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8592 int arg2 ;
8593 PyObject * obj0 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self",(char *) "maxVal", NULL
8596 };
8597
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 (arg1)->SetMax(arg2);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 Py_INCREF(Py_None); resultobj = Py_None;
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8617 int arg2 ;
8618 int arg3 ;
8619 PyObject * obj0 = 0 ;
8620 char *kwnames[] = {
8621 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8622 };
8623
8624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8626 {
8627 PyThreadState* __tstate = wxPyBeginAllowThreads();
8628 (arg1)->SetRange(arg2,arg3);
8629
8630 wxPyEndAllowThreads(__tstate);
8631 if (PyErr_Occurred()) SWIG_fail;
8632 }
8633 Py_INCREF(Py_None); resultobj = Py_None;
8634 return resultobj;
8635 fail:
8636 return NULL;
8637 }
8638
8639
8640 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8643 bool result;
8644 PyObject * obj0 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 resultobj = PyInt_FromLong((long)result);
8659 return resultobj;
8660 fail:
8661 return NULL;
8662 }
8663
8664
8665 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8666 PyObject *obj;
8667 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8668 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8669 Py_INCREF(obj);
8670 return Py_BuildValue((char *)"");
8671 }
8672 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8673 PyObject *resultobj;
8674 wxWindow *arg1 = (wxWindow *) 0 ;
8675 wxWindowID arg2 = (wxWindowID) -1 ;
8676 wxString const &arg3_defvalue = wxPyEmptyString ;
8677 wxString *arg3 = (wxString *) &arg3_defvalue ;
8678 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8679 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8680 wxSize const &arg5_defvalue = wxDefaultSize ;
8681 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8682 long arg6 = (long) wxSP_ARROW_KEYS ;
8683 int arg7 = (int) 0 ;
8684 int arg8 = (int) 100 ;
8685 int arg9 = (int) 0 ;
8686 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8687 wxString *arg10 = (wxString *) &arg10_defvalue ;
8688 wxSpinCtrl *result;
8689 bool temp3 = false ;
8690 wxPoint temp4 ;
8691 wxSize temp5 ;
8692 bool temp10 = false ;
8693 PyObject * obj0 = 0 ;
8694 PyObject * obj2 = 0 ;
8695 PyObject * obj3 = 0 ;
8696 PyObject * obj4 = 0 ;
8697 PyObject * obj9 = 0 ;
8698 char *kwnames[] = {
8699 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8700 };
8701
8702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8704 if (obj2) {
8705 {
8706 arg3 = wxString_in_helper(obj2);
8707 if (arg3 == NULL) SWIG_fail;
8708 temp3 = true;
8709 }
8710 }
8711 if (obj3) {
8712 {
8713 arg4 = &temp4;
8714 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8715 }
8716 }
8717 if (obj4) {
8718 {
8719 arg5 = &temp5;
8720 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8721 }
8722 }
8723 if (obj9) {
8724 {
8725 arg10 = wxString_in_helper(obj9);
8726 if (arg10 == NULL) SWIG_fail;
8727 temp10 = true;
8728 }
8729 }
8730 {
8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
8732 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8733
8734 wxPyEndAllowThreads(__tstate);
8735 if (PyErr_Occurred()) SWIG_fail;
8736 }
8737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8738 {
8739 if (temp3)
8740 delete arg3;
8741 }
8742 {
8743 if (temp10)
8744 delete arg10;
8745 }
8746 return resultobj;
8747 fail:
8748 {
8749 if (temp3)
8750 delete arg3;
8751 }
8752 {
8753 if (temp10)
8754 delete arg10;
8755 }
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxSpinCtrl *result;
8763 char *kwnames[] = {
8764 NULL
8765 };
8766
8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8768 {
8769 PyThreadState* __tstate = wxPyBeginAllowThreads();
8770 result = (wxSpinCtrl *)new wxSpinCtrl();
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8776 return resultobj;
8777 fail:
8778 return NULL;
8779 }
8780
8781
8782 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8785 wxWindow *arg2 = (wxWindow *) 0 ;
8786 wxWindowID arg3 = (wxWindowID) -1 ;
8787 wxString const &arg4_defvalue = wxPyEmptyString ;
8788 wxString *arg4 = (wxString *) &arg4_defvalue ;
8789 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8790 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8791 wxSize const &arg6_defvalue = wxDefaultSize ;
8792 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8793 long arg7 = (long) wxSP_ARROW_KEYS ;
8794 int arg8 = (int) 0 ;
8795 int arg9 = (int) 100 ;
8796 int arg10 = (int) 0 ;
8797 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8798 wxString *arg11 = (wxString *) &arg11_defvalue ;
8799 bool result;
8800 bool temp4 = false ;
8801 wxPoint temp5 ;
8802 wxSize temp6 ;
8803 bool temp11 = false ;
8804 PyObject * obj0 = 0 ;
8805 PyObject * obj1 = 0 ;
8806 PyObject * obj3 = 0 ;
8807 PyObject * obj4 = 0 ;
8808 PyObject * obj5 = 0 ;
8809 PyObject * obj10 = 0 ;
8810 char *kwnames[] = {
8811 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8812 };
8813
8814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8817 if (obj3) {
8818 {
8819 arg4 = wxString_in_helper(obj3);
8820 if (arg4 == NULL) SWIG_fail;
8821 temp4 = true;
8822 }
8823 }
8824 if (obj4) {
8825 {
8826 arg5 = &temp5;
8827 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8828 }
8829 }
8830 if (obj5) {
8831 {
8832 arg6 = &temp6;
8833 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8834 }
8835 }
8836 if (obj10) {
8837 {
8838 arg11 = wxString_in_helper(obj10);
8839 if (arg11 == NULL) SWIG_fail;
8840 temp11 = true;
8841 }
8842 }
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 resultobj = PyInt_FromLong((long)result);
8851 {
8852 if (temp4)
8853 delete arg4;
8854 }
8855 {
8856 if (temp11)
8857 delete arg11;
8858 }
8859 return resultobj;
8860 fail:
8861 {
8862 if (temp4)
8863 delete arg4;
8864 }
8865 {
8866 if (temp11)
8867 delete arg11;
8868 }
8869 return NULL;
8870 }
8871
8872
8873 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8876 int result;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 resultobj = PyInt_FromLong((long)result);
8892 return resultobj;
8893 fail:
8894 return NULL;
8895 }
8896
8897
8898 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8901 int arg2 ;
8902 PyObject * obj0 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "value", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8909 {
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 (arg1)->SetValue(arg2);
8912
8913 wxPyEndAllowThreads(__tstate);
8914 if (PyErr_Occurred()) SWIG_fail;
8915 }
8916 Py_INCREF(Py_None); resultobj = Py_None;
8917 return resultobj;
8918 fail:
8919 return NULL;
8920 }
8921
8922
8923 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8926 wxString *arg2 = 0 ;
8927 bool temp2 = false ;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 char *kwnames[] = {
8931 (char *) "self",(char *) "text", NULL
8932 };
8933
8934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8936 {
8937 arg2 = wxString_in_helper(obj1);
8938 if (arg2 == NULL) SWIG_fail;
8939 temp2 = true;
8940 }
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 (arg1)->SetValue((wxString const &)*arg2);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 Py_INCREF(Py_None); resultobj = Py_None;
8949 {
8950 if (temp2)
8951 delete arg2;
8952 }
8953 return resultobj;
8954 fail:
8955 {
8956 if (temp2)
8957 delete arg2;
8958 }
8959 return NULL;
8960 }
8961
8962
8963 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8966 int arg2 ;
8967 int arg3 ;
8968 PyObject * obj0 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 (arg1)->SetRange(arg2,arg3);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 Py_INCREF(Py_None); resultobj = Py_None;
8983 return resultobj;
8984 fail:
8985 return NULL;
8986 }
8987
8988
8989 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj;
8991 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8992 int result;
8993 PyObject * obj0 = 0 ;
8994 char *kwnames[] = {
8995 (char *) "self", NULL
8996 };
8997
8998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
8999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 resultobj = PyInt_FromLong((long)result);
9008 return resultobj;
9009 fail:
9010 return NULL;
9011 }
9012
9013
9014 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9015 PyObject *resultobj;
9016 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9017 int result;
9018 PyObject * obj0 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 resultobj = PyInt_FromLong((long)result);
9033 return resultobj;
9034 fail:
9035 return NULL;
9036 }
9037
9038
9039 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9042 long arg2 ;
9043 long arg3 ;
9044 PyObject * obj0 = 0 ;
9045 char *kwnames[] = {
9046 (char *) "self",(char *) "from",(char *) "to", NULL
9047 };
9048
9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 (arg1)->SetSelection(arg2,arg3);
9054
9055 wxPyEndAllowThreads(__tstate);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 Py_INCREF(Py_None); resultobj = Py_None;
9059 return resultobj;
9060 fail:
9061 return NULL;
9062 }
9063
9064
9065 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9066 PyObject *obj;
9067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9068 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9069 Py_INCREF(obj);
9070 return Py_BuildValue((char *)"");
9071 }
9072 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj;
9074 wxWindow *arg1 = (wxWindow *) 0 ;
9075 wxWindowID arg2 ;
9076 wxString *arg3 = 0 ;
9077 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9078 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9079 wxSize const &arg5_defvalue = wxDefaultSize ;
9080 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9081 int arg6 = (int) 0 ;
9082 wxString *arg7 = (wxString *) NULL ;
9083 int arg8 = (int) 0 ;
9084 long arg9 = (long) wxRA_HORIZONTAL ;
9085 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9086 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9087 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9088 wxString *arg11 = (wxString *) &arg11_defvalue ;
9089 wxRadioBox *result;
9090 bool temp3 = false ;
9091 wxPoint temp4 ;
9092 wxSize temp5 ;
9093 bool temp10 = false ;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj2 = 0 ;
9096 PyObject * obj3 = 0 ;
9097 PyObject * obj4 = 0 ;
9098 PyObject * obj5 = 0 ;
9099 PyObject * obj8 = 0 ;
9100 PyObject * obj9 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9103 };
9104
9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9107 {
9108 arg3 = wxString_in_helper(obj2);
9109 if (arg3 == NULL) SWIG_fail;
9110 temp3 = true;
9111 }
9112 if (obj3) {
9113 {
9114 arg4 = &temp4;
9115 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9116 }
9117 }
9118 if (obj4) {
9119 {
9120 arg5 = &temp5;
9121 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9122 }
9123 }
9124 if (obj5) {
9125 {
9126 arg6 = PyList_Size(obj5);
9127 arg7 = wxString_LIST_helper(obj5);
9128 if (arg7 == NULL) SWIG_fail;
9129 }
9130 }
9131 if (obj8) {
9132 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9133 if (arg10 == NULL) {
9134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9135 }
9136 }
9137 if (obj9) {
9138 {
9139 arg11 = wxString_in_helper(obj9);
9140 if (arg11 == NULL) SWIG_fail;
9141 temp10 = true;
9142 }
9143 }
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 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);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9152 {
9153 if (temp3)
9154 delete arg3;
9155 }
9156 {
9157 if (arg7) delete [] arg7;
9158 }
9159 {
9160 if (temp10)
9161 delete arg11;
9162 }
9163 return resultobj;
9164 fail:
9165 {
9166 if (temp3)
9167 delete arg3;
9168 }
9169 {
9170 if (arg7) delete [] arg7;
9171 }
9172 {
9173 if (temp10)
9174 delete arg11;
9175 }
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxRadioBox *result;
9183 char *kwnames[] = {
9184 NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 result = (wxRadioBox *)new wxRadioBox();
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9196 return resultobj;
9197 fail:
9198 return NULL;
9199 }
9200
9201
9202 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9203 PyObject *resultobj;
9204 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9205 wxWindow *arg2 = (wxWindow *) 0 ;
9206 wxWindowID arg3 ;
9207 wxString *arg4 = 0 ;
9208 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9209 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9210 wxSize const &arg6_defvalue = wxDefaultSize ;
9211 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9212 int arg7 = (int) 0 ;
9213 wxString *arg8 = (wxString *) NULL ;
9214 int arg9 = (int) 0 ;
9215 long arg10 = (long) wxRA_HORIZONTAL ;
9216 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9217 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9218 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9219 wxString *arg12 = (wxString *) &arg12_defvalue ;
9220 bool result;
9221 bool temp4 = false ;
9222 wxPoint temp5 ;
9223 wxSize temp6 ;
9224 bool temp11 = false ;
9225 PyObject * obj0 = 0 ;
9226 PyObject * obj1 = 0 ;
9227 PyObject * obj3 = 0 ;
9228 PyObject * obj4 = 0 ;
9229 PyObject * obj5 = 0 ;
9230 PyObject * obj6 = 0 ;
9231 PyObject * obj9 = 0 ;
9232 PyObject * obj10 = 0 ;
9233 char *kwnames[] = {
9234 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9240 {
9241 arg4 = wxString_in_helper(obj3);
9242 if (arg4 == NULL) SWIG_fail;
9243 temp4 = true;
9244 }
9245 if (obj4) {
9246 {
9247 arg5 = &temp5;
9248 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9249 }
9250 }
9251 if (obj5) {
9252 {
9253 arg6 = &temp6;
9254 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9255 }
9256 }
9257 if (obj6) {
9258 {
9259 arg7 = PyList_Size(obj6);
9260 arg8 = wxString_LIST_helper(obj6);
9261 if (arg8 == NULL) SWIG_fail;
9262 }
9263 }
9264 if (obj9) {
9265 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9266 if (arg11 == NULL) {
9267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9268 }
9269 }
9270 if (obj10) {
9271 {
9272 arg12 = wxString_in_helper(obj10);
9273 if (arg12 == NULL) SWIG_fail;
9274 temp11 = true;
9275 }
9276 }
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 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);
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 resultobj = PyInt_FromLong((long)result);
9285 {
9286 if (temp4)
9287 delete arg4;
9288 }
9289 {
9290 if (arg8) delete [] arg8;
9291 }
9292 {
9293 if (temp11)
9294 delete arg12;
9295 }
9296 return resultobj;
9297 fail:
9298 {
9299 if (temp4)
9300 delete arg4;
9301 }
9302 {
9303 if (arg8) delete [] arg8;
9304 }
9305 {
9306 if (temp11)
9307 delete arg12;
9308 }
9309 return NULL;
9310 }
9311
9312
9313 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9316 int arg2 ;
9317 PyObject * obj0 = 0 ;
9318 char *kwnames[] = {
9319 (char *) "self",(char *) "n", NULL
9320 };
9321
9322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->SetSelection(arg2);
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9341 int result;
9342 PyObject * obj0 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
9351 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9352
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = PyInt_FromLong((long)result);
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9366 wxString result;
9367 PyObject * obj0 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 {
9382 #if wxUSE_UNICODE
9383 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9384 #else
9385 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9386 #endif
9387 }
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9395 PyObject *resultobj;
9396 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9397 wxString *arg2 = 0 ;
9398 bool result;
9399 bool temp2 = false ;
9400 PyObject * obj0 = 0 ;
9401 PyObject * obj1 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "self",(char *) "s", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9408 {
9409 arg2 = wxString_in_helper(obj1);
9410 if (arg2 == NULL) SWIG_fail;
9411 temp2 = true;
9412 }
9413 {
9414 PyThreadState* __tstate = wxPyBeginAllowThreads();
9415 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9416
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
9420 resultobj = PyInt_FromLong((long)result);
9421 {
9422 if (temp2)
9423 delete arg2;
9424 }
9425 return resultobj;
9426 fail:
9427 {
9428 if (temp2)
9429 delete arg2;
9430 }
9431 return NULL;
9432 }
9433
9434
9435 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj;
9437 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9438 int result;
9439 PyObject * obj0 = 0 ;
9440 char *kwnames[] = {
9441 (char *) "self", NULL
9442 };
9443
9444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9446 {
9447 PyThreadState* __tstate = wxPyBeginAllowThreads();
9448 result = (int)((wxRadioBox const *)arg1)->GetCount();
9449
9450 wxPyEndAllowThreads(__tstate);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 }
9453 resultobj = PyInt_FromLong((long)result);
9454 return resultobj;
9455 fail:
9456 return NULL;
9457 }
9458
9459
9460 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9461 PyObject *resultobj;
9462 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9463 wxString *arg2 = 0 ;
9464 int result;
9465 bool temp2 = false ;
9466 PyObject * obj0 = 0 ;
9467 PyObject * obj1 = 0 ;
9468 char *kwnames[] = {
9469 (char *) "self",(char *) "s", NULL
9470 };
9471
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9474 {
9475 arg2 = wxString_in_helper(obj1);
9476 if (arg2 == NULL) SWIG_fail;
9477 temp2 = true;
9478 }
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 resultobj = PyInt_FromLong((long)result);
9487 {
9488 if (temp2)
9489 delete arg2;
9490 }
9491 return resultobj;
9492 fail:
9493 {
9494 if (temp2)
9495 delete arg2;
9496 }
9497 return NULL;
9498 }
9499
9500
9501 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9504 int arg2 ;
9505 wxString result;
9506 PyObject * obj0 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self",(char *) "n", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 {
9521 #if wxUSE_UNICODE
9522 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9523 #else
9524 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9525 #endif
9526 }
9527 return resultobj;
9528 fail:
9529 return NULL;
9530 }
9531
9532
9533 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj;
9535 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9536 int arg2 ;
9537 wxString *arg3 = 0 ;
9538 bool temp3 = false ;
9539 PyObject * obj0 = 0 ;
9540 PyObject * obj2 = 0 ;
9541 char *kwnames[] = {
9542 (char *) "self",(char *) "n",(char *) "label", NULL
9543 };
9544
9545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9547 {
9548 arg3 = wxString_in_helper(obj2);
9549 if (arg3 == NULL) SWIG_fail;
9550 temp3 = true;
9551 }
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 (arg1)->SetString(arg2,(wxString const &)*arg3);
9555
9556 wxPyEndAllowThreads(__tstate);
9557 if (PyErr_Occurred()) SWIG_fail;
9558 }
9559 Py_INCREF(Py_None); resultobj = Py_None;
9560 {
9561 if (temp3)
9562 delete arg3;
9563 }
9564 return resultobj;
9565 fail:
9566 {
9567 if (temp3)
9568 delete arg3;
9569 }
9570 return NULL;
9571 }
9572
9573
9574 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9575 PyObject *resultobj;
9576 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9577 int arg2 ;
9578 bool arg3 = (bool) TRUE ;
9579 PyObject * obj0 = 0 ;
9580 PyObject * obj2 = 0 ;
9581 char *kwnames[] = {
9582 (char *) "self",(char *) "n",(char *) "enable", NULL
9583 };
9584
9585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9587 if (obj2) {
9588 arg3 = PyInt_AsLong(obj2) ? true : false;
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 (arg1)->Enable(arg2,arg3);
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 Py_INCREF(Py_None); resultobj = Py_None;
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9608 int arg2 ;
9609 bool arg3 = (bool) TRUE ;
9610 PyObject * obj0 = 0 ;
9611 PyObject * obj2 = 0 ;
9612 char *kwnames[] = {
9613 (char *) "self",(char *) "n",(char *) "show", NULL
9614 };
9615
9616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9618 if (obj2) {
9619 arg3 = PyInt_AsLong(obj2) ? true : false;
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 (arg1)->Show(arg2,arg3);
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 Py_INCREF(Py_None); resultobj = Py_None;
9630 return resultobj;
9631 fail:
9632 return NULL;
9633 }
9634
9635
9636 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9637 PyObject *resultobj;
9638 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9639 int result;
9640 PyObject * obj0 = 0 ;
9641 char *kwnames[] = {
9642 (char *) "self", NULL
9643 };
9644
9645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 resultobj = PyInt_FromLong((long)result);
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9664 int result;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = PyInt_FromLong((long)result);
9680 return resultobj;
9681 fail:
9682 return NULL;
9683 }
9684
9685
9686 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9689 int arg2 ;
9690 int arg3 ;
9691 long arg4 ;
9692 int result;
9693 PyObject * obj0 = 0 ;
9694 char *kwnames[] = {
9695 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9696 };
9697
9698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9703
9704 wxPyEndAllowThreads(__tstate);
9705 if (PyErr_Occurred()) SWIG_fail;
9706 }
9707 resultobj = PyInt_FromLong((long)result);
9708 return resultobj;
9709 fail:
9710 return NULL;
9711 }
9712
9713
9714 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9715 PyObject *obj;
9716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9717 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9718 Py_INCREF(obj);
9719 return Py_BuildValue((char *)"");
9720 }
9721 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9722 PyObject *resultobj;
9723 wxWindow *arg1 = (wxWindow *) 0 ;
9724 wxWindowID arg2 ;
9725 wxString *arg3 = 0 ;
9726 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9727 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9728 wxSize const &arg5_defvalue = wxDefaultSize ;
9729 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9730 long arg6 = (long) 0 ;
9731 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9732 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9733 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9734 wxString *arg8 = (wxString *) &arg8_defvalue ;
9735 wxRadioButton *result;
9736 bool temp3 = false ;
9737 wxPoint temp4 ;
9738 wxSize temp5 ;
9739 bool temp8 = false ;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj2 = 0 ;
9742 PyObject * obj3 = 0 ;
9743 PyObject * obj4 = 0 ;
9744 PyObject * obj6 = 0 ;
9745 PyObject * obj7 = 0 ;
9746 char *kwnames[] = {
9747 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9748 };
9749
9750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9752 {
9753 arg3 = wxString_in_helper(obj2);
9754 if (arg3 == NULL) SWIG_fail;
9755 temp3 = true;
9756 }
9757 if (obj3) {
9758 {
9759 arg4 = &temp4;
9760 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9761 }
9762 }
9763 if (obj4) {
9764 {
9765 arg5 = &temp5;
9766 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9767 }
9768 }
9769 if (obj6) {
9770 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9771 if (arg7 == NULL) {
9772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9773 }
9774 }
9775 if (obj7) {
9776 {
9777 arg8 = wxString_in_helper(obj7);
9778 if (arg8 == NULL) SWIG_fail;
9779 temp8 = true;
9780 }
9781 }
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9790 {
9791 if (temp3)
9792 delete arg3;
9793 }
9794 {
9795 if (temp8)
9796 delete arg8;
9797 }
9798 return resultobj;
9799 fail:
9800 {
9801 if (temp3)
9802 delete arg3;
9803 }
9804 {
9805 if (temp8)
9806 delete arg8;
9807 }
9808 return NULL;
9809 }
9810
9811
9812 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj;
9814 wxRadioButton *result;
9815 char *kwnames[] = {
9816 NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9820 {
9821 PyThreadState* __tstate = wxPyBeginAllowThreads();
9822 result = (wxRadioButton *)new wxRadioButton();
9823
9824 wxPyEndAllowThreads(__tstate);
9825 if (PyErr_Occurred()) SWIG_fail;
9826 }
9827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9828 return resultobj;
9829 fail:
9830 return NULL;
9831 }
9832
9833
9834 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9835 PyObject *resultobj;
9836 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9837 wxWindow *arg2 = (wxWindow *) 0 ;
9838 wxWindowID arg3 ;
9839 wxString *arg4 = 0 ;
9840 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9841 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9842 wxSize const &arg6_defvalue = wxDefaultSize ;
9843 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9844 long arg7 = (long) 0 ;
9845 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9846 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9847 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9848 wxString *arg9 = (wxString *) &arg9_defvalue ;
9849 bool result;
9850 bool temp4 = false ;
9851 wxPoint temp5 ;
9852 wxSize temp6 ;
9853 bool temp9 = false ;
9854 PyObject * obj0 = 0 ;
9855 PyObject * obj1 = 0 ;
9856 PyObject * obj3 = 0 ;
9857 PyObject * obj4 = 0 ;
9858 PyObject * obj5 = 0 ;
9859 PyObject * obj7 = 0 ;
9860 PyObject * obj8 = 0 ;
9861 char *kwnames[] = {
9862 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9863 };
9864
9865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9868 {
9869 arg4 = wxString_in_helper(obj3);
9870 if (arg4 == NULL) SWIG_fail;
9871 temp4 = true;
9872 }
9873 if (obj4) {
9874 {
9875 arg5 = &temp5;
9876 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9877 }
9878 }
9879 if (obj5) {
9880 {
9881 arg6 = &temp6;
9882 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9883 }
9884 }
9885 if (obj7) {
9886 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9887 if (arg8 == NULL) {
9888 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9889 }
9890 }
9891 if (obj8) {
9892 {
9893 arg9 = wxString_in_helper(obj8);
9894 if (arg9 == NULL) SWIG_fail;
9895 temp9 = true;
9896 }
9897 }
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9901
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 resultobj = PyInt_FromLong((long)result);
9906 {
9907 if (temp4)
9908 delete arg4;
9909 }
9910 {
9911 if (temp9)
9912 delete arg9;
9913 }
9914 return resultobj;
9915 fail:
9916 {
9917 if (temp4)
9918 delete arg4;
9919 }
9920 {
9921 if (temp9)
9922 delete arg9;
9923 }
9924 return NULL;
9925 }
9926
9927
9928 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9929 PyObject *resultobj;
9930 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9931 bool result;
9932 PyObject * obj0 = 0 ;
9933 char *kwnames[] = {
9934 (char *) "self", NULL
9935 };
9936
9937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (bool)(arg1)->GetValue();
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = PyInt_FromLong((long)result);
9947 return resultobj;
9948 fail:
9949 return NULL;
9950 }
9951
9952
9953 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject *resultobj;
9955 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9956 bool arg2 ;
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj1 = 0 ;
9959 char *kwnames[] = {
9960 (char *) "self",(char *) "value", NULL
9961 };
9962
9963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9965 arg2 = PyInt_AsLong(obj1) ? true : false;
9966 if (PyErr_Occurred()) SWIG_fail;
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 (arg1)->SetValue(arg2);
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 Py_INCREF(Py_None); resultobj = Py_None;
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
9982 PyObject *obj;
9983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9984 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
9985 Py_INCREF(obj);
9986 return Py_BuildValue((char *)"");
9987 }
9988 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxWindow *arg1 = (wxWindow *) 0 ;
9991 wxWindowID arg2 ;
9992 int arg3 ;
9993 int arg4 ;
9994 int arg5 ;
9995 wxPoint const &arg6_defvalue = wxDefaultPosition ;
9996 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
9997 wxSize const &arg7_defvalue = wxDefaultSize ;
9998 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
9999 long arg8 = (long) wxSL_HORIZONTAL ;
10000 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10001 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10002 wxString const &arg10_defvalue = wxPySliderNameStr ;
10003 wxString *arg10 = (wxString *) &arg10_defvalue ;
10004 wxSlider *result;
10005 wxPoint temp6 ;
10006 wxSize temp7 ;
10007 bool temp10 = false ;
10008 PyObject * obj0 = 0 ;
10009 PyObject * obj5 = 0 ;
10010 PyObject * obj6 = 0 ;
10011 PyObject * obj8 = 0 ;
10012 PyObject * obj9 = 0 ;
10013 char *kwnames[] = {
10014 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10015 };
10016
10017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10019 if (obj5) {
10020 {
10021 arg6 = &temp6;
10022 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10023 }
10024 }
10025 if (obj6) {
10026 {
10027 arg7 = &temp7;
10028 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10029 }
10030 }
10031 if (obj8) {
10032 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10033 if (arg9 == NULL) {
10034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10035 }
10036 }
10037 if (obj9) {
10038 {
10039 arg10 = wxString_in_helper(obj9);
10040 if (arg10 == NULL) SWIG_fail;
10041 temp10 = true;
10042 }
10043 }
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10047
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10052 {
10053 if (temp10)
10054 delete arg10;
10055 }
10056 return resultobj;
10057 fail:
10058 {
10059 if (temp10)
10060 delete arg10;
10061 }
10062 return NULL;
10063 }
10064
10065
10066 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10067 PyObject *resultobj;
10068 wxSlider *result;
10069 char *kwnames[] = {
10070 NULL
10071 };
10072
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (wxSlider *)new wxSlider();
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxSlider *arg1 = (wxSlider *) 0 ;
10091 wxWindow *arg2 = (wxWindow *) 0 ;
10092 wxWindowID arg3 ;
10093 int arg4 ;
10094 int arg5 ;
10095 int arg6 ;
10096 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10097 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10098 wxSize const &arg8_defvalue = wxDefaultSize ;
10099 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10100 long arg9 = (long) wxSL_HORIZONTAL ;
10101 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10102 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10103 wxString const &arg11_defvalue = wxPySliderNameStr ;
10104 wxString *arg11 = (wxString *) &arg11_defvalue ;
10105 bool result;
10106 wxPoint temp7 ;
10107 wxSize temp8 ;
10108 bool temp11 = false ;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 PyObject * obj6 = 0 ;
10112 PyObject * obj7 = 0 ;
10113 PyObject * obj9 = 0 ;
10114 PyObject * obj10 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 if (obj6) {
10123 {
10124 arg7 = &temp7;
10125 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10126 }
10127 }
10128 if (obj7) {
10129 {
10130 arg8 = &temp8;
10131 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10132 }
10133 }
10134 if (obj9) {
10135 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10136 if (arg10 == NULL) {
10137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10138 }
10139 }
10140 if (obj10) {
10141 {
10142 arg11 = wxString_in_helper(obj10);
10143 if (arg11 == NULL) SWIG_fail;
10144 temp11 = true;
10145 }
10146 }
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 resultobj = PyInt_FromLong((long)result);
10155 {
10156 if (temp11)
10157 delete arg11;
10158 }
10159 return resultobj;
10160 fail:
10161 {
10162 if (temp11)
10163 delete arg11;
10164 }
10165 return NULL;
10166 }
10167
10168
10169 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10170 PyObject *resultobj;
10171 wxSlider *arg1 = (wxSlider *) 0 ;
10172 int result;
10173 PyObject * obj0 = 0 ;
10174 char *kwnames[] = {
10175 (char *) "self", NULL
10176 };
10177
10178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10180 {
10181 PyThreadState* __tstate = wxPyBeginAllowThreads();
10182 result = (int)((wxSlider const *)arg1)->GetValue();
10183
10184 wxPyEndAllowThreads(__tstate);
10185 if (PyErr_Occurred()) SWIG_fail;
10186 }
10187 resultobj = PyInt_FromLong((long)result);
10188 return resultobj;
10189 fail:
10190 return NULL;
10191 }
10192
10193
10194 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10195 PyObject *resultobj;
10196 wxSlider *arg1 = (wxSlider *) 0 ;
10197 int arg2 ;
10198 PyObject * obj0 = 0 ;
10199 char *kwnames[] = {
10200 (char *) "self",(char *) "value", NULL
10201 };
10202
10203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 (arg1)->SetValue(arg2);
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 Py_INCREF(Py_None); resultobj = Py_None;
10213 return resultobj;
10214 fail:
10215 return NULL;
10216 }
10217
10218
10219 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxSlider *arg1 = (wxSlider *) 0 ;
10222 int arg2 ;
10223 int arg3 ;
10224 PyObject * obj0 = 0 ;
10225 char *kwnames[] = {
10226 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 (arg1)->SetRange(arg2,arg3);
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 Py_INCREF(Py_None); resultobj = Py_None;
10239 return resultobj;
10240 fail:
10241 return NULL;
10242 }
10243
10244
10245 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxSlider *arg1 = (wxSlider *) 0 ;
10248 int result;
10249 PyObject * obj0 = 0 ;
10250 char *kwnames[] = {
10251 (char *) "self", NULL
10252 };
10253
10254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 result = (int)((wxSlider const *)arg1)->GetMin();
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 resultobj = PyInt_FromLong((long)result);
10264 return resultobj;
10265 fail:
10266 return NULL;
10267 }
10268
10269
10270 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxSlider *arg1 = (wxSlider *) 0 ;
10273 int result;
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 result = (int)((wxSlider const *)arg1)->GetMax();
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 resultobj = PyInt_FromLong((long)result);
10289 return resultobj;
10290 fail:
10291 return NULL;
10292 }
10293
10294
10295 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj;
10297 wxSlider *arg1 = (wxSlider *) 0 ;
10298 int arg2 ;
10299 PyObject * obj0 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self",(char *) "minValue", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 (arg1)->SetMin(arg2);
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 Py_INCREF(Py_None); resultobj = Py_None;
10314 return resultobj;
10315 fail:
10316 return NULL;
10317 }
10318
10319
10320 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj;
10322 wxSlider *arg1 = (wxSlider *) 0 ;
10323 int arg2 ;
10324 PyObject * obj0 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self",(char *) "maxValue", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 (arg1)->SetMax(arg2);
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 Py_INCREF(Py_None); resultobj = Py_None;
10339 return resultobj;
10340 fail:
10341 return NULL;
10342 }
10343
10344
10345 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj;
10347 wxSlider *arg1 = (wxSlider *) 0 ;
10348 int arg2 ;
10349 PyObject * obj0 = 0 ;
10350 char *kwnames[] = {
10351 (char *) "self",(char *) "lineSize", NULL
10352 };
10353
10354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->SetLineSize(arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 Py_INCREF(Py_None); resultobj = Py_None;
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj;
10372 wxSlider *arg1 = (wxSlider *) 0 ;
10373 int arg2 ;
10374 PyObject * obj0 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self",(char *) "pageSize", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->SetPageSize(arg2);
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 Py_INCREF(Py_None); resultobj = Py_None;
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10396 PyObject *resultobj;
10397 wxSlider *arg1 = (wxSlider *) 0 ;
10398 int result;
10399 PyObject * obj0 = 0 ;
10400 char *kwnames[] = {
10401 (char *) "self", NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (int)((wxSlider const *)arg1)->GetLineSize();
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 resultobj = PyInt_FromLong((long)result);
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxSlider *arg1 = (wxSlider *) 0 ;
10423 int result;
10424 PyObject * obj0 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (int)((wxSlider const *)arg1)->GetPageSize();
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 resultobj = PyInt_FromLong((long)result);
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxSlider *arg1 = (wxSlider *) 0 ;
10448 int arg2 ;
10449 PyObject * obj0 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self",(char *) "lenPixels", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 (arg1)->SetThumbLength(arg2);
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 Py_INCREF(Py_None); resultobj = Py_None;
10464 return resultobj;
10465 fail:
10466 return NULL;
10467 }
10468
10469
10470 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj;
10472 wxSlider *arg1 = (wxSlider *) 0 ;
10473 int result;
10474 PyObject * obj0 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "self", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = PyInt_FromLong((long)result);
10489 return resultobj;
10490 fail:
10491 return NULL;
10492 }
10493
10494
10495 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10496 PyObject *resultobj;
10497 wxSlider *arg1 = (wxSlider *) 0 ;
10498 int arg2 ;
10499 int arg3 ;
10500 PyObject * obj0 = 0 ;
10501 char *kwnames[] = {
10502 (char *) "self",(char *) "n",(char *) "pos", NULL
10503 };
10504
10505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10507 {
10508 PyThreadState* __tstate = wxPyBeginAllowThreads();
10509 (arg1)->SetTickFreq(arg2,arg3);
10510
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 Py_INCREF(Py_None); resultobj = Py_None;
10515 return resultobj;
10516 fail:
10517 return NULL;
10518 }
10519
10520
10521 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj;
10523 wxSlider *arg1 = (wxSlider *) 0 ;
10524 int result;
10525 PyObject * obj0 = 0 ;
10526 char *kwnames[] = {
10527 (char *) "self", NULL
10528 };
10529
10530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 resultobj = PyInt_FromLong((long)result);
10540 return resultobj;
10541 fail:
10542 return NULL;
10543 }
10544
10545
10546 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10547 PyObject *resultobj;
10548 wxSlider *arg1 = (wxSlider *) 0 ;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 (arg1)->ClearTicks();
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 Py_INCREF(Py_None); resultobj = Py_None;
10564 return resultobj;
10565 fail:
10566 return NULL;
10567 }
10568
10569
10570 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 wxSlider *arg1 = (wxSlider *) 0 ;
10573 int arg2 ;
10574 PyObject * obj0 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "tickPos", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 (arg1)->SetTick(arg2);
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 Py_INCREF(Py_None); resultobj = Py_None;
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxSlider *arg1 = (wxSlider *) 0 ;
10598 PyObject * obj0 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 (arg1)->ClearSel();
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 Py_INCREF(Py_None); resultobj = Py_None;
10613 return resultobj;
10614 fail:
10615 return NULL;
10616 }
10617
10618
10619 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj;
10621 wxSlider *arg1 = (wxSlider *) 0 ;
10622 int result;
10623 PyObject * obj0 = 0 ;
10624 char *kwnames[] = {
10625 (char *) "self", NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
10637 resultobj = PyInt_FromLong((long)result);
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10645 PyObject *resultobj;
10646 wxSlider *arg1 = (wxSlider *) 0 ;
10647 int result;
10648 PyObject * obj0 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "self", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 result = (int)((wxSlider const *)arg1)->GetSelStart();
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 resultobj = PyInt_FromLong((long)result);
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj;
10671 wxSlider *arg1 = (wxSlider *) 0 ;
10672 int arg2 ;
10673 int arg3 ;
10674 PyObject * obj0 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self",(char *) "min",(char *) "max", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10681 {
10682 PyThreadState* __tstate = wxPyBeginAllowThreads();
10683 (arg1)->SetSelection(arg2,arg3);
10684
10685 wxPyEndAllowThreads(__tstate);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 Py_INCREF(Py_None); resultobj = Py_None;
10689 return resultobj;
10690 fail:
10691 return NULL;
10692 }
10693
10694
10695 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10696 PyObject *obj;
10697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10698 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10699 Py_INCREF(obj);
10700 return Py_BuildValue((char *)"");
10701 }
10702 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj;
10704 wxWindow *arg1 = (wxWindow *) 0 ;
10705 wxWindowID arg2 ;
10706 wxString *arg3 = 0 ;
10707 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10708 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10709 wxSize const &arg5_defvalue = wxDefaultSize ;
10710 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10711 long arg6 = (long) 0 ;
10712 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10713 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10714 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10715 wxString *arg8 = (wxString *) &arg8_defvalue ;
10716 wxToggleButton *result;
10717 bool temp3 = false ;
10718 wxPoint temp4 ;
10719 wxSize temp5 ;
10720 bool temp8 = false ;
10721 PyObject * obj0 = 0 ;
10722 PyObject * obj2 = 0 ;
10723 PyObject * obj3 = 0 ;
10724 PyObject * obj4 = 0 ;
10725 PyObject * obj6 = 0 ;
10726 PyObject * obj7 = 0 ;
10727 char *kwnames[] = {
10728 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10729 };
10730
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10733 {
10734 arg3 = wxString_in_helper(obj2);
10735 if (arg3 == NULL) SWIG_fail;
10736 temp3 = true;
10737 }
10738 if (obj3) {
10739 {
10740 arg4 = &temp4;
10741 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10742 }
10743 }
10744 if (obj4) {
10745 {
10746 arg5 = &temp5;
10747 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10748 }
10749 }
10750 if (obj6) {
10751 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10752 if (arg7 == NULL) {
10753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10754 }
10755 }
10756 if (obj7) {
10757 {
10758 arg8 = wxString_in_helper(obj7);
10759 if (arg8 == NULL) SWIG_fail;
10760 temp8 = true;
10761 }
10762 }
10763 {
10764 PyThreadState* __tstate = wxPyBeginAllowThreads();
10765 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10766
10767 wxPyEndAllowThreads(__tstate);
10768 if (PyErr_Occurred()) SWIG_fail;
10769 }
10770 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10771 {
10772 if (temp3)
10773 delete arg3;
10774 }
10775 {
10776 if (temp8)
10777 delete arg8;
10778 }
10779 return resultobj;
10780 fail:
10781 {
10782 if (temp3)
10783 delete arg3;
10784 }
10785 {
10786 if (temp8)
10787 delete arg8;
10788 }
10789 return NULL;
10790 }
10791
10792
10793 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10794 PyObject *resultobj;
10795 wxToggleButton *result;
10796 char *kwnames[] = {
10797 NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10801 {
10802 PyThreadState* __tstate = wxPyBeginAllowThreads();
10803 result = (wxToggleButton *)new wxToggleButton();
10804
10805 wxPyEndAllowThreads(__tstate);
10806 if (PyErr_Occurred()) SWIG_fail;
10807 }
10808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10809 return resultobj;
10810 fail:
10811 return NULL;
10812 }
10813
10814
10815 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
10816 PyObject *obj;
10817 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10818 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
10819 Py_INCREF(obj);
10820 return Py_BuildValue((char *)"");
10821 }
10822 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10823 PyObject *resultobj;
10824 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10825 size_t result;
10826 PyObject * obj0 = 0 ;
10827 char *kwnames[] = {
10828 (char *) "self", NULL
10829 };
10830
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
10832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 resultobj = PyInt_FromLong((long)result);
10841 return resultobj;
10842 fail:
10843 return NULL;
10844 }
10845
10846
10847 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj;
10849 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10850 size_t arg2 ;
10851 wxWindow *result;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "n", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
10859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10860 arg2 = (size_t) PyInt_AsLong(obj1);
10861 if (PyErr_Occurred()) SWIG_fail;
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 result = (wxWindow *)(arg1)->GetPage(arg2);
10865
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 {
10870 resultobj = wxPyMake_wxObject(result);
10871 }
10872 return resultobj;
10873 fail:
10874 return NULL;
10875 }
10876
10877
10878 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10879 PyObject *resultobj;
10880 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10881 int result;
10882 PyObject * obj0 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "self", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
10888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10889 {
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
10892
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 resultobj = PyInt_FromLong((long)result);
10897 return resultobj;
10898 fail:
10899 return NULL;
10900 }
10901
10902
10903 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10904 PyObject *resultobj;
10905 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10906 size_t arg2 ;
10907 wxString *arg3 = 0 ;
10908 bool result;
10909 bool temp3 = false ;
10910 PyObject * obj0 = 0 ;
10911 PyObject * obj1 = 0 ;
10912 PyObject * obj2 = 0 ;
10913 char *kwnames[] = {
10914 (char *) "self",(char *) "n",(char *) "strText", NULL
10915 };
10916
10917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10919 arg2 = (size_t) PyInt_AsLong(obj1);
10920 if (PyErr_Occurred()) SWIG_fail;
10921 {
10922 arg3 = wxString_in_helper(obj2);
10923 if (arg3 == NULL) SWIG_fail;
10924 temp3 = true;
10925 }
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
10929
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 resultobj = PyInt_FromLong((long)result);
10934 {
10935 if (temp3)
10936 delete arg3;
10937 }
10938 return resultobj;
10939 fail:
10940 {
10941 if (temp3)
10942 delete arg3;
10943 }
10944 return NULL;
10945 }
10946
10947
10948 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10949 PyObject *resultobj;
10950 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10951 size_t arg2 ;
10952 wxString result;
10953 PyObject * obj0 = 0 ;
10954 PyObject * obj1 = 0 ;
10955 char *kwnames[] = {
10956 (char *) "self",(char *) "n", NULL
10957 };
10958
10959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
10960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10961 arg2 = (size_t) PyInt_AsLong(obj1);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
10970 {
10971 #if wxUSE_UNICODE
10972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10973 #else
10974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10975 #endif
10976 }
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10986 wxImageList *arg2 = (wxImageList *) 0 ;
10987 PyObject * obj0 = 0 ;
10988 PyObject * obj1 = 0 ;
10989 char *kwnames[] = {
10990 (char *) "self",(char *) "imageList", NULL
10991 };
10992
10993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
10994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 (arg1)->SetImageList(arg2);
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 Py_INCREF(Py_None); resultobj = Py_None;
11004 return resultobj;
11005 fail:
11006 return NULL;
11007 }
11008
11009
11010 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11013 wxImageList *arg2 = (wxImageList *) 0 ;
11014 PyObject * obj0 = 0 ;
11015 PyObject * obj1 = 0 ;
11016 char *kwnames[] = {
11017 (char *) "self",(char *) "imageList", NULL
11018 };
11019
11020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11023 {
11024 PyThreadState* __tstate = wxPyBeginAllowThreads();
11025 (arg1)->AssignImageList(arg2);
11026
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 Py_INCREF(Py_None); resultobj = Py_None;
11031 return resultobj;
11032 fail:
11033 return NULL;
11034 }
11035
11036
11037 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11038 PyObject *resultobj;
11039 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11040 wxImageList *result;
11041 PyObject * obj0 = 0 ;
11042 char *kwnames[] = {
11043 (char *) "self", NULL
11044 };
11045
11046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11048 {
11049 PyThreadState* __tstate = wxPyBeginAllowThreads();
11050 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11051
11052 wxPyEndAllowThreads(__tstate);
11053 if (PyErr_Occurred()) SWIG_fail;
11054 }
11055 {
11056 resultobj = wxPyMake_wxObject(result);
11057 }
11058 return resultobj;
11059 fail:
11060 return NULL;
11061 }
11062
11063
11064 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11065 PyObject *resultobj;
11066 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11067 size_t arg2 ;
11068 int result;
11069 PyObject * obj0 = 0 ;
11070 PyObject * obj1 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self",(char *) "n", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11077 arg2 = (size_t) PyInt_AsLong(obj1);
11078 if (PyErr_Occurred()) SWIG_fail;
11079 {
11080 PyThreadState* __tstate = wxPyBeginAllowThreads();
11081 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11082
11083 wxPyEndAllowThreads(__tstate);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 resultobj = PyInt_FromLong((long)result);
11087 return resultobj;
11088 fail:
11089 return NULL;
11090 }
11091
11092
11093 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj;
11095 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11096 size_t arg2 ;
11097 int arg3 ;
11098 bool result;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 char *kwnames[] = {
11102 (char *) "self",(char *) "n",(char *) "imageId", NULL
11103 };
11104
11105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11107 arg2 = (size_t) PyInt_AsLong(obj1);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 resultobj = PyInt_FromLong((long)result);
11117 return resultobj;
11118 fail:
11119 return NULL;
11120 }
11121
11122
11123 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11124 PyObject *resultobj;
11125 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11126 wxSize *arg2 = 0 ;
11127 wxSize temp2 ;
11128 PyObject * obj0 = 0 ;
11129 PyObject * obj1 = 0 ;
11130 char *kwnames[] = {
11131 (char *) "self",(char *) "size", NULL
11132 };
11133
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11136 {
11137 arg2 = &temp2;
11138 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11139 }
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 (arg1)->SetPageSize((wxSize const &)*arg2);
11143
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 Py_INCREF(Py_None); resultobj = Py_None;
11148 return resultobj;
11149 fail:
11150 return NULL;
11151 }
11152
11153
11154 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11155 PyObject *resultobj;
11156 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11157 wxSize *arg2 = 0 ;
11158 wxSize result;
11159 wxSize temp2 ;
11160 PyObject * obj0 = 0 ;
11161 PyObject * obj1 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "self",(char *) "sizePage", NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11168 {
11169 arg2 = &temp2;
11170 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11171 }
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11175
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 {
11180 wxSize * resultptr;
11181 resultptr = new wxSize((wxSize &) result);
11182 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11183 }
11184 return resultobj;
11185 fail:
11186 return NULL;
11187 }
11188
11189
11190 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11193 size_t arg2 ;
11194 bool result;
11195 PyObject * obj0 = 0 ;
11196 PyObject * obj1 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self",(char *) "n", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11203 arg2 = (size_t) PyInt_AsLong(obj1);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (bool)(arg1)->DeletePage(arg2);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 resultobj = PyInt_FromLong((long)result);
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11222 size_t arg2 ;
11223 bool result;
11224 PyObject * obj0 = 0 ;
11225 PyObject * obj1 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self",(char *) "n", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11232 arg2 = (size_t) PyInt_AsLong(obj1);
11233 if (PyErr_Occurred()) SWIG_fail;
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (bool)(arg1)->RemovePage(arg2);
11237
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = PyInt_FromLong((long)result);
11242 return resultobj;
11243 fail:
11244 return NULL;
11245 }
11246
11247
11248 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj;
11250 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11251 bool result;
11252 PyObject * obj0 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 result = (bool)(arg1)->DeleteAllPages();
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 resultobj = PyInt_FromLong((long)result);
11267 return resultobj;
11268 fail:
11269 return NULL;
11270 }
11271
11272
11273 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11276 wxWindow *arg2 = (wxWindow *) 0 ;
11277 wxString *arg3 = 0 ;
11278 bool arg4 = (bool) false ;
11279 int arg5 = (int) -1 ;
11280 bool result;
11281 bool temp3 = false ;
11282 PyObject * obj0 = 0 ;
11283 PyObject * obj1 = 0 ;
11284 PyObject * obj2 = 0 ;
11285 PyObject * obj3 = 0 ;
11286 char *kwnames[] = {
11287 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11288 };
11289
11290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11293 {
11294 arg3 = wxString_in_helper(obj2);
11295 if (arg3 == NULL) SWIG_fail;
11296 temp3 = true;
11297 }
11298 if (obj3) {
11299 arg4 = PyInt_AsLong(obj3) ? true : false;
11300 if (PyErr_Occurred()) SWIG_fail;
11301 }
11302 {
11303 PyThreadState* __tstate = wxPyBeginAllowThreads();
11304 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11305
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 resultobj = PyInt_FromLong((long)result);
11310 {
11311 if (temp3)
11312 delete arg3;
11313 }
11314 return resultobj;
11315 fail:
11316 {
11317 if (temp3)
11318 delete arg3;
11319 }
11320 return NULL;
11321 }
11322
11323
11324 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11325 PyObject *resultobj;
11326 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11327 size_t arg2 ;
11328 wxWindow *arg3 = (wxWindow *) 0 ;
11329 wxString *arg4 = 0 ;
11330 bool arg5 = (bool) false ;
11331 int arg6 = (int) -1 ;
11332 bool result;
11333 bool temp4 = false ;
11334 PyObject * obj0 = 0 ;
11335 PyObject * obj1 = 0 ;
11336 PyObject * obj2 = 0 ;
11337 PyObject * obj3 = 0 ;
11338 PyObject * obj4 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11345 arg2 = (size_t) PyInt_AsLong(obj1);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11348 {
11349 arg4 = wxString_in_helper(obj3);
11350 if (arg4 == NULL) SWIG_fail;
11351 temp4 = true;
11352 }
11353 if (obj4) {
11354 arg5 = PyInt_AsLong(obj4) ? true : false;
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11360
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 resultobj = PyInt_FromLong((long)result);
11365 {
11366 if (temp4)
11367 delete arg4;
11368 }
11369 return resultobj;
11370 fail:
11371 {
11372 if (temp4)
11373 delete arg4;
11374 }
11375 return NULL;
11376 }
11377
11378
11379 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11380 PyObject *resultobj;
11381 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11382 size_t arg2 ;
11383 int result;
11384 PyObject * obj0 = 0 ;
11385 PyObject * obj1 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self",(char *) "n", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11392 arg2 = (size_t) PyInt_AsLong(obj1);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 result = (int)(arg1)->SetSelection(arg2);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 resultobj = PyInt_FromLong((long)result);
11402 return resultobj;
11403 fail:
11404 return NULL;
11405 }
11406
11407
11408 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11411 bool arg2 = (bool) true ;
11412 PyObject * obj0 = 0 ;
11413 PyObject * obj1 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self",(char *) "forward", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11420 if (obj1) {
11421 arg2 = PyInt_AsLong(obj1) ? true : false;
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 {
11425 PyThreadState* __tstate = wxPyBeginAllowThreads();
11426 (arg1)->AdvanceSelection(arg2);
11427
11428 wxPyEndAllowThreads(__tstate);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 Py_INCREF(Py_None); resultobj = Py_None;
11432 return resultobj;
11433 fail:
11434 return NULL;
11435 }
11436
11437
11438 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11439 PyObject *obj;
11440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11441 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11442 Py_INCREF(obj);
11443 return Py_BuildValue((char *)"");
11444 }
11445 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11448 int arg2 = (int) 0 ;
11449 int arg3 = (int) -1 ;
11450 int arg4 = (int) -1 ;
11451 wxBookCtrlEvent *result;
11452 char *kwnames[] = {
11453 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11454 };
11455
11456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11460
11461 wxPyEndAllowThreads(__tstate);
11462 if (PyErr_Occurred()) SWIG_fail;
11463 }
11464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11465 return resultobj;
11466 fail:
11467 return NULL;
11468 }
11469
11470
11471 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj;
11473 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11474 int result;
11475 PyObject * obj0 = 0 ;
11476 char *kwnames[] = {
11477 (char *) "self", NULL
11478 };
11479
11480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11482 {
11483 PyThreadState* __tstate = wxPyBeginAllowThreads();
11484 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11485
11486 wxPyEndAllowThreads(__tstate);
11487 if (PyErr_Occurred()) SWIG_fail;
11488 }
11489 resultobj = PyInt_FromLong((long)result);
11490 return resultobj;
11491 fail:
11492 return NULL;
11493 }
11494
11495
11496 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11497 PyObject *resultobj;
11498 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11499 int arg2 ;
11500 PyObject * obj0 = 0 ;
11501 char *kwnames[] = {
11502 (char *) "self",(char *) "nSel", NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 (arg1)->SetSelection(arg2);
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 Py_INCREF(Py_None); resultobj = Py_None;
11515 return resultobj;
11516 fail:
11517 return NULL;
11518 }
11519
11520
11521 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11524 int result;
11525 PyObject * obj0 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11535
11536 wxPyEndAllowThreads(__tstate);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 resultobj = PyInt_FromLong((long)result);
11540 return resultobj;
11541 fail:
11542 return NULL;
11543 }
11544
11545
11546 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11547 PyObject *resultobj;
11548 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11549 int arg2 ;
11550 PyObject * obj0 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self",(char *) "nOldSel", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11557 {
11558 PyThreadState* __tstate = wxPyBeginAllowThreads();
11559 (arg1)->SetOldSelection(arg2);
11560
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 Py_INCREF(Py_None); resultobj = Py_None;
11565 return resultobj;
11566 fail:
11567 return NULL;
11568 }
11569
11570
11571 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11572 PyObject *obj;
11573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11574 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11575 Py_INCREF(obj);
11576 return Py_BuildValue((char *)"");
11577 }
11578 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11579 PyObject *resultobj;
11580 wxWindow *arg1 = (wxWindow *) 0 ;
11581 wxWindowID arg2 ;
11582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11584 wxSize const &arg4_defvalue = wxDefaultSize ;
11585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11586 long arg5 = (long) 0 ;
11587 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11588 wxString *arg6 = (wxString *) &arg6_defvalue ;
11589 wxNotebook *result;
11590 wxPoint temp3 ;
11591 wxSize temp4 ;
11592 bool temp6 = false ;
11593 PyObject * obj0 = 0 ;
11594 PyObject * obj2 = 0 ;
11595 PyObject * obj3 = 0 ;
11596 PyObject * obj5 = 0 ;
11597 char *kwnames[] = {
11598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11603 if (obj2) {
11604 {
11605 arg3 = &temp3;
11606 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11607 }
11608 }
11609 if (obj3) {
11610 {
11611 arg4 = &temp4;
11612 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11613 }
11614 }
11615 if (obj5) {
11616 {
11617 arg6 = wxString_in_helper(obj5);
11618 if (arg6 == NULL) SWIG_fail;
11619 temp6 = true;
11620 }
11621 }
11622 {
11623 PyThreadState* __tstate = wxPyBeginAllowThreads();
11624 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11625
11626 wxPyEndAllowThreads(__tstate);
11627 if (PyErr_Occurred()) SWIG_fail;
11628 }
11629 {
11630 resultobj = wxPyMake_wxObject(result);
11631 }
11632 {
11633 if (temp6)
11634 delete arg6;
11635 }
11636 return resultobj;
11637 fail:
11638 {
11639 if (temp6)
11640 delete arg6;
11641 }
11642 return NULL;
11643 }
11644
11645
11646 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11647 PyObject *resultobj;
11648 wxNotebook *result;
11649 char *kwnames[] = {
11650 NULL
11651 };
11652
11653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11654 {
11655 PyThreadState* __tstate = wxPyBeginAllowThreads();
11656 result = (wxNotebook *)new wxNotebook();
11657
11658 wxPyEndAllowThreads(__tstate);
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 {
11662 resultobj = wxPyMake_wxObject(result);
11663 }
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj;
11672 wxNotebook *arg1 = (wxNotebook *) 0 ;
11673 wxWindow *arg2 = (wxWindow *) 0 ;
11674 wxWindowID arg3 ;
11675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11677 wxSize const &arg5_defvalue = wxDefaultSize ;
11678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11679 long arg6 = (long) 0 ;
11680 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11681 wxString *arg7 = (wxString *) &arg7_defvalue ;
11682 bool result;
11683 wxPoint temp4 ;
11684 wxSize temp5 ;
11685 bool temp7 = false ;
11686 PyObject * obj0 = 0 ;
11687 PyObject * obj1 = 0 ;
11688 PyObject * obj3 = 0 ;
11689 PyObject * obj4 = 0 ;
11690 PyObject * obj6 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11698 if (obj3) {
11699 {
11700 arg4 = &temp4;
11701 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11702 }
11703 }
11704 if (obj4) {
11705 {
11706 arg5 = &temp5;
11707 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11708 }
11709 }
11710 if (obj6) {
11711 {
11712 arg7 = wxString_in_helper(obj6);
11713 if (arg7 == NULL) SWIG_fail;
11714 temp7 = true;
11715 }
11716 }
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 resultobj = PyInt_FromLong((long)result);
11725 {
11726 if (temp7)
11727 delete arg7;
11728 }
11729 return resultobj;
11730 fail:
11731 {
11732 if (temp7)
11733 delete arg7;
11734 }
11735 return NULL;
11736 }
11737
11738
11739 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj;
11741 wxNotebook *arg1 = (wxNotebook *) 0 ;
11742 int result;
11743 PyObject * obj0 = 0 ;
11744 char *kwnames[] = {
11745 (char *) "self", NULL
11746 };
11747
11748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11750 {
11751 PyThreadState* __tstate = wxPyBeginAllowThreads();
11752 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11753
11754 wxPyEndAllowThreads(__tstate);
11755 if (PyErr_Occurred()) SWIG_fail;
11756 }
11757 resultobj = PyInt_FromLong((long)result);
11758 return resultobj;
11759 fail:
11760 return NULL;
11761 }
11762
11763
11764 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
11765 PyObject *resultobj;
11766 wxNotebook *arg1 = (wxNotebook *) 0 ;
11767 wxSize *arg2 = 0 ;
11768 wxSize temp2 ;
11769 PyObject * obj0 = 0 ;
11770 PyObject * obj1 = 0 ;
11771 char *kwnames[] = {
11772 (char *) "self",(char *) "padding", NULL
11773 };
11774
11775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
11776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11777 {
11778 arg2 = &temp2;
11779 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11780 }
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 (arg1)->SetPadding((wxSize const &)*arg2);
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 Py_INCREF(Py_None); resultobj = Py_None;
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxNotebook *arg1 = (wxNotebook *) 0 ;
11798 wxSize *arg2 = 0 ;
11799 wxSize temp2 ;
11800 PyObject * obj0 = 0 ;
11801 PyObject * obj1 = 0 ;
11802 char *kwnames[] = {
11803 (char *) "self",(char *) "sz", NULL
11804 };
11805
11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
11807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11808 {
11809 arg2 = &temp2;
11810 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11811 }
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 (arg1)->SetTabSize((wxSize const &)*arg2);
11815
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 Py_INCREF(Py_None); resultobj = Py_None;
11820 return resultobj;
11821 fail:
11822 return NULL;
11823 }
11824
11825
11826 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
11827 PyObject *resultobj;
11828 wxNotebook *arg1 = (wxNotebook *) 0 ;
11829 wxPoint *arg2 = 0 ;
11830 long *arg3 = (long *) 0 ;
11831 int result;
11832 wxPoint temp2 ;
11833 long temp3 ;
11834 PyObject * obj0 = 0 ;
11835 PyObject * obj1 = 0 ;
11836 char *kwnames[] = {
11837 (char *) "self",(char *) "pt", NULL
11838 };
11839
11840 arg3 = &temp3;
11841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
11842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11843 {
11844 arg2 = &temp2;
11845 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11846 }
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 resultobj = PyInt_FromLong((long)result);
11855 {
11856 PyObject *o = PyInt_FromLong((long) (*arg3));
11857 resultobj = t_output_helper(resultobj,o);
11858 }
11859 return resultobj;
11860 fail:
11861 return NULL;
11862 }
11863
11864
11865 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11866 PyObject *resultobj;
11867 wxNotebook *arg1 = (wxNotebook *) 0 ;
11868 wxSize *arg2 = 0 ;
11869 wxSize result;
11870 wxSize temp2 ;
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
11873 char *kwnames[] = {
11874 (char *) "self",(char *) "sizePage", NULL
11875 };
11876
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11879 {
11880 arg2 = &temp2;
11881 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11882 }
11883 {
11884 PyThreadState* __tstate = wxPyBeginAllowThreads();
11885 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11886
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 {
11891 wxSize * resultptr;
11892 resultptr = new wxSize((wxSize &) result);
11893 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11894 }
11895 return resultobj;
11896 fail:
11897 return NULL;
11898 }
11899
11900
11901 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
11902 PyObject *obj;
11903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11904 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
11905 Py_INCREF(obj);
11906 return Py_BuildValue((char *)"");
11907 }
11908 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11909 PyObject *resultobj;
11910 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11911 int arg2 = (int) 0 ;
11912 int arg3 = (int) -1 ;
11913 int arg4 = (int) -1 ;
11914 wxNotebookEvent *result;
11915 char *kwnames[] = {
11916 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11920 {
11921 PyThreadState* __tstate = wxPyBeginAllowThreads();
11922 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
11923
11924 wxPyEndAllowThreads(__tstate);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
11928 return resultobj;
11929 fail:
11930 return NULL;
11931 }
11932
11933
11934 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
11935 PyObject *obj;
11936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11937 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
11938 Py_INCREF(obj);
11939 return Py_BuildValue((char *)"");
11940 }
11941 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxWindow *arg1 = (wxWindow *) 0 ;
11944 wxWindowID arg2 ;
11945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11947 wxSize const &arg4_defvalue = wxDefaultSize ;
11948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11949 long arg5 = (long) 0 ;
11950 wxString const &arg6_defvalue = wxPyEmptyString ;
11951 wxString *arg6 = (wxString *) &arg6_defvalue ;
11952 wxListbook *result;
11953 wxPoint temp3 ;
11954 wxSize temp4 ;
11955 bool temp6 = false ;
11956 PyObject * obj0 = 0 ;
11957 PyObject * obj2 = 0 ;
11958 PyObject * obj3 = 0 ;
11959 PyObject * obj5 = 0 ;
11960 char *kwnames[] = {
11961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11962 };
11963
11964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11966 if (obj2) {
11967 {
11968 arg3 = &temp3;
11969 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11970 }
11971 }
11972 if (obj3) {
11973 {
11974 arg4 = &temp4;
11975 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11976 }
11977 }
11978 if (obj5) {
11979 {
11980 arg6 = wxString_in_helper(obj5);
11981 if (arg6 == NULL) SWIG_fail;
11982 temp6 = true;
11983 }
11984 }
11985 {
11986 PyThreadState* __tstate = wxPyBeginAllowThreads();
11987 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11988
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
11993 {
11994 if (temp6)
11995 delete arg6;
11996 }
11997 return resultobj;
11998 fail:
11999 {
12000 if (temp6)
12001 delete arg6;
12002 }
12003 return NULL;
12004 }
12005
12006
12007 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12008 PyObject *resultobj;
12009 wxListbook *result;
12010 char *kwnames[] = {
12011 NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12015 {
12016 PyThreadState* __tstate = wxPyBeginAllowThreads();
12017 result = (wxListbook *)new wxListbook();
12018
12019 wxPyEndAllowThreads(__tstate);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 }
12022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12023 return resultobj;
12024 fail:
12025 return NULL;
12026 }
12027
12028
12029 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject *resultobj;
12031 wxListbook *arg1 = (wxListbook *) 0 ;
12032 wxWindow *arg2 = (wxWindow *) 0 ;
12033 wxWindowID arg3 ;
12034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12036 wxSize const &arg5_defvalue = wxDefaultSize ;
12037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12038 long arg6 = (long) 0 ;
12039 wxString const &arg7_defvalue = wxPyEmptyString ;
12040 wxString *arg7 = (wxString *) &arg7_defvalue ;
12041 bool result;
12042 wxPoint temp4 ;
12043 wxSize temp5 ;
12044 bool temp7 = false ;
12045 PyObject * obj0 = 0 ;
12046 PyObject * obj1 = 0 ;
12047 PyObject * obj3 = 0 ;
12048 PyObject * obj4 = 0 ;
12049 PyObject * obj6 = 0 ;
12050 char *kwnames[] = {
12051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12052 };
12053
12054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12056 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12057 if (obj3) {
12058 {
12059 arg4 = &temp4;
12060 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12061 }
12062 }
12063 if (obj4) {
12064 {
12065 arg5 = &temp5;
12066 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12067 }
12068 }
12069 if (obj6) {
12070 {
12071 arg7 = wxString_in_helper(obj6);
12072 if (arg7 == NULL) SWIG_fail;
12073 temp7 = true;
12074 }
12075 }
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12079
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = PyInt_FromLong((long)result);
12084 {
12085 if (temp7)
12086 delete arg7;
12087 }
12088 return resultobj;
12089 fail:
12090 {
12091 if (temp7)
12092 delete arg7;
12093 }
12094 return NULL;
12095 }
12096
12097
12098 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12099 PyObject *resultobj;
12100 wxListbook *arg1 = (wxListbook *) 0 ;
12101 bool result;
12102 PyObject * obj0 = 0 ;
12103 char *kwnames[] = {
12104 (char *) "self", NULL
12105 };
12106
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12109 {
12110 PyThreadState* __tstate = wxPyBeginAllowThreads();
12111 result = (bool)((wxListbook const *)arg1)->IsVertical();
12112
12113 wxPyEndAllowThreads(__tstate);
12114 if (PyErr_Occurred()) SWIG_fail;
12115 }
12116 resultobj = PyInt_FromLong((long)result);
12117 return resultobj;
12118 fail:
12119 return NULL;
12120 }
12121
12122
12123 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12124 PyObject *obj;
12125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12126 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12127 Py_INCREF(obj);
12128 return Py_BuildValue((char *)"");
12129 }
12130 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12131 PyObject *resultobj;
12132 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12133 int arg2 = (int) 0 ;
12134 int arg3 = (int) -1 ;
12135 int arg4 = (int) -1 ;
12136 wxListbookEvent *result;
12137 char *kwnames[] = {
12138 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12139 };
12140
12141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12145
12146 wxPyEndAllowThreads(__tstate);
12147 if (PyErr_Occurred()) SWIG_fail;
12148 }
12149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12150 return resultobj;
12151 fail:
12152 return NULL;
12153 }
12154
12155
12156 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12157 PyObject *obj;
12158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12159 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12160 Py_INCREF(obj);
12161 return Py_BuildValue((char *)"");
12162 }
12163 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12166 wxBookCtrlSizer *result;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "nb", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
12176 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12177
12178 wxPyEndAllowThreads(__tstate);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 }
12181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12182 return resultobj;
12183 fail:
12184 return NULL;
12185 }
12186
12187
12188 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12189 PyObject *resultobj;
12190 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12191 PyObject * obj0 = 0 ;
12192 char *kwnames[] = {
12193 (char *) "self", NULL
12194 };
12195
12196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 (arg1)->RecalcSizes();
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
12205 Py_INCREF(Py_None); resultobj = Py_None;
12206 return resultobj;
12207 fail:
12208 return NULL;
12209 }
12210
12211
12212 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12215 wxSize result;
12216 PyObject * obj0 = 0 ;
12217 char *kwnames[] = {
12218 (char *) "self", NULL
12219 };
12220
12221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 result = (arg1)->CalcMin();
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 {
12231 wxSize * resultptr;
12232 resultptr = new wxSize((wxSize &) result);
12233 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12234 }
12235 return resultobj;
12236 fail:
12237 return NULL;
12238 }
12239
12240
12241 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12242 PyObject *resultobj;
12243 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12244 wxBookCtrl *result;
12245 PyObject * obj0 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (wxBookCtrl *)(arg1)->GetControl();
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12267 PyObject *obj;
12268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12269 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12270 Py_INCREF(obj);
12271 return Py_BuildValue((char *)"");
12272 }
12273 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12274 PyObject *resultobj;
12275 wxNotebook *arg1 = (wxNotebook *) 0 ;
12276 wxNotebookSizer *result;
12277 PyObject * obj0 = 0 ;
12278 char *kwnames[] = {
12279 (char *) "nb", NULL
12280 };
12281
12282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12287
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12292 return resultobj;
12293 fail:
12294 return NULL;
12295 }
12296
12297
12298 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12301 PyObject * obj0 = 0 ;
12302 char *kwnames[] = {
12303 (char *) "self", NULL
12304 };
12305
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 (arg1)->RecalcSizes();
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 Py_INCREF(Py_None); resultobj = Py_None;
12316 return resultobj;
12317 fail:
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12325 wxSize result;
12326 PyObject * obj0 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 result = (arg1)->CalcMin();
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 {
12341 wxSize * resultptr;
12342 resultptr = new wxSize((wxSize &) result);
12343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12344 }
12345 return resultobj;
12346 fail:
12347 return NULL;
12348 }
12349
12350
12351 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12352 PyObject *resultobj;
12353 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12354 wxNotebook *result;
12355 PyObject * obj0 = 0 ;
12356 char *kwnames[] = {
12357 (char *) "self", NULL
12358 };
12359
12360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 result = (wxNotebook *)(arg1)->GetNotebook();
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 {
12370 resultobj = wxPyMake_wxObject(result);
12371 }
12372 return resultobj;
12373 fail:
12374 return NULL;
12375 }
12376
12377
12378 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12379 PyObject *obj;
12380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12381 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12382 Py_INCREF(obj);
12383 return Py_BuildValue((char *)"");
12384 }
12385 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject *resultobj;
12387 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12388 int result;
12389 PyObject * obj0 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 result = (int)(arg1)->GetId();
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 resultobj = PyInt_FromLong((long)result);
12404 return resultobj;
12405 fail:
12406 return NULL;
12407 }
12408
12409
12410 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj;
12412 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12413 wxControl *result;
12414 PyObject * obj0 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 result = (wxControl *)(arg1)->GetControl();
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 {
12429 resultobj = wxPyMake_wxObject(result);
12430 }
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj;
12439 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12440 wxToolBarBase *result;
12441 PyObject * obj0 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (wxToolBarBase *)(arg1)->GetToolBar();
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 {
12456 resultobj = wxPyMake_wxObject(result);
12457 }
12458 return resultobj;
12459 fail:
12460 return NULL;
12461 }
12462
12463
12464 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12467 int result;
12468 PyObject * obj0 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "self", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12475 {
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 result = (int)(arg1)->IsButton();
12478
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 resultobj = PyInt_FromLong((long)result);
12483 return resultobj;
12484 fail:
12485 return NULL;
12486 }
12487
12488
12489 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12490 PyObject *resultobj;
12491 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12492 int result;
12493 PyObject * obj0 = 0 ;
12494 char *kwnames[] = {
12495 (char *) "self", NULL
12496 };
12497
12498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12500 {
12501 PyThreadState* __tstate = wxPyBeginAllowThreads();
12502 result = (int)(arg1)->IsControl();
12503
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 resultobj = PyInt_FromLong((long)result);
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12517 int result;
12518 PyObject * obj0 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 result = (int)(arg1)->IsSeparator();
12528
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 resultobj = PyInt_FromLong((long)result);
12533 return resultobj;
12534 fail:
12535 return NULL;
12536 }
12537
12538
12539 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12540 PyObject *resultobj;
12541 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12542 int result;
12543 PyObject * obj0 = 0 ;
12544 char *kwnames[] = {
12545 (char *) "self", NULL
12546 };
12547
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (int)(arg1)->GetStyle();
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 resultobj = PyInt_FromLong((long)result);
12558 return resultobj;
12559 fail:
12560 return NULL;
12561 }
12562
12563
12564 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj;
12566 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12567 int result;
12568 PyObject * obj0 = 0 ;
12569 char *kwnames[] = {
12570 (char *) "self", NULL
12571 };
12572
12573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 result = (int)(arg1)->GetKind();
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 resultobj = PyInt_FromLong((long)result);
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12592 bool result;
12593 PyObject * obj0 = 0 ;
12594 char *kwnames[] = {
12595 (char *) "self", NULL
12596 };
12597
12598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 result = (bool)(arg1)->IsEnabled();
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
12607 resultobj = PyInt_FromLong((long)result);
12608 return resultobj;
12609 fail:
12610 return NULL;
12611 }
12612
12613
12614 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12615 PyObject *resultobj;
12616 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12617 bool result;
12618 PyObject * obj0 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 result = (bool)(arg1)->IsToggled();
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 resultobj = PyInt_FromLong((long)result);
12633 return resultobj;
12634 fail:
12635 return NULL;
12636 }
12637
12638
12639 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12640 PyObject *resultobj;
12641 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12642 bool result;
12643 PyObject * obj0 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 result = (bool)(arg1)->CanBeToggled();
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 resultobj = PyInt_FromLong((long)result);
12658 return resultobj;
12659 fail:
12660 return NULL;
12661 }
12662
12663
12664 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj;
12666 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12667 wxBitmap *result;
12668 PyObject * obj0 = 0 ;
12669 char *kwnames[] = {
12670 (char *) "self", NULL
12671 };
12672
12673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 {
12678 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12679 result = (wxBitmap *) &_result_ref;
12680 }
12681
12682 wxPyEndAllowThreads(__tstate);
12683 if (PyErr_Occurred()) SWIG_fail;
12684 }
12685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12686 return resultobj;
12687 fail:
12688 return NULL;
12689 }
12690
12691
12692 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12693 PyObject *resultobj;
12694 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12695 wxBitmap *result;
12696 PyObject * obj0 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 {
12706 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12707 result = (wxBitmap *) &_result_ref;
12708 }
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12714 return resultobj;
12715 fail:
12716 return NULL;
12717 }
12718
12719
12720 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj;
12722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12723 wxBitmap result;
12724 PyObject * obj0 = 0 ;
12725 char *kwnames[] = {
12726 (char *) "self", NULL
12727 };
12728
12729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12731 {
12732 PyThreadState* __tstate = wxPyBeginAllowThreads();
12733 result = (arg1)->GetBitmap();
12734
12735 wxPyEndAllowThreads(__tstate);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 {
12739 wxBitmap * resultptr;
12740 resultptr = new wxBitmap((wxBitmap &) result);
12741 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12742 }
12743 return resultobj;
12744 fail:
12745 return NULL;
12746 }
12747
12748
12749 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12750 PyObject *resultobj;
12751 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12752 wxString result;
12753 PyObject * obj0 = 0 ;
12754 char *kwnames[] = {
12755 (char *) "self", NULL
12756 };
12757
12758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12760 {
12761 PyThreadState* __tstate = wxPyBeginAllowThreads();
12762 result = (arg1)->GetLabel();
12763
12764 wxPyEndAllowThreads(__tstate);
12765 if (PyErr_Occurred()) SWIG_fail;
12766 }
12767 {
12768 #if wxUSE_UNICODE
12769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12770 #else
12771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12772 #endif
12773 }
12774 return resultobj;
12775 fail:
12776 return NULL;
12777 }
12778
12779
12780 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12781 PyObject *resultobj;
12782 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12783 wxString result;
12784 PyObject * obj0 = 0 ;
12785 char *kwnames[] = {
12786 (char *) "self", NULL
12787 };
12788
12789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
12790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12791 {
12792 PyThreadState* __tstate = wxPyBeginAllowThreads();
12793 result = (arg1)->GetShortHelp();
12794
12795 wxPyEndAllowThreads(__tstate);
12796 if (PyErr_Occurred()) SWIG_fail;
12797 }
12798 {
12799 #if wxUSE_UNICODE
12800 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12801 #else
12802 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12803 #endif
12804 }
12805 return resultobj;
12806 fail:
12807 return NULL;
12808 }
12809
12810
12811 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12812 PyObject *resultobj;
12813 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12814 wxString result;
12815 PyObject * obj0 = 0 ;
12816 char *kwnames[] = {
12817 (char *) "self", NULL
12818 };
12819
12820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
12821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12822 {
12823 PyThreadState* __tstate = wxPyBeginAllowThreads();
12824 result = (arg1)->GetLongHelp();
12825
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 {
12830 #if wxUSE_UNICODE
12831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12832 #else
12833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12834 #endif
12835 }
12836 return resultobj;
12837 fail:
12838 return NULL;
12839 }
12840
12841
12842 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
12843 PyObject *resultobj;
12844 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12845 bool arg2 ;
12846 bool result;
12847 PyObject * obj0 = 0 ;
12848 PyObject * obj1 = 0 ;
12849 char *kwnames[] = {
12850 (char *) "self",(char *) "enable", NULL
12851 };
12852
12853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
12854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12855 arg2 = PyInt_AsLong(obj1) ? true : false;
12856 if (PyErr_Occurred()) SWIG_fail;
12857 {
12858 PyThreadState* __tstate = wxPyBeginAllowThreads();
12859 result = (bool)(arg1)->Enable(arg2);
12860
12861 wxPyEndAllowThreads(__tstate);
12862 if (PyErr_Occurred()) SWIG_fail;
12863 }
12864 resultobj = PyInt_FromLong((long)result);
12865 return resultobj;
12866 fail:
12867 return NULL;
12868 }
12869
12870
12871 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj;
12873 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12874 PyObject * obj0 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
12880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 (arg1)->Toggle();
12884
12885 wxPyEndAllowThreads(__tstate);
12886 if (PyErr_Occurred()) SWIG_fail;
12887 }
12888 Py_INCREF(Py_None); resultobj = Py_None;
12889 return resultobj;
12890 fail:
12891 return NULL;
12892 }
12893
12894
12895 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12896 PyObject *resultobj;
12897 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12898 bool arg2 ;
12899 bool result;
12900 PyObject * obj0 = 0 ;
12901 PyObject * obj1 = 0 ;
12902 char *kwnames[] = {
12903 (char *) "self",(char *) "toggle", NULL
12904 };
12905
12906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
12907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12908 arg2 = PyInt_AsLong(obj1) ? true : false;
12909 if (PyErr_Occurred()) SWIG_fail;
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 result = (bool)(arg1)->SetToggle(arg2);
12913
12914 wxPyEndAllowThreads(__tstate);
12915 if (PyErr_Occurred()) SWIG_fail;
12916 }
12917 resultobj = PyInt_FromLong((long)result);
12918 return resultobj;
12919 fail:
12920 return NULL;
12921 }
12922
12923
12924 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12925 PyObject *resultobj;
12926 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12927 wxString *arg2 = 0 ;
12928 bool result;
12929 bool temp2 = false ;
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "self",(char *) "help", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
12937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12938 {
12939 arg2 = wxString_in_helper(obj1);
12940 if (arg2 == NULL) SWIG_fail;
12941 temp2 = true;
12942 }
12943 {
12944 PyThreadState* __tstate = wxPyBeginAllowThreads();
12945 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 resultobj = PyInt_FromLong((long)result);
12951 {
12952 if (temp2)
12953 delete arg2;
12954 }
12955 return resultobj;
12956 fail:
12957 {
12958 if (temp2)
12959 delete arg2;
12960 }
12961 return NULL;
12962 }
12963
12964
12965 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12966 PyObject *resultobj;
12967 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12968 wxString *arg2 = 0 ;
12969 bool result;
12970 bool temp2 = false ;
12971 PyObject * obj0 = 0 ;
12972 PyObject * obj1 = 0 ;
12973 char *kwnames[] = {
12974 (char *) "self",(char *) "help", NULL
12975 };
12976
12977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
12978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12979 {
12980 arg2 = wxString_in_helper(obj1);
12981 if (arg2 == NULL) SWIG_fail;
12982 temp2 = true;
12983 }
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 resultobj = PyInt_FromLong((long)result);
12992 {
12993 if (temp2)
12994 delete arg2;
12995 }
12996 return resultobj;
12997 fail:
12998 {
12999 if (temp2)
13000 delete arg2;
13001 }
13002 return NULL;
13003 }
13004
13005
13006 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13007 PyObject *resultobj;
13008 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13009 wxBitmap *arg2 = 0 ;
13010 PyObject * obj0 = 0 ;
13011 PyObject * obj1 = 0 ;
13012 char *kwnames[] = {
13013 (char *) "self",(char *) "bmp", NULL
13014 };
13015
13016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13018 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13019 if (arg2 == NULL) {
13020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13021 }
13022 {
13023 PyThreadState* __tstate = wxPyBeginAllowThreads();
13024 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13025
13026 wxPyEndAllowThreads(__tstate);
13027 if (PyErr_Occurred()) SWIG_fail;
13028 }
13029 Py_INCREF(Py_None); resultobj = Py_None;
13030 return resultobj;
13031 fail:
13032 return NULL;
13033 }
13034
13035
13036 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13037 PyObject *resultobj;
13038 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13039 wxBitmap *arg2 = 0 ;
13040 PyObject * obj0 = 0 ;
13041 PyObject * obj1 = 0 ;
13042 char *kwnames[] = {
13043 (char *) "self",(char *) "bmp", NULL
13044 };
13045
13046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13049 if (arg2 == NULL) {
13050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 Py_INCREF(Py_None); resultobj = Py_None;
13060 return resultobj;
13061 fail:
13062 return NULL;
13063 }
13064
13065
13066 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13067 PyObject *resultobj;
13068 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13069 wxString *arg2 = 0 ;
13070 bool temp2 = false ;
13071 PyObject * obj0 = 0 ;
13072 PyObject * obj1 = 0 ;
13073 char *kwnames[] = {
13074 (char *) "self",(char *) "label", NULL
13075 };
13076
13077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13079 {
13080 arg2 = wxString_in_helper(obj1);
13081 if (arg2 == NULL) SWIG_fail;
13082 temp2 = true;
13083 }
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 (arg1)->SetLabel((wxString const &)*arg2);
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 Py_INCREF(Py_None); resultobj = Py_None;
13092 {
13093 if (temp2)
13094 delete arg2;
13095 }
13096 return resultobj;
13097 fail:
13098 {
13099 if (temp2)
13100 delete arg2;
13101 }
13102 return NULL;
13103 }
13104
13105
13106 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13107 PyObject *resultobj;
13108 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13109 PyObject * obj0 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13116 {
13117 PyThreadState* __tstate = wxPyBeginAllowThreads();
13118 (arg1)->Detach();
13119
13120 wxPyEndAllowThreads(__tstate);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 }
13123 Py_INCREF(Py_None); resultobj = Py_None;
13124 return resultobj;
13125 fail:
13126 return NULL;
13127 }
13128
13129
13130 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13131 PyObject *resultobj;
13132 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13133 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13134 PyObject * obj0 = 0 ;
13135 PyObject * obj1 = 0 ;
13136 char *kwnames[] = {
13137 (char *) "self",(char *) "tbar", NULL
13138 };
13139
13140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13143 {
13144 PyThreadState* __tstate = wxPyBeginAllowThreads();
13145 (arg1)->Attach(arg2);
13146
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 Py_INCREF(Py_None); resultobj = Py_None;
13151 return resultobj;
13152 fail:
13153 return NULL;
13154 }
13155
13156
13157 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13160 PyObject *result;
13161 PyObject * obj0 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
13175 resultobj = result;
13176 return resultobj;
13177 fail:
13178 return NULL;
13179 }
13180
13181
13182 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj;
13184 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13185 PyObject *arg2 = (PyObject *) 0 ;
13186 PyObject * obj0 = 0 ;
13187 PyObject * obj1 = 0 ;
13188 char *kwnames[] = {
13189 (char *) "self",(char *) "clientData", NULL
13190 };
13191
13192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13194 arg2 = obj1;
13195 {
13196 PyThreadState* __tstate = wxPyBeginAllowThreads();
13197 wxToolBarToolBase_SetClientData(arg1,arg2);
13198
13199 wxPyEndAllowThreads(__tstate);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 }
13202 Py_INCREF(Py_None); resultobj = Py_None;
13203 return resultobj;
13204 fail:
13205 return NULL;
13206 }
13207
13208
13209 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13210 PyObject *obj;
13211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13212 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13213 Py_INCREF(obj);
13214 return Py_BuildValue((char *)"");
13215 }
13216 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13217 PyObject *resultobj;
13218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13219 int arg2 ;
13220 wxString *arg3 = 0 ;
13221 wxBitmap *arg4 = 0 ;
13222 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13223 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13224 int arg6 = (int) wxITEM_NORMAL ;
13225 wxString const &arg7_defvalue = wxPyEmptyString ;
13226 wxString *arg7 = (wxString *) &arg7_defvalue ;
13227 wxString const &arg8_defvalue = wxPyEmptyString ;
13228 wxString *arg8 = (wxString *) &arg8_defvalue ;
13229 PyObject *arg9 = (PyObject *) NULL ;
13230 wxToolBarToolBase *result;
13231 bool temp3 = false ;
13232 bool temp7 = false ;
13233 bool temp8 = false ;
13234 PyObject * obj0 = 0 ;
13235 PyObject * obj2 = 0 ;
13236 PyObject * obj3 = 0 ;
13237 PyObject * obj4 = 0 ;
13238 PyObject * obj6 = 0 ;
13239 PyObject * obj7 = 0 ;
13240 PyObject * obj8 = 0 ;
13241 char *kwnames[] = {
13242 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13243 };
13244
13245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13247 {
13248 arg3 = wxString_in_helper(obj2);
13249 if (arg3 == NULL) SWIG_fail;
13250 temp3 = true;
13251 }
13252 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13253 if (arg4 == NULL) {
13254 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13255 }
13256 if (obj4) {
13257 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13258 if (arg5 == NULL) {
13259 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13260 }
13261 }
13262 if (obj6) {
13263 {
13264 arg7 = wxString_in_helper(obj6);
13265 if (arg7 == NULL) SWIG_fail;
13266 temp7 = true;
13267 }
13268 }
13269 if (obj7) {
13270 {
13271 arg8 = wxString_in_helper(obj7);
13272 if (arg8 == NULL) SWIG_fail;
13273 temp8 = true;
13274 }
13275 }
13276 if (obj8) {
13277 arg9 = obj8;
13278 }
13279 {
13280 PyThreadState* __tstate = wxPyBeginAllowThreads();
13281 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13282
13283 wxPyEndAllowThreads(__tstate);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 }
13286 {
13287 resultobj = wxPyMake_wxObject(result);
13288 }
13289 {
13290 if (temp3)
13291 delete arg3;
13292 }
13293 {
13294 if (temp7)
13295 delete arg7;
13296 }
13297 {
13298 if (temp8)
13299 delete arg8;
13300 }
13301 return resultobj;
13302 fail:
13303 {
13304 if (temp3)
13305 delete arg3;
13306 }
13307 {
13308 if (temp7)
13309 delete arg7;
13310 }
13311 {
13312 if (temp8)
13313 delete arg8;
13314 }
13315 return NULL;
13316 }
13317
13318
13319 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13320 PyObject *resultobj;
13321 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13322 size_t arg2 ;
13323 int arg3 ;
13324 wxString *arg4 = 0 ;
13325 wxBitmap *arg5 = 0 ;
13326 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13327 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13328 int arg7 = (int) wxITEM_NORMAL ;
13329 wxString const &arg8_defvalue = wxPyEmptyString ;
13330 wxString *arg8 = (wxString *) &arg8_defvalue ;
13331 wxString const &arg9_defvalue = wxPyEmptyString ;
13332 wxString *arg9 = (wxString *) &arg9_defvalue ;
13333 PyObject *arg10 = (PyObject *) NULL ;
13334 wxToolBarToolBase *result;
13335 bool temp4 = false ;
13336 bool temp8 = false ;
13337 bool temp9 = false ;
13338 PyObject * obj0 = 0 ;
13339 PyObject * obj1 = 0 ;
13340 PyObject * obj3 = 0 ;
13341 PyObject * obj4 = 0 ;
13342 PyObject * obj5 = 0 ;
13343 PyObject * obj7 = 0 ;
13344 PyObject * obj8 = 0 ;
13345 PyObject * obj9 = 0 ;
13346 char *kwnames[] = {
13347 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13348 };
13349
13350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13352 arg2 = (size_t) PyInt_AsLong(obj1);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 {
13355 arg4 = wxString_in_helper(obj3);
13356 if (arg4 == NULL) SWIG_fail;
13357 temp4 = true;
13358 }
13359 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13360 if (arg5 == NULL) {
13361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13362 }
13363 if (obj5) {
13364 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13365 if (arg6 == NULL) {
13366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13367 }
13368 }
13369 if (obj7) {
13370 {
13371 arg8 = wxString_in_helper(obj7);
13372 if (arg8 == NULL) SWIG_fail;
13373 temp8 = true;
13374 }
13375 }
13376 if (obj8) {
13377 {
13378 arg9 = wxString_in_helper(obj8);
13379 if (arg9 == NULL) SWIG_fail;
13380 temp9 = true;
13381 }
13382 }
13383 if (obj9) {
13384 arg10 = obj9;
13385 }
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 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);
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 {
13394 resultobj = wxPyMake_wxObject(result);
13395 }
13396 {
13397 if (temp4)
13398 delete arg4;
13399 }
13400 {
13401 if (temp8)
13402 delete arg8;
13403 }
13404 {
13405 if (temp9)
13406 delete arg9;
13407 }
13408 return resultobj;
13409 fail:
13410 {
13411 if (temp4)
13412 delete arg4;
13413 }
13414 {
13415 if (temp8)
13416 delete arg8;
13417 }
13418 {
13419 if (temp9)
13420 delete arg9;
13421 }
13422 return NULL;
13423 }
13424
13425
13426 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13427 PyObject *resultobj;
13428 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13429 wxControl *arg2 = (wxControl *) 0 ;
13430 wxToolBarToolBase *result;
13431 PyObject * obj0 = 0 ;
13432 PyObject * obj1 = 0 ;
13433 char *kwnames[] = {
13434 (char *) "self",(char *) "control", NULL
13435 };
13436
13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13439 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 {
13448 resultobj = wxPyMake_wxObject(result);
13449 }
13450 return resultobj;
13451 fail:
13452 return NULL;
13453 }
13454
13455
13456 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj;
13458 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13459 size_t arg2 ;
13460 wxControl *arg3 = (wxControl *) 0 ;
13461 wxToolBarToolBase *result;
13462 PyObject * obj0 = 0 ;
13463 PyObject * obj1 = 0 ;
13464 PyObject * obj2 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self",(char *) "pos",(char *) "control", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13471 arg2 = (size_t) PyInt_AsLong(obj1);
13472 if (PyErr_Occurred()) SWIG_fail;
13473 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 {
13482 resultobj = wxPyMake_wxObject(result);
13483 }
13484 return resultobj;
13485 fail:
13486 return NULL;
13487 }
13488
13489
13490 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13491 PyObject *resultobj;
13492 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13493 int arg2 ;
13494 wxControl *result;
13495 PyObject * obj0 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self",(char *) "id", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 result = (wxControl *)(arg1)->FindControl(arg2);
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 {
13510 resultobj = wxPyMake_wxObject(result);
13511 }
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj;
13520 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13521 wxToolBarToolBase *result;
13522 PyObject * obj0 = 0 ;
13523 char *kwnames[] = {
13524 (char *) "self", NULL
13525 };
13526
13527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13532
13533 wxPyEndAllowThreads(__tstate);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 {
13537 resultobj = wxPyMake_wxObject(result);
13538 }
13539 return resultobj;
13540 fail:
13541 return NULL;
13542 }
13543
13544
13545 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13546 PyObject *resultobj;
13547 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13548 size_t arg2 ;
13549 wxToolBarToolBase *result;
13550 PyObject * obj0 = 0 ;
13551 PyObject * obj1 = 0 ;
13552 char *kwnames[] = {
13553 (char *) "self",(char *) "pos", NULL
13554 };
13555
13556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13558 arg2 = (size_t) PyInt_AsLong(obj1);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 {
13561 PyThreadState* __tstate = wxPyBeginAllowThreads();
13562 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 {
13568 resultobj = wxPyMake_wxObject(result);
13569 }
13570 return resultobj;
13571 fail:
13572 return NULL;
13573 }
13574
13575
13576 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13577 PyObject *resultobj;
13578 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13579 int arg2 ;
13580 wxToolBarToolBase *result;
13581 PyObject * obj0 = 0 ;
13582 char *kwnames[] = {
13583 (char *) "self",(char *) "id", NULL
13584 };
13585
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13591
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 {
13596 resultobj = wxPyMake_wxObject(result);
13597 }
13598 return resultobj;
13599 fail:
13600 return NULL;
13601 }
13602
13603
13604 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13605 PyObject *resultobj;
13606 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13607 size_t arg2 ;
13608 bool result;
13609 PyObject * obj0 = 0 ;
13610 PyObject * obj1 = 0 ;
13611 char *kwnames[] = {
13612 (char *) "self",(char *) "pos", NULL
13613 };
13614
13615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13617 arg2 = (size_t) PyInt_AsLong(obj1);
13618 if (PyErr_Occurred()) SWIG_fail;
13619 {
13620 PyThreadState* __tstate = wxPyBeginAllowThreads();
13621 result = (bool)(arg1)->DeleteToolByPos(arg2);
13622
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 resultobj = PyInt_FromLong((long)result);
13627 return resultobj;
13628 fail:
13629 return NULL;
13630 }
13631
13632
13633 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13634 PyObject *resultobj;
13635 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13636 int arg2 ;
13637 bool result;
13638 PyObject * obj0 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self",(char *) "id", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = (bool)(arg1)->DeleteTool(arg2);
13648
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 resultobj = PyInt_FromLong((long)result);
13653 return resultobj;
13654 fail:
13655 return NULL;
13656 }
13657
13658
13659 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13662 PyObject * obj0 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 (arg1)->ClearTools();
13672
13673 wxPyEndAllowThreads(__tstate);
13674 if (PyErr_Occurred()) SWIG_fail;
13675 }
13676 Py_INCREF(Py_None); resultobj = Py_None;
13677 return resultobj;
13678 fail:
13679 return NULL;
13680 }
13681
13682
13683 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13684 PyObject *resultobj;
13685 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13686 bool result;
13687 PyObject * obj0 = 0 ;
13688 char *kwnames[] = {
13689 (char *) "self", NULL
13690 };
13691
13692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13694 {
13695 PyThreadState* __tstate = wxPyBeginAllowThreads();
13696 result = (bool)(arg1)->Realize();
13697
13698 wxPyEndAllowThreads(__tstate);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 }
13701 resultobj = PyInt_FromLong((long)result);
13702 return resultobj;
13703 fail:
13704 return NULL;
13705 }
13706
13707
13708 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13709 PyObject *resultobj;
13710 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13711 int arg2 ;
13712 bool arg3 ;
13713 PyObject * obj0 = 0 ;
13714 PyObject * obj2 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "id",(char *) "enable", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13721 arg3 = PyInt_AsLong(obj2) ? true : false;
13722 if (PyErr_Occurred()) SWIG_fail;
13723 {
13724 PyThreadState* __tstate = wxPyBeginAllowThreads();
13725 (arg1)->EnableTool(arg2,arg3);
13726
13727 wxPyEndAllowThreads(__tstate);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 }
13730 Py_INCREF(Py_None); resultobj = Py_None;
13731 return resultobj;
13732 fail:
13733 return NULL;
13734 }
13735
13736
13737 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13738 PyObject *resultobj;
13739 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13740 int arg2 ;
13741 bool arg3 ;
13742 PyObject * obj0 = 0 ;
13743 PyObject * obj2 = 0 ;
13744 char *kwnames[] = {
13745 (char *) "self",(char *) "id",(char *) "toggle", NULL
13746 };
13747
13748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13750 arg3 = PyInt_AsLong(obj2) ? true : false;
13751 if (PyErr_Occurred()) SWIG_fail;
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 (arg1)->ToggleTool(arg2,arg3);
13755
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
13759 Py_INCREF(Py_None); resultobj = Py_None;
13760 return resultobj;
13761 fail:
13762 return NULL;
13763 }
13764
13765
13766 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13767 PyObject *resultobj;
13768 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13769 int arg2 ;
13770 bool arg3 ;
13771 PyObject * obj0 = 0 ;
13772 PyObject * obj2 = 0 ;
13773 char *kwnames[] = {
13774 (char *) "self",(char *) "id",(char *) "toggle", NULL
13775 };
13776
13777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
13778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13779 arg3 = PyInt_AsLong(obj2) ? true : false;
13780 if (PyErr_Occurred()) SWIG_fail;
13781 {
13782 PyThreadState* __tstate = wxPyBeginAllowThreads();
13783 (arg1)->SetToggle(arg2,arg3);
13784
13785 wxPyEndAllowThreads(__tstate);
13786 if (PyErr_Occurred()) SWIG_fail;
13787 }
13788 Py_INCREF(Py_None); resultobj = Py_None;
13789 return resultobj;
13790 fail:
13791 return NULL;
13792 }
13793
13794
13795 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13796 PyObject *resultobj;
13797 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13798 int arg2 ;
13799 PyObject *result;
13800 PyObject * obj0 = 0 ;
13801 char *kwnames[] = {
13802 (char *) "self",(char *) "id", NULL
13803 };
13804
13805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
13806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13807 {
13808 PyThreadState* __tstate = wxPyBeginAllowThreads();
13809 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
13810
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 resultobj = result;
13815 return resultobj;
13816 fail:
13817 return NULL;
13818 }
13819
13820
13821 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj;
13823 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13824 int arg2 ;
13825 PyObject *arg3 = (PyObject *) 0 ;
13826 PyObject * obj0 = 0 ;
13827 PyObject * obj2 = 0 ;
13828 char *kwnames[] = {
13829 (char *) "self",(char *) "id",(char *) "clientData", NULL
13830 };
13831
13832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
13833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13834 arg3 = obj2;
13835 {
13836 PyThreadState* __tstate = wxPyBeginAllowThreads();
13837 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
13838
13839 wxPyEndAllowThreads(__tstate);
13840 if (PyErr_Occurred()) SWIG_fail;
13841 }
13842 Py_INCREF(Py_None); resultobj = Py_None;
13843 return resultobj;
13844 fail:
13845 return NULL;
13846 }
13847
13848
13849 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13850 PyObject *resultobj;
13851 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13852 int arg2 ;
13853 int result;
13854 PyObject * obj0 = 0 ;
13855 char *kwnames[] = {
13856 (char *) "self",(char *) "id", NULL
13857 };
13858
13859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
13860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 resultobj = PyInt_FromLong((long)result);
13869 return resultobj;
13870 fail:
13871 return NULL;
13872 }
13873
13874
13875 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13878 int arg2 ;
13879 bool result;
13880 PyObject * obj0 = 0 ;
13881 char *kwnames[] = {
13882 (char *) "self",(char *) "id", NULL
13883 };
13884
13885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) 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 = (bool)(arg1)->GetToolState(arg2);
13890
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 resultobj = PyInt_FromLong((long)result);
13895 return resultobj;
13896 fail:
13897 return NULL;
13898 }
13899
13900
13901 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj;
13903 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13904 int arg2 ;
13905 bool result;
13906 PyObject * obj0 = 0 ;
13907 char *kwnames[] = {
13908 (char *) "self",(char *) "id", NULL
13909 };
13910
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
13912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (bool)(arg1)->GetToolEnabled(arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 resultobj = PyInt_FromLong((long)result);
13921 return resultobj;
13922 fail:
13923 return NULL;
13924 }
13925
13926
13927 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13930 int arg2 ;
13931 wxString *arg3 = 0 ;
13932 bool temp3 = false ;
13933 PyObject * obj0 = 0 ;
13934 PyObject * obj2 = 0 ;
13935 char *kwnames[] = {
13936 (char *) "self",(char *) "id",(char *) "helpString", NULL
13937 };
13938
13939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
13940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13941 {
13942 arg3 = wxString_in_helper(obj2);
13943 if (arg3 == NULL) SWIG_fail;
13944 temp3 = true;
13945 }
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 Py_INCREF(Py_None); resultobj = Py_None;
13954 {
13955 if (temp3)
13956 delete arg3;
13957 }
13958 return resultobj;
13959 fail:
13960 {
13961 if (temp3)
13962 delete arg3;
13963 }
13964 return NULL;
13965 }
13966
13967
13968 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13969 PyObject *resultobj;
13970 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13971 int arg2 ;
13972 wxString result;
13973 PyObject * obj0 = 0 ;
13974 char *kwnames[] = {
13975 (char *) "self",(char *) "id", NULL
13976 };
13977
13978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
13979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13980 {
13981 PyThreadState* __tstate = wxPyBeginAllowThreads();
13982 result = (arg1)->GetToolShortHelp(arg2);
13983
13984 wxPyEndAllowThreads(__tstate);
13985 if (PyErr_Occurred()) SWIG_fail;
13986 }
13987 {
13988 #if wxUSE_UNICODE
13989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13990 #else
13991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13992 #endif
13993 }
13994 return resultobj;
13995 fail:
13996 return NULL;
13997 }
13998
13999
14000 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14001 PyObject *resultobj;
14002 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14003 int arg2 ;
14004 wxString *arg3 = 0 ;
14005 bool temp3 = false ;
14006 PyObject * obj0 = 0 ;
14007 PyObject * obj2 = 0 ;
14008 char *kwnames[] = {
14009 (char *) "self",(char *) "id",(char *) "helpString", NULL
14010 };
14011
14012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14014 {
14015 arg3 = wxString_in_helper(obj2);
14016 if (arg3 == NULL) SWIG_fail;
14017 temp3 = true;
14018 }
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14022
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 Py_INCREF(Py_None); resultobj = Py_None;
14027 {
14028 if (temp3)
14029 delete arg3;
14030 }
14031 return resultobj;
14032 fail:
14033 {
14034 if (temp3)
14035 delete arg3;
14036 }
14037 return NULL;
14038 }
14039
14040
14041 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj;
14043 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14044 int arg2 ;
14045 wxString result;
14046 PyObject * obj0 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self",(char *) "id", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 result = (arg1)->GetToolLongHelp(arg2);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 {
14061 #if wxUSE_UNICODE
14062 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14063 #else
14064 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14065 #endif
14066 }
14067 return resultobj;
14068 fail:
14069 return NULL;
14070 }
14071
14072
14073 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14074 PyObject *resultobj;
14075 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14076 int arg2 ;
14077 int arg3 ;
14078 PyObject * obj0 = 0 ;
14079 char *kwnames[] = {
14080 (char *) "self",(char *) "x",(char *) "y", NULL
14081 };
14082
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14085 {
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 (arg1)->SetMargins(arg2,arg3);
14088
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 Py_INCREF(Py_None); resultobj = Py_None;
14093 return resultobj;
14094 fail:
14095 return NULL;
14096 }
14097
14098
14099 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj;
14101 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14102 wxSize *arg2 = 0 ;
14103 wxSize temp2 ;
14104 PyObject * obj0 = 0 ;
14105 PyObject * obj1 = 0 ;
14106 char *kwnames[] = {
14107 (char *) "self",(char *) "size", NULL
14108 };
14109
14110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14112 {
14113 arg2 = &temp2;
14114 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14115 }
14116 {
14117 PyThreadState* __tstate = wxPyBeginAllowThreads();
14118 (arg1)->SetMargins((wxSize const &)*arg2);
14119
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 Py_INCREF(Py_None); resultobj = Py_None;
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj;
14132 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14133 int arg2 ;
14134 PyObject * obj0 = 0 ;
14135 char *kwnames[] = {
14136 (char *) "self",(char *) "packing", NULL
14137 };
14138
14139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 (arg1)->SetToolPacking(arg2);
14144
14145 wxPyEndAllowThreads(__tstate);
14146 if (PyErr_Occurred()) SWIG_fail;
14147 }
14148 Py_INCREF(Py_None); resultobj = Py_None;
14149 return resultobj;
14150 fail:
14151 return NULL;
14152 }
14153
14154
14155 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14156 PyObject *resultobj;
14157 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14158 int arg2 ;
14159 PyObject * obj0 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self",(char *) "separation", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 (arg1)->SetToolSeparation(arg2);
14169
14170 wxPyEndAllowThreads(__tstate);
14171 if (PyErr_Occurred()) SWIG_fail;
14172 }
14173 Py_INCREF(Py_None); resultobj = Py_None;
14174 return resultobj;
14175 fail:
14176 return NULL;
14177 }
14178
14179
14180 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14183 wxSize result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = (arg1)->GetToolMargins();
14194
14195 wxPyEndAllowThreads(__tstate);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 }
14198 {
14199 wxSize * resultptr;
14200 resultptr = new wxSize((wxSize &) result);
14201 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14202 }
14203 return resultobj;
14204 fail:
14205 return NULL;
14206 }
14207
14208
14209 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14210 PyObject *resultobj;
14211 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14212 wxSize result;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = (arg1)->GetMargins();
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 {
14228 wxSize * resultptr;
14229 resultptr = new wxSize((wxSize &) result);
14230 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14231 }
14232 return resultobj;
14233 fail:
14234 return NULL;
14235 }
14236
14237
14238 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14239 PyObject *resultobj;
14240 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14241 int result;
14242 PyObject * obj0 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14249 {
14250 PyThreadState* __tstate = wxPyBeginAllowThreads();
14251 result = (int)(arg1)->GetToolPacking();
14252
14253 wxPyEndAllowThreads(__tstate);
14254 if (PyErr_Occurred()) SWIG_fail;
14255 }
14256 resultobj = PyInt_FromLong((long)result);
14257 return resultobj;
14258 fail:
14259 return NULL;
14260 }
14261
14262
14263 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14264 PyObject *resultobj;
14265 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14266 int result;
14267 PyObject * obj0 = 0 ;
14268 char *kwnames[] = {
14269 (char *) "self", NULL
14270 };
14271
14272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (int)(arg1)->GetToolSeparation();
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 resultobj = PyInt_FromLong((long)result);
14282 return resultobj;
14283 fail:
14284 return NULL;
14285 }
14286
14287
14288 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14289 PyObject *resultobj;
14290 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14291 int arg2 ;
14292 PyObject * obj0 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "nRows", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 (arg1)->SetRows(arg2);
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
14306 Py_INCREF(Py_None); resultobj = Py_None;
14307 return resultobj;
14308 fail:
14309 return NULL;
14310 }
14311
14312
14313 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14314 PyObject *resultobj;
14315 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14316 int arg2 ;
14317 int arg3 ;
14318 PyObject * obj0 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self",(char *) "rows",(char *) "cols", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14325 {
14326 PyThreadState* __tstate = wxPyBeginAllowThreads();
14327 (arg1)->SetMaxRowsCols(arg2,arg3);
14328
14329 wxPyEndAllowThreads(__tstate);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 Py_INCREF(Py_None); resultobj = Py_None;
14333 return resultobj;
14334 fail:
14335 return NULL;
14336 }
14337
14338
14339 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14340 PyObject *resultobj;
14341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14342 int result;
14343 PyObject * obj0 = 0 ;
14344 char *kwnames[] = {
14345 (char *) "self", NULL
14346 };
14347
14348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14350 {
14351 PyThreadState* __tstate = wxPyBeginAllowThreads();
14352 result = (int)(arg1)->GetMaxRows();
14353
14354 wxPyEndAllowThreads(__tstate);
14355 if (PyErr_Occurred()) SWIG_fail;
14356 }
14357 resultobj = PyInt_FromLong((long)result);
14358 return resultobj;
14359 fail:
14360 return NULL;
14361 }
14362
14363
14364 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14365 PyObject *resultobj;
14366 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14367 int result;
14368 PyObject * obj0 = 0 ;
14369 char *kwnames[] = {
14370 (char *) "self", NULL
14371 };
14372
14373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14375 {
14376 PyThreadState* __tstate = wxPyBeginAllowThreads();
14377 result = (int)(arg1)->GetMaxCols();
14378
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 resultobj = PyInt_FromLong((long)result);
14383 return resultobj;
14384 fail:
14385 return NULL;
14386 }
14387
14388
14389 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14390 PyObject *resultobj;
14391 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14392 wxSize *arg2 = 0 ;
14393 wxSize temp2 ;
14394 PyObject * obj0 = 0 ;
14395 PyObject * obj1 = 0 ;
14396 char *kwnames[] = {
14397 (char *) "self",(char *) "size", NULL
14398 };
14399
14400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14402 {
14403 arg2 = &temp2;
14404 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14405 }
14406 {
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14409
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 Py_INCREF(Py_None); resultobj = Py_None;
14414 return resultobj;
14415 fail:
14416 return NULL;
14417 }
14418
14419
14420 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj;
14422 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14423 wxSize result;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 result = (arg1)->GetToolBitmapSize();
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 {
14439 wxSize * resultptr;
14440 resultptr = new wxSize((wxSize &) result);
14441 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14442 }
14443 return resultobj;
14444 fail:
14445 return NULL;
14446 }
14447
14448
14449 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14452 wxSize result;
14453 PyObject * obj0 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (arg1)->GetToolSize();
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 {
14468 wxSize * resultptr;
14469 resultptr = new wxSize((wxSize &) result);
14470 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14471 }
14472 return resultobj;
14473 fail:
14474 return NULL;
14475 }
14476
14477
14478 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14479 PyObject *resultobj;
14480 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14481 wxCoord arg2 ;
14482 wxCoord arg3 ;
14483 wxToolBarToolBase *result;
14484 PyObject * obj0 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self",(char *) "x",(char *) "y", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14491 {
14492 PyThreadState* __tstate = wxPyBeginAllowThreads();
14493 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 {
14499 resultobj = wxPyMake_wxObject(result);
14500 }
14501 return resultobj;
14502 fail:
14503 return NULL;
14504 }
14505
14506
14507 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj;
14509 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14510 bool result;
14511 PyObject * obj0 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 {
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 result = (bool)(arg1)->IsVertical();
14521
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 resultobj = PyInt_FromLong((long)result);
14526 return resultobj;
14527 fail:
14528 return NULL;
14529 }
14530
14531
14532 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14533 PyObject *obj;
14534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14535 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14536 Py_INCREF(obj);
14537 return Py_BuildValue((char *)"");
14538 }
14539 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxWindow *arg1 = (wxWindow *) 0 ;
14542 wxWindowID arg2 ;
14543 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14544 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14545 wxSize const &arg4_defvalue = wxDefaultSize ;
14546 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14547 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14548 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14549 wxString *arg6 = (wxString *) &arg6_defvalue ;
14550 wxToolBar *result;
14551 wxPoint temp3 ;
14552 wxSize temp4 ;
14553 bool temp6 = false ;
14554 PyObject * obj0 = 0 ;
14555 PyObject * obj2 = 0 ;
14556 PyObject * obj3 = 0 ;
14557 PyObject * obj5 = 0 ;
14558 char *kwnames[] = {
14559 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14560 };
14561
14562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14564 if (obj2) {
14565 {
14566 arg3 = &temp3;
14567 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14568 }
14569 }
14570 if (obj3) {
14571 {
14572 arg4 = &temp4;
14573 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14574 }
14575 }
14576 if (obj5) {
14577 {
14578 arg6 = wxString_in_helper(obj5);
14579 if (arg6 == NULL) SWIG_fail;
14580 temp6 = true;
14581 }
14582 }
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 {
14591 resultobj = wxPyMake_wxObject(result);
14592 }
14593 {
14594 if (temp6)
14595 delete arg6;
14596 }
14597 return resultobj;
14598 fail:
14599 {
14600 if (temp6)
14601 delete arg6;
14602 }
14603 return NULL;
14604 }
14605
14606
14607 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxToolBar *result;
14610 char *kwnames[] = {
14611 NULL
14612 };
14613
14614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14615 {
14616 PyThreadState* __tstate = wxPyBeginAllowThreads();
14617 result = (wxToolBar *)new wxToolBar();
14618
14619 wxPyEndAllowThreads(__tstate);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 {
14623 resultobj = wxPyMake_wxObject(result);
14624 }
14625 return resultobj;
14626 fail:
14627 return NULL;
14628 }
14629
14630
14631 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14632 PyObject *resultobj;
14633 wxToolBar *arg1 = (wxToolBar *) 0 ;
14634 wxWindow *arg2 = (wxWindow *) 0 ;
14635 wxWindowID arg3 ;
14636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14638 wxSize const &arg5_defvalue = wxDefaultSize ;
14639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14640 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14641 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14642 wxString *arg7 = (wxString *) &arg7_defvalue ;
14643 bool result;
14644 wxPoint temp4 ;
14645 wxSize temp5 ;
14646 bool temp7 = false ;
14647 PyObject * obj0 = 0 ;
14648 PyObject * obj1 = 0 ;
14649 PyObject * obj3 = 0 ;
14650 PyObject * obj4 = 0 ;
14651 PyObject * obj6 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14658 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14659 if (obj3) {
14660 {
14661 arg4 = &temp4;
14662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14663 }
14664 }
14665 if (obj4) {
14666 {
14667 arg5 = &temp5;
14668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14669 }
14670 }
14671 if (obj6) {
14672 {
14673 arg7 = wxString_in_helper(obj6);
14674 if (arg7 == NULL) SWIG_fail;
14675 temp7 = true;
14676 }
14677 }
14678 {
14679 PyThreadState* __tstate = wxPyBeginAllowThreads();
14680 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14681
14682 wxPyEndAllowThreads(__tstate);
14683 if (PyErr_Occurred()) SWIG_fail;
14684 }
14685 resultobj = PyInt_FromLong((long)result);
14686 {
14687 if (temp7)
14688 delete arg7;
14689 }
14690 return resultobj;
14691 fail:
14692 {
14693 if (temp7)
14694 delete arg7;
14695 }
14696 return NULL;
14697 }
14698
14699
14700 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxToolBar *arg1 = (wxToolBar *) 0 ;
14703 wxCoord arg2 ;
14704 wxCoord arg3 ;
14705 wxToolBarToolBase *result;
14706 PyObject * obj0 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "self",(char *) "x",(char *) "y", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 {
14721 resultobj = wxPyMake_wxObject(result);
14722 }
14723 return resultobj;
14724 fail:
14725 return NULL;
14726 }
14727
14728
14729 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14730 PyObject *obj;
14731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14732 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14733 Py_INCREF(obj);
14734 return Py_BuildValue((char *)"");
14735 }
14736 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxColour const &arg1_defvalue = wxNullColour ;
14739 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14740 wxColour const &arg2_defvalue = wxNullColour ;
14741 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14742 wxFont const &arg3_defvalue = wxNullFont ;
14743 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14744 wxListItemAttr *result;
14745 wxColour temp1 ;
14746 wxColour temp2 ;
14747 PyObject * obj0 = 0 ;
14748 PyObject * obj1 = 0 ;
14749 PyObject * obj2 = 0 ;
14750 char *kwnames[] = {
14751 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14752 };
14753
14754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14755 if (obj0) {
14756 {
14757 arg1 = &temp1;
14758 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14759 }
14760 }
14761 if (obj1) {
14762 {
14763 arg2 = &temp2;
14764 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14765 }
14766 }
14767 if (obj2) {
14768 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14769 if (arg3 == NULL) {
14770 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14771 }
14772 }
14773 {
14774 PyThreadState* __tstate = wxPyBeginAllowThreads();
14775 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
14776
14777 wxPyEndAllowThreads(__tstate);
14778 if (PyErr_Occurred()) SWIG_fail;
14779 }
14780 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
14781 return resultobj;
14782 fail:
14783 return NULL;
14784 }
14785
14786
14787 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14788 PyObject *resultobj;
14789 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14790 wxColour *arg2 = 0 ;
14791 wxColour temp2 ;
14792 PyObject * obj0 = 0 ;
14793 PyObject * obj1 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "self",(char *) "colText", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14800 {
14801 arg2 = &temp2;
14802 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14803 }
14804 {
14805 PyThreadState* __tstate = wxPyBeginAllowThreads();
14806 (arg1)->SetTextColour((wxColour const &)*arg2);
14807
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 Py_INCREF(Py_None); resultobj = Py_None;
14812 return resultobj;
14813 fail:
14814 return NULL;
14815 }
14816
14817
14818 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14819 PyObject *resultobj;
14820 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14821 wxColour *arg2 = 0 ;
14822 wxColour temp2 ;
14823 PyObject * obj0 = 0 ;
14824 PyObject * obj1 = 0 ;
14825 char *kwnames[] = {
14826 (char *) "self",(char *) "colBack", NULL
14827 };
14828
14829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
14830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14831 {
14832 arg2 = &temp2;
14833 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14834 }
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 Py_INCREF(Py_None); resultobj = Py_None;
14843 return resultobj;
14844 fail:
14845 return NULL;
14846 }
14847
14848
14849 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14850 PyObject *resultobj;
14851 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14852 wxFont *arg2 = 0 ;
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj1 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "font", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14862 if (arg2 == NULL) {
14863 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14864 }
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 (arg1)->SetFont((wxFont const &)*arg2);
14868
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 Py_INCREF(Py_None); resultobj = Py_None;
14873 return resultobj;
14874 fail:
14875 return NULL;
14876 }
14877
14878
14879 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14880 PyObject *resultobj;
14881 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14882 bool result;
14883 PyObject * obj0 = 0 ;
14884 char *kwnames[] = {
14885 (char *) "self", NULL
14886 };
14887
14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
14889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (bool)(arg1)->HasTextColour();
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 resultobj = PyInt_FromLong((long)result);
14898 return resultobj;
14899 fail:
14900 return NULL;
14901 }
14902
14903
14904 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14905 PyObject *resultobj;
14906 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14907 bool result;
14908 PyObject * obj0 = 0 ;
14909 char *kwnames[] = {
14910 (char *) "self", NULL
14911 };
14912
14913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
14914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (bool)(arg1)->HasBackgroundColour();
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 resultobj = PyInt_FromLong((long)result);
14923 return resultobj;
14924 fail:
14925 return NULL;
14926 }
14927
14928
14929 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14930 PyObject *resultobj;
14931 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14932 bool result;
14933 PyObject * obj0 = 0 ;
14934 char *kwnames[] = {
14935 (char *) "self", NULL
14936 };
14937
14938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
14939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 result = (bool)(arg1)->HasFont();
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
14947 resultobj = PyInt_FromLong((long)result);
14948 return resultobj;
14949 fail:
14950 return NULL;
14951 }
14952
14953
14954 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14955 PyObject *resultobj;
14956 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14957 wxColour result;
14958 PyObject * obj0 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
14964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14965 {
14966 PyThreadState* __tstate = wxPyBeginAllowThreads();
14967 result = (arg1)->GetTextColour();
14968
14969 wxPyEndAllowThreads(__tstate);
14970 if (PyErr_Occurred()) SWIG_fail;
14971 }
14972 {
14973 wxColour * resultptr;
14974 resultptr = new wxColour((wxColour &) result);
14975 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
14976 }
14977 return resultobj;
14978 fail:
14979 return NULL;
14980 }
14981
14982
14983 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14986 wxColour result;
14987 PyObject * obj0 = 0 ;
14988 char *kwnames[] = {
14989 (char *) "self", NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
14993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14994 {
14995 PyThreadState* __tstate = wxPyBeginAllowThreads();
14996 result = (arg1)->GetBackgroundColour();
14997
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 {
15002 wxColour * resultptr;
15003 resultptr = new wxColour((wxColour &) result);
15004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15005 }
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15013 PyObject *resultobj;
15014 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15015 wxFont result;
15016 PyObject * obj0 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "self", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 result = (arg1)->GetFont();
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 {
15031 wxFont * resultptr;
15032 resultptr = new wxFont((wxFont &) result);
15033 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15034 }
15035 return resultobj;
15036 fail:
15037 return NULL;
15038 }
15039
15040
15041 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj;
15043 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15044 PyObject * obj0 = 0 ;
15045 char *kwnames[] = {
15046 (char *) "self", NULL
15047 };
15048
15049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15051 {
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 wxListItemAttr_Destroy(arg1);
15054
15055 wxPyEndAllowThreads(__tstate);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 }
15058 Py_INCREF(Py_None); resultobj = Py_None;
15059 return resultobj;
15060 fail:
15061 return NULL;
15062 }
15063
15064
15065 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15066 PyObject *obj;
15067 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15068 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15069 Py_INCREF(obj);
15070 return Py_BuildValue((char *)"");
15071 }
15072 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15073 PyObject *resultobj;
15074 wxListItem *result;
15075 char *kwnames[] = {
15076 NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 result = (wxListItem *)new wxListItem();
15083
15084 wxPyEndAllowThreads(__tstate);
15085 if (PyErr_Occurred()) SWIG_fail;
15086 }
15087 {
15088 resultobj = wxPyMake_wxObject(result);
15089 }
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxListItem *arg1 = (wxListItem *) 0 ;
15099 PyObject * obj0 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15106 {
15107 PyThreadState* __tstate = wxPyBeginAllowThreads();
15108 delete arg1;
15109
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 Py_INCREF(Py_None); resultobj = Py_None;
15114 return resultobj;
15115 fail:
15116 return NULL;
15117 }
15118
15119
15120 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxListItem *arg1 = (wxListItem *) 0 ;
15123 PyObject * obj0 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 (arg1)->Clear();
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 Py_INCREF(Py_None); resultobj = Py_None;
15138 return resultobj;
15139 fail:
15140 return NULL;
15141 }
15142
15143
15144 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxListItem *arg1 = (wxListItem *) 0 ;
15147 PyObject * obj0 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15154 {
15155 PyThreadState* __tstate = wxPyBeginAllowThreads();
15156 (arg1)->ClearAttributes();
15157
15158 wxPyEndAllowThreads(__tstate);
15159 if (PyErr_Occurred()) SWIG_fail;
15160 }
15161 Py_INCREF(Py_None); resultobj = Py_None;
15162 return resultobj;
15163 fail:
15164 return NULL;
15165 }
15166
15167
15168 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15169 PyObject *resultobj;
15170 wxListItem *arg1 = (wxListItem *) 0 ;
15171 long arg2 ;
15172 PyObject * obj0 = 0 ;
15173 char *kwnames[] = {
15174 (char *) "self",(char *) "mask", NULL
15175 };
15176
15177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 (arg1)->SetMask(arg2);
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 Py_INCREF(Py_None); resultobj = Py_None;
15187 return resultobj;
15188 fail:
15189 return NULL;
15190 }
15191
15192
15193 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15194 PyObject *resultobj;
15195 wxListItem *arg1 = (wxListItem *) 0 ;
15196 long arg2 ;
15197 PyObject * obj0 = 0 ;
15198 char *kwnames[] = {
15199 (char *) "self",(char *) "id", NULL
15200 };
15201
15202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 (arg1)->SetId(arg2);
15207
15208 wxPyEndAllowThreads(__tstate);
15209 if (PyErr_Occurred()) SWIG_fail;
15210 }
15211 Py_INCREF(Py_None); resultobj = Py_None;
15212 return resultobj;
15213 fail:
15214 return NULL;
15215 }
15216
15217
15218 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15219 PyObject *resultobj;
15220 wxListItem *arg1 = (wxListItem *) 0 ;
15221 int arg2 ;
15222 PyObject * obj0 = 0 ;
15223 char *kwnames[] = {
15224 (char *) "self",(char *) "col", NULL
15225 };
15226
15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15229 {
15230 PyThreadState* __tstate = wxPyBeginAllowThreads();
15231 (arg1)->SetColumn(arg2);
15232
15233 wxPyEndAllowThreads(__tstate);
15234 if (PyErr_Occurred()) SWIG_fail;
15235 }
15236 Py_INCREF(Py_None); resultobj = Py_None;
15237 return resultobj;
15238 fail:
15239 return NULL;
15240 }
15241
15242
15243 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxListItem *arg1 = (wxListItem *) 0 ;
15246 long arg2 ;
15247 PyObject * obj0 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self",(char *) "state", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 (arg1)->SetState(arg2);
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 Py_INCREF(Py_None); resultobj = Py_None;
15262 return resultobj;
15263 fail:
15264 return NULL;
15265 }
15266
15267
15268 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15269 PyObject *resultobj;
15270 wxListItem *arg1 = (wxListItem *) 0 ;
15271 long arg2 ;
15272 PyObject * obj0 = 0 ;
15273 char *kwnames[] = {
15274 (char *) "self",(char *) "stateMask", NULL
15275 };
15276
15277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15279 {
15280 PyThreadState* __tstate = wxPyBeginAllowThreads();
15281 (arg1)->SetStateMask(arg2);
15282
15283 wxPyEndAllowThreads(__tstate);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 Py_INCREF(Py_None); resultobj = Py_None;
15287 return resultobj;
15288 fail:
15289 return NULL;
15290 }
15291
15292
15293 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj;
15295 wxListItem *arg1 = (wxListItem *) 0 ;
15296 wxString *arg2 = 0 ;
15297 bool temp2 = false ;
15298 PyObject * obj0 = 0 ;
15299 PyObject * obj1 = 0 ;
15300 char *kwnames[] = {
15301 (char *) "self",(char *) "text", NULL
15302 };
15303
15304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15306 {
15307 arg2 = wxString_in_helper(obj1);
15308 if (arg2 == NULL) SWIG_fail;
15309 temp2 = true;
15310 }
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 (arg1)->SetText((wxString const &)*arg2);
15314
15315 wxPyEndAllowThreads(__tstate);
15316 if (PyErr_Occurred()) SWIG_fail;
15317 }
15318 Py_INCREF(Py_None); resultobj = Py_None;
15319 {
15320 if (temp2)
15321 delete arg2;
15322 }
15323 return resultobj;
15324 fail:
15325 {
15326 if (temp2)
15327 delete arg2;
15328 }
15329 return NULL;
15330 }
15331
15332
15333 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj;
15335 wxListItem *arg1 = (wxListItem *) 0 ;
15336 int arg2 ;
15337 PyObject * obj0 = 0 ;
15338 char *kwnames[] = {
15339 (char *) "self",(char *) "image", NULL
15340 };
15341
15342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 (arg1)->SetImage(arg2);
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 Py_INCREF(Py_None); resultobj = Py_None;
15352 return resultobj;
15353 fail:
15354 return NULL;
15355 }
15356
15357
15358 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15359 PyObject *resultobj;
15360 wxListItem *arg1 = (wxListItem *) 0 ;
15361 long arg2 ;
15362 PyObject * obj0 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "self",(char *) "data", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 (arg1)->SetData(arg2);
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 Py_INCREF(Py_None); resultobj = Py_None;
15377 return resultobj;
15378 fail:
15379 return NULL;
15380 }
15381
15382
15383 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15384 PyObject *resultobj;
15385 wxListItem *arg1 = (wxListItem *) 0 ;
15386 int arg2 ;
15387 PyObject * obj0 = 0 ;
15388 char *kwnames[] = {
15389 (char *) "self",(char *) "width", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15394 {
15395 PyThreadState* __tstate = wxPyBeginAllowThreads();
15396 (arg1)->SetWidth(arg2);
15397
15398 wxPyEndAllowThreads(__tstate);
15399 if (PyErr_Occurred()) SWIG_fail;
15400 }
15401 Py_INCREF(Py_None); resultobj = Py_None;
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 wxListItem *arg1 = (wxListItem *) 0 ;
15411 int arg2 ;
15412 PyObject * obj0 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "self",(char *) "align", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 (arg1)->SetAlign((wxListColumnFormat )arg2);
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 Py_INCREF(Py_None); resultobj = Py_None;
15427 return resultobj;
15428 fail:
15429 return NULL;
15430 }
15431
15432
15433 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxListItem *arg1 = (wxListItem *) 0 ;
15436 wxColour *arg2 = 0 ;
15437 wxColour temp2 ;
15438 PyObject * obj0 = 0 ;
15439 PyObject * obj1 = 0 ;
15440 char *kwnames[] = {
15441 (char *) "self",(char *) "colText", NULL
15442 };
15443
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15446 {
15447 arg2 = &temp2;
15448 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15449 }
15450 {
15451 PyThreadState* __tstate = wxPyBeginAllowThreads();
15452 (arg1)->SetTextColour((wxColour const &)*arg2);
15453
15454 wxPyEndAllowThreads(__tstate);
15455 if (PyErr_Occurred()) SWIG_fail;
15456 }
15457 Py_INCREF(Py_None); resultobj = Py_None;
15458 return resultobj;
15459 fail:
15460 return NULL;
15461 }
15462
15463
15464 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj;
15466 wxListItem *arg1 = (wxListItem *) 0 ;
15467 wxColour *arg2 = 0 ;
15468 wxColour temp2 ;
15469 PyObject * obj0 = 0 ;
15470 PyObject * obj1 = 0 ;
15471 char *kwnames[] = {
15472 (char *) "self",(char *) "colBack", NULL
15473 };
15474
15475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15477 {
15478 arg2 = &temp2;
15479 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15480 }
15481 {
15482 PyThreadState* __tstate = wxPyBeginAllowThreads();
15483 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15484
15485 wxPyEndAllowThreads(__tstate);
15486 if (PyErr_Occurred()) SWIG_fail;
15487 }
15488 Py_INCREF(Py_None); resultobj = Py_None;
15489 return resultobj;
15490 fail:
15491 return NULL;
15492 }
15493
15494
15495 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15496 PyObject *resultobj;
15497 wxListItem *arg1 = (wxListItem *) 0 ;
15498 wxFont *arg2 = 0 ;
15499 PyObject * obj0 = 0 ;
15500 PyObject * obj1 = 0 ;
15501 char *kwnames[] = {
15502 (char *) "self",(char *) "font", NULL
15503 };
15504
15505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15508 if (arg2 == NULL) {
15509 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15510 }
15511 {
15512 PyThreadState* __tstate = wxPyBeginAllowThreads();
15513 (arg1)->SetFont((wxFont const &)*arg2);
15514
15515 wxPyEndAllowThreads(__tstate);
15516 if (PyErr_Occurred()) SWIG_fail;
15517 }
15518 Py_INCREF(Py_None); resultobj = Py_None;
15519 return resultobj;
15520 fail:
15521 return NULL;
15522 }
15523
15524
15525 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15526 PyObject *resultobj;
15527 wxListItem *arg1 = (wxListItem *) 0 ;
15528 long result;
15529 PyObject * obj0 = 0 ;
15530 char *kwnames[] = {
15531 (char *) "self", NULL
15532 };
15533
15534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15536 {
15537 PyThreadState* __tstate = wxPyBeginAllowThreads();
15538 result = (long)(arg1)->GetMask();
15539
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 resultobj = PyInt_FromLong((long)result);
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj;
15552 wxListItem *arg1 = (wxListItem *) 0 ;
15553 long result;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15561 {
15562 PyThreadState* __tstate = wxPyBeginAllowThreads();
15563 result = (long)(arg1)->GetId();
15564
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 resultobj = PyInt_FromLong((long)result);
15569 return resultobj;
15570 fail:
15571 return NULL;
15572 }
15573
15574
15575 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15576 PyObject *resultobj;
15577 wxListItem *arg1 = (wxListItem *) 0 ;
15578 int result;
15579 PyObject * obj0 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15586 {
15587 PyThreadState* __tstate = wxPyBeginAllowThreads();
15588 result = (int)(arg1)->GetColumn();
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 resultobj = PyInt_FromLong((long)result);
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxListItem *arg1 = (wxListItem *) 0 ;
15603 long result;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15611 {
15612 PyThreadState* __tstate = wxPyBeginAllowThreads();
15613 result = (long)(arg1)->GetState();
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 resultobj = PyInt_FromLong((long)result);
15619 return resultobj;
15620 fail:
15621 return NULL;
15622 }
15623
15624
15625 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15626 PyObject *resultobj;
15627 wxListItem *arg1 = (wxListItem *) 0 ;
15628 wxString *result;
15629 PyObject * obj0 = 0 ;
15630 char *kwnames[] = {
15631 (char *) "self", NULL
15632 };
15633
15634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 {
15639 wxString const &_result_ref = (arg1)->GetText();
15640 result = (wxString *) &_result_ref;
15641 }
15642
15643 wxPyEndAllowThreads(__tstate);
15644 if (PyErr_Occurred()) SWIG_fail;
15645 }
15646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15647 return resultobj;
15648 fail:
15649 return NULL;
15650 }
15651
15652
15653 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj;
15655 wxListItem *arg1 = (wxListItem *) 0 ;
15656 int result;
15657 PyObject * obj0 = 0 ;
15658 char *kwnames[] = {
15659 (char *) "self", NULL
15660 };
15661
15662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15664 {
15665 PyThreadState* __tstate = wxPyBeginAllowThreads();
15666 result = (int)(arg1)->GetImage();
15667
15668 wxPyEndAllowThreads(__tstate);
15669 if (PyErr_Occurred()) SWIG_fail;
15670 }
15671 resultobj = PyInt_FromLong((long)result);
15672 return resultobj;
15673 fail:
15674 return NULL;
15675 }
15676
15677
15678 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxListItem *arg1 = (wxListItem *) 0 ;
15681 long result;
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (long)(arg1)->GetData();
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 resultobj = PyInt_FromLong((long)result);
15697 return resultobj;
15698 fail:
15699 return NULL;
15700 }
15701
15702
15703 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxListItem *arg1 = (wxListItem *) 0 ;
15706 int result;
15707 PyObject * obj0 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "self", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15714 {
15715 PyThreadState* __tstate = wxPyBeginAllowThreads();
15716 result = (int)(arg1)->GetWidth();
15717
15718 wxPyEndAllowThreads(__tstate);
15719 if (PyErr_Occurred()) SWIG_fail;
15720 }
15721 resultobj = PyInt_FromLong((long)result);
15722 return resultobj;
15723 fail:
15724 return NULL;
15725 }
15726
15727
15728 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15729 PyObject *resultobj;
15730 wxListItem *arg1 = (wxListItem *) 0 ;
15731 int result;
15732 PyObject * obj0 = 0 ;
15733 char *kwnames[] = {
15734 (char *) "self", NULL
15735 };
15736
15737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15739 {
15740 PyThreadState* __tstate = wxPyBeginAllowThreads();
15741 result = (int)(arg1)->GetAlign();
15742
15743 wxPyEndAllowThreads(__tstate);
15744 if (PyErr_Occurred()) SWIG_fail;
15745 }
15746 resultobj = PyInt_FromLong((long)result);
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxListItem *arg1 = (wxListItem *) 0 ;
15756 wxListItemAttr *result;
15757 PyObject * obj0 = 0 ;
15758 char *kwnames[] = {
15759 (char *) "self", NULL
15760 };
15761
15762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 result = (wxListItemAttr *)(arg1)->GetAttributes();
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
15772 return resultobj;
15773 fail:
15774 return NULL;
15775 }
15776
15777
15778 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15779 PyObject *resultobj;
15780 wxListItem *arg1 = (wxListItem *) 0 ;
15781 bool result;
15782 PyObject * obj0 = 0 ;
15783 char *kwnames[] = {
15784 (char *) "self", NULL
15785 };
15786
15787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 result = (bool)(arg1)->HasAttributes();
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 resultobj = PyInt_FromLong((long)result);
15797 return resultobj;
15798 fail:
15799 return NULL;
15800 }
15801
15802
15803 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15804 PyObject *resultobj;
15805 wxListItem *arg1 = (wxListItem *) 0 ;
15806 wxColour result;
15807 PyObject * obj0 = 0 ;
15808 char *kwnames[] = {
15809 (char *) "self", NULL
15810 };
15811
15812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15814 {
15815 PyThreadState* __tstate = wxPyBeginAllowThreads();
15816 result = ((wxListItem const *)arg1)->GetTextColour();
15817
15818 wxPyEndAllowThreads(__tstate);
15819 if (PyErr_Occurred()) SWIG_fail;
15820 }
15821 {
15822 wxColour * resultptr;
15823 resultptr = new wxColour((wxColour &) result);
15824 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15825 }
15826 return resultobj;
15827 fail:
15828 return NULL;
15829 }
15830
15831
15832 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj;
15834 wxListItem *arg1 = (wxListItem *) 0 ;
15835 wxColour result;
15836 PyObject * obj0 = 0 ;
15837 char *kwnames[] = {
15838 (char *) "self", NULL
15839 };
15840
15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15843 {
15844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15845 result = ((wxListItem const *)arg1)->GetBackgroundColour();
15846
15847 wxPyEndAllowThreads(__tstate);
15848 if (PyErr_Occurred()) SWIG_fail;
15849 }
15850 {
15851 wxColour * resultptr;
15852 resultptr = new wxColour((wxColour &) result);
15853 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15854 }
15855 return resultobj;
15856 fail:
15857 return NULL;
15858 }
15859
15860
15861 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15862 PyObject *resultobj;
15863 wxListItem *arg1 = (wxListItem *) 0 ;
15864 wxFont result;
15865 PyObject * obj0 = 0 ;
15866 char *kwnames[] = {
15867 (char *) "self", NULL
15868 };
15869
15870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
15874 result = ((wxListItem const *)arg1)->GetFont();
15875
15876 wxPyEndAllowThreads(__tstate);
15877 if (PyErr_Occurred()) SWIG_fail;
15878 }
15879 {
15880 wxFont * resultptr;
15881 resultptr = new wxFont((wxFont &) result);
15882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15883 }
15884 return resultobj;
15885 fail:
15886 return NULL;
15887 }
15888
15889
15890 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15891 PyObject *resultobj;
15892 wxListItem *arg1 = (wxListItem *) 0 ;
15893 long arg2 ;
15894 PyObject * obj0 = 0 ;
15895 char *kwnames[] = {
15896 (char *) "self",(char *) "m_mask", NULL
15897 };
15898
15899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
15900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15901 if (arg1) (arg1)->m_mask = arg2;
15902
15903 Py_INCREF(Py_None); resultobj = Py_None;
15904 return resultobj;
15905 fail:
15906 return NULL;
15907 }
15908
15909
15910 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15911 PyObject *resultobj;
15912 wxListItem *arg1 = (wxListItem *) 0 ;
15913 long result;
15914 PyObject * obj0 = 0 ;
15915 char *kwnames[] = {
15916 (char *) "self", NULL
15917 };
15918
15919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15921 result = (long) ((arg1)->m_mask);
15922
15923 resultobj = PyInt_FromLong((long)result);
15924 return resultobj;
15925 fail:
15926 return NULL;
15927 }
15928
15929
15930 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15931 PyObject *resultobj;
15932 wxListItem *arg1 = (wxListItem *) 0 ;
15933 long arg2 ;
15934 PyObject * obj0 = 0 ;
15935 char *kwnames[] = {
15936 (char *) "self",(char *) "m_itemId", NULL
15937 };
15938
15939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
15940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15941 if (arg1) (arg1)->m_itemId = arg2;
15942
15943 Py_INCREF(Py_None); resultobj = Py_None;
15944 return resultobj;
15945 fail:
15946 return NULL;
15947 }
15948
15949
15950 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15951 PyObject *resultobj;
15952 wxListItem *arg1 = (wxListItem *) 0 ;
15953 long result;
15954 PyObject * obj0 = 0 ;
15955 char *kwnames[] = {
15956 (char *) "self", NULL
15957 };
15958
15959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15961 result = (long) ((arg1)->m_itemId);
15962
15963 resultobj = PyInt_FromLong((long)result);
15964 return resultobj;
15965 fail:
15966 return NULL;
15967 }
15968
15969
15970 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxListItem *arg1 = (wxListItem *) 0 ;
15973 int arg2 ;
15974 PyObject * obj0 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self",(char *) "m_col", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
15980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15981 if (arg1) (arg1)->m_col = arg2;
15982
15983 Py_INCREF(Py_None); resultobj = Py_None;
15984 return resultobj;
15985 fail:
15986 return NULL;
15987 }
15988
15989
15990 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15991 PyObject *resultobj;
15992 wxListItem *arg1 = (wxListItem *) 0 ;
15993 int result;
15994 PyObject * obj0 = 0 ;
15995 char *kwnames[] = {
15996 (char *) "self", NULL
15997 };
15998
15999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16001 result = (int) ((arg1)->m_col);
16002
16003 resultobj = PyInt_FromLong((long)result);
16004 return resultobj;
16005 fail:
16006 return NULL;
16007 }
16008
16009
16010 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxListItem *arg1 = (wxListItem *) 0 ;
16013 long arg2 ;
16014 PyObject * obj0 = 0 ;
16015 char *kwnames[] = {
16016 (char *) "self",(char *) "m_state", NULL
16017 };
16018
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16021 if (arg1) (arg1)->m_state = arg2;
16022
16023 Py_INCREF(Py_None); resultobj = Py_None;
16024 return resultobj;
16025 fail:
16026 return NULL;
16027 }
16028
16029
16030 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj;
16032 wxListItem *arg1 = (wxListItem *) 0 ;
16033 long result;
16034 PyObject * obj0 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16041 result = (long) ((arg1)->m_state);
16042
16043 resultobj = PyInt_FromLong((long)result);
16044 return resultobj;
16045 fail:
16046 return NULL;
16047 }
16048
16049
16050 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16051 PyObject *resultobj;
16052 wxListItem *arg1 = (wxListItem *) 0 ;
16053 long arg2 ;
16054 PyObject * obj0 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "self",(char *) "m_stateMask", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16061 if (arg1) (arg1)->m_stateMask = arg2;
16062
16063 Py_INCREF(Py_None); resultobj = Py_None;
16064 return resultobj;
16065 fail:
16066 return NULL;
16067 }
16068
16069
16070 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxListItem *arg1 = (wxListItem *) 0 ;
16073 long result;
16074 PyObject * obj0 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16081 result = (long) ((arg1)->m_stateMask);
16082
16083 resultobj = PyInt_FromLong((long)result);
16084 return resultobj;
16085 fail:
16086 return NULL;
16087 }
16088
16089
16090 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16091 PyObject *resultobj;
16092 wxListItem *arg1 = (wxListItem *) 0 ;
16093 wxString arg2 ;
16094 wxString *argp2 ;
16095 PyObject * obj0 = 0 ;
16096 PyObject * obj1 = 0 ;
16097 char *kwnames[] = {
16098 (char *) "self",(char *) "m_text", NULL
16099 };
16100
16101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16103 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16104 arg2 = *argp2;
16105 if (arg1) (arg1)->m_text = arg2;
16106
16107 Py_INCREF(Py_None); resultobj = Py_None;
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxListItem *arg1 = (wxListItem *) 0 ;
16117 wxString result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16125 result = ((arg1)->m_text);
16126
16127 {
16128 #if wxUSE_UNICODE
16129 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16130 #else
16131 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16132 #endif
16133 }
16134 return resultobj;
16135 fail:
16136 return NULL;
16137 }
16138
16139
16140 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16141 PyObject *resultobj;
16142 wxListItem *arg1 = (wxListItem *) 0 ;
16143 int arg2 ;
16144 PyObject * obj0 = 0 ;
16145 char *kwnames[] = {
16146 (char *) "self",(char *) "m_image", NULL
16147 };
16148
16149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16151 if (arg1) (arg1)->m_image = arg2;
16152
16153 Py_INCREF(Py_None); resultobj = Py_None;
16154 return resultobj;
16155 fail:
16156 return NULL;
16157 }
16158
16159
16160 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16161 PyObject *resultobj;
16162 wxListItem *arg1 = (wxListItem *) 0 ;
16163 int result;
16164 PyObject * obj0 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16171 result = (int) ((arg1)->m_image);
16172
16173 resultobj = PyInt_FromLong((long)result);
16174 return resultobj;
16175 fail:
16176 return NULL;
16177 }
16178
16179
16180 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16181 PyObject *resultobj;
16182 wxListItem *arg1 = (wxListItem *) 0 ;
16183 long arg2 ;
16184 PyObject * obj0 = 0 ;
16185 char *kwnames[] = {
16186 (char *) "self",(char *) "m_data", NULL
16187 };
16188
16189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16191 if (arg1) (arg1)->m_data = arg2;
16192
16193 Py_INCREF(Py_None); resultobj = Py_None;
16194 return resultobj;
16195 fail:
16196 return NULL;
16197 }
16198
16199
16200 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxListItem *arg1 = (wxListItem *) 0 ;
16203 long result;
16204 PyObject * obj0 = 0 ;
16205 char *kwnames[] = {
16206 (char *) "self", NULL
16207 };
16208
16209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16211 result = (long) ((arg1)->m_data);
16212
16213 resultobj = PyInt_FromLong((long)result);
16214 return resultobj;
16215 fail:
16216 return NULL;
16217 }
16218
16219
16220 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 wxListItem *arg1 = (wxListItem *) 0 ;
16223 int arg2 ;
16224 PyObject * obj0 = 0 ;
16225 char *kwnames[] = {
16226 (char *) "self",(char *) "m_format", NULL
16227 };
16228
16229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16231 if (arg1) (arg1)->m_format = arg2;
16232
16233 Py_INCREF(Py_None); resultobj = Py_None;
16234 return resultobj;
16235 fail:
16236 return NULL;
16237 }
16238
16239
16240 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16241 PyObject *resultobj;
16242 wxListItem *arg1 = (wxListItem *) 0 ;
16243 int result;
16244 PyObject * obj0 = 0 ;
16245 char *kwnames[] = {
16246 (char *) "self", NULL
16247 };
16248
16249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16251 result = (int) ((arg1)->m_format);
16252
16253 resultobj = PyInt_FromLong((long)result);
16254 return resultobj;
16255 fail:
16256 return NULL;
16257 }
16258
16259
16260 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj;
16262 wxListItem *arg1 = (wxListItem *) 0 ;
16263 int arg2 ;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "self",(char *) "m_width", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16271 if (arg1) (arg1)->m_width = arg2;
16272
16273 Py_INCREF(Py_None); resultobj = Py_None;
16274 return resultobj;
16275 fail:
16276 return NULL;
16277 }
16278
16279
16280 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16281 PyObject *resultobj;
16282 wxListItem *arg1 = (wxListItem *) 0 ;
16283 int result;
16284 PyObject * obj0 = 0 ;
16285 char *kwnames[] = {
16286 (char *) "self", NULL
16287 };
16288
16289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16291 result = (int) ((arg1)->m_width);
16292
16293 resultobj = PyInt_FromLong((long)result);
16294 return resultobj;
16295 fail:
16296 return NULL;
16297 }
16298
16299
16300 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16301 PyObject *obj;
16302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16303 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16304 Py_INCREF(obj);
16305 return Py_BuildValue((char *)"");
16306 }
16307 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16310 int arg2 = (int) 0 ;
16311 wxListEvent *result;
16312 char *kwnames[] = {
16313 (char *) "commandType",(char *) "id", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16320
16321 wxPyEndAllowThreads(__tstate);
16322 if (PyErr_Occurred()) SWIG_fail;
16323 }
16324 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16332 PyObject *resultobj;
16333 wxListEvent *arg1 = (wxListEvent *) 0 ;
16334 int arg2 ;
16335 PyObject * obj0 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self",(char *) "m_code", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16342 if (arg1) (arg1)->m_code = arg2;
16343
16344 Py_INCREF(Py_None); resultobj = Py_None;
16345 return resultobj;
16346 fail:
16347 return NULL;
16348 }
16349
16350
16351 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxListEvent *arg1 = (wxListEvent *) 0 ;
16354 int result;
16355 PyObject * obj0 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16362 result = (int) ((arg1)->m_code);
16363
16364 resultobj = PyInt_FromLong((long)result);
16365 return resultobj;
16366 fail:
16367 return NULL;
16368 }
16369
16370
16371 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16372 PyObject *resultobj;
16373 wxListEvent *arg1 = (wxListEvent *) 0 ;
16374 long arg2 ;
16375 PyObject * obj0 = 0 ;
16376 char *kwnames[] = {
16377 (char *) "self",(char *) "m_oldItemIndex", NULL
16378 };
16379
16380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16382 if (arg1) (arg1)->m_oldItemIndex = arg2;
16383
16384 Py_INCREF(Py_None); resultobj = Py_None;
16385 return resultobj;
16386 fail:
16387 return NULL;
16388 }
16389
16390
16391 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj;
16393 wxListEvent *arg1 = (wxListEvent *) 0 ;
16394 long result;
16395 PyObject * obj0 = 0 ;
16396 char *kwnames[] = {
16397 (char *) "self", NULL
16398 };
16399
16400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16402 result = (long) ((arg1)->m_oldItemIndex);
16403
16404 resultobj = PyInt_FromLong((long)result);
16405 return resultobj;
16406 fail:
16407 return NULL;
16408 }
16409
16410
16411 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16412 PyObject *resultobj;
16413 wxListEvent *arg1 = (wxListEvent *) 0 ;
16414 long arg2 ;
16415 PyObject * obj0 = 0 ;
16416 char *kwnames[] = {
16417 (char *) "self",(char *) "m_itemIndex", NULL
16418 };
16419
16420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16422 if (arg1) (arg1)->m_itemIndex = arg2;
16423
16424 Py_INCREF(Py_None); resultobj = Py_None;
16425 return resultobj;
16426 fail:
16427 return NULL;
16428 }
16429
16430
16431 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16432 PyObject *resultobj;
16433 wxListEvent *arg1 = (wxListEvent *) 0 ;
16434 long result;
16435 PyObject * obj0 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16442 result = (long) ((arg1)->m_itemIndex);
16443
16444 resultobj = PyInt_FromLong((long)result);
16445 return resultobj;
16446 fail:
16447 return NULL;
16448 }
16449
16450
16451 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxListEvent *arg1 = (wxListEvent *) 0 ;
16454 int arg2 ;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self",(char *) "m_col", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16462 if (arg1) (arg1)->m_col = arg2;
16463
16464 Py_INCREF(Py_None); resultobj = Py_None;
16465 return resultobj;
16466 fail:
16467 return NULL;
16468 }
16469
16470
16471 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16472 PyObject *resultobj;
16473 wxListEvent *arg1 = (wxListEvent *) 0 ;
16474 int result;
16475 PyObject * obj0 = 0 ;
16476 char *kwnames[] = {
16477 (char *) "self", NULL
16478 };
16479
16480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16482 result = (int) ((arg1)->m_col);
16483
16484 resultobj = PyInt_FromLong((long)result);
16485 return resultobj;
16486 fail:
16487 return NULL;
16488 }
16489
16490
16491 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj;
16493 wxListEvent *arg1 = (wxListEvent *) 0 ;
16494 wxPoint *arg2 = (wxPoint *) 0 ;
16495 PyObject * obj0 = 0 ;
16496 PyObject * obj1 = 0 ;
16497 char *kwnames[] = {
16498 (char *) "self",(char *) "m_pointDrag", NULL
16499 };
16500
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16504 if (arg1) (arg1)->m_pointDrag = *arg2;
16505
16506 Py_INCREF(Py_None); resultobj = Py_None;
16507 return resultobj;
16508 fail:
16509 return NULL;
16510 }
16511
16512
16513 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16514 PyObject *resultobj;
16515 wxListEvent *arg1 = (wxListEvent *) 0 ;
16516 wxPoint *result;
16517 PyObject * obj0 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16524 result = (wxPoint *)& ((arg1)->m_pointDrag);
16525
16526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16527 return resultobj;
16528 fail:
16529 return NULL;
16530 }
16531
16532
16533 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxListEvent *arg1 = (wxListEvent *) 0 ;
16536 wxListItem *result;
16537 PyObject * obj0 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16544 result = (wxListItem *)& ((arg1)->m_item);
16545
16546 {
16547 resultobj = wxPyMake_wxObject(result);
16548 }
16549 return resultobj;
16550 fail:
16551 return NULL;
16552 }
16553
16554
16555 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16556 PyObject *resultobj;
16557 wxListEvent *arg1 = (wxListEvent *) 0 ;
16558 int result;
16559 PyObject * obj0 = 0 ;
16560 char *kwnames[] = {
16561 (char *) "self", NULL
16562 };
16563
16564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16566 {
16567 PyThreadState* __tstate = wxPyBeginAllowThreads();
16568 result = (int)(arg1)->GetKeyCode();
16569
16570 wxPyEndAllowThreads(__tstate);
16571 if (PyErr_Occurred()) SWIG_fail;
16572 }
16573 resultobj = PyInt_FromLong((long)result);
16574 return resultobj;
16575 fail:
16576 return NULL;
16577 }
16578
16579
16580 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16581 PyObject *resultobj;
16582 wxListEvent *arg1 = (wxListEvent *) 0 ;
16583 long result;
16584 PyObject * obj0 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "self", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16591 {
16592 PyThreadState* __tstate = wxPyBeginAllowThreads();
16593 result = (long)(arg1)->GetIndex();
16594
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 resultobj = PyInt_FromLong((long)result);
16599 return resultobj;
16600 fail:
16601 return NULL;
16602 }
16603
16604
16605 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj;
16607 wxListEvent *arg1 = (wxListEvent *) 0 ;
16608 int result;
16609 PyObject * obj0 = 0 ;
16610 char *kwnames[] = {
16611 (char *) "self", NULL
16612 };
16613
16614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 result = (int)(arg1)->GetColumn();
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 resultobj = PyInt_FromLong((long)result);
16624 return resultobj;
16625 fail:
16626 return NULL;
16627 }
16628
16629
16630 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16631 PyObject *resultobj;
16632 wxListEvent *arg1 = (wxListEvent *) 0 ;
16633 wxPoint result;
16634 PyObject * obj0 = 0 ;
16635 char *kwnames[] = {
16636 (char *) "self", NULL
16637 };
16638
16639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16641 {
16642 PyThreadState* __tstate = wxPyBeginAllowThreads();
16643 result = (arg1)->GetPoint();
16644
16645 wxPyEndAllowThreads(__tstate);
16646 if (PyErr_Occurred()) SWIG_fail;
16647 }
16648 {
16649 wxPoint * resultptr;
16650 resultptr = new wxPoint((wxPoint &) result);
16651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16652 }
16653 return resultobj;
16654 fail:
16655 return NULL;
16656 }
16657
16658
16659 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16660 PyObject *resultobj;
16661 wxListEvent *arg1 = (wxListEvent *) 0 ;
16662 wxString *result;
16663 PyObject * obj0 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "self", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 {
16673 wxString const &_result_ref = (arg1)->GetLabel();
16674 result = (wxString *) &_result_ref;
16675 }
16676
16677 wxPyEndAllowThreads(__tstate);
16678 if (PyErr_Occurred()) SWIG_fail;
16679 }
16680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16681 return resultobj;
16682 fail:
16683 return NULL;
16684 }
16685
16686
16687 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16688 PyObject *resultobj;
16689 wxListEvent *arg1 = (wxListEvent *) 0 ;
16690 wxString *result;
16691 PyObject * obj0 = 0 ;
16692 char *kwnames[] = {
16693 (char *) "self", NULL
16694 };
16695
16696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16698 {
16699 PyThreadState* __tstate = wxPyBeginAllowThreads();
16700 {
16701 wxString const &_result_ref = (arg1)->GetText();
16702 result = (wxString *) &_result_ref;
16703 }
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16709 return resultobj;
16710 fail:
16711 return NULL;
16712 }
16713
16714
16715 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxListEvent *arg1 = (wxListEvent *) 0 ;
16718 int result;
16719 PyObject * obj0 = 0 ;
16720 char *kwnames[] = {
16721 (char *) "self", NULL
16722 };
16723
16724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
16725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = (int)(arg1)->GetImage();
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
16733 resultobj = PyInt_FromLong((long)result);
16734 return resultobj;
16735 fail:
16736 return NULL;
16737 }
16738
16739
16740 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxListEvent *arg1 = (wxListEvent *) 0 ;
16743 long result;
16744 PyObject * obj0 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self", NULL
16747 };
16748
16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
16750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16751 {
16752 PyThreadState* __tstate = wxPyBeginAllowThreads();
16753 result = (long)(arg1)->GetData();
16754
16755 wxPyEndAllowThreads(__tstate);
16756 if (PyErr_Occurred()) SWIG_fail;
16757 }
16758 resultobj = PyInt_FromLong((long)result);
16759 return resultobj;
16760 fail:
16761 return NULL;
16762 }
16763
16764
16765 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16766 PyObject *resultobj;
16767 wxListEvent *arg1 = (wxListEvent *) 0 ;
16768 long result;
16769 PyObject * obj0 = 0 ;
16770 char *kwnames[] = {
16771 (char *) "self", NULL
16772 };
16773
16774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
16775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16776 {
16777 PyThreadState* __tstate = wxPyBeginAllowThreads();
16778 result = (long)(arg1)->GetMask();
16779
16780 wxPyEndAllowThreads(__tstate);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 resultobj = PyInt_FromLong((long)result);
16784 return resultobj;
16785 fail:
16786 return NULL;
16787 }
16788
16789
16790 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16791 PyObject *resultobj;
16792 wxListEvent *arg1 = (wxListEvent *) 0 ;
16793 wxListItem *result;
16794 PyObject * obj0 = 0 ;
16795 char *kwnames[] = {
16796 (char *) "self", NULL
16797 };
16798
16799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
16800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 {
16804 wxListItem const &_result_ref = (arg1)->GetItem();
16805 result = (wxListItem *) &_result_ref;
16806 }
16807
16808 wxPyEndAllowThreads(__tstate);
16809 if (PyErr_Occurred()) SWIG_fail;
16810 }
16811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
16812 return resultobj;
16813 fail:
16814 return NULL;
16815 }
16816
16817
16818 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
16819 PyObject *resultobj;
16820 wxListEvent *arg1 = (wxListEvent *) 0 ;
16821 long result;
16822 PyObject * obj0 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "self", NULL
16825 };
16826
16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
16828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16829 {
16830 PyThreadState* __tstate = wxPyBeginAllowThreads();
16831 result = (long)(arg1)->GetCacheFrom();
16832
16833 wxPyEndAllowThreads(__tstate);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 resultobj = PyInt_FromLong((long)result);
16837 return resultobj;
16838 fail:
16839 return NULL;
16840 }
16841
16842
16843 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
16844 PyObject *resultobj;
16845 wxListEvent *arg1 = (wxListEvent *) 0 ;
16846 long result;
16847 PyObject * obj0 = 0 ;
16848 char *kwnames[] = {
16849 (char *) "self", NULL
16850 };
16851
16852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
16853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16854 {
16855 PyThreadState* __tstate = wxPyBeginAllowThreads();
16856 result = (long)(arg1)->GetCacheTo();
16857
16858 wxPyEndAllowThreads(__tstate);
16859 if (PyErr_Occurred()) SWIG_fail;
16860 }
16861 resultobj = PyInt_FromLong((long)result);
16862 return resultobj;
16863 fail:
16864 return NULL;
16865 }
16866
16867
16868 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj;
16870 wxListEvent *arg1 = (wxListEvent *) 0 ;
16871 bool result;
16872 PyObject * obj0 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "self", NULL
16875 };
16876
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
16878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16879 {
16880 PyThreadState* __tstate = wxPyBeginAllowThreads();
16881 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
16882
16883 wxPyEndAllowThreads(__tstate);
16884 if (PyErr_Occurred()) SWIG_fail;
16885 }
16886 resultobj = PyInt_FromLong((long)result);
16887 return resultobj;
16888 fail:
16889 return NULL;
16890 }
16891
16892
16893 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
16894 PyObject *resultobj;
16895 wxListEvent *arg1 = (wxListEvent *) 0 ;
16896 bool arg2 ;
16897 PyObject * obj0 = 0 ;
16898 PyObject * obj1 = 0 ;
16899 char *kwnames[] = {
16900 (char *) "self",(char *) "editCancelled", NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
16904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16905 arg2 = PyInt_AsLong(obj1) ? true : false;
16906 if (PyErr_Occurred()) SWIG_fail;
16907 {
16908 PyThreadState* __tstate = wxPyBeginAllowThreads();
16909 (arg1)->SetEditCanceled(arg2);
16910
16911 wxPyEndAllowThreads(__tstate);
16912 if (PyErr_Occurred()) SWIG_fail;
16913 }
16914 Py_INCREF(Py_None); resultobj = Py_None;
16915 return resultobj;
16916 fail:
16917 return NULL;
16918 }
16919
16920
16921 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
16922 PyObject *obj;
16923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16924 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
16925 Py_INCREF(obj);
16926 return Py_BuildValue((char *)"");
16927 }
16928 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj;
16930 wxWindow *arg1 = (wxWindow *) 0 ;
16931 wxWindowID arg2 = (wxWindowID) -1 ;
16932 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16933 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16934 wxSize const &arg4_defvalue = wxDefaultSize ;
16935 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16936 long arg5 = (long) wxLC_ICON ;
16937 wxValidator const &arg6_defvalue = wxDefaultValidator ;
16938 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
16939 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
16940 wxString *arg7 = (wxString *) &arg7_defvalue ;
16941 wxPyListCtrl *result;
16942 wxPoint temp3 ;
16943 wxSize temp4 ;
16944 bool temp7 = false ;
16945 PyObject * obj0 = 0 ;
16946 PyObject * obj2 = 0 ;
16947 PyObject * obj3 = 0 ;
16948 PyObject * obj5 = 0 ;
16949 PyObject * obj6 = 0 ;
16950 char *kwnames[] = {
16951 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16952 };
16953
16954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
16955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16956 if (obj2) {
16957 {
16958 arg3 = &temp3;
16959 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16960 }
16961 }
16962 if (obj3) {
16963 {
16964 arg4 = &temp4;
16965 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16966 }
16967 }
16968 if (obj5) {
16969 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16970 if (arg6 == NULL) {
16971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16972 }
16973 }
16974 if (obj6) {
16975 {
16976 arg7 = wxString_in_helper(obj6);
16977 if (arg7 == NULL) SWIG_fail;
16978 temp7 = true;
16979 }
16980 }
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
16989 {
16990 if (temp7)
16991 delete arg7;
16992 }
16993 return resultobj;
16994 fail:
16995 {
16996 if (temp7)
16997 delete arg7;
16998 }
16999 return NULL;
17000 }
17001
17002
17003 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17004 PyObject *resultobj;
17005 wxPyListCtrl *result;
17006 char *kwnames[] = {
17007 NULL
17008 };
17009
17010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17011 {
17012 PyThreadState* __tstate = wxPyBeginAllowThreads();
17013 result = (wxPyListCtrl *)new wxPyListCtrl();
17014
17015 wxPyEndAllowThreads(__tstate);
17016 if (PyErr_Occurred()) SWIG_fail;
17017 }
17018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17019 return resultobj;
17020 fail:
17021 return NULL;
17022 }
17023
17024
17025 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17026 PyObject *resultobj;
17027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17028 wxWindow *arg2 = (wxWindow *) 0 ;
17029 wxWindowID arg3 = (wxWindowID) -1 ;
17030 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17031 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17032 wxSize const &arg5_defvalue = wxDefaultSize ;
17033 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17034 long arg6 = (long) wxLC_ICON ;
17035 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17036 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17037 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17038 wxString *arg8 = (wxString *) &arg8_defvalue ;
17039 bool result;
17040 wxPoint temp4 ;
17041 wxSize temp5 ;
17042 bool temp8 = false ;
17043 PyObject * obj0 = 0 ;
17044 PyObject * obj1 = 0 ;
17045 PyObject * obj3 = 0 ;
17046 PyObject * obj4 = 0 ;
17047 PyObject * obj6 = 0 ;
17048 PyObject * obj7 = 0 ;
17049 char *kwnames[] = {
17050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17051 };
17052
17053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17056 if (obj3) {
17057 {
17058 arg4 = &temp4;
17059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17060 }
17061 }
17062 if (obj4) {
17063 {
17064 arg5 = &temp5;
17065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17066 }
17067 }
17068 if (obj6) {
17069 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17070 if (arg7 == NULL) {
17071 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17072 }
17073 }
17074 if (obj7) {
17075 {
17076 arg8 = wxString_in_helper(obj7);
17077 if (arg8 == NULL) SWIG_fail;
17078 temp8 = true;
17079 }
17080 }
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 resultobj = PyInt_FromLong((long)result);
17089 {
17090 if (temp8)
17091 delete arg8;
17092 }
17093 return resultobj;
17094 fail:
17095 {
17096 if (temp8)
17097 delete arg8;
17098 }
17099 return NULL;
17100 }
17101
17102
17103 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17104 PyObject *resultobj;
17105 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17106 PyObject *arg2 = (PyObject *) 0 ;
17107 PyObject *arg3 = (PyObject *) 0 ;
17108 PyObject * obj0 = 0 ;
17109 PyObject * obj1 = 0 ;
17110 PyObject * obj2 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self",(char *) "self",(char *) "_class", NULL
17113 };
17114
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17117 arg2 = obj1;
17118 arg3 = obj2;
17119 {
17120 PyThreadState* __tstate = wxPyBeginAllowThreads();
17121 (arg1)->_setCallbackInfo(arg2,arg3);
17122
17123 wxPyEndAllowThreads(__tstate);
17124 if (PyErr_Occurred()) SWIG_fail;
17125 }
17126 Py_INCREF(Py_None); resultobj = Py_None;
17127 return resultobj;
17128 fail:
17129 return NULL;
17130 }
17131
17132
17133 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17134 PyObject *resultobj;
17135 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17136 wxColour *arg2 = 0 ;
17137 bool result;
17138 wxColour temp2 ;
17139 PyObject * obj0 = 0 ;
17140 PyObject * obj1 = 0 ;
17141 char *kwnames[] = {
17142 (char *) "self",(char *) "col", NULL
17143 };
17144
17145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17147 {
17148 arg2 = &temp2;
17149 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17150 }
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17154
17155 wxPyEndAllowThreads(__tstate);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 }
17158 resultobj = PyInt_FromLong((long)result);
17159 return resultobj;
17160 fail:
17161 return NULL;
17162 }
17163
17164
17165 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17168 wxColour *arg2 = 0 ;
17169 bool result;
17170 wxColour temp2 ;
17171 PyObject * obj0 = 0 ;
17172 PyObject * obj1 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self",(char *) "col", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17179 {
17180 arg2 = &temp2;
17181 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17182 }
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 resultobj = PyInt_FromLong((long)result);
17191 return resultobj;
17192 fail:
17193 return NULL;
17194 }
17195
17196
17197 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj;
17199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17200 int arg2 ;
17201 wxListItem *result;
17202 PyObject * obj0 = 0 ;
17203 char *kwnames[] = {
17204 (char *) "self",(char *) "col", NULL
17205 };
17206
17207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17209 {
17210 PyThreadState* __tstate = wxPyBeginAllowThreads();
17211 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17212
17213 wxPyEndAllowThreads(__tstate);
17214 if (PyErr_Occurred()) SWIG_fail;
17215 }
17216 {
17217 resultobj = wxPyMake_wxObject(result);
17218 }
17219 return resultobj;
17220 fail:
17221 return NULL;
17222 }
17223
17224
17225 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17228 int arg2 ;
17229 wxListItem *arg3 = 0 ;
17230 bool result;
17231 PyObject * obj0 = 0 ;
17232 PyObject * obj2 = 0 ;
17233 char *kwnames[] = {
17234 (char *) "self",(char *) "col",(char *) "item", NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17239 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17240 if (arg3 == NULL) {
17241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17242 }
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 resultobj = PyInt_FromLong((long)result);
17251 return resultobj;
17252 fail:
17253 return NULL;
17254 }
17255
17256
17257 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17260 int arg2 ;
17261 int result;
17262 PyObject * obj0 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "col", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 resultobj = PyInt_FromLong((long)result);
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17286 int arg2 ;
17287 int arg3 ;
17288 bool result;
17289 PyObject * obj0 = 0 ;
17290 char *kwnames[] = {
17291 (char *) "self",(char *) "col",(char *) "width", NULL
17292 };
17293
17294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17296 {
17297 PyThreadState* __tstate = wxPyBeginAllowThreads();
17298 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17299
17300 wxPyEndAllowThreads(__tstate);
17301 if (PyErr_Occurred()) SWIG_fail;
17302 }
17303 resultobj = PyInt_FromLong((long)result);
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj;
17312 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17313 int result;
17314 PyObject * obj0 = 0 ;
17315 char *kwnames[] = {
17316 (char *) "self", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17321 {
17322 PyThreadState* __tstate = wxPyBeginAllowThreads();
17323 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17324
17325 wxPyEndAllowThreads(__tstate);
17326 if (PyErr_Occurred()) SWIG_fail;
17327 }
17328 resultobj = PyInt_FromLong((long)result);
17329 return resultobj;
17330 fail:
17331 return NULL;
17332 }
17333
17334
17335 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj;
17337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17338 wxRect result;
17339 PyObject * obj0 = 0 ;
17340 char *kwnames[] = {
17341 (char *) "self", NULL
17342 };
17343
17344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 {
17354 wxRect * resultptr;
17355 resultptr = new wxRect((wxRect &) result);
17356 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17357 }
17358 return resultobj;
17359 fail:
17360 return NULL;
17361 }
17362
17363
17364 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17365 PyObject *resultobj;
17366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17367 long arg2 ;
17368 int arg3 = (int) 0 ;
17369 wxListItem *result;
17370 PyObject * obj0 = 0 ;
17371 char *kwnames[] = {
17372 (char *) "self",(char *) "itemId",(char *) "col", NULL
17373 };
17374
17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17380
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 {
17385 resultobj = wxPyMake_wxObject(result);
17386 }
17387 return resultobj;
17388 fail:
17389 return NULL;
17390 }
17391
17392
17393 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17394 PyObject *resultobj;
17395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17396 wxListItem *arg2 = 0 ;
17397 bool result;
17398 PyObject * obj0 = 0 ;
17399 PyObject * obj1 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self",(char *) "info", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17407 if (arg2 == NULL) {
17408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17409 }
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 result = (bool)(arg1)->SetItem(*arg2);
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 resultobj = PyInt_FromLong((long)result);
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17427 long arg2 ;
17428 int arg3 ;
17429 wxString *arg4 = 0 ;
17430 int arg5 = (int) -1 ;
17431 long result;
17432 bool temp4 = false ;
17433 PyObject * obj0 = 0 ;
17434 PyObject * obj3 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17441 {
17442 arg4 = wxString_in_helper(obj3);
17443 if (arg4 == NULL) SWIG_fail;
17444 temp4 = true;
17445 }
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
17453 resultobj = PyInt_FromLong((long)result);
17454 {
17455 if (temp4)
17456 delete arg4;
17457 }
17458 return resultobj;
17459 fail:
17460 {
17461 if (temp4)
17462 delete arg4;
17463 }
17464 return NULL;
17465 }
17466
17467
17468 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17469 PyObject *resultobj;
17470 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17471 long arg2 ;
17472 long arg3 ;
17473 int result;
17474 PyObject * obj0 = 0 ;
17475 char *kwnames[] = {
17476 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17477 };
17478
17479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17481 {
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
17483 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17484
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 resultobj = PyInt_FromLong((long)result);
17489 return resultobj;
17490 fail:
17491 return NULL;
17492 }
17493
17494
17495 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17496 PyObject *resultobj;
17497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17498 long arg2 ;
17499 long arg3 ;
17500 long arg4 ;
17501 bool result;
17502 PyObject * obj0 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17509 {
17510 PyThreadState* __tstate = wxPyBeginAllowThreads();
17511 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
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_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17524 PyObject *resultobj;
17525 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17526 long arg2 ;
17527 int arg3 ;
17528 int arg4 ;
17529 bool result;
17530 PyObject * obj0 = 0 ;
17531 char *kwnames[] = {
17532 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17533 };
17534
17535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17537 {
17538 PyThreadState* __tstate = wxPyBeginAllowThreads();
17539 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17540
17541 wxPyEndAllowThreads(__tstate);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 }
17544 resultobj = PyInt_FromLong((long)result);
17545 return resultobj;
17546 fail:
17547 return NULL;
17548 }
17549
17550
17551 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17552 PyObject *resultobj;
17553 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17554 long arg2 ;
17555 wxString result;
17556 PyObject * obj0 = 0 ;
17557 char *kwnames[] = {
17558 (char *) "self",(char *) "item", NULL
17559 };
17560
17561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 {
17571 #if wxUSE_UNICODE
17572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17573 #else
17574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17575 #endif
17576 }
17577 return resultobj;
17578 fail:
17579 return NULL;
17580 }
17581
17582
17583 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17584 PyObject *resultobj;
17585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17586 long arg2 ;
17587 wxString *arg3 = 0 ;
17588 bool temp3 = false ;
17589 PyObject * obj0 = 0 ;
17590 PyObject * obj2 = 0 ;
17591 char *kwnames[] = {
17592 (char *) "self",(char *) "item",(char *) "str", NULL
17593 };
17594
17595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17597 {
17598 arg3 = wxString_in_helper(obj2);
17599 if (arg3 == NULL) SWIG_fail;
17600 temp3 = true;
17601 }
17602 {
17603 PyThreadState* __tstate = wxPyBeginAllowThreads();
17604 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 Py_INCREF(Py_None); resultobj = Py_None;
17610 {
17611 if (temp3)
17612 delete arg3;
17613 }
17614 return resultobj;
17615 fail:
17616 {
17617 if (temp3)
17618 delete arg3;
17619 }
17620 return NULL;
17621 }
17622
17623
17624 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17627 long arg2 ;
17628 long result;
17629 PyObject * obj0 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self",(char *) "item", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17636 {
17637 PyThreadState* __tstate = wxPyBeginAllowThreads();
17638 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17639
17640 wxPyEndAllowThreads(__tstate);
17641 if (PyErr_Occurred()) SWIG_fail;
17642 }
17643 resultobj = PyInt_FromLong((long)result);
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17653 long arg2 ;
17654 long arg3 ;
17655 bool result;
17656 PyObject * obj0 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self",(char *) "item",(char *) "data", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 result = (bool)(arg1)->SetItemData(arg2,arg3);
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 resultobj = PyInt_FromLong((long)result);
17671 return resultobj;
17672 fail:
17673 return NULL;
17674 }
17675
17676
17677 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17678 PyObject *resultobj;
17679 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17680 long arg2 ;
17681 wxPoint result;
17682 PyObject * obj0 = 0 ;
17683 char *kwnames[] = {
17684 (char *) "self",(char *) "item", NULL
17685 };
17686
17687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17692
17693 wxPyEndAllowThreads(__tstate);
17694 if (PyErr_Occurred()) SWIG_fail;
17695 }
17696 {
17697 wxPoint * resultptr;
17698 resultptr = new wxPoint((wxPoint &) result);
17699 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17700 }
17701 return resultobj;
17702 fail:
17703 return NULL;
17704 }
17705
17706
17707 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17710 long arg2 ;
17711 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17712 wxRect result;
17713 PyObject * obj0 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self",(char *) "item",(char *) "code", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
17719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 {
17728 wxRect * resultptr;
17729 resultptr = new wxRect((wxRect &) result);
17730 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17731 }
17732 return resultobj;
17733 fail:
17734 return NULL;
17735 }
17736
17737
17738 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17739 PyObject *resultobj;
17740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17741 long arg2 ;
17742 wxPoint *arg3 = 0 ;
17743 bool result;
17744 wxPoint temp3 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj2 = 0 ;
17747 char *kwnames[] = {
17748 (char *) "self",(char *) "item",(char *) "pos", NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
17752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17753 {
17754 arg3 = &temp3;
17755 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17756 }
17757 {
17758 PyThreadState* __tstate = wxPyBeginAllowThreads();
17759 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
17760
17761 wxPyEndAllowThreads(__tstate);
17762 if (PyErr_Occurred()) SWIG_fail;
17763 }
17764 resultobj = PyInt_FromLong((long)result);
17765 return resultobj;
17766 fail:
17767 return NULL;
17768 }
17769
17770
17771 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17772 PyObject *resultobj;
17773 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17774 int result;
17775 PyObject * obj0 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
17781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
17785
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 resultobj = PyInt_FromLong((long)result);
17790 return resultobj;
17791 fail:
17792 return NULL;
17793 }
17794
17795
17796 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17797 PyObject *resultobj;
17798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17799 int result;
17800 PyObject * obj0 = 0 ;
17801 char *kwnames[] = {
17802 (char *) "self", NULL
17803 };
17804
17805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
17806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17807 {
17808 PyThreadState* __tstate = wxPyBeginAllowThreads();
17809 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
17810
17811 wxPyEndAllowThreads(__tstate);
17812 if (PyErr_Occurred()) SWIG_fail;
17813 }
17814 resultobj = PyInt_FromLong((long)result);
17815 return resultobj;
17816 fail:
17817 return NULL;
17818 }
17819
17820
17821 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17822 PyObject *resultobj;
17823 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17824 wxSize result;
17825 PyObject * obj0 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 {
17840 wxSize * resultptr;
17841 resultptr = new wxSize((wxSize &) result);
17842 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17843 }
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17853 int arg2 ;
17854 bool arg3 = (bool) FALSE ;
17855 PyObject * obj0 = 0 ;
17856 PyObject * obj2 = 0 ;
17857 char *kwnames[] = {
17858 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
17859 };
17860
17861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
17862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17863 if (obj2) {
17864 arg3 = PyInt_AsLong(obj2) ? true : false;
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 {
17868 PyThreadState* __tstate = wxPyBeginAllowThreads();
17869 (arg1)->SetItemSpacing(arg2,arg3);
17870
17871 wxPyEndAllowThreads(__tstate);
17872 if (PyErr_Occurred()) SWIG_fail;
17873 }
17874 Py_INCREF(Py_None); resultobj = Py_None;
17875 return resultobj;
17876 fail:
17877 return NULL;
17878 }
17879
17880
17881 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17884 int result;
17885 PyObject * obj0 = 0 ;
17886 char *kwnames[] = {
17887 (char *) "self", NULL
17888 };
17889
17890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
17891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17892 {
17893 PyThreadState* __tstate = wxPyBeginAllowThreads();
17894 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
17895
17896 wxPyEndAllowThreads(__tstate);
17897 if (PyErr_Occurred()) SWIG_fail;
17898 }
17899 resultobj = PyInt_FromLong((long)result);
17900 return resultobj;
17901 fail:
17902 return NULL;
17903 }
17904
17905
17906 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17907 PyObject *resultobj;
17908 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17909 wxColour result;
17910 PyObject * obj0 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
17916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 {
17925 wxColour * resultptr;
17926 resultptr = new wxColour((wxColour &) result);
17927 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17928 }
17929 return resultobj;
17930 fail:
17931 return NULL;
17932 }
17933
17934
17935 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17938 wxColour *arg2 = 0 ;
17939 wxColour temp2 ;
17940 PyObject * obj0 = 0 ;
17941 PyObject * obj1 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self",(char *) "col", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 {
17949 arg2 = &temp2;
17950 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17951 }
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 (arg1)->SetTextColour((wxColour const &)*arg2);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 Py_INCREF(Py_None); resultobj = Py_None;
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17969 long result;
17970 PyObject * obj0 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
17976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 resultobj = PyInt_FromLong((long)result);
17985 return resultobj;
17986 fail:
17987 return NULL;
17988 }
17989
17990
17991 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj;
17993 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17994 long arg2 ;
17995 bool arg3 = (bool) TRUE ;
17996 PyObject * obj0 = 0 ;
17997 PyObject * obj2 = 0 ;
17998 char *kwnames[] = {
17999 (char *) "self",(char *) "style",(char *) "add", NULL
18000 };
18001
18002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18004 if (obj2) {
18005 arg3 = PyInt_AsLong(obj2) ? true : false;
18006 if (PyErr_Occurred()) SWIG_fail;
18007 }
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 (arg1)->SetSingleStyle(arg2,arg3);
18011
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 Py_INCREF(Py_None); resultobj = Py_None;
18016 return resultobj;
18017 fail:
18018 return NULL;
18019 }
18020
18021
18022 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18023 PyObject *resultobj;
18024 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18025 long arg2 ;
18026 PyObject * obj0 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self",(char *) "style", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18033 {
18034 PyThreadState* __tstate = wxPyBeginAllowThreads();
18035 (arg1)->SetWindowStyleFlag(arg2);
18036
18037 wxPyEndAllowThreads(__tstate);
18038 if (PyErr_Occurred()) SWIG_fail;
18039 }
18040 Py_INCREF(Py_None); resultobj = Py_None;
18041 return resultobj;
18042 fail:
18043 return NULL;
18044 }
18045
18046
18047 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj;
18049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18050 long arg2 ;
18051 int arg3 = (int) wxLIST_NEXT_ALL ;
18052 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18053 long result;
18054 PyObject * obj0 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18061 {
18062 PyThreadState* __tstate = wxPyBeginAllowThreads();
18063 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18064
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 resultobj = PyInt_FromLong((long)result);
18069 return resultobj;
18070 fail:
18071 return NULL;
18072 }
18073
18074
18075 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18076 PyObject *resultobj;
18077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18078 int arg2 ;
18079 wxImageList *result;
18080 PyObject * obj0 = 0 ;
18081 char *kwnames[] = {
18082 (char *) "self",(char *) "which", NULL
18083 };
18084
18085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18087 {
18088 PyThreadState* __tstate = wxPyBeginAllowThreads();
18089 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18090
18091 wxPyEndAllowThreads(__tstate);
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 {
18095 resultobj = wxPyMake_wxObject(result);
18096 }
18097 return resultobj;
18098 fail:
18099 return NULL;
18100 }
18101
18102
18103 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18106 wxImageList *arg2 = (wxImageList *) 0 ;
18107 int arg3 ;
18108 PyObject * obj0 = 0 ;
18109 PyObject * obj1 = 0 ;
18110 char *kwnames[] = {
18111 (char *) "self",(char *) "imageList",(char *) "which", NULL
18112 };
18113
18114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18117 {
18118 PyThreadState* __tstate = wxPyBeginAllowThreads();
18119 (arg1)->SetImageList(arg2,arg3);
18120
18121 wxPyEndAllowThreads(__tstate);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 Py_INCREF(Py_None); resultobj = Py_None;
18125 return resultobj;
18126 fail:
18127 return NULL;
18128 }
18129
18130
18131 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18132 PyObject *resultobj;
18133 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18134 wxImageList *arg2 = (wxImageList *) 0 ;
18135 int arg3 ;
18136 PyObject * obj0 = 0 ;
18137 PyObject * obj1 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self",(char *) "imageList",(char *) "which", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 (arg1)->AssignImageList(arg2,arg3);
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 Py_INCREF(Py_None); resultobj = Py_None;
18153 return resultobj;
18154 fail:
18155 return NULL;
18156 }
18157
18158
18159 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18160 PyObject *resultobj;
18161 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18162 bool result;
18163 PyObject * obj0 = 0 ;
18164 char *kwnames[] = {
18165 (char *) "self", NULL
18166 };
18167
18168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18170 {
18171 PyThreadState* __tstate = wxPyBeginAllowThreads();
18172 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18173
18174 wxPyEndAllowThreads(__tstate);
18175 if (PyErr_Occurred()) SWIG_fail;
18176 }
18177 resultobj = PyInt_FromLong((long)result);
18178 return resultobj;
18179 fail:
18180 return NULL;
18181 }
18182
18183
18184 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18185 PyObject *resultobj;
18186 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18187 long arg2 ;
18188 PyObject * obj0 = 0 ;
18189 char *kwnames[] = {
18190 (char *) "self",(char *) "item", NULL
18191 };
18192
18193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 (arg1)->RefreshItem(arg2);
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
18202 Py_INCREF(Py_None); resultobj = Py_None;
18203 return resultobj;
18204 fail:
18205 return NULL;
18206 }
18207
18208
18209 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj;
18211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18212 long arg2 ;
18213 long arg3 ;
18214 PyObject * obj0 = 0 ;
18215 char *kwnames[] = {
18216 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18217 };
18218
18219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 (arg1)->RefreshItems(arg2,arg3);
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
18228 Py_INCREF(Py_None); resultobj = Py_None;
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18238 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18239 bool result;
18240 PyObject * obj0 = 0 ;
18241 char *kwnames[] = {
18242 (char *) "self",(char *) "flag", NULL
18243 };
18244
18245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (bool)(arg1)->Arrange(arg2);
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 resultobj = PyInt_FromLong((long)result);
18255 return resultobj;
18256 fail:
18257 return NULL;
18258 }
18259
18260
18261 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18262 PyObject *resultobj;
18263 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18264 long arg2 ;
18265 bool result;
18266 PyObject * obj0 = 0 ;
18267 char *kwnames[] = {
18268 (char *) "self",(char *) "item", NULL
18269 };
18270
18271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 result = (bool)(arg1)->DeleteItem(arg2);
18276
18277 wxPyEndAllowThreads(__tstate);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 resultobj = PyInt_FromLong((long)result);
18281 return resultobj;
18282 fail:
18283 return NULL;
18284 }
18285
18286
18287 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18290 bool result;
18291 PyObject * obj0 = 0 ;
18292 char *kwnames[] = {
18293 (char *) "self", NULL
18294 };
18295
18296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18298 {
18299 PyThreadState* __tstate = wxPyBeginAllowThreads();
18300 result = (bool)(arg1)->DeleteAllItems();
18301
18302 wxPyEndAllowThreads(__tstate);
18303 if (PyErr_Occurred()) SWIG_fail;
18304 }
18305 resultobj = PyInt_FromLong((long)result);
18306 return resultobj;
18307 fail:
18308 return NULL;
18309 }
18310
18311
18312 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18313 PyObject *resultobj;
18314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18315 int arg2 ;
18316 bool result;
18317 PyObject * obj0 = 0 ;
18318 char *kwnames[] = {
18319 (char *) "self",(char *) "col", NULL
18320 };
18321
18322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18324 {
18325 PyThreadState* __tstate = wxPyBeginAllowThreads();
18326 result = (bool)(arg1)->DeleteColumn(arg2);
18327
18328 wxPyEndAllowThreads(__tstate);
18329 if (PyErr_Occurred()) SWIG_fail;
18330 }
18331 resultobj = PyInt_FromLong((long)result);
18332 return resultobj;
18333 fail:
18334 return NULL;
18335 }
18336
18337
18338 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj;
18340 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18341 bool result;
18342 PyObject * obj0 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18349 {
18350 PyThreadState* __tstate = wxPyBeginAllowThreads();
18351 result = (bool)(arg1)->DeleteAllColumns();
18352
18353 wxPyEndAllowThreads(__tstate);
18354 if (PyErr_Occurred()) SWIG_fail;
18355 }
18356 resultobj = PyInt_FromLong((long)result);
18357 return resultobj;
18358 fail:
18359 return NULL;
18360 }
18361
18362
18363 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18364 PyObject *resultobj;
18365 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18366 PyObject * obj0 = 0 ;
18367 char *kwnames[] = {
18368 (char *) "self", NULL
18369 };
18370
18371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->ClearAll();
18376
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 Py_INCREF(Py_None); resultobj = Py_None;
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18390 long arg2 ;
18391 PyObject * obj0 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self",(char *) "item", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18398 {
18399 PyThreadState* __tstate = wxPyBeginAllowThreads();
18400 (arg1)->EditLabel(arg2);
18401
18402 wxPyEndAllowThreads(__tstate);
18403 if (PyErr_Occurred()) SWIG_fail;
18404 }
18405 Py_INCREF(Py_None); resultobj = Py_None;
18406 return resultobj;
18407 fail:
18408 return NULL;
18409 }
18410
18411
18412 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18413 PyObject *resultobj;
18414 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18415 long arg2 ;
18416 bool result;
18417 PyObject * obj0 = 0 ;
18418 char *kwnames[] = {
18419 (char *) "self",(char *) "item", NULL
18420 };
18421
18422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18424 {
18425 PyThreadState* __tstate = wxPyBeginAllowThreads();
18426 result = (bool)(arg1)->EnsureVisible(arg2);
18427
18428 wxPyEndAllowThreads(__tstate);
18429 if (PyErr_Occurred()) SWIG_fail;
18430 }
18431 resultobj = PyInt_FromLong((long)result);
18432 return resultobj;
18433 fail:
18434 return NULL;
18435 }
18436
18437
18438 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18439 PyObject *resultobj;
18440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18441 long arg2 ;
18442 wxString *arg3 = 0 ;
18443 bool arg4 = (bool) FALSE ;
18444 long result;
18445 bool temp3 = false ;
18446 PyObject * obj0 = 0 ;
18447 PyObject * obj2 = 0 ;
18448 PyObject * obj3 = 0 ;
18449 char *kwnames[] = {
18450 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18451 };
18452
18453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18455 {
18456 arg3 = wxString_in_helper(obj2);
18457 if (arg3 == NULL) SWIG_fail;
18458 temp3 = true;
18459 }
18460 if (obj3) {
18461 arg4 = PyInt_AsLong(obj3) ? true : false;
18462 if (PyErr_Occurred()) SWIG_fail;
18463 }
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = PyInt_FromLong((long)result);
18472 {
18473 if (temp3)
18474 delete arg3;
18475 }
18476 return resultobj;
18477 fail:
18478 {
18479 if (temp3)
18480 delete arg3;
18481 }
18482 return NULL;
18483 }
18484
18485
18486 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18487 PyObject *resultobj;
18488 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18489 long arg2 ;
18490 long arg3 ;
18491 long result;
18492 PyObject * obj0 = 0 ;
18493 char *kwnames[] = {
18494 (char *) "self",(char *) "start",(char *) "data", NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18499 {
18500 PyThreadState* __tstate = wxPyBeginAllowThreads();
18501 result = (long)(arg1)->FindItem(arg2,arg3);
18502
18503 wxPyEndAllowThreads(__tstate);
18504 if (PyErr_Occurred()) SWIG_fail;
18505 }
18506 resultobj = PyInt_FromLong((long)result);
18507 return resultobj;
18508 fail:
18509 return NULL;
18510 }
18511
18512
18513 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18514 PyObject *resultobj;
18515 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18516 long arg2 ;
18517 wxPoint *arg3 = 0 ;
18518 int arg4 ;
18519 long result;
18520 wxPoint temp3 ;
18521 PyObject * obj0 = 0 ;
18522 PyObject * obj2 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18529 {
18530 arg3 = &temp3;
18531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18532 }
18533 {
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18536
18537 wxPyEndAllowThreads(__tstate);
18538 if (PyErr_Occurred()) SWIG_fail;
18539 }
18540 resultobj = PyInt_FromLong((long)result);
18541 return resultobj;
18542 fail:
18543 return NULL;
18544 }
18545
18546
18547 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18550 wxPoint *arg2 = 0 ;
18551 int *arg3 = 0 ;
18552 long result;
18553 wxPoint temp2 ;
18554 int temp3 ;
18555 PyObject * obj0 = 0 ;
18556 PyObject * obj1 = 0 ;
18557 char *kwnames[] = {
18558 (char *) "self",(char *) "point", NULL
18559 };
18560
18561 arg3 = &temp3;
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18564 {
18565 arg2 = &temp2;
18566 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18567 }
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = PyInt_FromLong((long)result);
18576 {
18577 PyObject *o = PyInt_FromLong((long) (*arg3));
18578 resultobj = t_output_helper(resultobj,o);
18579 }
18580 return resultobj;
18581 fail:
18582 return NULL;
18583 }
18584
18585
18586 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18587 PyObject *resultobj;
18588 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18589 wxListItem *arg2 = 0 ;
18590 long result;
18591 PyObject * obj0 = 0 ;
18592 PyObject * obj1 = 0 ;
18593 char *kwnames[] = {
18594 (char *) "self",(char *) "info", NULL
18595 };
18596
18597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18600 if (arg2 == NULL) {
18601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18602 }
18603 {
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (long)(arg1)->InsertItem(*arg2);
18606
18607 wxPyEndAllowThreads(__tstate);
18608 if (PyErr_Occurred()) SWIG_fail;
18609 }
18610 resultobj = PyInt_FromLong((long)result);
18611 return resultobj;
18612 fail:
18613 return NULL;
18614 }
18615
18616
18617 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18618 PyObject *resultobj;
18619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18620 long arg2 ;
18621 wxString *arg3 = 0 ;
18622 long result;
18623 bool temp3 = false ;
18624 PyObject * obj0 = 0 ;
18625 PyObject * obj2 = 0 ;
18626 char *kwnames[] = {
18627 (char *) "self",(char *) "index",(char *) "label", NULL
18628 };
18629
18630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18632 {
18633 arg3 = wxString_in_helper(obj2);
18634 if (arg3 == NULL) SWIG_fail;
18635 temp3 = true;
18636 }
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18640
18641 wxPyEndAllowThreads(__tstate);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 resultobj = PyInt_FromLong((long)result);
18645 {
18646 if (temp3)
18647 delete arg3;
18648 }
18649 return resultobj;
18650 fail:
18651 {
18652 if (temp3)
18653 delete arg3;
18654 }
18655 return NULL;
18656 }
18657
18658
18659 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18660 PyObject *resultobj;
18661 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18662 long arg2 ;
18663 int arg3 ;
18664 long result;
18665 PyObject * obj0 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 result = (long)(arg1)->InsertItem(arg2,arg3);
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 resultobj = PyInt_FromLong((long)result);
18680 return resultobj;
18681 fail:
18682 return NULL;
18683 }
18684
18685
18686 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18687 PyObject *resultobj;
18688 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18689 long arg2 ;
18690 wxString *arg3 = 0 ;
18691 int arg4 ;
18692 long result;
18693 bool temp3 = false ;
18694 PyObject * obj0 = 0 ;
18695 PyObject * obj2 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18702 {
18703 arg3 = wxString_in_helper(obj2);
18704 if (arg3 == NULL) SWIG_fail;
18705 temp3 = true;
18706 }
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 resultobj = PyInt_FromLong((long)result);
18715 {
18716 if (temp3)
18717 delete arg3;
18718 }
18719 return resultobj;
18720 fail:
18721 {
18722 if (temp3)
18723 delete arg3;
18724 }
18725 return NULL;
18726 }
18727
18728
18729 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj;
18731 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18732 long arg2 ;
18733 wxListItem *arg3 = 0 ;
18734 long result;
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj2 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self",(char *) "col",(char *) "info", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18743 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18744 if (arg3 == NULL) {
18745 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18746 }
18747 {
18748 PyThreadState* __tstate = wxPyBeginAllowThreads();
18749 result = (long)(arg1)->InsertColumn(arg2,*arg3);
18750
18751 wxPyEndAllowThreads(__tstate);
18752 if (PyErr_Occurred()) SWIG_fail;
18753 }
18754 resultobj = PyInt_FromLong((long)result);
18755 return resultobj;
18756 fail:
18757 return NULL;
18758 }
18759
18760
18761 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18762 PyObject *resultobj;
18763 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18764 long arg2 ;
18765 wxString *arg3 = 0 ;
18766 int arg4 = (int) wxLIST_FORMAT_LEFT ;
18767 int arg5 = (int) -1 ;
18768 long result;
18769 bool temp3 = false ;
18770 PyObject * obj0 = 0 ;
18771 PyObject * obj2 = 0 ;
18772 char *kwnames[] = {
18773 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
18774 };
18775
18776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
18777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18778 {
18779 arg3 = wxString_in_helper(obj2);
18780 if (arg3 == NULL) SWIG_fail;
18781 temp3 = true;
18782 }
18783 {
18784 PyThreadState* __tstate = wxPyBeginAllowThreads();
18785 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
18786
18787 wxPyEndAllowThreads(__tstate);
18788 if (PyErr_Occurred()) SWIG_fail;
18789 }
18790 resultobj = PyInt_FromLong((long)result);
18791 {
18792 if (temp3)
18793 delete arg3;
18794 }
18795 return resultobj;
18796 fail:
18797 {
18798 if (temp3)
18799 delete arg3;
18800 }
18801 return NULL;
18802 }
18803
18804
18805 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18806 PyObject *resultobj;
18807 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18808 long arg2 ;
18809 PyObject * obj0 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "count", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 (arg1)->SetItemCount(arg2);
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 Py_INCREF(Py_None); resultobj = Py_None;
18824 return resultobj;
18825 fail:
18826 return NULL;
18827 }
18828
18829
18830 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18833 int arg2 ;
18834 int arg3 ;
18835 bool result;
18836 PyObject * obj0 = 0 ;
18837 char *kwnames[] = {
18838 (char *) "self",(char *) "dx",(char *) "dy", NULL
18839 };
18840
18841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
18842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18843 {
18844 PyThreadState* __tstate = wxPyBeginAllowThreads();
18845 result = (bool)(arg1)->ScrollList(arg2,arg3);
18846
18847 wxPyEndAllowThreads(__tstate);
18848 if (PyErr_Occurred()) SWIG_fail;
18849 }
18850 resultobj = PyInt_FromLong((long)result);
18851 return resultobj;
18852 fail:
18853 return NULL;
18854 }
18855
18856
18857 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18858 PyObject *resultobj;
18859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18860 long arg2 ;
18861 wxColour *arg3 = 0 ;
18862 wxColour temp3 ;
18863 PyObject * obj0 = 0 ;
18864 PyObject * obj2 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self",(char *) "item",(char *) "col", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18871 {
18872 arg3 = &temp3;
18873 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18874 }
18875 {
18876 PyThreadState* __tstate = wxPyBeginAllowThreads();
18877 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
18878
18879 wxPyEndAllowThreads(__tstate);
18880 if (PyErr_Occurred()) SWIG_fail;
18881 }
18882 Py_INCREF(Py_None); resultobj = Py_None;
18883 return resultobj;
18884 fail:
18885 return NULL;
18886 }
18887
18888
18889 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18890 PyObject *resultobj;
18891 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18892 long arg2 ;
18893 wxColour result;
18894 PyObject * obj0 = 0 ;
18895 char *kwnames[] = {
18896 (char *) "self",(char *) "item", NULL
18897 };
18898
18899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
18900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18901 {
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
18904
18905 wxPyEndAllowThreads(__tstate);
18906 if (PyErr_Occurred()) SWIG_fail;
18907 }
18908 {
18909 wxColour * resultptr;
18910 resultptr = new wxColour((wxColour &) result);
18911 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18912 }
18913 return resultobj;
18914 fail:
18915 return NULL;
18916 }
18917
18918
18919 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18920 PyObject *resultobj;
18921 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18922 long arg2 ;
18923 wxColour *arg3 = 0 ;
18924 wxColour temp3 ;
18925 PyObject * obj0 = 0 ;
18926 PyObject * obj2 = 0 ;
18927 char *kwnames[] = {
18928 (char *) "self",(char *) "item",(char *) "col", NULL
18929 };
18930
18931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18933 {
18934 arg3 = &temp3;
18935 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18936 }
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 Py_INCREF(Py_None); resultobj = Py_None;
18945 return resultobj;
18946 fail:
18947 return NULL;
18948 }
18949
18950
18951 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18952 PyObject *resultobj;
18953 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18954 long arg2 ;
18955 wxColour result;
18956 PyObject * obj0 = 0 ;
18957 char *kwnames[] = {
18958 (char *) "self",(char *) "item", NULL
18959 };
18960
18961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
18962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
18966
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 {
18971 wxColour * resultptr;
18972 resultptr = new wxColour((wxColour &) result);
18973 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18974 }
18975 return resultobj;
18976 fail:
18977 return NULL;
18978 }
18979
18980
18981 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18982 PyObject *resultobj;
18983 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18984 PyObject *arg2 = (PyObject *) 0 ;
18985 bool result;
18986 PyObject * obj0 = 0 ;
18987 PyObject * obj1 = 0 ;
18988 char *kwnames[] = {
18989 (char *) "self",(char *) "func", NULL
18990 };
18991
18992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
18993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18994 arg2 = obj1;
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 resultobj = PyInt_FromLong((long)result);
19003 return resultobj;
19004 fail:
19005 return NULL;
19006 }
19007
19008
19009 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19012 wxWindow *result;
19013 PyObject * obj0 = 0 ;
19014 char *kwnames[] = {
19015 (char *) "self", NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19023
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
19027 {
19028 resultobj = wxPyMake_wxObject(result);
19029 }
19030 return resultobj;
19031 fail:
19032 return NULL;
19033 }
19034
19035
19036 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19037 PyObject *obj;
19038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19039 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19040 Py_INCREF(obj);
19041 return Py_BuildValue((char *)"");
19042 }
19043 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxWindow *arg1 = (wxWindow *) 0 ;
19046 wxWindowID arg2 = (wxWindowID) -1 ;
19047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19049 wxSize const &arg4_defvalue = wxDefaultSize ;
19050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19051 long arg5 = (long) wxLC_REPORT ;
19052 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19053 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19054 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19055 wxString *arg7 = (wxString *) &arg7_defvalue ;
19056 wxListView *result;
19057 wxPoint temp3 ;
19058 wxSize temp4 ;
19059 bool temp7 = false ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj2 = 0 ;
19062 PyObject * obj3 = 0 ;
19063 PyObject * obj5 = 0 ;
19064 PyObject * obj6 = 0 ;
19065 char *kwnames[] = {
19066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19067 };
19068
19069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19071 if (obj2) {
19072 {
19073 arg3 = &temp3;
19074 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19075 }
19076 }
19077 if (obj3) {
19078 {
19079 arg4 = &temp4;
19080 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19081 }
19082 }
19083 if (obj5) {
19084 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19085 if (arg6 == NULL) {
19086 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19087 }
19088 }
19089 if (obj6) {
19090 {
19091 arg7 = wxString_in_helper(obj6);
19092 if (arg7 == NULL) SWIG_fail;
19093 temp7 = true;
19094 }
19095 }
19096 {
19097 PyThreadState* __tstate = wxPyBeginAllowThreads();
19098 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19099
19100 wxPyEndAllowThreads(__tstate);
19101 if (PyErr_Occurred()) SWIG_fail;
19102 }
19103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19104 {
19105 if (temp7)
19106 delete arg7;
19107 }
19108 return resultobj;
19109 fail:
19110 {
19111 if (temp7)
19112 delete arg7;
19113 }
19114 return NULL;
19115 }
19116
19117
19118 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj;
19120 wxListView *result;
19121 char *kwnames[] = {
19122 NULL
19123 };
19124
19125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19126 {
19127 PyThreadState* __tstate = wxPyBeginAllowThreads();
19128 result = (wxListView *)new wxListView();
19129
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxListView *arg1 = (wxListView *) 0 ;
19143 wxWindow *arg2 = (wxWindow *) 0 ;
19144 wxWindowID arg3 = (wxWindowID) -1 ;
19145 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19146 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19147 wxSize const &arg5_defvalue = wxDefaultSize ;
19148 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19149 long arg6 = (long) wxLC_REPORT ;
19150 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19151 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19152 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19153 wxString *arg8 = (wxString *) &arg8_defvalue ;
19154 bool result;
19155 wxPoint temp4 ;
19156 wxSize temp5 ;
19157 bool temp8 = false ;
19158 PyObject * obj0 = 0 ;
19159 PyObject * obj1 = 0 ;
19160 PyObject * obj3 = 0 ;
19161 PyObject * obj4 = 0 ;
19162 PyObject * obj6 = 0 ;
19163 PyObject * obj7 = 0 ;
19164 char *kwnames[] = {
19165 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19166 };
19167
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19171 if (obj3) {
19172 {
19173 arg4 = &temp4;
19174 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19175 }
19176 }
19177 if (obj4) {
19178 {
19179 arg5 = &temp5;
19180 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19181 }
19182 }
19183 if (obj6) {
19184 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19185 if (arg7 == NULL) {
19186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19187 }
19188 }
19189 if (obj7) {
19190 {
19191 arg8 = wxString_in_helper(obj7);
19192 if (arg8 == NULL) SWIG_fail;
19193 temp8 = true;
19194 }
19195 }
19196 {
19197 PyThreadState* __tstate = wxPyBeginAllowThreads();
19198 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19199
19200 wxPyEndAllowThreads(__tstate);
19201 if (PyErr_Occurred()) SWIG_fail;
19202 }
19203 resultobj = PyInt_FromLong((long)result);
19204 {
19205 if (temp8)
19206 delete arg8;
19207 }
19208 return resultobj;
19209 fail:
19210 {
19211 if (temp8)
19212 delete arg8;
19213 }
19214 return NULL;
19215 }
19216
19217
19218 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19219 PyObject *resultobj;
19220 wxListView *arg1 = (wxListView *) 0 ;
19221 long arg2 ;
19222 bool arg3 = (bool) TRUE ;
19223 PyObject * obj0 = 0 ;
19224 PyObject * obj2 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self",(char *) "n",(char *) "on", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19231 if (obj2) {
19232 arg3 = PyInt_AsLong(obj2) ? true : false;
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 (arg1)->Select(arg2,arg3);
19238
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 Py_INCREF(Py_None); resultobj = Py_None;
19243 return resultobj;
19244 fail:
19245 return NULL;
19246 }
19247
19248
19249 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19250 PyObject *resultobj;
19251 wxListView *arg1 = (wxListView *) 0 ;
19252 long arg2 ;
19253 PyObject * obj0 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "self",(char *) "index", NULL
19256 };
19257
19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19260 {
19261 PyThreadState* __tstate = wxPyBeginAllowThreads();
19262 (arg1)->Focus(arg2);
19263
19264 wxPyEndAllowThreads(__tstate);
19265 if (PyErr_Occurred()) SWIG_fail;
19266 }
19267 Py_INCREF(Py_None); resultobj = Py_None;
19268 return resultobj;
19269 fail:
19270 return NULL;
19271 }
19272
19273
19274 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj;
19276 wxListView *arg1 = (wxListView *) 0 ;
19277 long result;
19278 PyObject * obj0 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19288
19289 wxPyEndAllowThreads(__tstate);
19290 if (PyErr_Occurred()) SWIG_fail;
19291 }
19292 resultobj = PyInt_FromLong((long)result);
19293 return resultobj;
19294 fail:
19295 return NULL;
19296 }
19297
19298
19299 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxListView *arg1 = (wxListView *) 0 ;
19302 long arg2 ;
19303 long result;
19304 PyObject * obj0 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self",(char *) "item", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19311 {
19312 PyThreadState* __tstate = wxPyBeginAllowThreads();
19313 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19314
19315 wxPyEndAllowThreads(__tstate);
19316 if (PyErr_Occurred()) SWIG_fail;
19317 }
19318 resultobj = PyInt_FromLong((long)result);
19319 return resultobj;
19320 fail:
19321 return NULL;
19322 }
19323
19324
19325 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19326 PyObject *resultobj;
19327 wxListView *arg1 = (wxListView *) 0 ;
19328 long result;
19329 PyObject * obj0 = 0 ;
19330 char *kwnames[] = {
19331 (char *) "self", NULL
19332 };
19333
19334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19336 {
19337 PyThreadState* __tstate = wxPyBeginAllowThreads();
19338 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19339
19340 wxPyEndAllowThreads(__tstate);
19341 if (PyErr_Occurred()) SWIG_fail;
19342 }
19343 resultobj = PyInt_FromLong((long)result);
19344 return resultobj;
19345 fail:
19346 return NULL;
19347 }
19348
19349
19350 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19351 PyObject *resultobj;
19352 wxListView *arg1 = (wxListView *) 0 ;
19353 long arg2 ;
19354 bool result;
19355 PyObject * obj0 = 0 ;
19356 char *kwnames[] = {
19357 (char *) "self",(char *) "index", NULL
19358 };
19359
19360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19362 {
19363 PyThreadState* __tstate = wxPyBeginAllowThreads();
19364 result = (bool)(arg1)->IsSelected(arg2);
19365
19366 wxPyEndAllowThreads(__tstate);
19367 if (PyErr_Occurred()) SWIG_fail;
19368 }
19369 resultobj = PyInt_FromLong((long)result);
19370 return resultobj;
19371 fail:
19372 return NULL;
19373 }
19374
19375
19376 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19377 PyObject *resultobj;
19378 wxListView *arg1 = (wxListView *) 0 ;
19379 int arg2 ;
19380 int arg3 ;
19381 PyObject * obj0 = 0 ;
19382 char *kwnames[] = {
19383 (char *) "self",(char *) "col",(char *) "image", NULL
19384 };
19385
19386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19388 {
19389 PyThreadState* __tstate = wxPyBeginAllowThreads();
19390 (arg1)->SetColumnImage(arg2,arg3);
19391
19392 wxPyEndAllowThreads(__tstate);
19393 if (PyErr_Occurred()) SWIG_fail;
19394 }
19395 Py_INCREF(Py_None); resultobj = Py_None;
19396 return resultobj;
19397 fail:
19398 return NULL;
19399 }
19400
19401
19402 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19403 PyObject *resultobj;
19404 wxListView *arg1 = (wxListView *) 0 ;
19405 int arg2 ;
19406 PyObject * obj0 = 0 ;
19407 char *kwnames[] = {
19408 (char *) "self",(char *) "col", NULL
19409 };
19410
19411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 (arg1)->ClearColumnImage(arg2);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 Py_INCREF(Py_None); resultobj = Py_None;
19421 return resultobj;
19422 fail:
19423 return NULL;
19424 }
19425
19426
19427 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19428 PyObject *obj;
19429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19430 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19431 Py_INCREF(obj);
19432 return Py_BuildValue((char *)"");
19433 }
19434 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj;
19436 wxTreeItemId *result;
19437 char *kwnames[] = {
19438 NULL
19439 };
19440
19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19442 {
19443 PyThreadState* __tstate = wxPyBeginAllowThreads();
19444 result = (wxTreeItemId *)new wxTreeItemId();
19445
19446 wxPyEndAllowThreads(__tstate);
19447 if (PyErr_Occurred()) SWIG_fail;
19448 }
19449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19450 return resultobj;
19451 fail:
19452 return NULL;
19453 }
19454
19455
19456 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19457 PyObject *resultobj;
19458 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19459 PyObject * obj0 = 0 ;
19460 char *kwnames[] = {
19461 (char *) "self", NULL
19462 };
19463
19464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19466 {
19467 PyThreadState* __tstate = wxPyBeginAllowThreads();
19468 delete arg1;
19469
19470 wxPyEndAllowThreads(__tstate);
19471 if (PyErr_Occurred()) SWIG_fail;
19472 }
19473 Py_INCREF(Py_None); resultobj = Py_None;
19474 return resultobj;
19475 fail:
19476 return NULL;
19477 }
19478
19479
19480 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19481 PyObject *resultobj;
19482 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19483 bool result;
19484 PyObject * obj0 = 0 ;
19485 char *kwnames[] = {
19486 (char *) "self", NULL
19487 };
19488
19489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19491 {
19492 PyThreadState* __tstate = wxPyBeginAllowThreads();
19493 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19494
19495 wxPyEndAllowThreads(__tstate);
19496 if (PyErr_Occurred()) SWIG_fail;
19497 }
19498 resultobj = PyInt_FromLong((long)result);
19499 return resultobj;
19500 fail:
19501 return NULL;
19502 }
19503
19504
19505 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19506 PyObject *resultobj;
19507 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19508 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19509 bool result;
19510 PyObject * obj0 = 0 ;
19511 PyObject * obj1 = 0 ;
19512 char *kwnames[] = {
19513 (char *) "self",(char *) "other", NULL
19514 };
19515
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19518 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19519 {
19520 PyThreadState* __tstate = wxPyBeginAllowThreads();
19521 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19522
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 resultobj = PyInt_FromLong((long)result);
19527 return resultobj;
19528 fail:
19529 return NULL;
19530 }
19531
19532
19533 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19536 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19537 bool result;
19538 PyObject * obj0 = 0 ;
19539 PyObject * obj1 = 0 ;
19540 char *kwnames[] = {
19541 (char *) "self",(char *) "other", NULL
19542 };
19543
19544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19547 {
19548 PyThreadState* __tstate = wxPyBeginAllowThreads();
19549 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19550
19551 wxPyEndAllowThreads(__tstate);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 resultobj = PyInt_FromLong((long)result);
19555 return resultobj;
19556 fail:
19557 return NULL;
19558 }
19559
19560
19561 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19562 PyObject *resultobj;
19563 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19564 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19565 PyObject * obj0 = 0 ;
19566 PyObject * obj1 = 0 ;
19567 char *kwnames[] = {
19568 (char *) "self",(char *) "m_pItem", NULL
19569 };
19570
19571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19573 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19574 if (arg1) (arg1)->m_pItem = arg2;
19575
19576 Py_INCREF(Py_None); resultobj = Py_None;
19577 return resultobj;
19578 fail:
19579 return NULL;
19580 }
19581
19582
19583 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19584 PyObject *resultobj;
19585 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19586 wxTreeItemIdValue result;
19587 PyObject * obj0 = 0 ;
19588 char *kwnames[] = {
19589 (char *) "self", NULL
19590 };
19591
19592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19594 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19595
19596 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19604 PyObject *obj;
19605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19606 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19607 Py_INCREF(obj);
19608 return Py_BuildValue((char *)"");
19609 }
19610 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19611 PyObject *resultobj;
19612 PyObject *arg1 = (PyObject *) NULL ;
19613 wxPyTreeItemData *result;
19614 PyObject * obj0 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "obj", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19620 if (obj0) {
19621 arg1 = obj0;
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19631 return resultobj;
19632 fail:
19633 return NULL;
19634 }
19635
19636
19637 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19638 PyObject *resultobj;
19639 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19640 PyObject *result;
19641 PyObject * obj0 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19648 {
19649 PyThreadState* __tstate = wxPyBeginAllowThreads();
19650 result = (PyObject *)(arg1)->GetData();
19651
19652 wxPyEndAllowThreads(__tstate);
19653 if (PyErr_Occurred()) SWIG_fail;
19654 }
19655 resultobj = result;
19656 return resultobj;
19657 fail:
19658 return NULL;
19659 }
19660
19661
19662 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19663 PyObject *resultobj;
19664 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19665 PyObject *arg2 = (PyObject *) 0 ;
19666 PyObject * obj0 = 0 ;
19667 PyObject * obj1 = 0 ;
19668 char *kwnames[] = {
19669 (char *) "self",(char *) "obj", NULL
19670 };
19671
19672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19674 arg2 = obj1;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->SetData(arg2);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 Py_INCREF(Py_None); resultobj = Py_None;
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19692 wxTreeItemId *result;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 {
19703 wxTreeItemId const &_result_ref = (arg1)->GetId();
19704 result = (wxTreeItemId *) &_result_ref;
19705 }
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19711 return resultobj;
19712 fail:
19713 return NULL;
19714 }
19715
19716
19717 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19720 wxTreeItemId *arg2 = 0 ;
19721 PyObject * obj0 = 0 ;
19722 PyObject * obj1 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self",(char *) "id", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19730 if (arg2 == NULL) {
19731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19732 }
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 (arg1)->SetId((wxTreeItemId const &)*arg2);
19736
19737 wxPyEndAllowThreads(__tstate);
19738 if (PyErr_Occurred()) SWIG_fail;
19739 }
19740 Py_INCREF(Py_None); resultobj = Py_None;
19741 return resultobj;
19742 fail:
19743 return NULL;
19744 }
19745
19746
19747 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19748 PyObject *resultobj;
19749 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19750 PyObject * obj0 = 0 ;
19751 char *kwnames[] = {
19752 (char *) "self", NULL
19753 };
19754
19755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
19756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 wxPyTreeItemData_Destroy(arg1);
19760
19761 wxPyEndAllowThreads(__tstate);
19762 if (PyErr_Occurred()) SWIG_fail;
19763 }
19764 Py_INCREF(Py_None); resultobj = Py_None;
19765 return resultobj;
19766 fail:
19767 return NULL;
19768 }
19769
19770
19771 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
19772 PyObject *obj;
19773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19774 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
19775 Py_INCREF(obj);
19776 return Py_BuildValue((char *)"");
19777 }
19778 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19781 int arg2 = (int) 0 ;
19782 wxTreeEvent *result;
19783 char *kwnames[] = {
19784 (char *) "commandType",(char *) "id", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19805 wxTreeItemId result;
19806 PyObject * obj0 = 0 ;
19807 char *kwnames[] = {
19808 (char *) "self", NULL
19809 };
19810
19811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
19812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = ((wxTreeEvent const *)arg1)->GetItem();
19816
19817 wxPyEndAllowThreads(__tstate);
19818 if (PyErr_Occurred()) SWIG_fail;
19819 }
19820 {
19821 wxTreeItemId * resultptr;
19822 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19824 }
19825 return resultobj;
19826 fail:
19827 return NULL;
19828 }
19829
19830
19831 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19832 PyObject *resultobj;
19833 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19834 wxTreeItemId *arg2 = 0 ;
19835 PyObject * obj0 = 0 ;
19836 PyObject * obj1 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self",(char *) "item", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
19842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19844 if (arg2 == NULL) {
19845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19846 }
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 (arg1)->SetItem((wxTreeItemId const &)*arg2);
19850
19851 wxPyEndAllowThreads(__tstate);
19852 if (PyErr_Occurred()) SWIG_fail;
19853 }
19854 Py_INCREF(Py_None); resultobj = Py_None;
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19864 wxTreeItemId result;
19865 PyObject * obj0 = 0 ;
19866 char *kwnames[] = {
19867 (char *) "self", NULL
19868 };
19869
19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
19871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 result = ((wxTreeEvent const *)arg1)->GetOldItem();
19875
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 {
19880 wxTreeItemId * resultptr;
19881 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19883 }
19884 return resultobj;
19885 fail:
19886 return NULL;
19887 }
19888
19889
19890 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19891 PyObject *resultobj;
19892 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19893 wxTreeItemId *arg2 = 0 ;
19894 PyObject * obj0 = 0 ;
19895 PyObject * obj1 = 0 ;
19896 char *kwnames[] = {
19897 (char *) "self",(char *) "item", NULL
19898 };
19899
19900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
19901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19903 if (arg2 == NULL) {
19904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19905 }
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 Py_INCREF(Py_None); resultobj = Py_None;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19923 wxPoint result;
19924 PyObject * obj0 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19931 {
19932 PyThreadState* __tstate = wxPyBeginAllowThreads();
19933 result = ((wxTreeEvent const *)arg1)->GetPoint();
19934
19935 wxPyEndAllowThreads(__tstate);
19936 if (PyErr_Occurred()) SWIG_fail;
19937 }
19938 {
19939 wxPoint * resultptr;
19940 resultptr = new wxPoint((wxPoint &) result);
19941 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19942 }
19943 return resultobj;
19944 fail:
19945 return NULL;
19946 }
19947
19948
19949 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19950 PyObject *resultobj;
19951 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19952 wxPoint *arg2 = 0 ;
19953 wxPoint temp2 ;
19954 PyObject * obj0 = 0 ;
19955 PyObject * obj1 = 0 ;
19956 char *kwnames[] = {
19957 (char *) "self",(char *) "pt", NULL
19958 };
19959
19960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
19961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19962 {
19963 arg2 = &temp2;
19964 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19965 }
19966 {
19967 PyThreadState* __tstate = wxPyBeginAllowThreads();
19968 (arg1)->SetPoint((wxPoint const &)*arg2);
19969
19970 wxPyEndAllowThreads(__tstate);
19971 if (PyErr_Occurred()) SWIG_fail;
19972 }
19973 Py_INCREF(Py_None); resultobj = Py_None;
19974 return resultobj;
19975 fail:
19976 return NULL;
19977 }
19978
19979
19980 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19983 wxKeyEvent *result;
19984 PyObject * obj0 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
19990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 {
19994 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
19995 result = (wxKeyEvent *) &_result_ref;
19996 }
19997
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
20001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20002 return resultobj;
20003 fail:
20004 return NULL;
20005 }
20006
20007
20008 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20009 PyObject *resultobj;
20010 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20011 int result;
20012 PyObject * obj0 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 resultobj = PyInt_FromLong((long)result);
20027 return resultobj;
20028 fail:
20029 return NULL;
20030 }
20031
20032
20033 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20036 wxKeyEvent *arg2 = 0 ;
20037 PyObject * obj0 = 0 ;
20038 PyObject * obj1 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self",(char *) "evt", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20046 if (arg2 == NULL) {
20047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20048 }
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 Py_INCREF(Py_None); resultobj = Py_None;
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20066 wxString *result;
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 {
20077 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20078 result = (wxString *) &_result_ref;
20079 }
20080
20081 wxPyEndAllowThreads(__tstate);
20082 if (PyErr_Occurred()) SWIG_fail;
20083 }
20084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
20085 return resultobj;
20086 fail:
20087 return NULL;
20088 }
20089
20090
20091 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20092 PyObject *resultobj;
20093 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20094 wxString *arg2 = 0 ;
20095 bool temp2 = false ;
20096 PyObject * obj0 = 0 ;
20097 PyObject * obj1 = 0 ;
20098 char *kwnames[] = {
20099 (char *) "self",(char *) "label", NULL
20100 };
20101
20102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20104 {
20105 arg2 = wxString_in_helper(obj1);
20106 if (arg2 == NULL) SWIG_fail;
20107 temp2 = true;
20108 }
20109 {
20110 PyThreadState* __tstate = wxPyBeginAllowThreads();
20111 (arg1)->SetLabel((wxString const &)*arg2);
20112
20113 wxPyEndAllowThreads(__tstate);
20114 if (PyErr_Occurred()) SWIG_fail;
20115 }
20116 Py_INCREF(Py_None); resultobj = Py_None;
20117 {
20118 if (temp2)
20119 delete arg2;
20120 }
20121 return resultobj;
20122 fail:
20123 {
20124 if (temp2)
20125 delete arg2;
20126 }
20127 return NULL;
20128 }
20129
20130
20131 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20134 bool result;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 resultobj = PyInt_FromLong((long)result);
20150 return resultobj;
20151 fail:
20152 return NULL;
20153 }
20154
20155
20156 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj;
20158 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20159 bool arg2 ;
20160 PyObject * obj0 = 0 ;
20161 PyObject * obj1 = 0 ;
20162 char *kwnames[] = {
20163 (char *) "self",(char *) "editCancelled", NULL
20164 };
20165
20166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20168 arg2 = PyInt_AsLong(obj1) ? true : false;
20169 if (PyErr_Occurred()) SWIG_fail;
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 (arg1)->SetEditCanceled(arg2);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 Py_INCREF(Py_None); resultobj = Py_None;
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20185 PyObject *obj;
20186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20187 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20188 Py_INCREF(obj);
20189 return Py_BuildValue((char *)"");
20190 }
20191 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20192 PyObject *resultobj;
20193 wxWindow *arg1 = (wxWindow *) 0 ;
20194 wxWindowID arg2 = (wxWindowID) -1 ;
20195 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20196 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20197 wxSize const &arg4_defvalue = wxDefaultSize ;
20198 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20199 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20200 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20201 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20202 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20203 wxString *arg7 = (wxString *) &arg7_defvalue ;
20204 wxPyTreeCtrl *result;
20205 wxPoint temp3 ;
20206 wxSize temp4 ;
20207 bool temp7 = false ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj2 = 0 ;
20210 PyObject * obj3 = 0 ;
20211 PyObject * obj5 = 0 ;
20212 PyObject * obj6 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20219 if (obj2) {
20220 {
20221 arg3 = &temp3;
20222 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20223 }
20224 }
20225 if (obj3) {
20226 {
20227 arg4 = &temp4;
20228 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20229 }
20230 }
20231 if (obj5) {
20232 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20233 if (arg6 == NULL) {
20234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20235 }
20236 }
20237 if (obj6) {
20238 {
20239 arg7 = wxString_in_helper(obj6);
20240 if (arg7 == NULL) SWIG_fail;
20241 temp7 = true;
20242 }
20243 }
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20252 {
20253 if (temp7)
20254 delete arg7;
20255 }
20256 return resultobj;
20257 fail:
20258 {
20259 if (temp7)
20260 delete arg7;
20261 }
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxPyTreeCtrl *result;
20269 char *kwnames[] = {
20270 NULL
20271 };
20272
20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20291 wxWindow *arg2 = (wxWindow *) 0 ;
20292 wxWindowID arg3 = (wxWindowID) -1 ;
20293 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20294 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20295 wxSize const &arg5_defvalue = wxDefaultSize ;
20296 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20297 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20298 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20299 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20300 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20301 wxString *arg8 = (wxString *) &arg8_defvalue ;
20302 bool result;
20303 wxPoint temp4 ;
20304 wxSize temp5 ;
20305 bool temp8 = false ;
20306 PyObject * obj0 = 0 ;
20307 PyObject * obj1 = 0 ;
20308 PyObject * obj3 = 0 ;
20309 PyObject * obj4 = 0 ;
20310 PyObject * obj6 = 0 ;
20311 PyObject * obj7 = 0 ;
20312 char *kwnames[] = {
20313 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20314 };
20315
20316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20319 if (obj3) {
20320 {
20321 arg4 = &temp4;
20322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20323 }
20324 }
20325 if (obj4) {
20326 {
20327 arg5 = &temp5;
20328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20329 }
20330 }
20331 if (obj6) {
20332 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20333 if (arg7 == NULL) {
20334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20335 }
20336 }
20337 if (obj7) {
20338 {
20339 arg8 = wxString_in_helper(obj7);
20340 if (arg8 == NULL) SWIG_fail;
20341 temp8 = true;
20342 }
20343 }
20344 {
20345 PyThreadState* __tstate = wxPyBeginAllowThreads();
20346 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20347
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 resultobj = PyInt_FromLong((long)result);
20352 {
20353 if (temp8)
20354 delete arg8;
20355 }
20356 return resultobj;
20357 fail:
20358 {
20359 if (temp8)
20360 delete arg8;
20361 }
20362 return NULL;
20363 }
20364
20365
20366 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20369 PyObject *arg2 = (PyObject *) 0 ;
20370 PyObject *arg3 = (PyObject *) 0 ;
20371 PyObject * obj0 = 0 ;
20372 PyObject * obj1 = 0 ;
20373 PyObject * obj2 = 0 ;
20374 char *kwnames[] = {
20375 (char *) "self",(char *) "self",(char *) "_class", NULL
20376 };
20377
20378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20380 arg2 = obj1;
20381 arg3 = obj2;
20382 {
20383 PyThreadState* __tstate = wxPyBeginAllowThreads();
20384 (arg1)->_setCallbackInfo(arg2,arg3);
20385
20386 wxPyEndAllowThreads(__tstate);
20387 if (PyErr_Occurred()) SWIG_fail;
20388 }
20389 Py_INCREF(Py_None); resultobj = Py_None;
20390 return resultobj;
20391 fail:
20392 return NULL;
20393 }
20394
20395
20396 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20397 PyObject *resultobj;
20398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20399 size_t result;
20400 PyObject * obj0 = 0 ;
20401 char *kwnames[] = {
20402 (char *) "self", NULL
20403 };
20404
20405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20410
20411 wxPyEndAllowThreads(__tstate);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
20414 resultobj = PyInt_FromLong((long)result);
20415 return resultobj;
20416 fail:
20417 return NULL;
20418 }
20419
20420
20421 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20422 PyObject *resultobj;
20423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20424 unsigned int result;
20425 PyObject * obj0 = 0 ;
20426 char *kwnames[] = {
20427 (char *) "self", NULL
20428 };
20429
20430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20432 {
20433 PyThreadState* __tstate = wxPyBeginAllowThreads();
20434 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20435
20436 wxPyEndAllowThreads(__tstate);
20437 if (PyErr_Occurred()) SWIG_fail;
20438 }
20439 resultobj = PyInt_FromLong((long)result);
20440 return resultobj;
20441 fail:
20442 return NULL;
20443 }
20444
20445
20446 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20447 PyObject *resultobj;
20448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20449 unsigned int arg2 ;
20450 PyObject * obj0 = 0 ;
20451 PyObject * obj1 = 0 ;
20452 char *kwnames[] = {
20453 (char *) "self",(char *) "indent", NULL
20454 };
20455
20456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20458 arg2 = (unsigned int) PyInt_AsLong(obj1);
20459 if (PyErr_Occurred()) SWIG_fail;
20460 {
20461 PyThreadState* __tstate = wxPyBeginAllowThreads();
20462 (arg1)->SetIndent(arg2);
20463
20464 wxPyEndAllowThreads(__tstate);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 }
20467 Py_INCREF(Py_None); resultobj = Py_None;
20468 return resultobj;
20469 fail:
20470 return NULL;
20471 }
20472
20473
20474 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20475 PyObject *resultobj;
20476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20477 unsigned int result;
20478 PyObject * obj0 = 0 ;
20479 char *kwnames[] = {
20480 (char *) "self", NULL
20481 };
20482
20483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20485 {
20486 PyThreadState* __tstate = wxPyBeginAllowThreads();
20487 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20488
20489 wxPyEndAllowThreads(__tstate);
20490 if (PyErr_Occurred()) SWIG_fail;
20491 }
20492 resultobj = PyInt_FromLong((long)result);
20493 return resultobj;
20494 fail:
20495 return NULL;
20496 }
20497
20498
20499 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20500 PyObject *resultobj;
20501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20502 unsigned int arg2 ;
20503 PyObject * obj0 = 0 ;
20504 PyObject * obj1 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self",(char *) "spacing", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20511 arg2 = (unsigned int) PyInt_AsLong(obj1);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 (arg1)->SetSpacing(arg2);
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 Py_INCREF(Py_None); resultobj = Py_None;
20521 return resultobj;
20522 fail:
20523 return NULL;
20524 }
20525
20526
20527 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20528 PyObject *resultobj;
20529 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20530 wxImageList *result;
20531 PyObject * obj0 = 0 ;
20532 char *kwnames[] = {
20533 (char *) "self", NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20538 {
20539 PyThreadState* __tstate = wxPyBeginAllowThreads();
20540 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20541
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 {
20546 resultobj = wxPyMake_wxObject(result);
20547 }
20548 return resultobj;
20549 fail:
20550 return NULL;
20551 }
20552
20553
20554 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20555 PyObject *resultobj;
20556 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20557 wxImageList *result;
20558 PyObject * obj0 = 0 ;
20559 char *kwnames[] = {
20560 (char *) "self", NULL
20561 };
20562
20563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20565 {
20566 PyThreadState* __tstate = wxPyBeginAllowThreads();
20567 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20568
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 {
20573 resultobj = wxPyMake_wxObject(result);
20574 }
20575 return resultobj;
20576 fail:
20577 return NULL;
20578 }
20579
20580
20581 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20582 PyObject *resultobj;
20583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20584 wxImageList *arg2 = (wxImageList *) 0 ;
20585 PyObject * obj0 = 0 ;
20586 PyObject * obj1 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "self",(char *) "imageList", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20594 {
20595 PyThreadState* __tstate = wxPyBeginAllowThreads();
20596 (arg1)->SetImageList(arg2);
20597
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 Py_INCREF(Py_None); resultobj = Py_None;
20602 return resultobj;
20603 fail:
20604 return NULL;
20605 }
20606
20607
20608 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj;
20610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20611 wxImageList *arg2 = (wxImageList *) 0 ;
20612 PyObject * obj0 = 0 ;
20613 PyObject * obj1 = 0 ;
20614 char *kwnames[] = {
20615 (char *) "self",(char *) "imageList", NULL
20616 };
20617
20618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->SetStateImageList(arg2);
20624
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 Py_INCREF(Py_None); resultobj = Py_None;
20629 return resultobj;
20630 fail:
20631 return NULL;
20632 }
20633
20634
20635 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20636 PyObject *resultobj;
20637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20638 wxImageList *arg2 = (wxImageList *) 0 ;
20639 PyObject * obj0 = 0 ;
20640 PyObject * obj1 = 0 ;
20641 char *kwnames[] = {
20642 (char *) "self",(char *) "imageList", NULL
20643 };
20644
20645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 (arg1)->AssignImageList(arg2);
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 Py_INCREF(Py_None); resultobj = Py_None;
20656 return resultobj;
20657 fail:
20658 return NULL;
20659 }
20660
20661
20662 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20663 PyObject *resultobj;
20664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20665 wxImageList *arg2 = (wxImageList *) 0 ;
20666 PyObject * obj0 = 0 ;
20667 PyObject * obj1 = 0 ;
20668 char *kwnames[] = {
20669 (char *) "self",(char *) "imageList", NULL
20670 };
20671
20672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 (arg1)->AssignStateImageList(arg2);
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 Py_INCREF(Py_None); resultobj = Py_None;
20683 return resultobj;
20684 fail:
20685 return NULL;
20686 }
20687
20688
20689 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20692 wxTreeItemId *arg2 = 0 ;
20693 wxString result;
20694 PyObject * obj0 = 0 ;
20695 PyObject * obj1 = 0 ;
20696 char *kwnames[] = {
20697 (char *) "self",(char *) "item", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20703 if (arg2 == NULL) {
20704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20705 }
20706 {
20707 PyThreadState* __tstate = wxPyBeginAllowThreads();
20708 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
20709
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
20713 {
20714 #if wxUSE_UNICODE
20715 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20716 #else
20717 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20718 #endif
20719 }
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20729 wxTreeItemId *arg2 = 0 ;
20730 int arg3 = (int) wxTreeItemIcon_Normal ;
20731 int result;
20732 PyObject * obj0 = 0 ;
20733 PyObject * obj1 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self",(char *) "item",(char *) "which", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20741 if (arg2 == NULL) {
20742 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20743 }
20744 {
20745 PyThreadState* __tstate = wxPyBeginAllowThreads();
20746 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
20747
20748 wxPyEndAllowThreads(__tstate);
20749 if (PyErr_Occurred()) SWIG_fail;
20750 }
20751 resultobj = PyInt_FromLong((long)result);
20752 return resultobj;
20753 fail:
20754 return NULL;
20755 }
20756
20757
20758 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20759 PyObject *resultobj;
20760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20761 wxTreeItemId *arg2 = 0 ;
20762 wxPyTreeItemData *result;
20763 PyObject * obj0 = 0 ;
20764 PyObject * obj1 = 0 ;
20765 char *kwnames[] = {
20766 (char *) "self",(char *) "item", NULL
20767 };
20768
20769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20771 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20772 if (arg2 == NULL) {
20773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20774 }
20775 {
20776 PyThreadState* __tstate = wxPyBeginAllowThreads();
20777 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
20778
20779 wxPyEndAllowThreads(__tstate);
20780 if (PyErr_Occurred()) SWIG_fail;
20781 }
20782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
20783 return resultobj;
20784 fail:
20785 return NULL;
20786 }
20787
20788
20789 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
20790 PyObject *resultobj;
20791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20792 wxTreeItemId *arg2 = 0 ;
20793 PyObject *result;
20794 PyObject * obj0 = 0 ;
20795 PyObject * obj1 = 0 ;
20796 char *kwnames[] = {
20797 (char *) "self",(char *) "item", NULL
20798 };
20799
20800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
20801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20803 if (arg2 == NULL) {
20804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20805 }
20806 {
20807 PyThreadState* __tstate = wxPyBeginAllowThreads();
20808 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
20809
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 resultobj = result;
20814 return resultobj;
20815 fail:
20816 return NULL;
20817 }
20818
20819
20820 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20821 PyObject *resultobj;
20822 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20823 wxTreeItemId *arg2 = 0 ;
20824 wxColour result;
20825 PyObject * obj0 = 0 ;
20826 PyObject * obj1 = 0 ;
20827 char *kwnames[] = {
20828 (char *) "self",(char *) "item", NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
20832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20834 if (arg2 == NULL) {
20835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20836 }
20837 {
20838 PyThreadState* __tstate = wxPyBeginAllowThreads();
20839 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
20840
20841 wxPyEndAllowThreads(__tstate);
20842 if (PyErr_Occurred()) SWIG_fail;
20843 }
20844 {
20845 wxColour * resultptr;
20846 resultptr = new wxColour((wxColour &) result);
20847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20848 }
20849 return resultobj;
20850 fail:
20851 return NULL;
20852 }
20853
20854
20855 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20856 PyObject *resultobj;
20857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20858 wxTreeItemId *arg2 = 0 ;
20859 wxColour result;
20860 PyObject * obj0 = 0 ;
20861 PyObject * obj1 = 0 ;
20862 char *kwnames[] = {
20863 (char *) "self",(char *) "item", NULL
20864 };
20865
20866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20869 if (arg2 == NULL) {
20870 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20871 }
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 {
20880 wxColour * resultptr;
20881 resultptr = new wxColour((wxColour &) result);
20882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20883 }
20884 return resultobj;
20885 fail:
20886 return NULL;
20887 }
20888
20889
20890 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj;
20892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20893 wxTreeItemId *arg2 = 0 ;
20894 wxFont result;
20895 PyObject * obj0 = 0 ;
20896 PyObject * obj1 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self",(char *) "item", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20904 if (arg2 == NULL) {
20905 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20906 }
20907 {
20908 PyThreadState* __tstate = wxPyBeginAllowThreads();
20909 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
20910
20911 wxPyEndAllowThreads(__tstate);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 }
20914 {
20915 wxFont * resultptr;
20916 resultptr = new wxFont((wxFont &) result);
20917 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
20918 }
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20928 wxTreeItemId *arg2 = 0 ;
20929 wxString *arg3 = 0 ;
20930 bool temp3 = false ;
20931 PyObject * obj0 = 0 ;
20932 PyObject * obj1 = 0 ;
20933 PyObject * obj2 = 0 ;
20934 char *kwnames[] = {
20935 (char *) "self",(char *) "item",(char *) "text", NULL
20936 };
20937
20938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20941 if (arg2 == NULL) {
20942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20943 }
20944 {
20945 arg3 = wxString_in_helper(obj2);
20946 if (arg3 == NULL) SWIG_fail;
20947 temp3 = true;
20948 }
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
20952
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
20956 Py_INCREF(Py_None); resultobj = Py_None;
20957 {
20958 if (temp3)
20959 delete arg3;
20960 }
20961 return resultobj;
20962 fail:
20963 {
20964 if (temp3)
20965 delete arg3;
20966 }
20967 return NULL;
20968 }
20969
20970
20971 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20972 PyObject *resultobj;
20973 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20974 wxTreeItemId *arg2 = 0 ;
20975 int arg3 ;
20976 int arg4 = (int) wxTreeItemIcon_Normal ;
20977 PyObject * obj0 = 0 ;
20978 PyObject * obj1 = 0 ;
20979 char *kwnames[] = {
20980 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
20981 };
20982
20983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
20984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20985 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20986 if (arg2 == NULL) {
20987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20988 }
20989 {
20990 PyThreadState* __tstate = wxPyBeginAllowThreads();
20991 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
20992
20993 wxPyEndAllowThreads(__tstate);
20994 if (PyErr_Occurred()) SWIG_fail;
20995 }
20996 Py_INCREF(Py_None); resultobj = Py_None;
20997 return resultobj;
20998 fail:
20999 return NULL;
21000 }
21001
21002
21003 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21004 PyObject *resultobj;
21005 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21006 wxTreeItemId *arg2 = 0 ;
21007 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21008 PyObject * obj0 = 0 ;
21009 PyObject * obj1 = 0 ;
21010 PyObject * obj2 = 0 ;
21011 char *kwnames[] = {
21012 (char *) "self",(char *) "item",(char *) "data", NULL
21013 };
21014
21015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21017 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21018 if (arg2 == NULL) {
21019 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21020 }
21021 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 Py_INCREF(Py_None); resultobj = Py_None;
21030 return resultobj;
21031 fail:
21032 return NULL;
21033 }
21034
21035
21036 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21037 PyObject *resultobj;
21038 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21039 wxTreeItemId *arg2 = 0 ;
21040 PyObject *arg3 = (PyObject *) 0 ;
21041 PyObject * obj0 = 0 ;
21042 PyObject * obj1 = 0 ;
21043 PyObject * obj2 = 0 ;
21044 char *kwnames[] = {
21045 (char *) "self",(char *) "item",(char *) "obj", NULL
21046 };
21047
21048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21051 if (arg2 == NULL) {
21052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21053 }
21054 arg3 = obj2;
21055 {
21056 PyThreadState* __tstate = wxPyBeginAllowThreads();
21057 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21058
21059 wxPyEndAllowThreads(__tstate);
21060 if (PyErr_Occurred()) SWIG_fail;
21061 }
21062 Py_INCREF(Py_None); resultobj = Py_None;
21063 return resultobj;
21064 fail:
21065 return NULL;
21066 }
21067
21068
21069 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21070 PyObject *resultobj;
21071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21072 wxTreeItemId *arg2 = 0 ;
21073 bool arg3 = (bool) TRUE ;
21074 PyObject * obj0 = 0 ;
21075 PyObject * obj1 = 0 ;
21076 PyObject * obj2 = 0 ;
21077 char *kwnames[] = {
21078 (char *) "self",(char *) "item",(char *) "has", NULL
21079 };
21080
21081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21084 if (arg2 == NULL) {
21085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21086 }
21087 if (obj2) {
21088 arg3 = PyInt_AsLong(obj2) ? true : false;
21089 if (PyErr_Occurred()) SWIG_fail;
21090 }
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
21098 Py_INCREF(Py_None); resultobj = Py_None;
21099 return resultobj;
21100 fail:
21101 return NULL;
21102 }
21103
21104
21105 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21106 PyObject *resultobj;
21107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21108 wxTreeItemId *arg2 = 0 ;
21109 bool arg3 = (bool) TRUE ;
21110 PyObject * obj0 = 0 ;
21111 PyObject * obj1 = 0 ;
21112 PyObject * obj2 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self",(char *) "item",(char *) "bold", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21120 if (arg2 == NULL) {
21121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21122 }
21123 if (obj2) {
21124 arg3 = PyInt_AsLong(obj2) ? true : false;
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 {
21128 PyThreadState* __tstate = wxPyBeginAllowThreads();
21129 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21130
21131 wxPyEndAllowThreads(__tstate);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 Py_INCREF(Py_None); resultobj = Py_None;
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj;
21143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21144 wxTreeItemId *arg2 = 0 ;
21145 wxColour *arg3 = 0 ;
21146 wxColour temp3 ;
21147 PyObject * obj0 = 0 ;
21148 PyObject * obj1 = 0 ;
21149 PyObject * obj2 = 0 ;
21150 char *kwnames[] = {
21151 (char *) "self",(char *) "item",(char *) "col", NULL
21152 };
21153
21154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21157 if (arg2 == NULL) {
21158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21159 }
21160 {
21161 arg3 = &temp3;
21162 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21163 }
21164 {
21165 PyThreadState* __tstate = wxPyBeginAllowThreads();
21166 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21167
21168 wxPyEndAllowThreads(__tstate);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 }
21171 Py_INCREF(Py_None); resultobj = Py_None;
21172 return resultobj;
21173 fail:
21174 return NULL;
21175 }
21176
21177
21178 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21181 wxTreeItemId *arg2 = 0 ;
21182 wxColour *arg3 = 0 ;
21183 wxColour temp3 ;
21184 PyObject * obj0 = 0 ;
21185 PyObject * obj1 = 0 ;
21186 PyObject * obj2 = 0 ;
21187 char *kwnames[] = {
21188 (char *) "self",(char *) "item",(char *) "col", NULL
21189 };
21190
21191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21194 if (arg2 == NULL) {
21195 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21196 }
21197 {
21198 arg3 = &temp3;
21199 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21200 }
21201 {
21202 PyThreadState* __tstate = wxPyBeginAllowThreads();
21203 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21204
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 Py_INCREF(Py_None); resultobj = Py_None;
21209 return resultobj;
21210 fail:
21211 return NULL;
21212 }
21213
21214
21215 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21216 PyObject *resultobj;
21217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21218 wxTreeItemId *arg2 = 0 ;
21219 wxFont *arg3 = 0 ;
21220 PyObject * obj0 = 0 ;
21221 PyObject * obj1 = 0 ;
21222 PyObject * obj2 = 0 ;
21223 char *kwnames[] = {
21224 (char *) "self",(char *) "item",(char *) "font", NULL
21225 };
21226
21227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21230 if (arg2 == NULL) {
21231 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21232 }
21233 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21234 if (arg3 == NULL) {
21235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21236 }
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 Py_INCREF(Py_None); resultobj = Py_None;
21245 return resultobj;
21246 fail:
21247 return NULL;
21248 }
21249
21250
21251 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj;
21253 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21254 wxTreeItemId *arg2 = 0 ;
21255 bool result;
21256 PyObject * obj0 = 0 ;
21257 PyObject * obj1 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "item", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21265 if (arg2 == NULL) {
21266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21267 }
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 resultobj = PyInt_FromLong((long)result);
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21285 wxTreeItemId *arg2 = 0 ;
21286 bool result;
21287 PyObject * obj0 = 0 ;
21288 PyObject * obj1 = 0 ;
21289 char *kwnames[] = {
21290 (char *) "self",(char *) "item", NULL
21291 };
21292
21293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21296 if (arg2 == NULL) {
21297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21298 }
21299 {
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21302
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 resultobj = PyInt_FromLong((long)result);
21307 return resultobj;
21308 fail:
21309 return NULL;
21310 }
21311
21312
21313 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj;
21315 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21316 wxTreeItemId *arg2 = 0 ;
21317 bool result;
21318 PyObject * obj0 = 0 ;
21319 PyObject * obj1 = 0 ;
21320 char *kwnames[] = {
21321 (char *) "self",(char *) "item", NULL
21322 };
21323
21324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
21332 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21333
21334 wxPyEndAllowThreads(__tstate);
21335 if (PyErr_Occurred()) SWIG_fail;
21336 }
21337 resultobj = PyInt_FromLong((long)result);
21338 return resultobj;
21339 fail:
21340 return NULL;
21341 }
21342
21343
21344 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21345 PyObject *resultobj;
21346 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21347 wxTreeItemId *arg2 = 0 ;
21348 bool result;
21349 PyObject * obj0 = 0 ;
21350 PyObject * obj1 = 0 ;
21351 char *kwnames[] = {
21352 (char *) "self",(char *) "item", NULL
21353 };
21354
21355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21358 if (arg2 == NULL) {
21359 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21360 }
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21364
21365 wxPyEndAllowThreads(__tstate);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 }
21368 resultobj = PyInt_FromLong((long)result);
21369 return resultobj;
21370 fail:
21371 return NULL;
21372 }
21373
21374
21375 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21376 PyObject *resultobj;
21377 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21378 wxTreeItemId *arg2 = 0 ;
21379 bool result;
21380 PyObject * obj0 = 0 ;
21381 PyObject * obj1 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "self",(char *) "item", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21388 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21389 if (arg2 == NULL) {
21390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21391 }
21392 {
21393 PyThreadState* __tstate = wxPyBeginAllowThreads();
21394 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21395
21396 wxPyEndAllowThreads(__tstate);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 }
21399 resultobj = PyInt_FromLong((long)result);
21400 return resultobj;
21401 fail:
21402 return NULL;
21403 }
21404
21405
21406 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21407 PyObject *resultobj;
21408 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21409 wxTreeItemId *arg2 = 0 ;
21410 bool arg3 = (bool) TRUE ;
21411 size_t result;
21412 PyObject * obj0 = 0 ;
21413 PyObject * obj1 = 0 ;
21414 PyObject * obj2 = 0 ;
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "item",(char *) "recursively", NULL
21417 };
21418
21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21422 if (arg2 == NULL) {
21423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21424 }
21425 if (obj2) {
21426 arg3 = PyInt_AsLong(obj2) ? true : false;
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 resultobj = PyInt_FromLong((long)result);
21437 return resultobj;
21438 fail:
21439 return NULL;
21440 }
21441
21442
21443 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21444 PyObject *resultobj;
21445 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21446 wxTreeItemId result;
21447 PyObject * obj0 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 {
21462 wxTreeItemId * resultptr;
21463 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21464 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21465 }
21466 return resultobj;
21467 fail:
21468 return NULL;
21469 }
21470
21471
21472 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21473 PyObject *resultobj;
21474 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21475 wxTreeItemId result;
21476 PyObject * obj0 = 0 ;
21477 char *kwnames[] = {
21478 (char *) "self", NULL
21479 };
21480
21481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 {
21491 wxTreeItemId * resultptr;
21492 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21493 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21494 }
21495 return resultobj;
21496 fail:
21497 return NULL;
21498 }
21499
21500
21501 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21504 PyObject *result;
21505 PyObject * obj0 = 0 ;
21506 char *kwnames[] = {
21507 (char *) "self", NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 resultobj = result;
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21529 wxTreeItemId *arg2 = 0 ;
21530 wxTreeItemId result;
21531 PyObject * obj0 = 0 ;
21532 PyObject * obj1 = 0 ;
21533 char *kwnames[] = {
21534 (char *) "self",(char *) "item", NULL
21535 };
21536
21537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21540 if (arg2 == NULL) {
21541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21542 }
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 {
21551 wxTreeItemId * resultptr;
21552 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21553 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21554 }
21555 return resultobj;
21556 fail:
21557 return NULL;
21558 }
21559
21560
21561 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21564 wxTreeItemId *arg2 = 0 ;
21565 PyObject *result;
21566 PyObject * obj0 = 0 ;
21567 PyObject * obj1 = 0 ;
21568 char *kwnames[] = {
21569 (char *) "self",(char *) "item", NULL
21570 };
21571
21572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21575 if (arg2 == NULL) {
21576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21577 }
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 resultobj = result;
21586 return resultobj;
21587 fail:
21588 return NULL;
21589 }
21590
21591
21592 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21593 PyObject *resultobj;
21594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21595 wxTreeItemId *arg2 = 0 ;
21596 wxTreeItemIdValue *arg3 = 0 ;
21597 PyObject *result;
21598 PyObject * obj0 = 0 ;
21599 PyObject * obj1 = 0 ;
21600 PyObject * obj2 = 0 ;
21601 char *kwnames[] = {
21602 (char *) "self",(char *) "item",(char *) "cookie", NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21608 if (arg2 == NULL) {
21609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21610 }
21611 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21612 if (arg3 == NULL) {
21613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21614 }
21615 {
21616 PyThreadState* __tstate = wxPyBeginAllowThreads();
21617 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21618
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
21622 resultobj = result;
21623 return resultobj;
21624 fail:
21625 return NULL;
21626 }
21627
21628
21629 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21630 PyObject *resultobj;
21631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21632 wxTreeItemId *arg2 = 0 ;
21633 wxTreeItemId result;
21634 PyObject * obj0 = 0 ;
21635 PyObject * obj1 = 0 ;
21636 char *kwnames[] = {
21637 (char *) "self",(char *) "item", NULL
21638 };
21639
21640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21643 if (arg2 == NULL) {
21644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21645 }
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 {
21654 wxTreeItemId * resultptr;
21655 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21656 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21657 }
21658 return resultobj;
21659 fail:
21660 return NULL;
21661 }
21662
21663
21664 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21665 PyObject *resultobj;
21666 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21667 wxTreeItemId *arg2 = 0 ;
21668 wxTreeItemId result;
21669 PyObject * obj0 = 0 ;
21670 PyObject * obj1 = 0 ;
21671 char *kwnames[] = {
21672 (char *) "self",(char *) "item", NULL
21673 };
21674
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21677 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21678 if (arg2 == NULL) {
21679 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21680 }
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 {
21689 wxTreeItemId * resultptr;
21690 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21691 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21692 }
21693 return resultobj;
21694 fail:
21695 return NULL;
21696 }
21697
21698
21699 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21700 PyObject *resultobj;
21701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21702 wxTreeItemId *arg2 = 0 ;
21703 wxTreeItemId result;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 char *kwnames[] = {
21707 (char *) "self",(char *) "item", NULL
21708 };
21709
21710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
21711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21713 if (arg2 == NULL) {
21714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21715 }
21716 {
21717 PyThreadState* __tstate = wxPyBeginAllowThreads();
21718 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
21719
21720 wxPyEndAllowThreads(__tstate);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 }
21723 {
21724 wxTreeItemId * resultptr;
21725 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21726 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21727 }
21728 return resultobj;
21729 fail:
21730 return NULL;
21731 }
21732
21733
21734 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21735 PyObject *resultobj;
21736 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21737 wxTreeItemId result;
21738 PyObject * obj0 = 0 ;
21739 char *kwnames[] = {
21740 (char *) "self", NULL
21741 };
21742
21743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
21744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
21748
21749 wxPyEndAllowThreads(__tstate);
21750 if (PyErr_Occurred()) SWIG_fail;
21751 }
21752 {
21753 wxTreeItemId * resultptr;
21754 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21755 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21756 }
21757 return resultobj;
21758 fail:
21759 return NULL;
21760 }
21761
21762
21763 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21766 wxTreeItemId *arg2 = 0 ;
21767 wxTreeItemId result;
21768 PyObject * obj0 = 0 ;
21769 PyObject * obj1 = 0 ;
21770 char *kwnames[] = {
21771 (char *) "self",(char *) "item", NULL
21772 };
21773
21774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
21775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21777 if (arg2 == NULL) {
21778 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21779 }
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 {
21788 wxTreeItemId * resultptr;
21789 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21790 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21791 }
21792 return resultobj;
21793 fail:
21794 return NULL;
21795 }
21796
21797
21798 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21799 PyObject *resultobj;
21800 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21801 wxTreeItemId *arg2 = 0 ;
21802 wxTreeItemId result;
21803 PyObject * obj0 = 0 ;
21804 PyObject * obj1 = 0 ;
21805 char *kwnames[] = {
21806 (char *) "self",(char *) "item", NULL
21807 };
21808
21809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
21810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21812 if (arg2 == NULL) {
21813 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21814 }
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 {
21823 wxTreeItemId * resultptr;
21824 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21825 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21826 }
21827 return resultobj;
21828 fail:
21829 return NULL;
21830 }
21831
21832
21833 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
21834 PyObject *resultobj;
21835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21836 wxString *arg2 = 0 ;
21837 int arg3 = (int) -1 ;
21838 int arg4 = (int) -1 ;
21839 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
21840 wxTreeItemId result;
21841 bool temp2 = false ;
21842 PyObject * obj0 = 0 ;
21843 PyObject * obj1 = 0 ;
21844 PyObject * obj4 = 0 ;
21845 char *kwnames[] = {
21846 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21847 };
21848
21849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
21850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21851 {
21852 arg2 = wxString_in_helper(obj1);
21853 if (arg2 == NULL) SWIG_fail;
21854 temp2 = true;
21855 }
21856 if (obj4) {
21857 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21858 }
21859 {
21860 PyThreadState* __tstate = wxPyBeginAllowThreads();
21861 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
21862
21863 wxPyEndAllowThreads(__tstate);
21864 if (PyErr_Occurred()) SWIG_fail;
21865 }
21866 {
21867 wxTreeItemId * resultptr;
21868 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21869 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21870 }
21871 {
21872 if (temp2)
21873 delete arg2;
21874 }
21875 return resultobj;
21876 fail:
21877 {
21878 if (temp2)
21879 delete arg2;
21880 }
21881 return NULL;
21882 }
21883
21884
21885 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21886 PyObject *resultobj;
21887 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21888 wxTreeItemId *arg2 = 0 ;
21889 wxString *arg3 = 0 ;
21890 int arg4 = (int) -1 ;
21891 int arg5 = (int) -1 ;
21892 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
21893 wxTreeItemId result;
21894 bool temp3 = false ;
21895 PyObject * obj0 = 0 ;
21896 PyObject * obj1 = 0 ;
21897 PyObject * obj2 = 0 ;
21898 PyObject * obj5 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21906 if (arg2 == NULL) {
21907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21908 }
21909 {
21910 arg3 = wxString_in_helper(obj2);
21911 if (arg3 == NULL) SWIG_fail;
21912 temp3 = true;
21913 }
21914 if (obj5) {
21915 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21916 }
21917 {
21918 PyThreadState* __tstate = wxPyBeginAllowThreads();
21919 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
21920
21921 wxPyEndAllowThreads(__tstate);
21922 if (PyErr_Occurred()) SWIG_fail;
21923 }
21924 {
21925 wxTreeItemId * resultptr;
21926 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21927 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21928 }
21929 {
21930 if (temp3)
21931 delete arg3;
21932 }
21933 return resultobj;
21934 fail:
21935 {
21936 if (temp3)
21937 delete arg3;
21938 }
21939 return NULL;
21940 }
21941
21942
21943 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21944 PyObject *resultobj;
21945 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21946 wxTreeItemId *arg2 = 0 ;
21947 wxTreeItemId *arg3 = 0 ;
21948 wxString *arg4 = 0 ;
21949 int arg5 = (int) -1 ;
21950 int arg6 = (int) -1 ;
21951 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
21952 wxTreeItemId result;
21953 bool temp4 = false ;
21954 PyObject * obj0 = 0 ;
21955 PyObject * obj1 = 0 ;
21956 PyObject * obj2 = 0 ;
21957 PyObject * obj3 = 0 ;
21958 PyObject * obj6 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
21964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21966 if (arg2 == NULL) {
21967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21968 }
21969 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21970 if (arg3 == NULL) {
21971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21972 }
21973 {
21974 arg4 = wxString_in_helper(obj3);
21975 if (arg4 == NULL) SWIG_fail;
21976 temp4 = true;
21977 }
21978 if (obj6) {
21979 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21980 }
21981 {
21982 PyThreadState* __tstate = wxPyBeginAllowThreads();
21983 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
21984
21985 wxPyEndAllowThreads(__tstate);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 }
21988 {
21989 wxTreeItemId * resultptr;
21990 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21991 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21992 }
21993 {
21994 if (temp4)
21995 delete arg4;
21996 }
21997 return resultobj;
21998 fail:
21999 {
22000 if (temp4)
22001 delete arg4;
22002 }
22003 return NULL;
22004 }
22005
22006
22007 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22008 PyObject *resultobj;
22009 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22010 wxTreeItemId *arg2 = 0 ;
22011 size_t arg3 ;
22012 wxString *arg4 = 0 ;
22013 int arg5 = (int) -1 ;
22014 int arg6 = (int) -1 ;
22015 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22016 wxTreeItemId result;
22017 bool temp4 = false ;
22018 PyObject * obj0 = 0 ;
22019 PyObject * obj1 = 0 ;
22020 PyObject * obj2 = 0 ;
22021 PyObject * obj3 = 0 ;
22022 PyObject * obj6 = 0 ;
22023 char *kwnames[] = {
22024 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22025 };
22026
22027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) 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 arg3 = (size_t) PyInt_AsLong(obj2);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 {
22036 arg4 = wxString_in_helper(obj3);
22037 if (arg4 == NULL) SWIG_fail;
22038 temp4 = true;
22039 }
22040 if (obj6) {
22041 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22042 }
22043 {
22044 PyThreadState* __tstate = wxPyBeginAllowThreads();
22045 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22046
22047 wxPyEndAllowThreads(__tstate);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 }
22050 {
22051 wxTreeItemId * resultptr;
22052 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22053 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22054 }
22055 {
22056 if (temp4)
22057 delete arg4;
22058 }
22059 return resultobj;
22060 fail:
22061 {
22062 if (temp4)
22063 delete arg4;
22064 }
22065 return NULL;
22066 }
22067
22068
22069 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22070 PyObject *resultobj;
22071 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22072 wxTreeItemId *arg2 = 0 ;
22073 wxString *arg3 = 0 ;
22074 int arg4 = (int) -1 ;
22075 int arg5 = (int) -1 ;
22076 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22077 wxTreeItemId result;
22078 bool temp3 = false ;
22079 PyObject * obj0 = 0 ;
22080 PyObject * obj1 = 0 ;
22081 PyObject * obj2 = 0 ;
22082 PyObject * obj5 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22090 if (arg2 == NULL) {
22091 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22092 }
22093 {
22094 arg3 = wxString_in_helper(obj2);
22095 if (arg3 == NULL) SWIG_fail;
22096 temp3 = true;
22097 }
22098 if (obj5) {
22099 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22100 }
22101 {
22102 PyThreadState* __tstate = wxPyBeginAllowThreads();
22103 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22104
22105 wxPyEndAllowThreads(__tstate);
22106 if (PyErr_Occurred()) SWIG_fail;
22107 }
22108 {
22109 wxTreeItemId * resultptr;
22110 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22111 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22112 }
22113 {
22114 if (temp3)
22115 delete arg3;
22116 }
22117 return resultobj;
22118 fail:
22119 {
22120 if (temp3)
22121 delete arg3;
22122 }
22123 return NULL;
22124 }
22125
22126
22127 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22128 PyObject *resultobj;
22129 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22130 wxTreeItemId *arg2 = 0 ;
22131 PyObject * obj0 = 0 ;
22132 PyObject * obj1 = 0 ;
22133 char *kwnames[] = {
22134 (char *) "self",(char *) "item", NULL
22135 };
22136
22137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22140 if (arg2 == NULL) {
22141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22142 }
22143 {
22144 PyThreadState* __tstate = wxPyBeginAllowThreads();
22145 (arg1)->Delete((wxTreeItemId const &)*arg2);
22146
22147 wxPyEndAllowThreads(__tstate);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
22150 Py_INCREF(Py_None); resultobj = Py_None;
22151 return resultobj;
22152 fail:
22153 return NULL;
22154 }
22155
22156
22157 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22158 PyObject *resultobj;
22159 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22160 wxTreeItemId *arg2 = 0 ;
22161 PyObject * obj0 = 0 ;
22162 PyObject * obj1 = 0 ;
22163 char *kwnames[] = {
22164 (char *) "self",(char *) "item", NULL
22165 };
22166
22167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22170 if (arg2 == NULL) {
22171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22172 }
22173 {
22174 PyThreadState* __tstate = wxPyBeginAllowThreads();
22175 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22176
22177 wxPyEndAllowThreads(__tstate);
22178 if (PyErr_Occurred()) SWIG_fail;
22179 }
22180 Py_INCREF(Py_None); resultobj = Py_None;
22181 return resultobj;
22182 fail:
22183 return NULL;
22184 }
22185
22186
22187 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22188 PyObject *resultobj;
22189 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22190 PyObject * obj0 = 0 ;
22191 char *kwnames[] = {
22192 (char *) "self", NULL
22193 };
22194
22195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22197 {
22198 PyThreadState* __tstate = wxPyBeginAllowThreads();
22199 (arg1)->DeleteAllItems();
22200
22201 wxPyEndAllowThreads(__tstate);
22202 if (PyErr_Occurred()) SWIG_fail;
22203 }
22204 Py_INCREF(Py_None); resultobj = Py_None;
22205 return resultobj;
22206 fail:
22207 return NULL;
22208 }
22209
22210
22211 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22212 PyObject *resultobj;
22213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22214 wxTreeItemId *arg2 = 0 ;
22215 PyObject * obj0 = 0 ;
22216 PyObject * obj1 = 0 ;
22217 char *kwnames[] = {
22218 (char *) "self",(char *) "item", NULL
22219 };
22220
22221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22224 if (arg2 == NULL) {
22225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22226 }
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 (arg1)->Expand((wxTreeItemId const &)*arg2);
22230
22231 wxPyEndAllowThreads(__tstate);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 }
22234 Py_INCREF(Py_None); resultobj = Py_None;
22235 return resultobj;
22236 fail:
22237 return NULL;
22238 }
22239
22240
22241 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22242 PyObject *resultobj;
22243 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22244 wxTreeItemId *arg2 = 0 ;
22245 PyObject * obj0 = 0 ;
22246 PyObject * obj1 = 0 ;
22247 char *kwnames[] = {
22248 (char *) "self",(char *) "item", NULL
22249 };
22250
22251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22254 if (arg2 == NULL) {
22255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22256 }
22257 {
22258 PyThreadState* __tstate = wxPyBeginAllowThreads();
22259 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22260
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 Py_INCREF(Py_None); resultobj = Py_None;
22265 return resultobj;
22266 fail:
22267 return NULL;
22268 }
22269
22270
22271 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22272 PyObject *resultobj;
22273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22274 wxTreeItemId *arg2 = 0 ;
22275 PyObject * obj0 = 0 ;
22276 PyObject * obj1 = 0 ;
22277 char *kwnames[] = {
22278 (char *) "self",(char *) "item", NULL
22279 };
22280
22281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22284 if (arg2 == NULL) {
22285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22286 }
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22290
22291 wxPyEndAllowThreads(__tstate);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 Py_INCREF(Py_None); resultobj = Py_None;
22295 return resultobj;
22296 fail:
22297 return NULL;
22298 }
22299
22300
22301 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22302 PyObject *resultobj;
22303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22304 wxTreeItemId *arg2 = 0 ;
22305 PyObject * obj0 = 0 ;
22306 PyObject * obj1 = 0 ;
22307 char *kwnames[] = {
22308 (char *) "self",(char *) "item", NULL
22309 };
22310
22311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22314 if (arg2 == NULL) {
22315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22316 }
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22320
22321 wxPyEndAllowThreads(__tstate);
22322 if (PyErr_Occurred()) SWIG_fail;
22323 }
22324 Py_INCREF(Py_None); resultobj = Py_None;
22325 return resultobj;
22326 fail:
22327 return NULL;
22328 }
22329
22330
22331 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22332 PyObject *resultobj;
22333 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22334 PyObject * obj0 = 0 ;
22335 char *kwnames[] = {
22336 (char *) "self", NULL
22337 };
22338
22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22341 {
22342 PyThreadState* __tstate = wxPyBeginAllowThreads();
22343 (arg1)->Unselect();
22344
22345 wxPyEndAllowThreads(__tstate);
22346 if (PyErr_Occurred()) SWIG_fail;
22347 }
22348 Py_INCREF(Py_None); resultobj = Py_None;
22349 return resultobj;
22350 fail:
22351 return NULL;
22352 }
22353
22354
22355 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22356 PyObject *resultobj;
22357 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22358 PyObject * obj0 = 0 ;
22359 char *kwnames[] = {
22360 (char *) "self", NULL
22361 };
22362
22363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22365 {
22366 PyThreadState* __tstate = wxPyBeginAllowThreads();
22367 (arg1)->UnselectAll();
22368
22369 wxPyEndAllowThreads(__tstate);
22370 if (PyErr_Occurred()) SWIG_fail;
22371 }
22372 Py_INCREF(Py_None); resultobj = Py_None;
22373 return resultobj;
22374 fail:
22375 return NULL;
22376 }
22377
22378
22379 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22380 PyObject *resultobj;
22381 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22382 wxTreeItemId *arg2 = 0 ;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self",(char *) "item", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22392 if (arg2 == NULL) {
22393 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22394 }
22395 {
22396 PyThreadState* __tstate = wxPyBeginAllowThreads();
22397 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22398
22399 wxPyEndAllowThreads(__tstate);
22400 if (PyErr_Occurred()) SWIG_fail;
22401 }
22402 Py_INCREF(Py_None); resultobj = Py_None;
22403 return resultobj;
22404 fail:
22405 return NULL;
22406 }
22407
22408
22409 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22410 PyObject *resultobj;
22411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22412 wxTreeItemId *arg2 = 0 ;
22413 PyObject * obj0 = 0 ;
22414 PyObject * obj1 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self",(char *) "item", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22422 if (arg2 == NULL) {
22423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22424 }
22425 {
22426 PyThreadState* __tstate = wxPyBeginAllowThreads();
22427 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22428
22429 wxPyEndAllowThreads(__tstate);
22430 if (PyErr_Occurred()) SWIG_fail;
22431 }
22432 Py_INCREF(Py_None); resultobj = Py_None;
22433 return resultobj;
22434 fail:
22435 return NULL;
22436 }
22437
22438
22439 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22440 PyObject *resultobj;
22441 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22442 wxTreeItemId *arg2 = 0 ;
22443 PyObject * obj0 = 0 ;
22444 PyObject * obj1 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "item", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) 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 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 Py_INCREF(Py_None); resultobj = Py_None;
22463 return resultobj;
22464 fail:
22465 return NULL;
22466 }
22467
22468
22469 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22470 PyObject *resultobj;
22471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22472 wxTreeItemId *arg2 = 0 ;
22473 PyObject * obj0 = 0 ;
22474 PyObject * obj1 = 0 ;
22475 char *kwnames[] = {
22476 (char *) "self",(char *) "item", NULL
22477 };
22478
22479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22482 if (arg2 == NULL) {
22483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22484 }
22485 {
22486 PyThreadState* __tstate = wxPyBeginAllowThreads();
22487 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22488
22489 wxPyEndAllowThreads(__tstate);
22490 if (PyErr_Occurred()) SWIG_fail;
22491 }
22492 Py_INCREF(Py_None); resultobj = Py_None;
22493 return resultobj;
22494 fail:
22495 return NULL;
22496 }
22497
22498
22499 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22500 PyObject *resultobj;
22501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22502 wxTextCtrl *result;
22503 PyObject * obj0 = 0 ;
22504 char *kwnames[] = {
22505 (char *) "self", NULL
22506 };
22507
22508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22510 {
22511 PyThreadState* __tstate = wxPyBeginAllowThreads();
22512 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22513
22514 wxPyEndAllowThreads(__tstate);
22515 if (PyErr_Occurred()) SWIG_fail;
22516 }
22517 {
22518 resultobj = wxPyMake_wxObject(result);
22519 }
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22529 wxTreeItemId *arg2 = 0 ;
22530 PyObject * obj0 = 0 ;
22531 PyObject * obj1 = 0 ;
22532 char *kwnames[] = {
22533 (char *) "self",(char *) "item", NULL
22534 };
22535
22536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22539 if (arg2 == NULL) {
22540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22541 }
22542 {
22543 PyThreadState* __tstate = wxPyBeginAllowThreads();
22544 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22545
22546 wxPyEndAllowThreads(__tstate);
22547 if (PyErr_Occurred()) SWIG_fail;
22548 }
22549 Py_INCREF(Py_None); resultobj = Py_None;
22550 return resultobj;
22551 fail:
22552 return NULL;
22553 }
22554
22555
22556 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22557 PyObject *resultobj;
22558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22559 wxPoint *arg2 = 0 ;
22560 int *arg3 = 0 ;
22561 wxTreeItemId result;
22562 wxPoint temp2 ;
22563 int temp3 ;
22564 PyObject * obj0 = 0 ;
22565 PyObject * obj1 = 0 ;
22566 char *kwnames[] = {
22567 (char *) "self",(char *) "point", NULL
22568 };
22569
22570 arg3 = &temp3;
22571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22573 {
22574 arg2 = &temp2;
22575 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22576 }
22577 {
22578 PyThreadState* __tstate = wxPyBeginAllowThreads();
22579 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22580
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 {
22585 wxTreeItemId * resultptr;
22586 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22587 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22588 }
22589 {
22590 PyObject *o = PyInt_FromLong((long) (*arg3));
22591 resultobj = t_output_helper(resultobj,o);
22592 }
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22602 wxTreeItemId *arg2 = 0 ;
22603 bool arg3 = (bool) FALSE ;
22604 PyObject *result;
22605 PyObject * obj0 = 0 ;
22606 PyObject * obj1 = 0 ;
22607 PyObject * obj2 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22610 };
22611
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22615 if (arg2 == NULL) {
22616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22617 }
22618 if (obj2) {
22619 arg3 = PyInt_AsLong(obj2) ? true : false;
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22625
22626 wxPyEndAllowThreads(__tstate);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 resultobj = result;
22630 return resultobj;
22631 fail:
22632 return NULL;
22633 }
22634
22635
22636 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22637 PyObject *obj;
22638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22639 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22640 Py_INCREF(obj);
22641 return Py_BuildValue((char *)"");
22642 }
22643 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22644 PyObject *resultobj;
22645 wxWindow *arg1 = (wxWindow *) 0 ;
22646 wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
22647 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22648 wxString *arg3 = (wxString *) &arg3_defvalue ;
22649 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22650 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22651 wxSize const &arg5_defvalue = wxDefaultSize ;
22652 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22653 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22654 wxString const &arg7_defvalue = wxPyEmptyString ;
22655 wxString *arg7 = (wxString *) &arg7_defvalue ;
22656 int arg8 = (int) 0 ;
22657 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22658 wxString *arg9 = (wxString *) &arg9_defvalue ;
22659 wxGenericDirCtrl *result;
22660 bool temp3 = false ;
22661 wxPoint temp4 ;
22662 wxSize temp5 ;
22663 bool temp7 = false ;
22664 bool temp9 = false ;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj2 = 0 ;
22667 PyObject * obj3 = 0 ;
22668 PyObject * obj4 = 0 ;
22669 PyObject * obj6 = 0 ;
22670 PyObject * obj8 = 0 ;
22671 char *kwnames[] = {
22672 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22673 };
22674
22675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22677 if (obj2) {
22678 {
22679 arg3 = wxString_in_helper(obj2);
22680 if (arg3 == NULL) SWIG_fail;
22681 temp3 = true;
22682 }
22683 }
22684 if (obj3) {
22685 {
22686 arg4 = &temp4;
22687 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22688 }
22689 }
22690 if (obj4) {
22691 {
22692 arg5 = &temp5;
22693 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22694 }
22695 }
22696 if (obj6) {
22697 {
22698 arg7 = wxString_in_helper(obj6);
22699 if (arg7 == NULL) SWIG_fail;
22700 temp7 = true;
22701 }
22702 }
22703 if (obj8) {
22704 {
22705 arg9 = wxString_in_helper(obj8);
22706 if (arg9 == NULL) SWIG_fail;
22707 temp9 = true;
22708 }
22709 }
22710 {
22711 PyThreadState* __tstate = wxPyBeginAllowThreads();
22712 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
22713
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22718 {
22719 if (temp3)
22720 delete arg3;
22721 }
22722 {
22723 if (temp7)
22724 delete arg7;
22725 }
22726 {
22727 if (temp9)
22728 delete arg9;
22729 }
22730 return resultobj;
22731 fail:
22732 {
22733 if (temp3)
22734 delete arg3;
22735 }
22736 {
22737 if (temp7)
22738 delete arg7;
22739 }
22740 {
22741 if (temp9)
22742 delete arg9;
22743 }
22744 return NULL;
22745 }
22746
22747
22748 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22749 PyObject *resultobj;
22750 wxGenericDirCtrl *result;
22751 char *kwnames[] = {
22752 NULL
22753 };
22754
22755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
22756 {
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
22759
22760 wxPyEndAllowThreads(__tstate);
22761 if (PyErr_Occurred()) SWIG_fail;
22762 }
22763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22764 return resultobj;
22765 fail:
22766 return NULL;
22767 }
22768
22769
22770 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22771 PyObject *resultobj;
22772 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22773 wxWindow *arg2 = (wxWindow *) 0 ;
22774 wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
22775 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
22776 wxString *arg4 = (wxString *) &arg4_defvalue ;
22777 wxPoint const &arg5_defvalue = wxDefaultPosition ;
22778 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
22779 wxSize const &arg6_defvalue = wxDefaultSize ;
22780 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
22781 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22782 wxString const &arg8_defvalue = wxPyEmptyString ;
22783 wxString *arg8 = (wxString *) &arg8_defvalue ;
22784 int arg9 = (int) 0 ;
22785 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
22786 wxString *arg10 = (wxString *) &arg10_defvalue ;
22787 bool result;
22788 bool temp4 = false ;
22789 wxPoint temp5 ;
22790 wxSize temp6 ;
22791 bool temp8 = false ;
22792 bool temp10 = false ;
22793 PyObject * obj0 = 0 ;
22794 PyObject * obj1 = 0 ;
22795 PyObject * obj3 = 0 ;
22796 PyObject * obj4 = 0 ;
22797 PyObject * obj5 = 0 ;
22798 PyObject * obj7 = 0 ;
22799 PyObject * obj9 = 0 ;
22800 char *kwnames[] = {
22801 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22802 };
22803
22804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
22805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22807 if (obj3) {
22808 {
22809 arg4 = wxString_in_helper(obj3);
22810 if (arg4 == NULL) SWIG_fail;
22811 temp4 = true;
22812 }
22813 }
22814 if (obj4) {
22815 {
22816 arg5 = &temp5;
22817 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
22818 }
22819 }
22820 if (obj5) {
22821 {
22822 arg6 = &temp6;
22823 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
22824 }
22825 }
22826 if (obj7) {
22827 {
22828 arg8 = wxString_in_helper(obj7);
22829 if (arg8 == NULL) SWIG_fail;
22830 temp8 = true;
22831 }
22832 }
22833 if (obj9) {
22834 {
22835 arg10 = wxString_in_helper(obj9);
22836 if (arg10 == NULL) SWIG_fail;
22837 temp10 = true;
22838 }
22839 }
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 resultobj = PyInt_FromLong((long)result);
22848 {
22849 if (temp4)
22850 delete arg4;
22851 }
22852 {
22853 if (temp8)
22854 delete arg8;
22855 }
22856 {
22857 if (temp10)
22858 delete arg10;
22859 }
22860 return resultobj;
22861 fail:
22862 {
22863 if (temp4)
22864 delete arg4;
22865 }
22866 {
22867 if (temp8)
22868 delete arg8;
22869 }
22870 {
22871 if (temp10)
22872 delete arg10;
22873 }
22874 return NULL;
22875 }
22876
22877
22878 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22879 PyObject *resultobj;
22880 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22881 wxString *arg2 = 0 ;
22882 bool result;
22883 bool temp2 = false ;
22884 PyObject * obj0 = 0 ;
22885 PyObject * obj1 = 0 ;
22886 char *kwnames[] = {
22887 (char *) "self",(char *) "path", NULL
22888 };
22889
22890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
22891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22892 {
22893 arg2 = wxString_in_helper(obj1);
22894 if (arg2 == NULL) SWIG_fail;
22895 temp2 = true;
22896 }
22897 {
22898 PyThreadState* __tstate = wxPyBeginAllowThreads();
22899 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
22900
22901 wxPyEndAllowThreads(__tstate);
22902 if (PyErr_Occurred()) SWIG_fail;
22903 }
22904 resultobj = PyInt_FromLong((long)result);
22905 {
22906 if (temp2)
22907 delete arg2;
22908 }
22909 return resultobj;
22910 fail:
22911 {
22912 if (temp2)
22913 delete arg2;
22914 }
22915 return NULL;
22916 }
22917
22918
22919 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22920 PyObject *resultobj;
22921 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22922 wxString result;
22923 PyObject * obj0 = 0 ;
22924 char *kwnames[] = {
22925 (char *) "self", NULL
22926 };
22927
22928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
22929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 {
22938 #if wxUSE_UNICODE
22939 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22940 #else
22941 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22942 #endif
22943 }
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22951 PyObject *resultobj;
22952 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22953 wxString *arg2 = 0 ;
22954 bool temp2 = false ;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 char *kwnames[] = {
22958 (char *) "self",(char *) "path", NULL
22959 };
22960
22961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
22962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22963 {
22964 arg2 = wxString_in_helper(obj1);
22965 if (arg2 == NULL) SWIG_fail;
22966 temp2 = true;
22967 }
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 (arg1)->SetDefaultPath((wxString const &)*arg2);
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 Py_INCREF(Py_None); resultobj = Py_None;
22976 {
22977 if (temp2)
22978 delete arg2;
22979 }
22980 return resultobj;
22981 fail:
22982 {
22983 if (temp2)
22984 delete arg2;
22985 }
22986 return NULL;
22987 }
22988
22989
22990 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22991 PyObject *resultobj;
22992 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22993 wxString result;
22994 PyObject * obj0 = 0 ;
22995 char *kwnames[] = {
22996 (char *) "self", NULL
22997 };
22998
22999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23001 {
23002 PyThreadState* __tstate = wxPyBeginAllowThreads();
23003 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23004
23005 wxPyEndAllowThreads(__tstate);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 }
23008 {
23009 #if wxUSE_UNICODE
23010 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23011 #else
23012 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23013 #endif
23014 }
23015 return resultobj;
23016 fail:
23017 return NULL;
23018 }
23019
23020
23021 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23022 PyObject *resultobj;
23023 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23024 wxString result;
23025 PyObject * obj0 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23035
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 {
23040 #if wxUSE_UNICODE
23041 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23042 #else
23043 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23044 #endif
23045 }
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23055 wxString *arg2 = 0 ;
23056 bool temp2 = false ;
23057 PyObject * obj0 = 0 ;
23058 PyObject * obj1 = 0 ;
23059 char *kwnames[] = {
23060 (char *) "self",(char *) "path", NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23065 {
23066 arg2 = wxString_in_helper(obj1);
23067 if (arg2 == NULL) SWIG_fail;
23068 temp2 = true;
23069 }
23070 {
23071 PyThreadState* __tstate = wxPyBeginAllowThreads();
23072 (arg1)->SetPath((wxString const &)*arg2);
23073
23074 wxPyEndAllowThreads(__tstate);
23075 if (PyErr_Occurred()) SWIG_fail;
23076 }
23077 Py_INCREF(Py_None); resultobj = Py_None;
23078 {
23079 if (temp2)
23080 delete arg2;
23081 }
23082 return resultobj;
23083 fail:
23084 {
23085 if (temp2)
23086 delete arg2;
23087 }
23088 return NULL;
23089 }
23090
23091
23092 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23093 PyObject *resultobj;
23094 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23095 bool arg2 ;
23096 PyObject * obj0 = 0 ;
23097 PyObject * obj1 = 0 ;
23098 char *kwnames[] = {
23099 (char *) "self",(char *) "show", NULL
23100 };
23101
23102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23104 arg2 = PyInt_AsLong(obj1) ? true : false;
23105 if (PyErr_Occurred()) SWIG_fail;
23106 {
23107 PyThreadState* __tstate = wxPyBeginAllowThreads();
23108 (arg1)->ShowHidden(arg2);
23109
23110 wxPyEndAllowThreads(__tstate);
23111 if (PyErr_Occurred()) SWIG_fail;
23112 }
23113 Py_INCREF(Py_None); resultobj = Py_None;
23114 return resultobj;
23115 fail:
23116 return NULL;
23117 }
23118
23119
23120 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23121 PyObject *resultobj;
23122 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23123 bool result;
23124 PyObject * obj0 = 0 ;
23125 char *kwnames[] = {
23126 (char *) "self", NULL
23127 };
23128
23129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 result = (bool)(arg1)->GetShowHidden();
23134
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 resultobj = PyInt_FromLong((long)result);
23139 return resultobj;
23140 fail:
23141 return NULL;
23142 }
23143
23144
23145 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23146 PyObject *resultobj;
23147 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23148 wxString result;
23149 PyObject * obj0 = 0 ;
23150 char *kwnames[] = {
23151 (char *) "self", NULL
23152 };
23153
23154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23156 {
23157 PyThreadState* __tstate = wxPyBeginAllowThreads();
23158 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23159
23160 wxPyEndAllowThreads(__tstate);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 }
23163 {
23164 #if wxUSE_UNICODE
23165 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23166 #else
23167 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23168 #endif
23169 }
23170 return resultobj;
23171 fail:
23172 return NULL;
23173 }
23174
23175
23176 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23177 PyObject *resultobj;
23178 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23179 wxString *arg2 = 0 ;
23180 bool temp2 = false ;
23181 PyObject * obj0 = 0 ;
23182 PyObject * obj1 = 0 ;
23183 char *kwnames[] = {
23184 (char *) "self",(char *) "filter", NULL
23185 };
23186
23187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23189 {
23190 arg2 = wxString_in_helper(obj1);
23191 if (arg2 == NULL) SWIG_fail;
23192 temp2 = true;
23193 }
23194 {
23195 PyThreadState* __tstate = wxPyBeginAllowThreads();
23196 (arg1)->SetFilter((wxString const &)*arg2);
23197
23198 wxPyEndAllowThreads(__tstate);
23199 if (PyErr_Occurred()) SWIG_fail;
23200 }
23201 Py_INCREF(Py_None); resultobj = Py_None;
23202 {
23203 if (temp2)
23204 delete arg2;
23205 }
23206 return resultobj;
23207 fail:
23208 {
23209 if (temp2)
23210 delete arg2;
23211 }
23212 return NULL;
23213 }
23214
23215
23216 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23217 PyObject *resultobj;
23218 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23219 int result;
23220 PyObject * obj0 = 0 ;
23221 char *kwnames[] = {
23222 (char *) "self", NULL
23223 };
23224
23225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23227 {
23228 PyThreadState* __tstate = wxPyBeginAllowThreads();
23229 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23230
23231 wxPyEndAllowThreads(__tstate);
23232 if (PyErr_Occurred()) SWIG_fail;
23233 }
23234 resultobj = PyInt_FromLong((long)result);
23235 return resultobj;
23236 fail:
23237 return NULL;
23238 }
23239
23240
23241 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23242 PyObject *resultobj;
23243 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23244 int arg2 ;
23245 PyObject * obj0 = 0 ;
23246 char *kwnames[] = {
23247 (char *) "self",(char *) "n", NULL
23248 };
23249
23250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23252 {
23253 PyThreadState* __tstate = wxPyBeginAllowThreads();
23254 (arg1)->SetFilterIndex(arg2);
23255
23256 wxPyEndAllowThreads(__tstate);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 }
23259 Py_INCREF(Py_None); resultobj = Py_None;
23260 return resultobj;
23261 fail:
23262 return NULL;
23263 }
23264
23265
23266 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23267 PyObject *resultobj;
23268 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23269 wxTreeItemId result;
23270 PyObject * obj0 = 0 ;
23271 char *kwnames[] = {
23272 (char *) "self", NULL
23273 };
23274
23275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23277 {
23278 PyThreadState* __tstate = wxPyBeginAllowThreads();
23279 result = (arg1)->GetRootId();
23280
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 {
23285 wxTreeItemId * resultptr;
23286 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23288 }
23289 return resultobj;
23290 fail:
23291 return NULL;
23292 }
23293
23294
23295 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23296 PyObject *resultobj;
23297 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23298 wxTreeCtrl *result;
23299 PyObject * obj0 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23309
23310 wxPyEndAllowThreads(__tstate);
23311 if (PyErr_Occurred()) SWIG_fail;
23312 }
23313 {
23314 resultobj = wxPyMake_wxObject(result);
23315 }
23316 return resultobj;
23317 fail:
23318 return NULL;
23319 }
23320
23321
23322 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23325 wxDirFilterListCtrl *result;
23326 PyObject * obj0 = 0 ;
23327 char *kwnames[] = {
23328 (char *) "self", NULL
23329 };
23330
23331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23341 return resultobj;
23342 fail:
23343 return NULL;
23344 }
23345
23346
23347 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23348 PyObject *resultobj;
23349 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23350 wxTreeItemId arg2 ;
23351 wxString *arg3 = 0 ;
23352 bool *arg4 = 0 ;
23353 wxTreeItemId result;
23354 wxTreeItemId *argp2 ;
23355 bool temp3 = false ;
23356 bool temp4 ;
23357 PyObject * obj0 = 0 ;
23358 PyObject * obj1 = 0 ;
23359 PyObject * obj2 = 0 ;
23360 char *kwnames[] = {
23361 (char *) "self",(char *) "parentId",(char *) "path", NULL
23362 };
23363
23364 arg4 = &temp4;
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23367 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23368 arg2 = *argp2;
23369 {
23370 arg3 = wxString_in_helper(obj2);
23371 if (arg3 == NULL) SWIG_fail;
23372 temp3 = true;
23373 }
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23377
23378 wxPyEndAllowThreads(__tstate);
23379 if (PyErr_Occurred()) SWIG_fail;
23380 }
23381 {
23382 wxTreeItemId * resultptr;
23383 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23384 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23385 }
23386 {
23387 PyObject *o = PyInt_FromLong((long) (*arg4));
23388 resultobj = t_output_helper(resultobj,o);
23389 }
23390 {
23391 if (temp3)
23392 delete arg3;
23393 }
23394 return resultobj;
23395 fail:
23396 {
23397 if (temp3)
23398 delete arg3;
23399 }
23400 return NULL;
23401 }
23402
23403
23404 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23405 PyObject *resultobj;
23406 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23407 PyObject * obj0 = 0 ;
23408 char *kwnames[] = {
23409 (char *) "self", NULL
23410 };
23411
23412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 (arg1)->DoResize();
23417
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 Py_INCREF(Py_None); resultobj = Py_None;
23422 return resultobj;
23423 fail:
23424 return NULL;
23425 }
23426
23427
23428 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23429 PyObject *resultobj;
23430 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23431 PyObject * obj0 = 0 ;
23432 char *kwnames[] = {
23433 (char *) "self", NULL
23434 };
23435
23436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
23440 (arg1)->ReCreateTree();
23441
23442 wxPyEndAllowThreads(__tstate);
23443 if (PyErr_Occurred()) SWIG_fail;
23444 }
23445 Py_INCREF(Py_None); resultobj = Py_None;
23446 return resultobj;
23447 fail:
23448 return NULL;
23449 }
23450
23451
23452 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23453 PyObject *obj;
23454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23455 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23456 Py_INCREF(obj);
23457 return Py_BuildValue((char *)"");
23458 }
23459 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23460 PyObject *resultobj;
23461 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23462 wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
23463 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23464 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23465 wxSize const &arg4_defvalue = wxDefaultSize ;
23466 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23467 long arg5 = (long) 0 ;
23468 wxDirFilterListCtrl *result;
23469 wxPoint temp3 ;
23470 wxSize temp4 ;
23471 PyObject * obj0 = 0 ;
23472 PyObject * obj2 = 0 ;
23473 PyObject * obj3 = 0 ;
23474 char *kwnames[] = {
23475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23476 };
23477
23478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23480 if (obj2) {
23481 {
23482 arg3 = &temp3;
23483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23484 }
23485 }
23486 if (obj3) {
23487 {
23488 arg4 = &temp4;
23489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23490 }
23491 }
23492 {
23493 PyThreadState* __tstate = wxPyBeginAllowThreads();
23494 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23495
23496 wxPyEndAllowThreads(__tstate);
23497 if (PyErr_Occurred()) SWIG_fail;
23498 }
23499 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23500 return resultobj;
23501 fail:
23502 return NULL;
23503 }
23504
23505
23506 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23507 PyObject *resultobj;
23508 wxDirFilterListCtrl *result;
23509 char *kwnames[] = {
23510 NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23522 return resultobj;
23523 fail:
23524 return NULL;
23525 }
23526
23527
23528 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23529 PyObject *resultobj;
23530 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23531 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23532 wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
23533 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23534 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23535 wxSize const &arg5_defvalue = wxDefaultSize ;
23536 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23537 long arg6 = (long) 0 ;
23538 bool result;
23539 wxPoint temp4 ;
23540 wxSize temp5 ;
23541 PyObject * obj0 = 0 ;
23542 PyObject * obj1 = 0 ;
23543 PyObject * obj3 = 0 ;
23544 PyObject * obj4 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23552 if (obj3) {
23553 {
23554 arg4 = &temp4;
23555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23556 }
23557 }
23558 if (obj4) {
23559 {
23560 arg5 = &temp5;
23561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23562 }
23563 }
23564 {
23565 PyThreadState* __tstate = wxPyBeginAllowThreads();
23566 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23567
23568 wxPyEndAllowThreads(__tstate);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 }
23571 resultobj = PyInt_FromLong((long)result);
23572 return resultobj;
23573 fail:
23574 return NULL;
23575 }
23576
23577
23578 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23579 PyObject *resultobj;
23580 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23581 wxString *arg2 = 0 ;
23582 int arg3 ;
23583 bool temp2 = false ;
23584 PyObject * obj0 = 0 ;
23585 PyObject * obj1 = 0 ;
23586 char *kwnames[] = {
23587 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23588 };
23589
23590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23592 {
23593 arg2 = wxString_in_helper(obj1);
23594 if (arg2 == NULL) SWIG_fail;
23595 temp2 = true;
23596 }
23597 {
23598 PyThreadState* __tstate = wxPyBeginAllowThreads();
23599 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23600
23601 wxPyEndAllowThreads(__tstate);
23602 if (PyErr_Occurred()) SWIG_fail;
23603 }
23604 Py_INCREF(Py_None); resultobj = Py_None;
23605 {
23606 if (temp2)
23607 delete arg2;
23608 }
23609 return resultobj;
23610 fail:
23611 {
23612 if (temp2)
23613 delete arg2;
23614 }
23615 return NULL;
23616 }
23617
23618
23619 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23620 PyObject *obj;
23621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23622 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23623 Py_INCREF(obj);
23624 return Py_BuildValue((char *)"");
23625 }
23626 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23627 PyObject *resultobj;
23628 wxWindow *arg1 = (wxWindow *) 0 ;
23629 wxWindowID arg2 ;
23630 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23631 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23632 wxSize const &arg4_defvalue = wxDefaultSize ;
23633 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23634 long arg5 = (long) 0 ;
23635 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23636 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23637 wxString const &arg7_defvalue = wxPyControlNameStr ;
23638 wxString *arg7 = (wxString *) &arg7_defvalue ;
23639 wxPyControl *result;
23640 wxPoint temp3 ;
23641 wxSize temp4 ;
23642 bool temp7 = false ;
23643 PyObject * obj0 = 0 ;
23644 PyObject * obj2 = 0 ;
23645 PyObject * obj3 = 0 ;
23646 PyObject * obj5 = 0 ;
23647 PyObject * obj6 = 0 ;
23648 char *kwnames[] = {
23649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23650 };
23651
23652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23654 if (obj2) {
23655 {
23656 arg3 = &temp3;
23657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23658 }
23659 }
23660 if (obj3) {
23661 {
23662 arg4 = &temp4;
23663 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23664 }
23665 }
23666 if (obj5) {
23667 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23668 if (arg6 == NULL) {
23669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23670 }
23671 }
23672 if (obj6) {
23673 {
23674 arg7 = wxString_in_helper(obj6);
23675 if (arg7 == NULL) SWIG_fail;
23676 temp7 = true;
23677 }
23678 }
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23682
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23687 {
23688 if (temp7)
23689 delete arg7;
23690 }
23691 return resultobj;
23692 fail:
23693 {
23694 if (temp7)
23695 delete arg7;
23696 }
23697 return NULL;
23698 }
23699
23700
23701 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23702 PyObject *resultobj;
23703 wxPyControl *arg1 = (wxPyControl *) 0 ;
23704 PyObject *arg2 = (PyObject *) 0 ;
23705 PyObject *arg3 = (PyObject *) 0 ;
23706 PyObject * obj0 = 0 ;
23707 PyObject * obj1 = 0 ;
23708 PyObject * obj2 = 0 ;
23709 char *kwnames[] = {
23710 (char *) "self",(char *) "self",(char *) "_class", NULL
23711 };
23712
23713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23715 arg2 = obj1;
23716 arg3 = obj2;
23717 {
23718 PyThreadState* __tstate = wxPyBeginAllowThreads();
23719 (arg1)->_setCallbackInfo(arg2,arg3);
23720
23721 wxPyEndAllowThreads(__tstate);
23722 if (PyErr_Occurred()) SWIG_fail;
23723 }
23724 Py_INCREF(Py_None); resultobj = Py_None;
23725 return resultobj;
23726 fail:
23727 return NULL;
23728 }
23729
23730
23731 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23732 PyObject *resultobj;
23733 wxPyControl *arg1 = (wxPyControl *) 0 ;
23734 int arg2 ;
23735 int arg3 ;
23736 int arg4 ;
23737 int arg5 ;
23738 PyObject * obj0 = 0 ;
23739 char *kwnames[] = {
23740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23741 };
23742
23743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23745 {
23746 PyThreadState* __tstate = wxPyBeginAllowThreads();
23747 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
23748
23749 wxPyEndAllowThreads(__tstate);
23750 if (PyErr_Occurred()) SWIG_fail;
23751 }
23752 Py_INCREF(Py_None); resultobj = Py_None;
23753 return resultobj;
23754 fail:
23755 return NULL;
23756 }
23757
23758
23759 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23760 PyObject *resultobj;
23761 wxPyControl *arg1 = (wxPyControl *) 0 ;
23762 int arg2 ;
23763 int arg3 ;
23764 int arg4 ;
23765 int arg5 ;
23766 int arg6 = (int) wxSIZE_AUTO ;
23767 PyObject * obj0 = 0 ;
23768 char *kwnames[] = {
23769 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23770 };
23771
23772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
23773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23774 {
23775 PyThreadState* __tstate = wxPyBeginAllowThreads();
23776 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
23777
23778 wxPyEndAllowThreads(__tstate);
23779 if (PyErr_Occurred()) SWIG_fail;
23780 }
23781 Py_INCREF(Py_None); resultobj = Py_None;
23782 return resultobj;
23783 fail:
23784 return NULL;
23785 }
23786
23787
23788 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj;
23790 wxPyControl *arg1 = (wxPyControl *) 0 ;
23791 int arg2 ;
23792 int arg3 ;
23793 PyObject * obj0 = 0 ;
23794 char *kwnames[] = {
23795 (char *) "self",(char *) "width",(char *) "height", NULL
23796 };
23797
23798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23800 {
23801 PyThreadState* __tstate = wxPyBeginAllowThreads();
23802 (arg1)->base_DoSetClientSize(arg2,arg3);
23803
23804 wxPyEndAllowThreads(__tstate);
23805 if (PyErr_Occurred()) SWIG_fail;
23806 }
23807 Py_INCREF(Py_None); resultobj = Py_None;
23808 return resultobj;
23809 fail:
23810 return NULL;
23811 }
23812
23813
23814 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23815 PyObject *resultobj;
23816 wxPyControl *arg1 = (wxPyControl *) 0 ;
23817 int arg2 ;
23818 int arg3 ;
23819 PyObject * obj0 = 0 ;
23820 char *kwnames[] = {
23821 (char *) "self",(char *) "x",(char *) "y", NULL
23822 };
23823
23824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23826 {
23827 PyThreadState* __tstate = wxPyBeginAllowThreads();
23828 (arg1)->base_DoSetVirtualSize(arg2,arg3);
23829
23830 wxPyEndAllowThreads(__tstate);
23831 if (PyErr_Occurred()) SWIG_fail;
23832 }
23833 Py_INCREF(Py_None); resultobj = Py_None;
23834 return resultobj;
23835 fail:
23836 return NULL;
23837 }
23838
23839
23840 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23841 PyObject *resultobj;
23842 wxPyControl *arg1 = (wxPyControl *) 0 ;
23843 int *arg2 = (int *) 0 ;
23844 int *arg3 = (int *) 0 ;
23845 int temp2 ;
23846 int temp3 ;
23847 PyObject * obj0 = 0 ;
23848 char *kwnames[] = {
23849 (char *) "self", NULL
23850 };
23851
23852 arg2 = &temp2;
23853 arg3 = &temp3;
23854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
23855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23856 {
23857 PyThreadState* __tstate = wxPyBeginAllowThreads();
23858 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
23859
23860 wxPyEndAllowThreads(__tstate);
23861 if (PyErr_Occurred()) SWIG_fail;
23862 }
23863 Py_INCREF(Py_None); resultobj = Py_None;
23864 {
23865 PyObject *o = PyInt_FromLong((long) (*arg2));
23866 resultobj = t_output_helper(resultobj,o);
23867 }
23868 {
23869 PyObject *o = PyInt_FromLong((long) (*arg3));
23870 resultobj = t_output_helper(resultobj,o);
23871 }
23872 return resultobj;
23873 fail:
23874 return NULL;
23875 }
23876
23877
23878 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23879 PyObject *resultobj;
23880 wxPyControl *arg1 = (wxPyControl *) 0 ;
23881 int *arg2 = (int *) 0 ;
23882 int *arg3 = (int *) 0 ;
23883 int temp2 ;
23884 int temp3 ;
23885 PyObject * obj0 = 0 ;
23886 char *kwnames[] = {
23887 (char *) "self", NULL
23888 };
23889
23890 arg2 = &temp2;
23891 arg3 = &temp3;
23892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
23893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 Py_INCREF(Py_None); resultobj = Py_None;
23902 {
23903 PyObject *o = PyInt_FromLong((long) (*arg2));
23904 resultobj = t_output_helper(resultobj,o);
23905 }
23906 {
23907 PyObject *o = PyInt_FromLong((long) (*arg3));
23908 resultobj = t_output_helper(resultobj,o);
23909 }
23910 return resultobj;
23911 fail:
23912 return NULL;
23913 }
23914
23915
23916 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj;
23918 wxPyControl *arg1 = (wxPyControl *) 0 ;
23919 int *arg2 = (int *) 0 ;
23920 int *arg3 = (int *) 0 ;
23921 int temp2 ;
23922 int temp3 ;
23923 PyObject * obj0 = 0 ;
23924 char *kwnames[] = {
23925 (char *) "self", NULL
23926 };
23927
23928 arg2 = &temp2;
23929 arg3 = &temp3;
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23932 {
23933 PyThreadState* __tstate = wxPyBeginAllowThreads();
23934 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
23935
23936 wxPyEndAllowThreads(__tstate);
23937 if (PyErr_Occurred()) SWIG_fail;
23938 }
23939 Py_INCREF(Py_None); resultobj = Py_None;
23940 {
23941 PyObject *o = PyInt_FromLong((long) (*arg2));
23942 resultobj = t_output_helper(resultobj,o);
23943 }
23944 {
23945 PyObject *o = PyInt_FromLong((long) (*arg3));
23946 resultobj = t_output_helper(resultobj,o);
23947 }
23948 return resultobj;
23949 fail:
23950 return NULL;
23951 }
23952
23953
23954 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj;
23956 wxPyControl *arg1 = (wxPyControl *) 0 ;
23957 wxSize result;
23958 PyObject * obj0 = 0 ;
23959 char *kwnames[] = {
23960 (char *) "self", NULL
23961 };
23962
23963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
23964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23965 {
23966 PyThreadState* __tstate = wxPyBeginAllowThreads();
23967 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
23968
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 {
23973 wxSize * resultptr;
23974 resultptr = new wxSize((wxSize &) result);
23975 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
23976 }
23977 return resultobj;
23978 fail:
23979 return NULL;
23980 }
23981
23982
23983 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23984 PyObject *resultobj;
23985 wxPyControl *arg1 = (wxPyControl *) 0 ;
23986 wxSize result;
23987 PyObject * obj0 = 0 ;
23988 char *kwnames[] = {
23989 (char *) "self", NULL
23990 };
23991
23992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
23993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23994 {
23995 PyThreadState* __tstate = wxPyBeginAllowThreads();
23996 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
23997
23998 wxPyEndAllowThreads(__tstate);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 }
24001 {
24002 wxSize * resultptr;
24003 resultptr = new wxSize((wxSize &) result);
24004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24005 }
24006 return resultobj;
24007 fail:
24008 return NULL;
24009 }
24010
24011
24012 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj;
24014 wxPyControl *arg1 = (wxPyControl *) 0 ;
24015 PyObject * obj0 = 0 ;
24016 char *kwnames[] = {
24017 (char *) "self", NULL
24018 };
24019
24020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 (arg1)->base_InitDialog();
24025
24026 wxPyEndAllowThreads(__tstate);
24027 if (PyErr_Occurred()) SWIG_fail;
24028 }
24029 Py_INCREF(Py_None); resultobj = Py_None;
24030 return resultobj;
24031 fail:
24032 return NULL;
24033 }
24034
24035
24036 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24037 PyObject *resultobj;
24038 wxPyControl *arg1 = (wxPyControl *) 0 ;
24039 bool result;
24040 PyObject * obj0 = 0 ;
24041 char *kwnames[] = {
24042 (char *) "self", NULL
24043 };
24044
24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24047 {
24048 PyThreadState* __tstate = wxPyBeginAllowThreads();
24049 result = (bool)(arg1)->base_TransferDataToWindow();
24050
24051 wxPyEndAllowThreads(__tstate);
24052 if (PyErr_Occurred()) SWIG_fail;
24053 }
24054 resultobj = PyInt_FromLong((long)result);
24055 return resultobj;
24056 fail:
24057 return NULL;
24058 }
24059
24060
24061 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24062 PyObject *resultobj;
24063 wxPyControl *arg1 = (wxPyControl *) 0 ;
24064 bool result;
24065 PyObject * obj0 = 0 ;
24066 char *kwnames[] = {
24067 (char *) "self", NULL
24068 };
24069
24070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24072 {
24073 PyThreadState* __tstate = wxPyBeginAllowThreads();
24074 result = (bool)(arg1)->base_TransferDataFromWindow();
24075
24076 wxPyEndAllowThreads(__tstate);
24077 if (PyErr_Occurred()) SWIG_fail;
24078 }
24079 resultobj = PyInt_FromLong((long)result);
24080 return resultobj;
24081 fail:
24082 return NULL;
24083 }
24084
24085
24086 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24087 PyObject *resultobj;
24088 wxPyControl *arg1 = (wxPyControl *) 0 ;
24089 bool result;
24090 PyObject * obj0 = 0 ;
24091 char *kwnames[] = {
24092 (char *) "self", NULL
24093 };
24094
24095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24097 {
24098 PyThreadState* __tstate = wxPyBeginAllowThreads();
24099 result = (bool)(arg1)->base_Validate();
24100
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 resultobj = PyInt_FromLong((long)result);
24105 return resultobj;
24106 fail:
24107 return NULL;
24108 }
24109
24110
24111 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24112 PyObject *resultobj;
24113 wxPyControl *arg1 = (wxPyControl *) 0 ;
24114 bool result;
24115 PyObject * obj0 = 0 ;
24116 char *kwnames[] = {
24117 (char *) "self", NULL
24118 };
24119
24120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24122 {
24123 PyThreadState* __tstate = wxPyBeginAllowThreads();
24124 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24125
24126 wxPyEndAllowThreads(__tstate);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 }
24129 resultobj = PyInt_FromLong((long)result);
24130 return resultobj;
24131 fail:
24132 return NULL;
24133 }
24134
24135
24136 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24137 PyObject *resultobj;
24138 wxPyControl *arg1 = (wxPyControl *) 0 ;
24139 bool result;
24140 PyObject * obj0 = 0 ;
24141 char *kwnames[] = {
24142 (char *) "self", NULL
24143 };
24144
24145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 resultobj = PyInt_FromLong((long)result);
24155 return resultobj;
24156 fail:
24157 return NULL;
24158 }
24159
24160
24161 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24162 PyObject *resultobj;
24163 wxPyControl *arg1 = (wxPyControl *) 0 ;
24164 wxSize result;
24165 PyObject * obj0 = 0 ;
24166 char *kwnames[] = {
24167 (char *) "self", NULL
24168 };
24169
24170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24172 {
24173 PyThreadState* __tstate = wxPyBeginAllowThreads();
24174 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24175
24176 wxPyEndAllowThreads(__tstate);
24177 if (PyErr_Occurred()) SWIG_fail;
24178 }
24179 {
24180 wxSize * resultptr;
24181 resultptr = new wxSize((wxSize &) result);
24182 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24183 }
24184 return resultobj;
24185 fail:
24186 return NULL;
24187 }
24188
24189
24190 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24191 PyObject *resultobj;
24192 wxPyControl *arg1 = (wxPyControl *) 0 ;
24193 wxWindow *arg2 = (wxWindow *) 0 ;
24194 PyObject * obj0 = 0 ;
24195 PyObject * obj1 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self",(char *) "child", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24203 {
24204 PyThreadState* __tstate = wxPyBeginAllowThreads();
24205 (arg1)->base_AddChild(arg2);
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_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyControl *arg1 = (wxPyControl *) 0 ;
24220 wxWindow *arg2 = (wxWindow *) 0 ;
24221 PyObject * obj0 = 0 ;
24222 PyObject * obj1 = 0 ;
24223 char *kwnames[] = {
24224 (char *) "self",(char *) "child", NULL
24225 };
24226
24227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24229 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24230 {
24231 PyThreadState* __tstate = wxPyBeginAllowThreads();
24232 (arg1)->base_RemoveChild(arg2);
24233
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 Py_INCREF(Py_None); resultobj = Py_None;
24238 return resultobj;
24239 fail:
24240 return NULL;
24241 }
24242
24243
24244 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24245 PyObject *obj;
24246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24247 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24248 Py_INCREF(obj);
24249 return Py_BuildValue((char *)"");
24250 }
24251 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24252 PyObject *resultobj;
24253 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24254 wxWindowID arg2 = (wxWindowID) 0 ;
24255 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24256 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24257 wxHelpEvent *result;
24258 wxPoint temp3 ;
24259 PyObject * obj2 = 0 ;
24260 char *kwnames[] = {
24261 (char *) "type",(char *) "winid",(char *) "pt", NULL
24262 };
24263
24264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24265 if (obj2) {
24266 {
24267 arg3 = &temp3;
24268 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24269 }
24270 }
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24279 return resultobj;
24280 fail:
24281 return NULL;
24282 }
24283
24284
24285 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24288 wxPoint *result;
24289 PyObject * obj0 = 0 ;
24290 char *kwnames[] = {
24291 (char *) "self", NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 {
24299 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24300 result = (wxPoint *) &_result_ref;
24301 }
24302
24303 wxPyEndAllowThreads(__tstate);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 }
24306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24307 return resultobj;
24308 fail:
24309 return NULL;
24310 }
24311
24312
24313 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24314 PyObject *resultobj;
24315 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24316 wxPoint *arg2 = 0 ;
24317 wxPoint temp2 ;
24318 PyObject * obj0 = 0 ;
24319 PyObject * obj1 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self",(char *) "pos", NULL
24322 };
24323
24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24326 {
24327 arg2 = &temp2;
24328 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24329 }
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 (arg1)->SetPosition((wxPoint const &)*arg2);
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 Py_INCREF(Py_None); resultobj = Py_None;
24338 return resultobj;
24339 fail:
24340 return NULL;
24341 }
24342
24343
24344 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24345 PyObject *resultobj;
24346 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24347 wxString *result;
24348 PyObject * obj0 = 0 ;
24349 char *kwnames[] = {
24350 (char *) "self", NULL
24351 };
24352
24353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 {
24358 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24359 result = (wxString *) &_result_ref;
24360 }
24361
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24366 return resultobj;
24367 fail:
24368 return NULL;
24369 }
24370
24371
24372 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24373 PyObject *resultobj;
24374 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24375 wxString *arg2 = 0 ;
24376 bool temp2 = false ;
24377 PyObject * obj0 = 0 ;
24378 PyObject * obj1 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self",(char *) "link", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24385 {
24386 arg2 = wxString_in_helper(obj1);
24387 if (arg2 == NULL) SWIG_fail;
24388 temp2 = true;
24389 }
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 (arg1)->SetLink((wxString const &)*arg2);
24393
24394 wxPyEndAllowThreads(__tstate);
24395 if (PyErr_Occurred()) SWIG_fail;
24396 }
24397 Py_INCREF(Py_None); resultobj = Py_None;
24398 {
24399 if (temp2)
24400 delete arg2;
24401 }
24402 return resultobj;
24403 fail:
24404 {
24405 if (temp2)
24406 delete arg2;
24407 }
24408 return NULL;
24409 }
24410
24411
24412 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24413 PyObject *resultobj;
24414 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24415 wxString *result;
24416 PyObject * obj0 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "self", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 {
24426 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24427 result = (wxString *) &_result_ref;
24428 }
24429
24430 wxPyEndAllowThreads(__tstate);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 }
24433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24434 return resultobj;
24435 fail:
24436 return NULL;
24437 }
24438
24439
24440 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24441 PyObject *resultobj;
24442 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24443 wxString *arg2 = 0 ;
24444 bool temp2 = false ;
24445 PyObject * obj0 = 0 ;
24446 PyObject * obj1 = 0 ;
24447 char *kwnames[] = {
24448 (char *) "self",(char *) "target", NULL
24449 };
24450
24451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24453 {
24454 arg2 = wxString_in_helper(obj1);
24455 if (arg2 == NULL) SWIG_fail;
24456 temp2 = true;
24457 }
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 (arg1)->SetTarget((wxString const &)*arg2);
24461
24462 wxPyEndAllowThreads(__tstate);
24463 if (PyErr_Occurred()) SWIG_fail;
24464 }
24465 Py_INCREF(Py_None); resultobj = Py_None;
24466 {
24467 if (temp2)
24468 delete arg2;
24469 }
24470 return resultobj;
24471 fail:
24472 {
24473 if (temp2)
24474 delete arg2;
24475 }
24476 return NULL;
24477 }
24478
24479
24480 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24481 PyObject *obj;
24482 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24483 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24484 Py_INCREF(obj);
24485 return Py_BuildValue((char *)"");
24486 }
24487 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24488 PyObject *resultobj;
24489 wxWindow *arg1 = (wxWindow *) NULL ;
24490 bool arg2 = (bool) TRUE ;
24491 wxContextHelp *result;
24492 PyObject * obj0 = 0 ;
24493 PyObject * obj1 = 0 ;
24494 char *kwnames[] = {
24495 (char *) "window",(char *) "doNow", NULL
24496 };
24497
24498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24499 if (obj0) {
24500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24501 }
24502 if (obj1) {
24503 arg2 = PyInt_AsLong(obj1) ? true : false;
24504 if (PyErr_Occurred()) SWIG_fail;
24505 }
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24509
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24514 return resultobj;
24515 fail:
24516 return NULL;
24517 }
24518
24519
24520 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24521 PyObject *resultobj;
24522 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24523 PyObject * obj0 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 delete arg1;
24533
24534 wxPyEndAllowThreads(__tstate);
24535 if (PyErr_Occurred()) SWIG_fail;
24536 }
24537 Py_INCREF(Py_None); resultobj = Py_None;
24538 return resultobj;
24539 fail:
24540 return NULL;
24541 }
24542
24543
24544 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24545 PyObject *resultobj;
24546 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24547 wxWindow *arg2 = (wxWindow *) NULL ;
24548 bool result;
24549 PyObject * obj0 = 0 ;
24550 PyObject * obj1 = 0 ;
24551 char *kwnames[] = {
24552 (char *) "self",(char *) "window", NULL
24553 };
24554
24555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24557 if (obj1) {
24558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24559 }
24560 {
24561 PyThreadState* __tstate = wxPyBeginAllowThreads();
24562 result = (bool)(arg1)->BeginContextHelp(arg2);
24563
24564 wxPyEndAllowThreads(__tstate);
24565 if (PyErr_Occurred()) SWIG_fail;
24566 }
24567 resultobj = PyInt_FromLong((long)result);
24568 return resultobj;
24569 fail:
24570 return NULL;
24571 }
24572
24573
24574 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24575 PyObject *resultobj;
24576 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24577 bool result;
24578 PyObject * obj0 = 0 ;
24579 char *kwnames[] = {
24580 (char *) "self", NULL
24581 };
24582
24583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24585 {
24586 PyThreadState* __tstate = wxPyBeginAllowThreads();
24587 result = (bool)(arg1)->EndContextHelp();
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 resultobj = PyInt_FromLong((long)result);
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24600 PyObject *obj;
24601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24602 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24603 Py_INCREF(obj);
24604 return Py_BuildValue((char *)"");
24605 }
24606 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj;
24608 wxWindow *arg1 = (wxWindow *) 0 ;
24609 wxWindowID arg2 = (wxWindowID) wxID_CONTEXT_HELP ;
24610 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24611 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24612 wxSize const &arg4_defvalue = wxDefaultSize ;
24613 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24614 long arg5 = (long) wxBU_AUTODRAW ;
24615 wxContextHelpButton *result;
24616 wxPoint temp3 ;
24617 wxSize temp4 ;
24618 PyObject * obj0 = 0 ;
24619 PyObject * obj2 = 0 ;
24620 PyObject * obj3 = 0 ;
24621 char *kwnames[] = {
24622 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24623 };
24624
24625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24627 if (obj2) {
24628 {
24629 arg3 = &temp3;
24630 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24631 }
24632 }
24633 if (obj3) {
24634 {
24635 arg4 = &temp4;
24636 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24637 }
24638 }
24639 {
24640 PyThreadState* __tstate = wxPyBeginAllowThreads();
24641 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24642
24643 wxPyEndAllowThreads(__tstate);
24644 if (PyErr_Occurred()) SWIG_fail;
24645 }
24646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24647 return resultobj;
24648 fail:
24649 return NULL;
24650 }
24651
24652
24653 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24654 PyObject *obj;
24655 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24656 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24657 Py_INCREF(obj);
24658 return Py_BuildValue((char *)"");
24659 }
24660 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24661 PyObject *resultobj;
24662 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24663 wxHelpProvider *result;
24664 PyObject * obj0 = 0 ;
24665 char *kwnames[] = {
24666 (char *) "helpProvider", NULL
24667 };
24668
24669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24671 {
24672 PyThreadState* __tstate = wxPyBeginAllowThreads();
24673 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24674
24675 wxPyEndAllowThreads(__tstate);
24676 if (PyErr_Occurred()) SWIG_fail;
24677 }
24678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24679 return resultobj;
24680 fail:
24681 return NULL;
24682 }
24683
24684
24685 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
24686 PyObject *resultobj;
24687 wxHelpProvider *result;
24688 char *kwnames[] = {
24689 NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
24693 {
24694 PyThreadState* __tstate = wxPyBeginAllowThreads();
24695 result = (wxHelpProvider *)wxHelpProvider::Get();
24696
24697 wxPyEndAllowThreads(__tstate);
24698 if (PyErr_Occurred()) SWIG_fail;
24699 }
24700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24701 return resultobj;
24702 fail:
24703 return NULL;
24704 }
24705
24706
24707 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24708 PyObject *resultobj;
24709 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24710 wxWindow *arg2 = (wxWindow *) 0 ;
24711 wxString result;
24712 PyObject * obj0 = 0 ;
24713 PyObject * obj1 = 0 ;
24714 char *kwnames[] = {
24715 (char *) "self",(char *) "window", NULL
24716 };
24717
24718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
24719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 result = (arg1)->GetHelp((wxWindow const *)arg2);
24724
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 {
24729 #if wxUSE_UNICODE
24730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24731 #else
24732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24733 #endif
24734 }
24735 return resultobj;
24736 fail:
24737 return NULL;
24738 }
24739
24740
24741 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24742 PyObject *resultobj;
24743 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24744 wxWindow *arg2 = (wxWindow *) 0 ;
24745 bool result;
24746 PyObject * obj0 = 0 ;
24747 PyObject * obj1 = 0 ;
24748 char *kwnames[] = {
24749 (char *) "self",(char *) "window", NULL
24750 };
24751
24752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
24753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24755 {
24756 PyThreadState* __tstate = wxPyBeginAllowThreads();
24757 result = (bool)(arg1)->ShowHelp(arg2);
24758
24759 wxPyEndAllowThreads(__tstate);
24760 if (PyErr_Occurred()) SWIG_fail;
24761 }
24762 resultobj = PyInt_FromLong((long)result);
24763 return resultobj;
24764 fail:
24765 return NULL;
24766 }
24767
24768
24769 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24770 PyObject *resultobj;
24771 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24772 wxWindow *arg2 = (wxWindow *) 0 ;
24773 wxString *arg3 = 0 ;
24774 bool temp3 = false ;
24775 PyObject * obj0 = 0 ;
24776 PyObject * obj1 = 0 ;
24777 PyObject * obj2 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "self",(char *) "window",(char *) "text", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
24783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24785 {
24786 arg3 = wxString_in_helper(obj2);
24787 if (arg3 == NULL) SWIG_fail;
24788 temp3 = true;
24789 }
24790 {
24791 PyThreadState* __tstate = wxPyBeginAllowThreads();
24792 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24793
24794 wxPyEndAllowThreads(__tstate);
24795 if (PyErr_Occurred()) SWIG_fail;
24796 }
24797 Py_INCREF(Py_None); resultobj = Py_None;
24798 {
24799 if (temp3)
24800 delete arg3;
24801 }
24802 return resultobj;
24803 fail:
24804 {
24805 if (temp3)
24806 delete arg3;
24807 }
24808 return NULL;
24809 }
24810
24811
24812 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
24813 PyObject *resultobj;
24814 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24815 wxWindowID arg2 ;
24816 wxString *arg3 = 0 ;
24817 bool temp3 = false ;
24818 PyObject * obj0 = 0 ;
24819 PyObject * obj2 = 0 ;
24820 char *kwnames[] = {
24821 (char *) "self",(char *) "id",(char *) "text", NULL
24822 };
24823
24824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
24825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24826 {
24827 arg3 = wxString_in_helper(obj2);
24828 if (arg3 == NULL) SWIG_fail;
24829 temp3 = true;
24830 }
24831 {
24832 PyThreadState* __tstate = wxPyBeginAllowThreads();
24833 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24834
24835 wxPyEndAllowThreads(__tstate);
24836 if (PyErr_Occurred()) SWIG_fail;
24837 }
24838 Py_INCREF(Py_None); resultobj = Py_None;
24839 {
24840 if (temp3)
24841 delete arg3;
24842 }
24843 return resultobj;
24844 fail:
24845 {
24846 if (temp3)
24847 delete arg3;
24848 }
24849 return NULL;
24850 }
24851
24852
24853 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24854 PyObject *resultobj;
24855 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24856 PyObject * obj0 = 0 ;
24857 char *kwnames[] = {
24858 (char *) "self", NULL
24859 };
24860
24861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
24862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24863 {
24864 PyThreadState* __tstate = wxPyBeginAllowThreads();
24865 wxHelpProvider_Destroy(arg1);
24866
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 Py_INCREF(Py_None); resultobj = Py_None;
24871 return resultobj;
24872 fail:
24873 return NULL;
24874 }
24875
24876
24877 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
24878 PyObject *obj;
24879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24880 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
24881 Py_INCREF(obj);
24882 return Py_BuildValue((char *)"");
24883 }
24884 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxSimpleHelpProvider *result;
24887 char *kwnames[] = {
24888 NULL
24889 };
24890
24891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
24895
24896 wxPyEndAllowThreads(__tstate);
24897 if (PyErr_Occurred()) SWIG_fail;
24898 }
24899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
24900 return resultobj;
24901 fail:
24902 return NULL;
24903 }
24904
24905
24906 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
24907 PyObject *obj;
24908 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24909 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
24910 Py_INCREF(obj);
24911 return Py_BuildValue((char *)"");
24912 }
24913 static PyMethodDef SwigMethods[] = {
24914 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
24915 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
24916 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
24917 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
24918 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24919 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
24920 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
24921 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
24922 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
24923 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
24924 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
24925 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
24926 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
24927 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
24928 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
24929 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
24930 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
24931 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
24932 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
24933 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
24934 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
24935 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
24936 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
24937 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
24938 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
24939 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
24940 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
24941 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
24942 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
24943 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
24944 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
24945 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
24946 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
24947 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
24948 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
24949 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
24950 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
24951 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
24952 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
24953 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
24954 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
24955 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
24956 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
24957 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
24958 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
24959 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
24960 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
24961 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
24962 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
24963 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
24964 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
24965 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
24966 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
24967 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
24968 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
24969 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
24970 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
24971 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
24972 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
24973 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
24974 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
24975 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
24976 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
24977 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
24978 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
24979 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
24980 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
24981 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
24982 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
24983 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
24984 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
24985 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
24986 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
24987 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
24988 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
24989 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
24990 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
24991 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
24992 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
24993 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
24994 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
24995 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
24996 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
24997 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
24998 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
24999 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25000 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25001 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25002 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25003 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25004 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25005 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25006 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25007 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25008 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25009 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25010 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25011 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25012 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25013 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25014 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25015 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25016 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25017 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25018 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25019 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25020 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25021 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25022 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25023 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25024 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25025 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25026 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25027 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25028 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25029 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25030 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25031 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25032 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25033 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25034 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25035 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25036 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25037 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25038 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25039 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25040 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25041 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25042 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25043 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25044 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25045 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25046 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25047 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25048 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25049 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25050 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25051 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25052 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25053 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25054 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25055 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25056 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25057 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25058 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25059 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25060 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25061 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25062 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25063 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25064 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25065 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25066 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25067 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25068 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25069 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25070 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25071 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25072 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25073 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25074 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25075 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25076 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25077 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25078 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25079 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25080 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25081 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25082 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25083 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25084 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25085 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25086 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25087 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25088 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25089 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25090 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25091 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25092 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25093 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25094 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25095 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25096 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25097 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25098 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25099 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25100 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25101 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
25102 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25103 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25104 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25105 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25106 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25107 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25108 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25109 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25110 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25111 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25112 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25113 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25114 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25115 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25116 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25117 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
25118 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
25119 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
25120 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
25121 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
25122 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
25123 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25124 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
25125 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25126 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
25127 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
25128 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25129 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
25130 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
25131 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
25137 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
25143 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
25152 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
25154 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
25163 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
25171 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
25172 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
25177 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25189 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
25202 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
25205 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
25206 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25212 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25216 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25223 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
25225 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
25231 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
25240 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
25242 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
25247 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
25249 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25251 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25252 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
25254 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
25259 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
25280 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
25289 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
25331 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
25333 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
25336 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25338 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
25348 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
25349 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
25361 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
25372 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
25389 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
25395 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
25400 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
25420 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
25427 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
25447 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
25453 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25454 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
25455 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25458 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25459 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
25461 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
25462 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25464 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25465 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25466 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
25469 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
25470 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
25471 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
25472 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
25473 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
25475 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
25476 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
25479 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
25481 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
25482 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
25483 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
25485 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25488 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
25494 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
25495 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
25496 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
25497 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
25499 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25503 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25504 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
25505 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
25506 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
25507 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
25508 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
25509 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
25510 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
25511 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
25512 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
25513 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
25514 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
25515 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
25516 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
25518 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
25523 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
25529 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
25532 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
25533 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
25536 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
25538 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
25540 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25541 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
25544 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
25546 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
25553 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
25554 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
25555 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25558 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
25570 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
25580 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
25581 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
25583 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
25598 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
25605 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
25606 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
25607 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
25608 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
25610 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25613 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
25615 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
25632 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
25634 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
25637 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25653 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
25658 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
25666 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
25671 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
25673 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
25681 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
25683 { NULL, NULL }
25684 };
25685
25686
25687 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25688
25689 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
25690 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
25691 }
25692 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
25693 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
25694 }
25695 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
25696 return (void *)((wxSizer *) ((wxBoxSizer *) x));
25697 }
25698 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
25699 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
25700 }
25701 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
25702 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25703 }
25704 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
25705 return (void *)((wxSizer *) ((wxGridSizer *) x));
25706 }
25707 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
25708 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
25709 }
25710 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
25711 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
25712 }
25713 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
25714 return (void *)((wxSizer *) ((wxPySizer *) x));
25715 }
25716 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
25717 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
25718 }
25719 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25720 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25721 }
25722 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25723 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25724 }
25725 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25726 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25727 }
25728 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25729 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25730 }
25731 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25732 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25733 }
25734 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
25735 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
25736 }
25737 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25738 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25739 }
25740 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25741 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25742 }
25743 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25744 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25745 }
25746 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
25747 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
25748 }
25749 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
25750 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
25751 }
25752 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25753 return (void *)((wxEvent *) ((wxPyEvent *) x));
25754 }
25755 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25756 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25757 }
25758 static void *_p_wxListEventTo_p_wxEvent(void *x) {
25759 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
25760 }
25761 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
25762 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
25763 }
25764 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
25765 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
25766 }
25767 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
25768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
25769 }
25770 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25771 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25772 }
25773 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25774 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25775 }
25776 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25777 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
25778 }
25779 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
25780 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
25781 }
25782 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
25783 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
25784 }
25785 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
25786 return (void *)((wxEvent *) ((wxActivateEvent *) x));
25787 }
25788 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
25789 return (void *)((wxEvent *) ((wxSizeEvent *) x));
25790 }
25791 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
25792 return (void *)((wxEvent *) ((wxMoveEvent *) x));
25793 }
25794 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
25795 return (void *)((wxEvent *) ((wxPaintEvent *) x));
25796 }
25797 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
25798 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
25799 }
25800 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
25801 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
25802 }
25803 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
25804 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
25805 }
25806 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
25807 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
25808 }
25809 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
25810 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
25811 }
25812 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
25813 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
25814 }
25815 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
25816 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
25817 }
25818 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
25819 return (void *)((wxEvent *) ((wxFocusEvent *) x));
25820 }
25821 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
25822 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
25823 }
25824 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
25825 return (void *)((wxEvent *) ((wxShowEvent *) x));
25826 }
25827 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
25828 return (void *)((wxEvent *) ((wxCommandEvent *) x));
25829 }
25830 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
25831 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
25832 }
25833 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
25834 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
25835 }
25836 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
25837 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
25838 }
25839 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
25840 return (void *)((wxEvent *) ((wxKeyEvent *) x));
25841 }
25842 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
25843 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
25844 }
25845 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
25846 return (void *)((wxItemContainer *) ((wxComboBox *) x));
25847 }
25848 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
25849 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
25850 }
25851 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
25852 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
25853 }
25854 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
25855 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
25856 }
25857 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
25858 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
25859 }
25860 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
25861 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
25862 }
25863 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
25864 return (void *)((wxPyListCtrl *) ((wxListView *) x));
25865 }
25866 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
25867 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
25868 }
25869 static void *_p_wxListBoxTo_p_wxControl(void *x) {
25870 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
25871 }
25872 static void *_p_wxChoiceTo_p_wxControl(void *x) {
25873 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
25874 }
25875 static void *_p_wxToolBarTo_p_wxControl(void *x) {
25876 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
25877 }
25878 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
25879 return (void *)((wxControl *) ((wxStaticBitmap *) x));
25880 }
25881 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
25882 return (void *)((wxControl *) ((wxComboBox *) x));
25883 }
25884 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
25885 return (void *)((wxControl *) ((wxSpinCtrl *) x));
25886 }
25887 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
25888 return (void *)((wxControl *) ((wxStaticBox *) x));
25889 }
25890 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
25891 return (void *)((wxControl *) ((wxPyListCtrl *) x));
25892 }
25893 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
25894 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
25895 }
25896 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
25897 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
25898 }
25899 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
25900 return (void *)((wxControl *) ((wxScrollBar *) x));
25901 }
25902 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
25903 return (void *)((wxControl *) ((wxBookCtrl *) x));
25904 }
25905 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
25906 return (void *)((wxControl *) ((wxRadioButton *) x));
25907 }
25908 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
25909 return (void *)((wxControl *) ((wxToggleButton *) x));
25910 }
25911 static void *_p_wxGaugeTo_p_wxControl(void *x) {
25912 return (void *)((wxControl *) ((wxGauge *) x));
25913 }
25914 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
25915 return (void *)((wxControl *) ((wxToolBarBase *) x));
25916 }
25917 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
25918 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
25919 }
25920 static void *_p_wxButtonTo_p_wxControl(void *x) {
25921 return (void *)((wxControl *) ((wxButton *) x));
25922 }
25923 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
25924 return (void *)((wxControl *) ((wxSpinButton *) x));
25925 }
25926 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
25927 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
25928 }
25929 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
25930 return (void *)((wxControl *) ((wxControlWithItems *) x));
25931 }
25932 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
25933 return (void *)((wxControl *) ((wxRadioBox *) x));
25934 }
25935 static void *_p_wxNotebookTo_p_wxControl(void *x) {
25936 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
25937 }
25938 static void *_p_wxListbookTo_p_wxControl(void *x) {
25939 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
25940 }
25941 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
25942 return (void *)((wxControl *) ((wxCheckBox *) x));
25943 }
25944 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
25945 return (void *)((wxControl *) ((wxTextCtrl *) x));
25946 }
25947 static void *_p_wxListViewTo_p_wxControl(void *x) {
25948 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
25949 }
25950 static void *_p_wxSliderTo_p_wxControl(void *x) {
25951 return (void *)((wxControl *) ((wxSlider *) x));
25952 }
25953 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
25954 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
25955 }
25956 static void *_p_wxPyControlTo_p_wxControl(void *x) {
25957 return (void *)((wxControl *) ((wxPyControl *) x));
25958 }
25959 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
25960 return (void *)((wxControl *) ((wxStaticLine *) x));
25961 }
25962 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
25963 return (void *)((wxControl *) ((wxStaticText *) x));
25964 }
25965 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
25966 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
25967 }
25968 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
25969 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
25970 }
25971 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
25972 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
25973 }
25974 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
25975 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
25976 }
25977 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
25978 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
25979 }
25980 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
25981 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
25982 }
25983 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
25984 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
25985 }
25986 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
25987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
25988 }
25989 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
25990 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
25991 }
25992 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
25993 return (void *)((wxEvtHandler *) ((wxValidator *) x));
25994 }
25995 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
25996 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
25997 }
25998 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
25999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26000 }
26001 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26002 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26003 }
26004 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26005 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26006 }
26007 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26008 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26009 }
26010 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26011 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26012 }
26013 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26014 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26015 }
26016 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26017 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26018 }
26019 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26020 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26021 }
26022 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26023 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26024 }
26025 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26026 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26027 }
26028 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26029 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26030 }
26031 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26032 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26033 }
26034 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26035 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26036 }
26037 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26038 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26039 }
26040 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26041 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26042 }
26043 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26044 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26045 }
26046 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26047 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26048 }
26049 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26050 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26051 }
26052 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26053 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26054 }
26055 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26056 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26057 }
26058 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26059 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26060 }
26061 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26062 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26063 }
26064 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26065 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26066 }
26067 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26068 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26069 }
26070 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26071 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26072 }
26073 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26074 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26075 }
26076 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26077 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26078 }
26079 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26080 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26081 }
26082 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26083 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26084 }
26085 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26086 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26087 }
26088 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26089 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26090 }
26091 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26092 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26093 }
26094 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
26096 }
26097 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
26098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26099 }
26100 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
26101 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26102 }
26103 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
26104 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26105 }
26106 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
26107 return (void *)((wxListBox *) ((wxCheckListBox *) x));
26108 }
26109 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
26110 return (void *)((wxBookCtrl *) ((wxListbook *) x));
26111 }
26112 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
26113 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
26114 }
26115 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
26116 return (void *)((wxButton *) ((wxBitmapButton *) x));
26117 }
26118 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
26119 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
26120 }
26121 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
26122 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
26123 }
26124 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
26125 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
26126 }
26127 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26128 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26129 }
26130 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26131 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26132 }
26133 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26134 return (void *)((wxObject *) ((wxSizerItem *) x));
26135 }
26136 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26138 }
26139 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26140 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26141 }
26142 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
26143 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
26144 }
26145 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
26146 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26147 }
26148 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26149 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26150 }
26151 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26152 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26153 }
26154 static void *_p_wxSizerTo_p_wxObject(void *x) {
26155 return (void *)((wxObject *) ((wxSizer *) x));
26156 }
26157 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26158 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26159 }
26160 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
26161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
26162 }
26163 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
26164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26165 }
26166 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26168 }
26169 static void *_p_wxEventTo_p_wxObject(void *x) {
26170 return (void *)((wxObject *) ((wxEvent *) x));
26171 }
26172 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26173 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26174 }
26175 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26176 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26177 }
26178 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26179 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26180 }
26181 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
26182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26183 }
26184 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
26185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26186 }
26187 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
26188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26189 }
26190 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26191 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26192 }
26193 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26194 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26195 }
26196 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26197 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26198 }
26199 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26200 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26201 }
26202 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26203 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26204 }
26205 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26206 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26207 }
26208 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
26209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
26210 }
26211 static void *_p_wxControlTo_p_wxObject(void *x) {
26212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26213 }
26214 static void *_p_wxPyControlTo_p_wxObject(void *x) {
26215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
26216 }
26217 static void *_p_wxGaugeTo_p_wxObject(void *x) {
26218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
26219 }
26220 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
26221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
26222 }
26223 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
26224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
26225 }
26226 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
26227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26228 }
26229 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26230 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26231 }
26232 static void *_p_wxChoiceTo_p_wxObject(void *x) {
26233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26234 }
26235 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26236 return (void *)((wxObject *) ((wxFSFile *) x));
26237 }
26238 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26239 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26240 }
26241 static void *_p_wxListViewTo_p_wxObject(void *x) {
26242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26243 }
26244 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
26245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26246 }
26247 static void *_p_wxNotebookTo_p_wxObject(void *x) {
26248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26249 }
26250 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26251 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26252 }
26253 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26254 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26255 }
26256 static void *_p_wxListbookTo_p_wxObject(void *x) {
26257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26258 }
26259 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26260 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26261 }
26262 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
26263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26264 }
26265 static void *_p_wxSliderTo_p_wxObject(void *x) {
26266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
26267 }
26268 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26269 return (void *)((wxObject *) ((wxMenuItem *) x));
26270 }
26271 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26272 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26273 }
26274 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26275 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26276 }
26277 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26278 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26279 }
26280 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26281 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26282 }
26283 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26284 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26285 }
26286 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26287 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26288 }
26289 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26290 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26291 }
26292 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26293 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26294 }
26295 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
26296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
26297 }
26298 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
26299 return (void *)((wxObject *) ((wxContextHelp *) x));
26300 }
26301 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26302 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26303 }
26304 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26305 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26306 }
26307 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26308 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26309 }
26310 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26311 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26312 }
26313 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26314 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26315 }
26316 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26317 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26318 }
26319 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26320 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26321 }
26322 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26323 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26324 }
26325 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26326 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26327 }
26328 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26329 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26330 }
26331 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26332 return (void *)((wxObject *) ((wxImageHandler *) x));
26333 }
26334 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26335 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26336 }
26337 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26338 return (void *)((wxObject *) ((wxEvtHandler *) x));
26339 }
26340 static void *_p_wxListEventTo_p_wxObject(void *x) {
26341 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26342 }
26343 static void *_p_wxListBoxTo_p_wxObject(void *x) {
26344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26345 }
26346 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
26347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26348 }
26349 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
26350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26351 }
26352 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
26353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26354 }
26355 static void *_p_wxButtonTo_p_wxObject(void *x) {
26356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
26357 }
26358 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
26359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
26360 }
26361 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
26362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26363 }
26364 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
26365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
26366 }
26367 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
26368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
26369 }
26370 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
26371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
26372 }
26373 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
26374 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
26375 }
26376 static void *_p_wxListItemTo_p_wxObject(void *x) {
26377 return (void *)((wxObject *) ((wxListItem *) x));
26378 }
26379 static void *_p_wxImageTo_p_wxObject(void *x) {
26380 return (void *)((wxObject *) ((wxImage *) x));
26381 }
26382 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
26383 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
26384 }
26385 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26386 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26387 }
26388 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
26389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26390 }
26391 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
26392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26393 }
26394 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
26395 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26396 }
26397 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26399 }
26400 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26401 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26402 }
26403 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26404 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26405 }
26406 static void *_p_wxWindowTo_p_wxObject(void *x) {
26407 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26408 }
26409 static void *_p_wxMenuTo_p_wxObject(void *x) {
26410 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26411 }
26412 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26414 }
26415 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26416 return (void *)((wxObject *) ((wxFileSystem *) x));
26417 }
26418 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26419 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26420 }
26421 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26422 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26423 }
26424 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26425 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26426 }
26427 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26428 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26429 }
26430 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26431 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26432 }
26433 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26434 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26435 }
26436 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
26437 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26438 }
26439 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26440 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26441 }
26442 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26443 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26444 }
26445 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
26446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
26447 }
26448 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26449 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26450 }
26451 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26452 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26453 }
26454 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26455 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26456 }
26457 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26459 }
26460 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
26461 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
26462 }
26463 static void *_p_wxToolBarTo_p_wxObject(void *x) {
26464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26465 }
26466 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26467 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26468 }
26469 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26470 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26471 }
26472 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
26473 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
26474 }
26475 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
26476 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
26477 }
26478 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26479 return (void *)((wxWindow *) ((wxMenuBar *) x));
26480 }
26481 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
26482 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26483 }
26484 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
26485 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
26486 }
26487 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
26488 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
26489 }
26490 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
26491 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
26492 }
26493 static void *_p_wxControlTo_p_wxWindow(void *x) {
26494 return (void *)((wxWindow *) ((wxControl *) x));
26495 }
26496 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
26497 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
26498 }
26499 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
26500 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26501 }
26502 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
26503 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
26504 }
26505 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
26506 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
26507 }
26508 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
26509 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
26510 }
26511 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
26512 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
26513 }
26514 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26515 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26516 }
26517 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
26518 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
26519 }
26520 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
26521 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
26522 }
26523 static void *_p_wxListbookTo_p_wxWindow(void *x) {
26524 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26525 }
26526 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
26527 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
26528 }
26529 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
26530 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
26531 }
26532 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
26533 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
26534 }
26535 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
26536 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26537 }
26538 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
26539 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26540 }
26541 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
26542 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26543 }
26544 static void *_p_wxListViewTo_p_wxWindow(void *x) {
26545 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26546 }
26547 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
26548 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26549 }
26550 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
26551 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
26552 }
26553 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
26554 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
26555 }
26556 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
26557 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
26558 }
26559 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
26560 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
26561 }
26562 static void *_p_wxSliderTo_p_wxWindow(void *x) {
26563 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
26564 }
26565 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
26566 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
26567 }
26568 static void *_p_wxButtonTo_p_wxWindow(void *x) {
26569 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
26570 }
26571 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
26572 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
26573 }
26574 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
26575 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26576 }
26577 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
26578 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
26579 }
26580 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26581 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26582 }
26583 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
26584 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26585 }
26586 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
26587 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
26588 }
26589 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26590 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26591 }
26592 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26593 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26594 }
26595 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26596 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26597 }
26598 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26599 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26600 }
26601 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
26602 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26603 }
26604 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
26605 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26606 }
26607 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
26608 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
26609 }
26610 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26611 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26612 }
26613 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
26614 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
26615 }
26616 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
26617 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
26618 }
26619 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26620 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26621 }
26622 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26623 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26624 }
26625 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
26626 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
26627 }
26628 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
26629 return (void *)((wxControlWithItems *) ((wxChoice *) x));
26630 }
26631 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
26632 return (void *)((wxControlWithItems *) ((wxListBox *) x));
26633 }
26634 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
26635 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
26636 }
26637 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
26638 return (void *)((wxValidator *) ((wxPyValidator *) x));
26639 }
26640 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
26641 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}};
26642 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}};
26643 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
26644 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
26645 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
26646 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
26647 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}};
26648 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
26649 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
26650 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
26651 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}};
26652 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
26653 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
26654 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
26655 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}};
26656 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
26657 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
26658 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
26659 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
26660 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
26661 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
26662 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
26663 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
26664 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
26665 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
26666 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
26667 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
26668 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
26669 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
26670 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}};
26671 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
26672 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
26673 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
26674 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
26675 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
26676 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
26677 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
26678 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
26679 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}};
26680 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
26681 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
26682 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
26683 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}};
26684 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
26685 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}};
26686 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
26687 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
26688 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
26689 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
26690 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
26691 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
26692 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
26693 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
26694 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
26695 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
26696 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
26697 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
26698 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
26699 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
26700 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
26701 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
26702 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
26703 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
26704 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}};
26705 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
26706 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}};
26707 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
26708 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
26709 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
26710 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
26711 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}};
26712 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
26713 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
26714 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
26715 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
26716 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
26717 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
26718 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
26719
26720 static swig_type_info *swig_types_initial[] = {
26721 _swigt__p_wxTextUrlEvent,
26722 _swigt__p_wxBookCtrlEvent,
26723 _swigt__p_wxSizer,
26724 _swigt__p_wxTreeItemIdValue,
26725 _swigt__wxTreeItemIdValue,
26726 _swigt__p_wxCheckBox,
26727 _swigt__p_wxPyTreeCtrl,
26728 _swigt__p_wxEvent,
26729 _swigt__p_wxGenericDirCtrl,
26730 _swigt__p_bool,
26731 _swigt__p_wxPyTreeItemData,
26732 _swigt__p_wxItemContainer,
26733 _swigt__p_wxDirFilterListCtrl,
26734 _swigt__p_wxPyListCtrl,
26735 _swigt__p_wxStaticLine,
26736 _swigt__p_wxControl,
26737 _swigt__p_wxPyControl,
26738 _swigt__p_wxGauge,
26739 _swigt__p_wxToolBarBase,
26740 _swigt__p_wxFont,
26741 _swigt__p_wxToggleButton,
26742 _swigt__p_wxRadioButton,
26743 _swigt__p_wxChoice,
26744 _swigt__p_wxListItemAttr,
26745 _swigt__p_int,
26746 _swigt__p_wxSize,
26747 _swigt__p_wxListView,
26748 _swigt__p_wxIcon,
26749 _swigt__p_wxTextCtrl,
26750 _swigt__p_wxNotebook,
26751 _swigt__p_wxNotifyEvent,
26752 _swigt__p_wxArrayString,
26753 _swigt__p_wxListbook,
26754 _swigt__p_wxStaticBitmap,
26755 _swigt__p_wxSlider,
26756 _swigt__p_wxStaticBox,
26757 _swigt__p_wxArrayInt,
26758 _swigt__p_wxContextHelp,
26759 _swigt__p_long,
26760 _swigt__p_wxEvtHandler,
26761 _swigt__p_wxListEvent,
26762 _swigt__p_wxListBox,
26763 _swigt__p_wxCheckListBox,
26764 _swigt__p_wxBookCtrl,
26765 _swigt__p_wxSpinButton,
26766 _swigt__p_wxButton,
26767 _swigt__p_wxBitmapButton,
26768 _swigt__p_wxRect,
26769 _swigt__p_wxContextHelpButton,
26770 _swigt__p_wxRadioBox,
26771 _swigt__p_wxScrollBar,
26772 _swigt__p_wxTreeItemId,
26773 _swigt__p_wxComboBox,
26774 _swigt__p_wxHelpEvent,
26775 _swigt__p_wxListItem,
26776 _swigt__p_wxNotebookSizer,
26777 _swigt__p_wxSpinCtrl,
26778 _swigt__p_wxImageList,
26779 _swigt__p_wxHelpProvider,
26780 _swigt__p_wxTextAttr,
26781 _swigt__p_wxSimpleHelpProvider,
26782 _swigt__p_wxPoint,
26783 _swigt__p_wxListbookEvent,
26784 _swigt__p_wxNotebookEvent,
26785 _swigt__p_wxObject,
26786 _swigt__p_wxKeyEvent,
26787 _swigt__p_wxWindow,
26788 _swigt__p_wxString,
26789 _swigt__p_wxBitmap,
26790 _swigt__p_wxTreeEvent,
26791 _swigt__p_wxMouseEvent,
26792 _swigt__p_wxCommandEvent,
26793 _swigt__p_wxStaticText,
26794 _swigt__p_wxControlWithItems,
26795 _swigt__p_wxToolBarToolBase,
26796 _swigt__p_wxColour,
26797 _swigt__p_wxToolBar,
26798 _swigt__p_wxBookCtrlSizer,
26799 _swigt__p_wxValidator,
26800 0
26801 };
26802
26803
26804 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26805
26806 static swig_const_info swig_const_table[] = {
26807 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
26808 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
26809 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
26810 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
26811 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
26812 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
26813 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
26814 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
26815 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
26816 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
26817 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
26818 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
26819 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
26820 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
26821 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
26822 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
26823 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
26824 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
26825 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
26826 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
26827 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
26828 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
26829 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
26830 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
26831 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
26832 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
26833 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
26834 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
26835 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
26836 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
26837 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
26838 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
26839 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
26840 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
26841 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
26842 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
26843 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
26844 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
26845 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
26846 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
26847 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
26848 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
26849 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
26850 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
26851 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
26852 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
26853 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
26854 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
26855 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
26856 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
26857 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
26858 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
26859 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
26860 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
26861 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
26862 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
26863 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
26864 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
26865 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
26866 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
26867 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
26868 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
26869 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
26870 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
26871 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
26872 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
26873 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
26874 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
26875 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
26876 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
26877 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
26878 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
26879 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
26880 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
26881 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
26882 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
26883 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
26884 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
26885 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
26886 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
26887 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
26888 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
26889 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
26890 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
26891 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
26892 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
26893 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
26894 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
26895 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
26896 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
26897 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
26898 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
26899 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
26900 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
26901 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
26902 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
26903 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
26904 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
26905 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
26906 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
26907 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
26908 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
26909 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
26910 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
26911 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
26912 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
26913 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
26914 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
26915 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
26916 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
26917 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
26918 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
26919 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
26920 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
26921 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
26922 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
26923 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
26924 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
26925 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
26926 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
26927 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
26928 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
26929 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
26930 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
26931 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
26932 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
26933 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
26934 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
26935 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
26936 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
26937 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
26938 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
26939 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
26940 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
26941 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
26942 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
26943 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
26944 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
26945 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
26946 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
26947 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
26948 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
26949 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
26950 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
26951 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
26952 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
26953 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
26954 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
26955 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
26956 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
26957 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
26958 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
26959 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
26960 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
26961 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
26962 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
26963 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
26964 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
26965 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
26966 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
26967 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
26968 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
26969 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
26970 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
26971 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
26972 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
26973 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
26974 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
26975 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
26976 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
26977 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
26978 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
26979 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
26980 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
26981 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
26982 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
26983 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
26984 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
26985 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
26986 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
26987 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
26988 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
26989 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
26990 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
26991 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
26992 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
26993 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
26994 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
26995 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
26996 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
26997 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
26998 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
26999 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27000 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27001 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27002 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27003 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27004 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27005 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27006 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27007 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27008 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27009 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27010 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27011 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27012 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27013 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27014 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27015 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27016 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27017 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27018 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27019 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27020 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27021 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27022 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27023 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27024 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27025 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27026 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27027 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27028 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27029 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27030 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27031 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27032 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27033 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27034 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27035 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27036 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27037 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27038 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27039 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27040 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27041 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27042 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27043 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27044 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27045 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27046 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27047 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27048 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27049 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27050 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27051 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27052 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27053 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27054 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27055 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27056 {0}};
27057
27058 #ifdef __cplusplus
27059 }
27060 #endif
27061
27062 #ifdef __cplusplus
27063 extern "C"
27064 #endif
27065 SWIGEXPORT(void) SWIG_init(void) {
27066 static PyObject *SWIG_globals = 0;
27067 static int typeinit = 0;
27068 PyObject *m, *d;
27069 int i;
27070 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27071 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27072 d = PyModule_GetDict(m);
27073
27074 if (!typeinit) {
27075 for (i = 0; swig_types_initial[i]; i++) {
27076 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27077 }
27078 typeinit = 1;
27079 }
27080 SWIG_InstallConstants(d,swig_const_table);
27081
27082 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
27083 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
27084 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
27085 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
27086 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
27087 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
27088 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
27089 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
27090 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
27091 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
27092 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
27093 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
27094 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
27095 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
27096 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
27097 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
27098 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
27099 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
27100 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
27101 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
27102 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
27103 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
27104 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
27105 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
27106 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
27107 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
27108 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
27109 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
27110 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
27111 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
27112 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
27113 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
27114
27115 // Map renamed classes back to their common name for OOR
27116 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27117
27118 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
27119 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
27120 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
27121 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
27122 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
27123 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
27124 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
27125 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
27126 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
27127 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
27128 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
27129 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
27130 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
27131 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
27132 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
27133 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
27134 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
27135 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
27136 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
27137
27138 // Map renamed classes back to their common name for OOR
27139 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27140 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27141
27142 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
27143 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
27144 }
27145