]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
Merged the wxPy_newswig branch into the HEAD branch (main trunk)
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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 void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
409 }
410
411 DECLARE_DEF_STRING(RadioBoxNameStr);
412 DECLARE_DEF_STRING(RadioButtonNameStr);
413
414 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
415 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
416 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
417
418 #include <wx/slider.h>
419
420 DECLARE_DEF_STRING(SliderNameStr);
421
422
423 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
424 DECLARE_DEF_STRING(ToggleButtonNameStr);
425
426
427 #ifdef __WXMAC__
428 // implement dummy classes and such for wxMac
429
430 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
431
432 class wxToggleButton : public wxControl
433 {
434 public:
435 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
436 const wxPoint&, const wxSize&, long,
437 const wxValidator&, const wxString&)
438 { PyErr_SetNone(PyExc_NotImplementedError); }
439
440 wxToggleButton()
441 { PyErr_SetNone(PyExc_NotImplementedError); }
442 };
443 #endif
444
445
446 DECLARE_DEF_STRING(NOTEBOOK_NAME);
447
448
449 DECLARE_DEF_STRING(ToolBarNameStr);
450
451 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
452 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
453 if (udata) {
454 Py_INCREF(udata->m_obj);
455 return udata->m_obj;
456 } else {
457 Py_INCREF(Py_None);
458 return Py_None;
459 }
460 }
461 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
462 self->SetClientData(new wxPyUserData(clientData));
463 }
464 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){
465 wxPyUserData* udata = NULL;
466 if (clientData && clientData != Py_None)
467 udata = new wxPyUserData(clientData);
468 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
469 shortHelp, longHelp, udata);
470 }
471 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){
472 wxPyUserData* udata = NULL;
473 if (clientData && clientData != Py_None)
474 udata = new wxPyUserData(clientData);
475 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
476 shortHelp, longHelp, udata);
477 }
478 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
479 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
480 if (udata) {
481 Py_INCREF(udata->m_obj);
482 return udata->m_obj;
483 } else {
484 Py_INCREF(Py_None);
485 return Py_None;
486 }
487 }
488 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
489 self->SetToolClientData(id, new wxPyUserData(clientData));
490 }
491
492 #include <wx/listctrl.h>
493
494 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
495 DECLARE_DEF_STRING(ListCtrlNameStr);
496
497 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
498 // Python aware sorting function for wxPyListCtrl
499 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
500 int retval = 0;
501 PyObject* func = (PyObject*)funcPtr;
502 wxPyBeginBlockThreads();
503
504 PyObject* args = Py_BuildValue("(ii)", item1, item2);
505 PyObject* result = PyEval_CallObject(func, args);
506 Py_DECREF(args);
507 if (result) {
508 retval = PyInt_AsLong(result);
509 Py_DECREF(result);
510 }
511
512 wxPyEndBlockThreads();
513 return retval;
514 }
515
516 // C++ Version of a Python aware class
517 class wxPyListCtrl : public wxListCtrl {
518 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
519 public:
520 wxPyListCtrl() : wxListCtrl() {}
521 wxPyListCtrl(wxWindow* parent, wxWindowID id,
522 const wxPoint& pos,
523 const wxSize& size,
524 long style,
525 const wxValidator& validator,
526 const wxString& name) :
527 wxListCtrl(parent, id, pos, size, style, validator, name) {}
528
529 bool Create(wxWindow* parent, wxWindowID id,
530 const wxPoint& pos,
531 const wxSize& size,
532 long style,
533 const wxValidator& validator,
534 const wxString& name) {
535 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
536 }
537
538 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
539 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
540 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
541
542 PYPRIVATE;
543 };
544
545 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
546
547 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
548 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
549 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
550
551 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
552 wxListItem item;
553 item.SetMask( wxLIST_MASK_STATE |
554 wxLIST_MASK_TEXT |
555 wxLIST_MASK_IMAGE |
556 wxLIST_MASK_DATA |
557 wxLIST_SET_ITEM |
558 wxLIST_MASK_WIDTH |
559 wxLIST_MASK_FORMAT
560 );
561 if (self->GetColumn(col, item))
562 return new wxListItem(item);
563 else
564 return NULL;
565 }
566 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
567 wxListItem* info = new wxListItem;
568 info->m_itemId = itemId;
569 info->m_col = col;
570 info->m_mask = 0xFFFF;
571 self->GetItem(*info);
572 return info;
573 }
574 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
575 wxPoint pos;
576 self->GetItemPosition(item, pos);
577 return pos;
578 }
579 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
580 wxRect rect;
581 self->GetItemRect(item, rect, code);
582 return rect;
583 }
584 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
585 if (!PyCallable_Check(func))
586 return FALSE;
587 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
588 }
589 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
590
591
592
593 return (wxWindow*)self->m_mainWin;
594
595 }
596
597 #include <wx/treectrl.h>
598 #include "wx/wxPython/pytree.h"
599
600 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
601 DECLARE_DEF_STRING(_TreeCtrlNameStr);
602
603 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
604 if (!other) return false;
605 return *self == *other;
606 }
607 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
608 if (!other) return true;
609 return *self != *other;
610 }
611 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
612 // C++ version of Python aware wxTreeCtrl
613 class wxPyTreeCtrl : public wxTreeCtrl {
614 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
615 public:
616 wxPyTreeCtrl() : wxTreeCtrl() {}
617 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
618 const wxPoint& pos,
619 const wxSize& size,
620 long style,
621 const wxValidator& validator,
622 const wxString& name) :
623 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
624
625 bool Create(wxWindow *parent, wxWindowID id,
626 const wxPoint& pos,
627 const wxSize& size,
628 long style,
629 const wxValidator& validator,
630 const wxString& name) {
631 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
632 }
633
634
635 int OnCompareItems(const wxTreeItemId& item1,
636 const wxTreeItemId& item2) {
637 int rval = 0;
638 bool found;
639 wxPyBeginBlockThreads();
640 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
641 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), false);
642 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), false);
643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
644 Py_DECREF(o1);
645 Py_DECREF(o2);
646 }
647 wxPyEndBlockThreads();
648 if (! found)
649 rval = wxTreeCtrl::OnCompareItems(item1, item2);
650 return rval;
651 }
652 PYPRIVATE;
653 };
654
655 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
656
657
658 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
659 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
660 if (data == NULL) {
661 data = new wxPyTreeItemData();
662 data->SetId(item); // set the id
663 self->SetItemData(item, data);
664 }
665 return data;
666 }
667 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
668 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
669 if (data == NULL) {
670 data = new wxPyTreeItemData();
671 data->SetId(item); // set the id
672 self->SetItemData(item, data);
673 }
674 return data->GetData();
675 }
676 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
677 data->SetId(item); // set the id
678 self->SetItemData(item, data);
679 }
680 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
681 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
682 if (data == NULL) {
683 data = new wxPyTreeItemData(obj);
684 data->SetId(item); // set the id
685 self->SetItemData(item, data);
686 } else
687 data->SetData(obj);
688 }
689 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
690 wxPyBeginBlockThreads();
691 PyObject* rval = PyList_New(0);
692 wxArrayTreeItemIds array;
693 size_t num, x;
694 num = self->GetSelections(array);
695 for (x=0; x < num; x++) {
696 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
697 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
698 PyList_Append(rval, item);
699 }
700 wxPyEndBlockThreads();
701 return rval;
702 }
703 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
704 wxTreeItemIdValue cookie = 0;
705 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
706 wxPyBeginBlockThreads();
707 PyObject* tup = PyTuple_New(2);
708 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true));
709 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), true));
710 wxPyEndBlockThreads();
711 return tup;
712 }
713 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
714 wxTreeItemId ritem = self->GetNextChild(item, cookie);
715 wxPyBeginBlockThreads();
716 PyObject* tup = PyTuple_New(2);
717 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true));
718 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), true));
719 wxPyEndBlockThreads();
720 return tup;
721 }
722 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
723 wxRect rect;
724 if (self->GetBoundingRect(item, rect, textOnly)) {
725 wxPyBeginBlockThreads();
726 wxRect* r = new wxRect(rect);
727 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), true);
728 wxPyEndBlockThreads();
729 return val;
730 }
731 else
732 RETURN_NONE();
733 }
734
735 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
736
737 // C++ version of Python aware wxControl
738 class wxPyControl : public wxControl
739 {
740 DECLARE_DYNAMIC_CLASS(wxPyControl)
741 public:
742 wxPyControl() : wxControl() {}
743 wxPyControl(wxWindow* parent, const wxWindowID id,
744 const wxPoint& pos = wxDefaultPosition,
745 const wxSize& size = wxDefaultSize,
746 long style = 0,
747 const wxValidator& validator=wxDefaultValidator,
748 const wxString& name = wxPyControlNameStr)
749 : wxControl(parent, id, pos, size, style, validator, name) {}
750
751
752 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
753 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
754 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
755 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
756
757 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
758 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
759 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
760
761 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
762 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
763
764 DEC_PYCALLBACK__(InitDialog);
765 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
766 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
767 DEC_PYCALLBACK_BOOL_(Validate);
768
769 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
770 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
771 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
772
773 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
774 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
775
776 PYPRIVATE;
777 };
778
779 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
780
781 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
782 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
783 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
784 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
785
786 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
787 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
788 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
789
790 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
791 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
792
793 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
794 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
795 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
796 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
797
798 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
799 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
800 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
801
802 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
803 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
804
805
806
807
808 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
809 #ifdef __cplusplus
810 extern "C" {
811 #endif
812 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
813 PyObject *resultobj;
814 wxWindow *arg1 = (wxWindow *) 0 ;
815 wxWindowID arg2 ;
816 wxString *arg3 = 0 ;
817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
819 wxSize const &arg5_defvalue = wxDefaultSize ;
820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
821 long arg6 = (long) 0 ;
822 wxValidator const &arg7_defvalue = wxDefaultValidator ;
823 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
824 wxString const &arg8_defvalue = wxPyButtonNameStr ;
825 wxString *arg8 = (wxString *) &arg8_defvalue ;
826 wxButton *result;
827 bool temp3 = false ;
828 wxPoint temp4 ;
829 wxSize temp5 ;
830 bool temp8 = false ;
831 PyObject * obj0 = 0 ;
832 PyObject * obj2 = 0 ;
833 PyObject * obj3 = 0 ;
834 PyObject * obj4 = 0 ;
835 PyObject * obj6 = 0 ;
836 PyObject * obj7 = 0 ;
837 char *kwnames[] = {
838 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
839 };
840
841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
843 {
844 arg3 = wxString_in_helper(obj2);
845 if (arg3 == NULL) SWIG_fail;
846 temp3 = true;
847 }
848 if (obj3) {
849 {
850 arg4 = &temp4;
851 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
852 }
853 }
854 if (obj4) {
855 {
856 arg5 = &temp5;
857 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
858 }
859 }
860 if (obj6) {
861 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
862 if (arg7 == NULL) {
863 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
864 }
865 }
866 if (obj7) {
867 {
868 arg8 = wxString_in_helper(obj7);
869 if (arg8 == NULL) SWIG_fail;
870 temp8 = true;
871 }
872 }
873 {
874 PyThreadState* __tstate = wxPyBeginAllowThreads();
875 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
876
877 wxPyEndAllowThreads(__tstate);
878 if (PyErr_Occurred()) SWIG_fail;
879 }
880 {
881 resultobj = wxPyMake_wxObject(result);
882 }
883 {
884 if (temp3)
885 delete arg3;
886 }
887 {
888 if (temp8)
889 delete arg8;
890 }
891 return resultobj;
892 fail:
893 {
894 if (temp3)
895 delete arg3;
896 }
897 {
898 if (temp8)
899 delete arg8;
900 }
901 return NULL;
902 }
903
904
905 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
906 PyObject *resultobj;
907 wxButton *result;
908 char *kwnames[] = {
909 NULL
910 };
911
912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
913 {
914 PyThreadState* __tstate = wxPyBeginAllowThreads();
915 result = (wxButton *)new wxButton();
916
917 wxPyEndAllowThreads(__tstate);
918 if (PyErr_Occurred()) SWIG_fail;
919 }
920 {
921 resultobj = wxPyMake_wxObject(result);
922 }
923 return resultobj;
924 fail:
925 return NULL;
926 }
927
928
929 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
930 PyObject *resultobj;
931 wxButton *arg1 = (wxButton *) 0 ;
932 wxWindow *arg2 = (wxWindow *) 0 ;
933 wxWindowID arg3 ;
934 wxString *arg4 = 0 ;
935 wxPoint const &arg5_defvalue = wxDefaultPosition ;
936 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
937 wxSize const &arg6_defvalue = wxDefaultSize ;
938 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
939 long arg7 = (long) 0 ;
940 wxValidator const &arg8_defvalue = wxDefaultValidator ;
941 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
942 wxString const &arg9_defvalue = wxPyButtonNameStr ;
943 wxString *arg9 = (wxString *) &arg9_defvalue ;
944 bool result;
945 bool temp4 = false ;
946 wxPoint temp5 ;
947 wxSize temp6 ;
948 bool temp9 = false ;
949 PyObject * obj0 = 0 ;
950 PyObject * obj1 = 0 ;
951 PyObject * obj3 = 0 ;
952 PyObject * obj4 = 0 ;
953 PyObject * obj5 = 0 ;
954 PyObject * obj7 = 0 ;
955 PyObject * obj8 = 0 ;
956 char *kwnames[] = {
957 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
958 };
959
960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
963 {
964 arg4 = wxString_in_helper(obj3);
965 if (arg4 == NULL) SWIG_fail;
966 temp4 = true;
967 }
968 if (obj4) {
969 {
970 arg5 = &temp5;
971 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
972 }
973 }
974 if (obj5) {
975 {
976 arg6 = &temp6;
977 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
978 }
979 }
980 if (obj7) {
981 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
982 if (arg8 == NULL) {
983 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
984 }
985 }
986 if (obj8) {
987 {
988 arg9 = wxString_in_helper(obj8);
989 if (arg9 == NULL) SWIG_fail;
990 temp9 = true;
991 }
992 }
993 {
994 PyThreadState* __tstate = wxPyBeginAllowThreads();
995 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
996
997 wxPyEndAllowThreads(__tstate);
998 if (PyErr_Occurred()) SWIG_fail;
999 }
1000 resultobj = PyInt_FromLong((long)result);
1001 {
1002 if (temp4)
1003 delete arg4;
1004 }
1005 {
1006 if (temp9)
1007 delete arg9;
1008 }
1009 return resultobj;
1010 fail:
1011 {
1012 if (temp4)
1013 delete arg4;
1014 }
1015 {
1016 if (temp9)
1017 delete arg9;
1018 }
1019 return NULL;
1020 }
1021
1022
1023 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1024 PyObject *resultobj;
1025 wxButton *arg1 = (wxButton *) 0 ;
1026 PyObject * obj0 = 0 ;
1027 char *kwnames[] = {
1028 (char *) "self", NULL
1029 };
1030
1031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1033 {
1034 PyThreadState* __tstate = wxPyBeginAllowThreads();
1035 (arg1)->SetDefault();
1036
1037 wxPyEndAllowThreads(__tstate);
1038 if (PyErr_Occurred()) SWIG_fail;
1039 }
1040 Py_INCREF(Py_None); resultobj = Py_None;
1041 return resultobj;
1042 fail:
1043 return NULL;
1044 }
1045
1046
1047 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1048 PyObject *resultobj;
1049 wxSize result;
1050 char *kwnames[] = {
1051 NULL
1052 };
1053
1054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1055 {
1056 PyThreadState* __tstate = wxPyBeginAllowThreads();
1057 result = wxButton::GetDefaultSize();
1058
1059 wxPyEndAllowThreads(__tstate);
1060 if (PyErr_Occurred()) SWIG_fail;
1061 }
1062 {
1063 wxSize * resultptr;
1064 resultptr = new wxSize((wxSize &) result);
1065 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1066 }
1067 return resultobj;
1068 fail:
1069 return NULL;
1070 }
1071
1072
1073 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1074 PyObject *obj;
1075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1076 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1077 Py_INCREF(obj);
1078 return Py_BuildValue((char *)"");
1079 }
1080 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1081 PyObject *resultobj;
1082 wxWindow *arg1 = (wxWindow *) 0 ;
1083 wxWindowID arg2 ;
1084 wxBitmap *arg3 = 0 ;
1085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1087 wxSize const &arg5_defvalue = wxDefaultSize ;
1088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1089 long arg6 = (long) wxBU_AUTODRAW ;
1090 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1091 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1092 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1093 wxString *arg8 = (wxString *) &arg8_defvalue ;
1094 wxBitmapButton *result;
1095 wxPoint temp4 ;
1096 wxSize temp5 ;
1097 bool temp8 = false ;
1098 PyObject * obj0 = 0 ;
1099 PyObject * obj2 = 0 ;
1100 PyObject * obj3 = 0 ;
1101 PyObject * obj4 = 0 ;
1102 PyObject * obj6 = 0 ;
1103 PyObject * obj7 = 0 ;
1104 char *kwnames[] = {
1105 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1106 };
1107
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1110 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1111 if (arg3 == NULL) {
1112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1113 }
1114 if (obj3) {
1115 {
1116 arg4 = &temp4;
1117 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1118 }
1119 }
1120 if (obj4) {
1121 {
1122 arg5 = &temp5;
1123 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1124 }
1125 }
1126 if (obj6) {
1127 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1128 if (arg7 == NULL) {
1129 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1130 }
1131 }
1132 if (obj7) {
1133 {
1134 arg8 = wxString_in_helper(obj7);
1135 if (arg8 == NULL) SWIG_fail;
1136 temp8 = true;
1137 }
1138 }
1139 {
1140 PyThreadState* __tstate = wxPyBeginAllowThreads();
1141 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1142
1143 wxPyEndAllowThreads(__tstate);
1144 if (PyErr_Occurred()) SWIG_fail;
1145 }
1146 {
1147 resultobj = wxPyMake_wxObject(result);
1148 }
1149 {
1150 if (temp8)
1151 delete arg8;
1152 }
1153 return resultobj;
1154 fail:
1155 {
1156 if (temp8)
1157 delete arg8;
1158 }
1159 return NULL;
1160 }
1161
1162
1163 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject *resultobj;
1165 wxBitmapButton *result;
1166 char *kwnames[] = {
1167 NULL
1168 };
1169
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1171 {
1172 PyThreadState* __tstate = wxPyBeginAllowThreads();
1173 result = (wxBitmapButton *)new wxBitmapButton();
1174
1175 wxPyEndAllowThreads(__tstate);
1176 if (PyErr_Occurred()) SWIG_fail;
1177 }
1178 {
1179 resultobj = wxPyMake_wxObject(result);
1180 }
1181 return resultobj;
1182 fail:
1183 return NULL;
1184 }
1185
1186
1187 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1188 PyObject *resultobj;
1189 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1190 wxWindow *arg2 = (wxWindow *) 0 ;
1191 wxWindowID arg3 ;
1192 wxBitmap *arg4 = 0 ;
1193 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1194 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1195 wxSize const &arg6_defvalue = wxDefaultSize ;
1196 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1197 long arg7 = (long) wxBU_AUTODRAW ;
1198 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1199 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1200 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1201 wxString *arg9 = (wxString *) &arg9_defvalue ;
1202 bool result;
1203 wxPoint temp5 ;
1204 wxSize temp6 ;
1205 bool temp9 = false ;
1206 PyObject * obj0 = 0 ;
1207 PyObject * obj1 = 0 ;
1208 PyObject * obj3 = 0 ;
1209 PyObject * obj4 = 0 ;
1210 PyObject * obj5 = 0 ;
1211 PyObject * obj7 = 0 ;
1212 PyObject * obj8 = 0 ;
1213 char *kwnames[] = {
1214 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1215 };
1216
1217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1220 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1221 if (arg4 == NULL) {
1222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1223 }
1224 if (obj4) {
1225 {
1226 arg5 = &temp5;
1227 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1228 }
1229 }
1230 if (obj5) {
1231 {
1232 arg6 = &temp6;
1233 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1234 }
1235 }
1236 if (obj7) {
1237 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1238 if (arg8 == NULL) {
1239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1240 }
1241 }
1242 if (obj8) {
1243 {
1244 arg9 = wxString_in_helper(obj8);
1245 if (arg9 == NULL) SWIG_fail;
1246 temp9 = true;
1247 }
1248 }
1249 {
1250 PyThreadState* __tstate = wxPyBeginAllowThreads();
1251 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1252
1253 wxPyEndAllowThreads(__tstate);
1254 if (PyErr_Occurred()) SWIG_fail;
1255 }
1256 resultobj = PyInt_FromLong((long)result);
1257 {
1258 if (temp9)
1259 delete arg9;
1260 }
1261 return resultobj;
1262 fail:
1263 {
1264 if (temp9)
1265 delete arg9;
1266 }
1267 return NULL;
1268 }
1269
1270
1271 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1272 PyObject *resultobj;
1273 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1274 wxBitmap result;
1275 PyObject * obj0 = 0 ;
1276 char *kwnames[] = {
1277 (char *) "self", NULL
1278 };
1279
1280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1282 {
1283 PyThreadState* __tstate = wxPyBeginAllowThreads();
1284 result = (arg1)->GetBitmapLabel();
1285
1286 wxPyEndAllowThreads(__tstate);
1287 if (PyErr_Occurred()) SWIG_fail;
1288 }
1289 {
1290 wxBitmap * resultptr;
1291 resultptr = new wxBitmap((wxBitmap &) result);
1292 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1293 }
1294 return resultobj;
1295 fail:
1296 return NULL;
1297 }
1298
1299
1300 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject *resultobj;
1302 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1303 wxBitmap result;
1304 PyObject * obj0 = 0 ;
1305 char *kwnames[] = {
1306 (char *) "self", NULL
1307 };
1308
1309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1311 {
1312 PyThreadState* __tstate = wxPyBeginAllowThreads();
1313 result = (arg1)->GetBitmapDisabled();
1314
1315 wxPyEndAllowThreads(__tstate);
1316 if (PyErr_Occurred()) SWIG_fail;
1317 }
1318 {
1319 wxBitmap * resultptr;
1320 resultptr = new wxBitmap((wxBitmap &) result);
1321 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1322 }
1323 return resultobj;
1324 fail:
1325 return NULL;
1326 }
1327
1328
1329 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1330 PyObject *resultobj;
1331 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1332 wxBitmap result;
1333 PyObject * obj0 = 0 ;
1334 char *kwnames[] = {
1335 (char *) "self", NULL
1336 };
1337
1338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1340 {
1341 PyThreadState* __tstate = wxPyBeginAllowThreads();
1342 result = (arg1)->GetBitmapFocus();
1343
1344 wxPyEndAllowThreads(__tstate);
1345 if (PyErr_Occurred()) SWIG_fail;
1346 }
1347 {
1348 wxBitmap * resultptr;
1349 resultptr = new wxBitmap((wxBitmap &) result);
1350 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1351 }
1352 return resultobj;
1353 fail:
1354 return NULL;
1355 }
1356
1357
1358 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1359 PyObject *resultobj;
1360 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1361 wxBitmap result;
1362 PyObject * obj0 = 0 ;
1363 char *kwnames[] = {
1364 (char *) "self", NULL
1365 };
1366
1367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1369 {
1370 PyThreadState* __tstate = wxPyBeginAllowThreads();
1371 result = (arg1)->GetBitmapSelected();
1372
1373 wxPyEndAllowThreads(__tstate);
1374 if (PyErr_Occurred()) SWIG_fail;
1375 }
1376 {
1377 wxBitmap * resultptr;
1378 resultptr = new wxBitmap((wxBitmap &) result);
1379 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1380 }
1381 return resultobj;
1382 fail:
1383 return NULL;
1384 }
1385
1386
1387 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1388 PyObject *resultobj;
1389 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1390 wxBitmap *arg2 = 0 ;
1391 PyObject * obj0 = 0 ;
1392 PyObject * obj1 = 0 ;
1393 char *kwnames[] = {
1394 (char *) "self",(char *) "bitmap", NULL
1395 };
1396
1397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1400 if (arg2 == NULL) {
1401 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1402 }
1403 {
1404 PyThreadState* __tstate = wxPyBeginAllowThreads();
1405 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1406
1407 wxPyEndAllowThreads(__tstate);
1408 if (PyErr_Occurred()) SWIG_fail;
1409 }
1410 Py_INCREF(Py_None); resultobj = Py_None;
1411 return resultobj;
1412 fail:
1413 return NULL;
1414 }
1415
1416
1417 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1418 PyObject *resultobj;
1419 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1420 wxBitmap *arg2 = 0 ;
1421 PyObject * obj0 = 0 ;
1422 PyObject * obj1 = 0 ;
1423 char *kwnames[] = {
1424 (char *) "self",(char *) "bitmap", NULL
1425 };
1426
1427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1429 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 if (arg2 == NULL) {
1431 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1432 }
1433 {
1434 PyThreadState* __tstate = wxPyBeginAllowThreads();
1435 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1436
1437 wxPyEndAllowThreads(__tstate);
1438 if (PyErr_Occurred()) SWIG_fail;
1439 }
1440 Py_INCREF(Py_None); resultobj = Py_None;
1441 return resultobj;
1442 fail:
1443 return NULL;
1444 }
1445
1446
1447 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1448 PyObject *resultobj;
1449 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1450 wxBitmap *arg2 = 0 ;
1451 PyObject * obj0 = 0 ;
1452 PyObject * obj1 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "self",(char *) "bitmap", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1460 if (arg2 == NULL) {
1461 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1462 }
1463 {
1464 PyThreadState* __tstate = wxPyBeginAllowThreads();
1465 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1466
1467 wxPyEndAllowThreads(__tstate);
1468 if (PyErr_Occurred()) SWIG_fail;
1469 }
1470 Py_INCREF(Py_None); resultobj = Py_None;
1471 return resultobj;
1472 fail:
1473 return NULL;
1474 }
1475
1476
1477 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject *resultobj;
1479 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1480 wxBitmap *arg2 = 0 ;
1481 PyObject * obj0 = 0 ;
1482 PyObject * obj1 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "self",(char *) "bitmap", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1490 if (arg2 == NULL) {
1491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1492 }
1493 {
1494 PyThreadState* __tstate = wxPyBeginAllowThreads();
1495 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1496
1497 wxPyEndAllowThreads(__tstate);
1498 if (PyErr_Occurred()) SWIG_fail;
1499 }
1500 Py_INCREF(Py_None); resultobj = Py_None;
1501 return resultobj;
1502 fail:
1503 return NULL;
1504 }
1505
1506
1507 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1508 PyObject *resultobj;
1509 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1510 int arg2 ;
1511 int arg3 ;
1512 PyObject * obj0 = 0 ;
1513 char *kwnames[] = {
1514 (char *) "self",(char *) "x",(char *) "y", NULL
1515 };
1516
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 (arg1)->SetMargins(arg2,arg3);
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 Py_INCREF(Py_None); resultobj = Py_None;
1527 return resultobj;
1528 fail:
1529 return NULL;
1530 }
1531
1532
1533 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1534 PyObject *resultobj;
1535 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1536 int result;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 resultobj = PyInt_FromLong((long)result);
1552 return resultobj;
1553 fail:
1554 return NULL;
1555 }
1556
1557
1558 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1559 PyObject *resultobj;
1560 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1561 int result;
1562 PyObject * obj0 = 0 ;
1563 char *kwnames[] = {
1564 (char *) "self", NULL
1565 };
1566
1567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 resultobj = PyInt_FromLong((long)result);
1577 return resultobj;
1578 fail:
1579 return NULL;
1580 }
1581
1582
1583 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1584 PyObject *obj;
1585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1586 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1587 Py_INCREF(obj);
1588 return Py_BuildValue((char *)"");
1589 }
1590 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxWindow *arg1 = (wxWindow *) 0 ;
1593 wxWindowID arg2 ;
1594 wxString *arg3 = 0 ;
1595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1597 wxSize const &arg5_defvalue = wxDefaultSize ;
1598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1599 long arg6 = (long) 0 ;
1600 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1601 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1602 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1603 wxString *arg8 = (wxString *) &arg8_defvalue ;
1604 wxCheckBox *result;
1605 bool temp3 = false ;
1606 wxPoint temp4 ;
1607 wxSize temp5 ;
1608 bool temp8 = false ;
1609 PyObject * obj0 = 0 ;
1610 PyObject * obj2 = 0 ;
1611 PyObject * obj3 = 0 ;
1612 PyObject * obj4 = 0 ;
1613 PyObject * obj6 = 0 ;
1614 PyObject * obj7 = 0 ;
1615 char *kwnames[] = {
1616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1617 };
1618
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1621 {
1622 arg3 = wxString_in_helper(obj2);
1623 if (arg3 == NULL) SWIG_fail;
1624 temp3 = true;
1625 }
1626 if (obj3) {
1627 {
1628 arg4 = &temp4;
1629 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1630 }
1631 }
1632 if (obj4) {
1633 {
1634 arg5 = &temp5;
1635 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1636 }
1637 }
1638 if (obj6) {
1639 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1640 if (arg7 == NULL) {
1641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1642 }
1643 }
1644 if (obj7) {
1645 {
1646 arg8 = wxString_in_helper(obj7);
1647 if (arg8 == NULL) SWIG_fail;
1648 temp8 = true;
1649 }
1650 }
1651 {
1652 PyThreadState* __tstate = wxPyBeginAllowThreads();
1653 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1654
1655 wxPyEndAllowThreads(__tstate);
1656 if (PyErr_Occurred()) SWIG_fail;
1657 }
1658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1659 {
1660 if (temp3)
1661 delete arg3;
1662 }
1663 {
1664 if (temp8)
1665 delete arg8;
1666 }
1667 return resultobj;
1668 fail:
1669 {
1670 if (temp3)
1671 delete arg3;
1672 }
1673 {
1674 if (temp8)
1675 delete arg8;
1676 }
1677 return NULL;
1678 }
1679
1680
1681 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxCheckBox *result;
1684 char *kwnames[] = {
1685 NULL
1686 };
1687
1688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 result = (wxCheckBox *)new wxCheckBox();
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1697 return resultobj;
1698 fail:
1699 return NULL;
1700 }
1701
1702
1703 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1704 PyObject *resultobj;
1705 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1706 wxWindow *arg2 = (wxWindow *) 0 ;
1707 wxWindowID arg3 ;
1708 wxString *arg4 = 0 ;
1709 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1710 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1711 wxSize const &arg6_defvalue = wxDefaultSize ;
1712 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1713 long arg7 = (long) 0 ;
1714 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1715 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1716 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1717 wxString *arg9 = (wxString *) &arg9_defvalue ;
1718 bool result;
1719 bool temp4 = false ;
1720 wxPoint temp5 ;
1721 wxSize temp6 ;
1722 bool temp9 = false ;
1723 PyObject * obj0 = 0 ;
1724 PyObject * obj1 = 0 ;
1725 PyObject * obj3 = 0 ;
1726 PyObject * obj4 = 0 ;
1727 PyObject * obj5 = 0 ;
1728 PyObject * obj7 = 0 ;
1729 PyObject * obj8 = 0 ;
1730 char *kwnames[] = {
1731 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1737 {
1738 arg4 = wxString_in_helper(obj3);
1739 if (arg4 == NULL) SWIG_fail;
1740 temp4 = true;
1741 }
1742 if (obj4) {
1743 {
1744 arg5 = &temp5;
1745 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1746 }
1747 }
1748 if (obj5) {
1749 {
1750 arg6 = &temp6;
1751 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1752 }
1753 }
1754 if (obj7) {
1755 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1756 if (arg8 == NULL) {
1757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1758 }
1759 }
1760 if (obj8) {
1761 {
1762 arg9 = wxString_in_helper(obj8);
1763 if (arg9 == NULL) SWIG_fail;
1764 temp9 = true;
1765 }
1766 }
1767 {
1768 PyThreadState* __tstate = wxPyBeginAllowThreads();
1769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1770
1771 wxPyEndAllowThreads(__tstate);
1772 if (PyErr_Occurred()) SWIG_fail;
1773 }
1774 resultobj = PyInt_FromLong((long)result);
1775 {
1776 if (temp4)
1777 delete arg4;
1778 }
1779 {
1780 if (temp9)
1781 delete arg9;
1782 }
1783 return resultobj;
1784 fail:
1785 {
1786 if (temp4)
1787 delete arg4;
1788 }
1789 {
1790 if (temp9)
1791 delete arg9;
1792 }
1793 return NULL;
1794 }
1795
1796
1797 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1798 PyObject *resultobj;
1799 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1800 bool result;
1801 PyObject * obj0 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 {
1809 PyThreadState* __tstate = wxPyBeginAllowThreads();
1810 result = (bool)(arg1)->GetValue();
1811
1812 wxPyEndAllowThreads(__tstate);
1813 if (PyErr_Occurred()) SWIG_fail;
1814 }
1815 resultobj = PyInt_FromLong((long)result);
1816 return resultobj;
1817 fail:
1818 return NULL;
1819 }
1820
1821
1822 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1823 PyObject *resultobj;
1824 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1825 bool result;
1826 PyObject * obj0 = 0 ;
1827 char *kwnames[] = {
1828 (char *) "self", NULL
1829 };
1830
1831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1833 {
1834 PyThreadState* __tstate = wxPyBeginAllowThreads();
1835 result = (bool)(arg1)->IsChecked();
1836
1837 wxPyEndAllowThreads(__tstate);
1838 if (PyErr_Occurred()) SWIG_fail;
1839 }
1840 resultobj = PyInt_FromLong((long)result);
1841 return resultobj;
1842 fail:
1843 return NULL;
1844 }
1845
1846
1847 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1848 PyObject *resultobj;
1849 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1850 bool arg2 ;
1851 PyObject * obj0 = 0 ;
1852 PyObject * obj1 = 0 ;
1853 char *kwnames[] = {
1854 (char *) "self",(char *) "state", NULL
1855 };
1856
1857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1859 arg2 = PyInt_AsLong(obj1) ? true : false;
1860 if (PyErr_Occurred()) SWIG_fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 (arg1)->SetValue(arg2);
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 Py_INCREF(Py_None); resultobj = Py_None;
1869 return resultobj;
1870 fail:
1871 return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1878 int result;
1879 PyObject * obj0 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1886 {
1887 PyThreadState* __tstate = wxPyBeginAllowThreads();
1888 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1889
1890 wxPyEndAllowThreads(__tstate);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 }
1893 resultobj = PyInt_FromLong((long)result);
1894 return resultobj;
1895 fail:
1896 return NULL;
1897 }
1898
1899
1900 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1901 PyObject *resultobj;
1902 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1903 int arg2 ;
1904 PyObject * obj0 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self",(char *) "state", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 {
1912 PyThreadState* __tstate = wxPyBeginAllowThreads();
1913 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1914
1915 wxPyEndAllowThreads(__tstate);
1916 if (PyErr_Occurred()) SWIG_fail;
1917 }
1918 Py_INCREF(Py_None); resultobj = Py_None;
1919 return resultobj;
1920 fail:
1921 return NULL;
1922 }
1923
1924
1925 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1928 bool result;
1929 PyObject * obj0 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self", NULL
1932 };
1933
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1936 {
1937 PyThreadState* __tstate = wxPyBeginAllowThreads();
1938 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1939
1940 wxPyEndAllowThreads(__tstate);
1941 if (PyErr_Occurred()) SWIG_fail;
1942 }
1943 resultobj = PyInt_FromLong((long)result);
1944 return resultobj;
1945 fail:
1946 return NULL;
1947 }
1948
1949
1950 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1951 PyObject *resultobj;
1952 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1953 bool result;
1954 PyObject * obj0 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "self", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1961 {
1962 PyThreadState* __tstate = wxPyBeginAllowThreads();
1963 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1964
1965 wxPyEndAllowThreads(__tstate);
1966 if (PyErr_Occurred()) SWIG_fail;
1967 }
1968 resultobj = PyInt_FromLong((long)result);
1969 return resultobj;
1970 fail:
1971 return NULL;
1972 }
1973
1974
1975 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1976 PyObject *obj;
1977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1978 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1979 Py_INCREF(obj);
1980 return Py_BuildValue((char *)"");
1981 }
1982 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1983 PyObject *resultobj;
1984 wxWindow *arg1 = (wxWindow *) 0 ;
1985 wxWindowID arg2 ;
1986 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1987 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1988 wxSize const &arg4_defvalue = wxDefaultSize ;
1989 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1990 int arg5 = (int) 0 ;
1991 wxString *arg6 = (wxString *) NULL ;
1992 long arg7 = (long) 0 ;
1993 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1994 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1995 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
1996 wxString *arg9 = (wxString *) &arg9_defvalue ;
1997 wxChoice *result;
1998 wxPoint temp3 ;
1999 wxSize temp4 ;
2000 bool temp8 = false ;
2001 PyObject * obj0 = 0 ;
2002 PyObject * obj2 = 0 ;
2003 PyObject * obj3 = 0 ;
2004 PyObject * obj4 = 0 ;
2005 PyObject * obj6 = 0 ;
2006 PyObject * obj7 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2013 if (obj2) {
2014 {
2015 arg3 = &temp3;
2016 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2017 }
2018 }
2019 if (obj3) {
2020 {
2021 arg4 = &temp4;
2022 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2023 }
2024 }
2025 if (obj4) {
2026 {
2027 arg5 = PyList_Size(obj4);
2028 arg6 = wxString_LIST_helper(obj4);
2029 if (arg6 == NULL) SWIG_fail;
2030 }
2031 }
2032 if (obj6) {
2033 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2034 if (arg8 == NULL) {
2035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2036 }
2037 }
2038 if (obj7) {
2039 {
2040 arg9 = wxString_in_helper(obj7);
2041 if (arg9 == NULL) SWIG_fail;
2042 temp8 = true;
2043 }
2044 }
2045 {
2046 PyThreadState* __tstate = wxPyBeginAllowThreads();
2047 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2048
2049 wxPyEndAllowThreads(__tstate);
2050 if (PyErr_Occurred()) SWIG_fail;
2051 }
2052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2053 {
2054 if (arg6) delete [] arg6;
2055 }
2056 {
2057 if (temp8)
2058 delete arg9;
2059 }
2060 return resultobj;
2061 fail:
2062 {
2063 if (arg6) delete [] arg6;
2064 }
2065 {
2066 if (temp8)
2067 delete arg9;
2068 }
2069 return NULL;
2070 }
2071
2072
2073 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2074 PyObject *resultobj;
2075 wxChoice *result;
2076 char *kwnames[] = {
2077 NULL
2078 };
2079
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2081 {
2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
2083 result = (wxChoice *)new wxChoice();
2084
2085 wxPyEndAllowThreads(__tstate);
2086 if (PyErr_Occurred()) SWIG_fail;
2087 }
2088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxChoice *arg1 = (wxChoice *) 0 ;
2098 wxWindow *arg2 = (wxWindow *) 0 ;
2099 wxWindowID arg3 ;
2100 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2101 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2102 wxSize const &arg5_defvalue = wxDefaultSize ;
2103 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2104 int arg6 = (int) 0 ;
2105 wxString *arg7 = (wxString *) NULL ;
2106 long arg8 = (long) 0 ;
2107 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2108 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2109 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2110 wxString *arg10 = (wxString *) &arg10_defvalue ;
2111 bool result;
2112 wxPoint temp4 ;
2113 wxSize temp5 ;
2114 bool temp9 = false ;
2115 PyObject * obj0 = 0 ;
2116 PyObject * obj1 = 0 ;
2117 PyObject * obj3 = 0 ;
2118 PyObject * obj4 = 0 ;
2119 PyObject * obj5 = 0 ;
2120 PyObject * obj7 = 0 ;
2121 PyObject * obj8 = 0 ;
2122 char *kwnames[] = {
2123 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2124 };
2125
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2129 if (obj3) {
2130 {
2131 arg4 = &temp4;
2132 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2133 }
2134 }
2135 if (obj4) {
2136 {
2137 arg5 = &temp5;
2138 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2139 }
2140 }
2141 if (obj5) {
2142 {
2143 arg6 = PyList_Size(obj5);
2144 arg7 = wxString_LIST_helper(obj5);
2145 if (arg7 == NULL) SWIG_fail;
2146 }
2147 }
2148 if (obj7) {
2149 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2150 if (arg9 == NULL) {
2151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2152 }
2153 }
2154 if (obj8) {
2155 {
2156 arg10 = wxString_in_helper(obj8);
2157 if (arg10 == NULL) SWIG_fail;
2158 temp9 = true;
2159 }
2160 }
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 resultobj = PyInt_FromLong((long)result);
2169 {
2170 if (arg7) delete [] arg7;
2171 }
2172 {
2173 if (temp9)
2174 delete arg10;
2175 }
2176 return resultobj;
2177 fail:
2178 {
2179 if (arg7) delete [] arg7;
2180 }
2181 {
2182 if (temp9)
2183 delete arg10;
2184 }
2185 return NULL;
2186 }
2187
2188
2189 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 wxChoice *arg1 = (wxChoice *) 0 ;
2192 int result;
2193 PyObject * obj0 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 result = (int)(arg1)->GetColumns();
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 resultobj = PyInt_FromLong((long)result);
2208 return resultobj;
2209 fail:
2210 return NULL;
2211 }
2212
2213
2214 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxChoice *arg1 = (wxChoice *) 0 ;
2217 int arg2 = (int) (int)1 ;
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "self",(char *) "n", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 (arg1)->SetColumns(arg2);
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 Py_INCREF(Py_None); resultobj = Py_None;
2233 return resultobj;
2234 fail:
2235 return NULL;
2236 }
2237
2238
2239 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 wxChoice *arg1 = (wxChoice *) 0 ;
2242 int arg2 ;
2243 PyObject * obj0 = 0 ;
2244 char *kwnames[] = {
2245 (char *) "self",(char *) "n", NULL
2246 };
2247
2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 (arg1)->SetSelection(arg2);
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) SWIG_fail;
2256 }
2257 Py_INCREF(Py_None); resultobj = Py_None;
2258 return resultobj;
2259 fail:
2260 return NULL;
2261 }
2262
2263
2264 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2265 PyObject *resultobj;
2266 wxChoice *arg1 = (wxChoice *) 0 ;
2267 wxString *arg2 = 0 ;
2268 bool temp2 = false ;
2269 PyObject * obj0 = 0 ;
2270 PyObject * obj1 = 0 ;
2271 char *kwnames[] = {
2272 (char *) "self",(char *) "string", NULL
2273 };
2274
2275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2277 {
2278 arg2 = wxString_in_helper(obj1);
2279 if (arg2 == NULL) SWIG_fail;
2280 temp2 = true;
2281 }
2282 {
2283 PyThreadState* __tstate = wxPyBeginAllowThreads();
2284 (arg1)->SetStringSelection((wxString const &)*arg2);
2285
2286 wxPyEndAllowThreads(__tstate);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 }
2289 Py_INCREF(Py_None); resultobj = Py_None;
2290 {
2291 if (temp2)
2292 delete arg2;
2293 }
2294 return resultobj;
2295 fail:
2296 {
2297 if (temp2)
2298 delete arg2;
2299 }
2300 return NULL;
2301 }
2302
2303
2304 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2305 PyObject *resultobj;
2306 wxChoice *arg1 = (wxChoice *) 0 ;
2307 int arg2 ;
2308 wxString *arg3 = 0 ;
2309 bool temp3 = false ;
2310 PyObject * obj0 = 0 ;
2311 PyObject * obj2 = 0 ;
2312 char *kwnames[] = {
2313 (char *) "self",(char *) "n",(char *) "s", NULL
2314 };
2315
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2318 {
2319 arg3 = wxString_in_helper(obj2);
2320 if (arg3 == NULL) SWIG_fail;
2321 temp3 = true;
2322 }
2323 {
2324 PyThreadState* __tstate = wxPyBeginAllowThreads();
2325 (arg1)->SetString(arg2,(wxString const &)*arg3);
2326
2327 wxPyEndAllowThreads(__tstate);
2328 if (PyErr_Occurred()) SWIG_fail;
2329 }
2330 Py_INCREF(Py_None); resultobj = Py_None;
2331 {
2332 if (temp3)
2333 delete arg3;
2334 }
2335 return resultobj;
2336 fail:
2337 {
2338 if (temp3)
2339 delete arg3;
2340 }
2341 return NULL;
2342 }
2343
2344
2345 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2346 PyObject *obj;
2347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2348 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2349 Py_INCREF(obj);
2350 return Py_BuildValue((char *)"");
2351 }
2352 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2353 PyObject *resultobj;
2354 wxWindow *arg1 = (wxWindow *) 0 ;
2355 wxWindowID arg2 ;
2356 wxString const &arg3_defvalue = wxPyEmptyString ;
2357 wxString *arg3 = (wxString *) &arg3_defvalue ;
2358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2360 wxSize const &arg5_defvalue = wxDefaultSize ;
2361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2362 int arg6 = (int) 0 ;
2363 wxString *arg7 = (wxString *) NULL ;
2364 long arg8 = (long) 0 ;
2365 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2366 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2367 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2368 wxString *arg10 = (wxString *) &arg10_defvalue ;
2369 wxComboBox *result;
2370 bool temp3 = false ;
2371 wxPoint temp4 ;
2372 wxSize temp5 ;
2373 bool temp9 = false ;
2374 PyObject * obj0 = 0 ;
2375 PyObject * obj2 = 0 ;
2376 PyObject * obj3 = 0 ;
2377 PyObject * obj4 = 0 ;
2378 PyObject * obj5 = 0 ;
2379 PyObject * obj7 = 0 ;
2380 PyObject * obj8 = 0 ;
2381 char *kwnames[] = {
2382 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2383 };
2384
2385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2387 if (obj2) {
2388 {
2389 arg3 = wxString_in_helper(obj2);
2390 if (arg3 == NULL) SWIG_fail;
2391 temp3 = true;
2392 }
2393 }
2394 if (obj3) {
2395 {
2396 arg4 = &temp4;
2397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2398 }
2399 }
2400 if (obj4) {
2401 {
2402 arg5 = &temp5;
2403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2404 }
2405 }
2406 if (obj5) {
2407 {
2408 arg6 = PyList_Size(obj5);
2409 arg7 = wxString_LIST_helper(obj5);
2410 if (arg7 == NULL) SWIG_fail;
2411 }
2412 }
2413 if (obj7) {
2414 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2415 if (arg9 == NULL) {
2416 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2417 }
2418 }
2419 if (obj8) {
2420 {
2421 arg10 = wxString_in_helper(obj8);
2422 if (arg10 == NULL) SWIG_fail;
2423 temp9 = true;
2424 }
2425 }
2426 {
2427 PyThreadState* __tstate = wxPyBeginAllowThreads();
2428 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2429
2430 wxPyEndAllowThreads(__tstate);
2431 if (PyErr_Occurred()) SWIG_fail;
2432 }
2433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2434 {
2435 if (temp3)
2436 delete arg3;
2437 }
2438 {
2439 if (arg7) delete [] arg7;
2440 }
2441 {
2442 if (temp9)
2443 delete arg10;
2444 }
2445 return resultobj;
2446 fail:
2447 {
2448 if (temp3)
2449 delete arg3;
2450 }
2451 {
2452 if (arg7) delete [] arg7;
2453 }
2454 {
2455 if (temp9)
2456 delete arg10;
2457 }
2458 return NULL;
2459 }
2460
2461
2462 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2463 PyObject *resultobj;
2464 wxComboBox *result;
2465 char *kwnames[] = {
2466 NULL
2467 };
2468
2469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2470 {
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 result = (wxComboBox *)new wxComboBox();
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2478 return resultobj;
2479 fail:
2480 return NULL;
2481 }
2482
2483
2484 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2485 PyObject *resultobj;
2486 wxComboBox *arg1 = (wxComboBox *) 0 ;
2487 wxWindow *arg2 = (wxWindow *) 0 ;
2488 wxWindowID arg3 ;
2489 wxString const &arg4_defvalue = wxPyEmptyString ;
2490 wxString *arg4 = (wxString *) &arg4_defvalue ;
2491 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2492 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2493 wxSize const &arg6_defvalue = wxDefaultSize ;
2494 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2495 int arg7 = (int) 0 ;
2496 wxString *arg8 = (wxString *) NULL ;
2497 long arg9 = (long) 0 ;
2498 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2499 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2500 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2501 wxString *arg11 = (wxString *) &arg11_defvalue ;
2502 bool result;
2503 bool temp4 = false ;
2504 wxPoint temp5 ;
2505 wxSize temp6 ;
2506 bool temp10 = false ;
2507 PyObject * obj0 = 0 ;
2508 PyObject * obj1 = 0 ;
2509 PyObject * obj3 = 0 ;
2510 PyObject * obj4 = 0 ;
2511 PyObject * obj5 = 0 ;
2512 PyObject * obj6 = 0 ;
2513 PyObject * obj8 = 0 ;
2514 PyObject * obj9 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 if (obj3) {
2523 {
2524 arg4 = wxString_in_helper(obj3);
2525 if (arg4 == NULL) SWIG_fail;
2526 temp4 = true;
2527 }
2528 }
2529 if (obj4) {
2530 {
2531 arg5 = &temp5;
2532 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2533 }
2534 }
2535 if (obj5) {
2536 {
2537 arg6 = &temp6;
2538 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2539 }
2540 }
2541 if (obj6) {
2542 {
2543 arg7 = PyList_Size(obj6);
2544 arg8 = wxString_LIST_helper(obj6);
2545 if (arg8 == NULL) SWIG_fail;
2546 }
2547 }
2548 if (obj8) {
2549 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2550 if (arg10 == NULL) {
2551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2552 }
2553 }
2554 if (obj9) {
2555 {
2556 arg11 = wxString_in_helper(obj9);
2557 if (arg11 == NULL) SWIG_fail;
2558 temp10 = true;
2559 }
2560 }
2561 {
2562 PyThreadState* __tstate = wxPyBeginAllowThreads();
2563 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2564
2565 wxPyEndAllowThreads(__tstate);
2566 if (PyErr_Occurred()) SWIG_fail;
2567 }
2568 resultobj = PyInt_FromLong((long)result);
2569 {
2570 if (temp4)
2571 delete arg4;
2572 }
2573 {
2574 if (arg8) delete [] arg8;
2575 }
2576 {
2577 if (temp10)
2578 delete arg11;
2579 }
2580 return resultobj;
2581 fail:
2582 {
2583 if (temp4)
2584 delete arg4;
2585 }
2586 {
2587 if (arg8) delete [] arg8;
2588 }
2589 {
2590 if (temp10)
2591 delete arg11;
2592 }
2593 return NULL;
2594 }
2595
2596
2597 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2598 PyObject *resultobj;
2599 wxComboBox *arg1 = (wxComboBox *) 0 ;
2600 wxString result;
2601 PyObject * obj0 = 0 ;
2602 char *kwnames[] = {
2603 (char *) "self", NULL
2604 };
2605
2606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2608 {
2609 PyThreadState* __tstate = wxPyBeginAllowThreads();
2610 result = ((wxComboBox const *)arg1)->GetValue();
2611
2612 wxPyEndAllowThreads(__tstate);
2613 if (PyErr_Occurred()) SWIG_fail;
2614 }
2615 {
2616 #if wxUSE_UNICODE
2617 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2618 #else
2619 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2620 #endif
2621 }
2622 return resultobj;
2623 fail:
2624 return NULL;
2625 }
2626
2627
2628 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2629 PyObject *resultobj;
2630 wxComboBox *arg1 = (wxComboBox *) 0 ;
2631 wxString *arg2 = 0 ;
2632 bool temp2 = false ;
2633 PyObject * obj0 = 0 ;
2634 PyObject * obj1 = 0 ;
2635 char *kwnames[] = {
2636 (char *) "self",(char *) "value", NULL
2637 };
2638
2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2641 {
2642 arg2 = wxString_in_helper(obj1);
2643 if (arg2 == NULL) SWIG_fail;
2644 temp2 = true;
2645 }
2646 {
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
2648 (arg1)->SetValue((wxString const &)*arg2);
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
2653 Py_INCREF(Py_None); resultobj = Py_None;
2654 {
2655 if (temp2)
2656 delete arg2;
2657 }
2658 return resultobj;
2659 fail:
2660 {
2661 if (temp2)
2662 delete arg2;
2663 }
2664 return NULL;
2665 }
2666
2667
2668 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2669 PyObject *resultobj;
2670 wxComboBox *arg1 = (wxComboBox *) 0 ;
2671 PyObject * obj0 = 0 ;
2672 char *kwnames[] = {
2673 (char *) "self", NULL
2674 };
2675
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2678 {
2679 PyThreadState* __tstate = wxPyBeginAllowThreads();
2680 (arg1)->Copy();
2681
2682 wxPyEndAllowThreads(__tstate);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 Py_INCREF(Py_None); resultobj = Py_None;
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2693 PyObject *resultobj;
2694 wxComboBox *arg1 = (wxComboBox *) 0 ;
2695 PyObject * obj0 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2702 {
2703 PyThreadState* __tstate = wxPyBeginAllowThreads();
2704 (arg1)->Cut();
2705
2706 wxPyEndAllowThreads(__tstate);
2707 if (PyErr_Occurred()) SWIG_fail;
2708 }
2709 Py_INCREF(Py_None); resultobj = Py_None;
2710 return resultobj;
2711 fail:
2712 return NULL;
2713 }
2714
2715
2716 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2717 PyObject *resultobj;
2718 wxComboBox *arg1 = (wxComboBox *) 0 ;
2719 PyObject * obj0 = 0 ;
2720 char *kwnames[] = {
2721 (char *) "self", NULL
2722 };
2723
2724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2726 {
2727 PyThreadState* __tstate = wxPyBeginAllowThreads();
2728 (arg1)->Paste();
2729
2730 wxPyEndAllowThreads(__tstate);
2731 if (PyErr_Occurred()) SWIG_fail;
2732 }
2733 Py_INCREF(Py_None); resultobj = Py_None;
2734 return resultobj;
2735 fail:
2736 return NULL;
2737 }
2738
2739
2740 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxComboBox *arg1 = (wxComboBox *) 0 ;
2743 long arg2 ;
2744 PyObject * obj0 = 0 ;
2745 char *kwnames[] = {
2746 (char *) "self",(char *) "pos", NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 (arg1)->SetInsertionPoint(arg2);
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 Py_INCREF(Py_None); resultobj = Py_None;
2759 return resultobj;
2760 fail:
2761 return NULL;
2762 }
2763
2764
2765 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxComboBox *arg1 = (wxComboBox *) 0 ;
2768 long result;
2769 PyObject * obj0 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "self", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 resultobj = PyInt_FromLong((long)result);
2784 return resultobj;
2785 fail:
2786 return NULL;
2787 }
2788
2789
2790 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2791 PyObject *resultobj;
2792 wxComboBox *arg1 = (wxComboBox *) 0 ;
2793 long result;
2794 PyObject * obj0 = 0 ;
2795 char *kwnames[] = {
2796 (char *) "self", NULL
2797 };
2798
2799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 resultobj = PyInt_FromLong((long)result);
2809 return resultobj;
2810 fail:
2811 return NULL;
2812 }
2813
2814
2815 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxComboBox *arg1 = (wxComboBox *) 0 ;
2818 long arg2 ;
2819 long arg3 ;
2820 wxString *arg4 = 0 ;
2821 bool temp4 = false ;
2822 PyObject * obj0 = 0 ;
2823 PyObject * obj3 = 0 ;
2824 char *kwnames[] = {
2825 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2826 };
2827
2828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2830 {
2831 arg4 = wxString_in_helper(obj3);
2832 if (arg4 == NULL) SWIG_fail;
2833 temp4 = true;
2834 }
2835 {
2836 PyThreadState* __tstate = wxPyBeginAllowThreads();
2837 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2838
2839 wxPyEndAllowThreads(__tstate);
2840 if (PyErr_Occurred()) SWIG_fail;
2841 }
2842 Py_INCREF(Py_None); resultobj = Py_None;
2843 {
2844 if (temp4)
2845 delete arg4;
2846 }
2847 return resultobj;
2848 fail:
2849 {
2850 if (temp4)
2851 delete arg4;
2852 }
2853 return NULL;
2854 }
2855
2856
2857 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2858 PyObject *resultobj;
2859 wxComboBox *arg1 = (wxComboBox *) 0 ;
2860 long arg2 ;
2861 long arg3 ;
2862 PyObject * obj0 = 0 ;
2863 char *kwnames[] = {
2864 (char *) "self",(char *) "from",(char *) "to", NULL
2865 };
2866
2867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2869 {
2870 PyThreadState* __tstate = wxPyBeginAllowThreads();
2871 (arg1)->SetSelection(arg2,arg3);
2872
2873 wxPyEndAllowThreads(__tstate);
2874 if (PyErr_Occurred()) SWIG_fail;
2875 }
2876 Py_INCREF(Py_None); resultobj = Py_None;
2877 return resultobj;
2878 fail:
2879 return NULL;
2880 }
2881
2882
2883 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2884 PyObject *resultobj;
2885 wxComboBox *arg1 = (wxComboBox *) 0 ;
2886 bool arg2 ;
2887 PyObject * obj0 = 0 ;
2888 PyObject * obj1 = 0 ;
2889 char *kwnames[] = {
2890 (char *) "self",(char *) "editable", NULL
2891 };
2892
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2895 arg2 = PyInt_AsLong(obj1) ? true : false;
2896 if (PyErr_Occurred()) SWIG_fail;
2897 {
2898 PyThreadState* __tstate = wxPyBeginAllowThreads();
2899 (arg1)->SetEditable(arg2);
2900
2901 wxPyEndAllowThreads(__tstate);
2902 if (PyErr_Occurred()) SWIG_fail;
2903 }
2904 Py_INCREF(Py_None); resultobj = Py_None;
2905 return resultobj;
2906 fail:
2907 return NULL;
2908 }
2909
2910
2911 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2912 PyObject *resultobj;
2913 wxComboBox *arg1 = (wxComboBox *) 0 ;
2914 PyObject * obj0 = 0 ;
2915 char *kwnames[] = {
2916 (char *) "self", NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2921 {
2922 PyThreadState* __tstate = wxPyBeginAllowThreads();
2923 (arg1)->SetInsertionPointEnd();
2924
2925 wxPyEndAllowThreads(__tstate);
2926 if (PyErr_Occurred()) SWIG_fail;
2927 }
2928 Py_INCREF(Py_None); resultobj = Py_None;
2929 return resultobj;
2930 fail:
2931 return NULL;
2932 }
2933
2934
2935 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2936 PyObject *resultobj;
2937 wxComboBox *arg1 = (wxComboBox *) 0 ;
2938 long arg2 ;
2939 long arg3 ;
2940 PyObject * obj0 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "self",(char *) "from",(char *) "to", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2947 {
2948 PyThreadState* __tstate = wxPyBeginAllowThreads();
2949 (arg1)->Remove(arg2,arg3);
2950
2951 wxPyEndAllowThreads(__tstate);
2952 if (PyErr_Occurred()) SWIG_fail;
2953 }
2954 Py_INCREF(Py_None); resultobj = Py_None;
2955 return resultobj;
2956 fail:
2957 return NULL;
2958 }
2959
2960
2961 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2962 PyObject *obj;
2963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2964 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2965 Py_INCREF(obj);
2966 return Py_BuildValue((char *)"");
2967 }
2968 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2969 PyObject *resultobj;
2970 wxWindow *arg1 = (wxWindow *) 0 ;
2971 wxWindowID arg2 ;
2972 int arg3 ;
2973 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2974 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2975 wxSize const &arg5_defvalue = wxDefaultSize ;
2976 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2977 long arg6 = (long) wxGA_HORIZONTAL ;
2978 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2979 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2980 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
2981 wxString *arg8 = (wxString *) &arg8_defvalue ;
2982 wxGauge *result;
2983 wxPoint temp4 ;
2984 wxSize temp5 ;
2985 bool temp8 = false ;
2986 PyObject * obj0 = 0 ;
2987 PyObject * obj3 = 0 ;
2988 PyObject * obj4 = 0 ;
2989 PyObject * obj6 = 0 ;
2990 PyObject * obj7 = 0 ;
2991 char *kwnames[] = {
2992 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2993 };
2994
2995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
2996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2997 if (obj3) {
2998 {
2999 arg4 = &temp4;
3000 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3001 }
3002 }
3003 if (obj4) {
3004 {
3005 arg5 = &temp5;
3006 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3007 }
3008 }
3009 if (obj6) {
3010 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3011 if (arg7 == NULL) {
3012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3013 }
3014 }
3015 if (obj7) {
3016 {
3017 arg8 = wxString_in_helper(obj7);
3018 if (arg8 == NULL) SWIG_fail;
3019 temp8 = true;
3020 }
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3025
3026 wxPyEndAllowThreads(__tstate);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3030 {
3031 if (temp8)
3032 delete arg8;
3033 }
3034 return resultobj;
3035 fail:
3036 {
3037 if (temp8)
3038 delete arg8;
3039 }
3040 return NULL;
3041 }
3042
3043
3044 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3045 PyObject *resultobj;
3046 wxGauge *result;
3047 char *kwnames[] = {
3048 NULL
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3052 {
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 result = (wxGauge *)new wxGauge();
3055
3056 wxPyEndAllowThreads(__tstate);
3057 if (PyErr_Occurred()) SWIG_fail;
3058 }
3059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3060 return resultobj;
3061 fail:
3062 return NULL;
3063 }
3064
3065
3066 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3067 PyObject *resultobj;
3068 wxGauge *arg1 = (wxGauge *) 0 ;
3069 wxWindow *arg2 = (wxWindow *) 0 ;
3070 wxWindowID arg3 ;
3071 int arg4 ;
3072 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3073 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3074 wxSize const &arg6_defvalue = wxDefaultSize ;
3075 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3076 long arg7 = (long) wxGA_HORIZONTAL ;
3077 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3078 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3079 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3080 wxString *arg9 = (wxString *) &arg9_defvalue ;
3081 bool result;
3082 wxPoint temp5 ;
3083 wxSize temp6 ;
3084 bool temp9 = false ;
3085 PyObject * obj0 = 0 ;
3086 PyObject * obj1 = 0 ;
3087 PyObject * obj4 = 0 ;
3088 PyObject * obj5 = 0 ;
3089 PyObject * obj7 = 0 ;
3090 PyObject * obj8 = 0 ;
3091 char *kwnames[] = {
3092 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3093 };
3094
3095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3098 if (obj4) {
3099 {
3100 arg5 = &temp5;
3101 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3102 }
3103 }
3104 if (obj5) {
3105 {
3106 arg6 = &temp6;
3107 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3108 }
3109 }
3110 if (obj7) {
3111 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 if (arg8 == NULL) {
3113 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3114 }
3115 }
3116 if (obj8) {
3117 {
3118 arg9 = wxString_in_helper(obj8);
3119 if (arg9 == NULL) SWIG_fail;
3120 temp9 = true;
3121 }
3122 }
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 resultobj = PyInt_FromLong((long)result);
3131 {
3132 if (temp9)
3133 delete arg9;
3134 }
3135 return resultobj;
3136 fail:
3137 {
3138 if (temp9)
3139 delete arg9;
3140 }
3141 return NULL;
3142 }
3143
3144
3145 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3146 PyObject *resultobj;
3147 wxGauge *arg1 = (wxGauge *) 0 ;
3148 int arg2 ;
3149 PyObject * obj0 = 0 ;
3150 char *kwnames[] = {
3151 (char *) "self",(char *) "range", NULL
3152 };
3153
3154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3156 {
3157 PyThreadState* __tstate = wxPyBeginAllowThreads();
3158 (arg1)->SetRange(arg2);
3159
3160 wxPyEndAllowThreads(__tstate);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 Py_INCREF(Py_None); resultobj = Py_None;
3164 return resultobj;
3165 fail:
3166 return NULL;
3167 }
3168
3169
3170 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3171 PyObject *resultobj;
3172 wxGauge *arg1 = (wxGauge *) 0 ;
3173 int result;
3174 PyObject * obj0 = 0 ;
3175 char *kwnames[] = {
3176 (char *) "self", NULL
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3181 {
3182 PyThreadState* __tstate = wxPyBeginAllowThreads();
3183 result = (int)((wxGauge const *)arg1)->GetRange();
3184
3185 wxPyEndAllowThreads(__tstate);
3186 if (PyErr_Occurred()) SWIG_fail;
3187 }
3188 resultobj = PyInt_FromLong((long)result);
3189 return resultobj;
3190 fail:
3191 return NULL;
3192 }
3193
3194
3195 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3196 PyObject *resultobj;
3197 wxGauge *arg1 = (wxGauge *) 0 ;
3198 int arg2 ;
3199 PyObject * obj0 = 0 ;
3200 char *kwnames[] = {
3201 (char *) "self",(char *) "pos", NULL
3202 };
3203
3204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3206 {
3207 PyThreadState* __tstate = wxPyBeginAllowThreads();
3208 (arg1)->SetValue(arg2);
3209
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 Py_INCREF(Py_None); resultobj = Py_None;
3214 return resultobj;
3215 fail:
3216 return NULL;
3217 }
3218
3219
3220 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj;
3222 wxGauge *arg1 = (wxGauge *) 0 ;
3223 int result;
3224 PyObject * obj0 = 0 ;
3225 char *kwnames[] = {
3226 (char *) "self", NULL
3227 };
3228
3229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3231 {
3232 PyThreadState* __tstate = wxPyBeginAllowThreads();
3233 result = (int)((wxGauge const *)arg1)->GetValue();
3234
3235 wxPyEndAllowThreads(__tstate);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 resultobj = PyInt_FromLong((long)result);
3239 return resultobj;
3240 fail:
3241 return NULL;
3242 }
3243
3244
3245 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3246 PyObject *resultobj;
3247 wxGauge *arg1 = (wxGauge *) 0 ;
3248 bool result;
3249 PyObject * obj0 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "self", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3256 {
3257 PyThreadState* __tstate = wxPyBeginAllowThreads();
3258 result = (bool)((wxGauge const *)arg1)->IsVertical();
3259
3260 wxPyEndAllowThreads(__tstate);
3261 if (PyErr_Occurred()) SWIG_fail;
3262 }
3263 resultobj = PyInt_FromLong((long)result);
3264 return resultobj;
3265 fail:
3266 return NULL;
3267 }
3268
3269
3270 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3271 PyObject *resultobj;
3272 wxGauge *arg1 = (wxGauge *) 0 ;
3273 int arg2 ;
3274 PyObject * obj0 = 0 ;
3275 char *kwnames[] = {
3276 (char *) "self",(char *) "w", NULL
3277 };
3278
3279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 (arg1)->SetShadowWidth(arg2);
3284
3285 wxPyEndAllowThreads(__tstate);
3286 if (PyErr_Occurred()) SWIG_fail;
3287 }
3288 Py_INCREF(Py_None); resultobj = Py_None;
3289 return resultobj;
3290 fail:
3291 return NULL;
3292 }
3293
3294
3295 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3296 PyObject *resultobj;
3297 wxGauge *arg1 = (wxGauge *) 0 ;
3298 int result;
3299 PyObject * obj0 = 0 ;
3300 char *kwnames[] = {
3301 (char *) "self", NULL
3302 };
3303
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3306 {
3307 PyThreadState* __tstate = wxPyBeginAllowThreads();
3308 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3309
3310 wxPyEndAllowThreads(__tstate);
3311 if (PyErr_Occurred()) SWIG_fail;
3312 }
3313 resultobj = PyInt_FromLong((long)result);
3314 return resultobj;
3315 fail:
3316 return NULL;
3317 }
3318
3319
3320 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3321 PyObject *resultobj;
3322 wxGauge *arg1 = (wxGauge *) 0 ;
3323 int arg2 ;
3324 PyObject * obj0 = 0 ;
3325 char *kwnames[] = {
3326 (char *) "self",(char *) "w", NULL
3327 };
3328
3329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3331 {
3332 PyThreadState* __tstate = wxPyBeginAllowThreads();
3333 (arg1)->SetBezelFace(arg2);
3334
3335 wxPyEndAllowThreads(__tstate);
3336 if (PyErr_Occurred()) SWIG_fail;
3337 }
3338 Py_INCREF(Py_None); resultobj = Py_None;
3339 return resultobj;
3340 fail:
3341 return NULL;
3342 }
3343
3344
3345 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj;
3347 wxGauge *arg1 = (wxGauge *) 0 ;
3348 int result;
3349 PyObject * obj0 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3356 {
3357 PyThreadState* __tstate = wxPyBeginAllowThreads();
3358 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3359
3360 wxPyEndAllowThreads(__tstate);
3361 if (PyErr_Occurred()) SWIG_fail;
3362 }
3363 resultobj = PyInt_FromLong((long)result);
3364 return resultobj;
3365 fail:
3366 return NULL;
3367 }
3368
3369
3370 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3371 PyObject *obj;
3372 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3373 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3374 Py_INCREF(obj);
3375 return Py_BuildValue((char *)"");
3376 }
3377 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj;
3379 wxWindow *arg1 = (wxWindow *) 0 ;
3380 wxWindowID arg2 ;
3381 wxString *arg3 = 0 ;
3382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3384 wxSize const &arg5_defvalue = wxDefaultSize ;
3385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3386 long arg6 = (long) 0 ;
3387 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3388 wxString *arg7 = (wxString *) &arg7_defvalue ;
3389 wxStaticBox *result;
3390 bool temp3 = false ;
3391 wxPoint temp4 ;
3392 wxSize temp5 ;
3393 bool temp7 = false ;
3394 PyObject * obj0 = 0 ;
3395 PyObject * obj2 = 0 ;
3396 PyObject * obj3 = 0 ;
3397 PyObject * obj4 = 0 ;
3398 PyObject * obj6 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3401 };
3402
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3405 {
3406 arg3 = wxString_in_helper(obj2);
3407 if (arg3 == NULL) SWIG_fail;
3408 temp3 = true;
3409 }
3410 if (obj3) {
3411 {
3412 arg4 = &temp4;
3413 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3414 }
3415 }
3416 if (obj4) {
3417 {
3418 arg5 = &temp5;
3419 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3420 }
3421 }
3422 if (obj6) {
3423 {
3424 arg7 = wxString_in_helper(obj6);
3425 if (arg7 == NULL) SWIG_fail;
3426 temp7 = true;
3427 }
3428 }
3429 {
3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
3431 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3432
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
3436 {
3437 resultobj = wxPyMake_wxObject(result);
3438 }
3439 {
3440 if (temp3)
3441 delete arg3;
3442 }
3443 {
3444 if (temp7)
3445 delete arg7;
3446 }
3447 return resultobj;
3448 fail:
3449 {
3450 if (temp3)
3451 delete arg3;
3452 }
3453 {
3454 if (temp7)
3455 delete arg7;
3456 }
3457 return NULL;
3458 }
3459
3460
3461 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj;
3463 wxStaticBox *result;
3464 char *kwnames[] = {
3465 NULL
3466 };
3467
3468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = (wxStaticBox *)new wxStaticBox();
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 {
3477 resultobj = wxPyMake_wxObject(result);
3478 }
3479 return resultobj;
3480 fail:
3481 return NULL;
3482 }
3483
3484
3485 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3486 PyObject *resultobj;
3487 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3488 wxWindow *arg2 = (wxWindow *) 0 ;
3489 wxWindowID arg3 ;
3490 wxString *arg4 = 0 ;
3491 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3492 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3493 wxSize const &arg6_defvalue = wxDefaultSize ;
3494 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3495 long arg7 = (long) 0 ;
3496 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3497 wxString *arg8 = (wxString *) &arg8_defvalue ;
3498 bool result;
3499 bool temp4 = false ;
3500 wxPoint temp5 ;
3501 wxSize temp6 ;
3502 bool temp8 = false ;
3503 PyObject * obj0 = 0 ;
3504 PyObject * obj1 = 0 ;
3505 PyObject * obj3 = 0 ;
3506 PyObject * obj4 = 0 ;
3507 PyObject * obj5 = 0 ;
3508 PyObject * obj7 = 0 ;
3509 char *kwnames[] = {
3510 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3511 };
3512
3513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3516 {
3517 arg4 = wxString_in_helper(obj3);
3518 if (arg4 == NULL) SWIG_fail;
3519 temp4 = true;
3520 }
3521 if (obj4) {
3522 {
3523 arg5 = &temp5;
3524 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3525 }
3526 }
3527 if (obj5) {
3528 {
3529 arg6 = &temp6;
3530 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3531 }
3532 }
3533 if (obj7) {
3534 {
3535 arg8 = wxString_in_helper(obj7);
3536 if (arg8 == NULL) SWIG_fail;
3537 temp8 = true;
3538 }
3539 }
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 resultobj = PyInt_FromLong((long)result);
3548 {
3549 if (temp4)
3550 delete arg4;
3551 }
3552 {
3553 if (temp8)
3554 delete arg8;
3555 }
3556 return resultobj;
3557 fail:
3558 {
3559 if (temp4)
3560 delete arg4;
3561 }
3562 {
3563 if (temp8)
3564 delete arg8;
3565 }
3566 return NULL;
3567 }
3568
3569
3570 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3571 PyObject *obj;
3572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3573 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3574 Py_INCREF(obj);
3575 return Py_BuildValue((char *)"");
3576 }
3577 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject *resultobj;
3579 wxWindow *arg1 = (wxWindow *) 0 ;
3580 wxWindowID arg2 ;
3581 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3582 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3583 wxSize const &arg4_defvalue = wxDefaultSize ;
3584 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3585 long arg5 = (long) wxLI_HORIZONTAL ;
3586 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3587 wxString *arg6 = (wxString *) &arg6_defvalue ;
3588 wxStaticLine *result;
3589 wxPoint temp3 ;
3590 wxSize temp4 ;
3591 bool temp6 = false ;
3592 PyObject * obj0 = 0 ;
3593 PyObject * obj2 = 0 ;
3594 PyObject * obj3 = 0 ;
3595 PyObject * obj5 = 0 ;
3596 char *kwnames[] = {
3597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3598 };
3599
3600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3602 if (obj2) {
3603 {
3604 arg3 = &temp3;
3605 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3606 }
3607 }
3608 if (obj3) {
3609 {
3610 arg4 = &temp4;
3611 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3612 }
3613 }
3614 if (obj5) {
3615 {
3616 arg6 = wxString_in_helper(obj5);
3617 if (arg6 == NULL) SWIG_fail;
3618 temp6 = true;
3619 }
3620 }
3621 {
3622 PyThreadState* __tstate = wxPyBeginAllowThreads();
3623 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3624
3625 wxPyEndAllowThreads(__tstate);
3626 if (PyErr_Occurred()) SWIG_fail;
3627 }
3628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3629 {
3630 if (temp6)
3631 delete arg6;
3632 }
3633 return resultobj;
3634 fail:
3635 {
3636 if (temp6)
3637 delete arg6;
3638 }
3639 return NULL;
3640 }
3641
3642
3643 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3644 PyObject *resultobj;
3645 wxStaticLine *result;
3646 char *kwnames[] = {
3647 NULL
3648 };
3649
3650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3651 {
3652 PyThreadState* __tstate = wxPyBeginAllowThreads();
3653 result = (wxStaticLine *)new wxStaticLine();
3654
3655 wxPyEndAllowThreads(__tstate);
3656 if (PyErr_Occurred()) SWIG_fail;
3657 }
3658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3659 return resultobj;
3660 fail:
3661 return NULL;
3662 }
3663
3664
3665 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3666 PyObject *resultobj;
3667 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3668 wxWindow *arg2 = (wxWindow *) 0 ;
3669 wxWindowID arg3 ;
3670 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3671 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3672 wxSize const &arg5_defvalue = wxDefaultSize ;
3673 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3674 long arg6 = (long) wxLI_HORIZONTAL ;
3675 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3676 wxString *arg7 = (wxString *) &arg7_defvalue ;
3677 bool result;
3678 wxPoint temp4 ;
3679 wxSize temp5 ;
3680 bool temp7 = false ;
3681 PyObject * obj0 = 0 ;
3682 PyObject * obj1 = 0 ;
3683 PyObject * obj3 = 0 ;
3684 PyObject * obj4 = 0 ;
3685 PyObject * obj6 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3693 if (obj3) {
3694 {
3695 arg4 = &temp4;
3696 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3697 }
3698 }
3699 if (obj4) {
3700 {
3701 arg5 = &temp5;
3702 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3703 }
3704 }
3705 if (obj6) {
3706 {
3707 arg7 = wxString_in_helper(obj6);
3708 if (arg7 == NULL) SWIG_fail;
3709 temp7 = true;
3710 }
3711 }
3712 {
3713 PyThreadState* __tstate = wxPyBeginAllowThreads();
3714 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3715
3716 wxPyEndAllowThreads(__tstate);
3717 if (PyErr_Occurred()) SWIG_fail;
3718 }
3719 resultobj = PyInt_FromLong((long)result);
3720 {
3721 if (temp7)
3722 delete arg7;
3723 }
3724 return resultobj;
3725 fail:
3726 {
3727 if (temp7)
3728 delete arg7;
3729 }
3730 return NULL;
3731 }
3732
3733
3734 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3737 bool result;
3738 PyObject * obj0 = 0 ;
3739 char *kwnames[] = {
3740 (char *) "self", NULL
3741 };
3742
3743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 resultobj = PyInt_FromLong((long)result);
3753 return resultobj;
3754 fail:
3755 return NULL;
3756 }
3757
3758
3759 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj;
3761 int result;
3762 char *kwnames[] = {
3763 NULL
3764 };
3765
3766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 result = (int)wxStaticLine::GetDefaultSize();
3770
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 resultobj = PyInt_FromLong((long)result);
3775 return resultobj;
3776 fail:
3777 return NULL;
3778 }
3779
3780
3781 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3782 PyObject *obj;
3783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3784 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3785 Py_INCREF(obj);
3786 return Py_BuildValue((char *)"");
3787 }
3788 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3789 PyObject *resultobj;
3790 wxWindow *arg1 = (wxWindow *) 0 ;
3791 wxWindowID arg2 ;
3792 wxString *arg3 = 0 ;
3793 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3794 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3795 wxSize const &arg5_defvalue = wxDefaultSize ;
3796 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3797 long arg6 = (long) 0 ;
3798 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3799 wxString *arg7 = (wxString *) &arg7_defvalue ;
3800 wxStaticText *result;
3801 bool temp3 = false ;
3802 wxPoint temp4 ;
3803 wxSize temp5 ;
3804 bool temp7 = false ;
3805 PyObject * obj0 = 0 ;
3806 PyObject * obj2 = 0 ;
3807 PyObject * obj3 = 0 ;
3808 PyObject * obj4 = 0 ;
3809 PyObject * obj6 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3816 {
3817 arg3 = wxString_in_helper(obj2);
3818 if (arg3 == NULL) SWIG_fail;
3819 temp3 = true;
3820 }
3821 if (obj3) {
3822 {
3823 arg4 = &temp4;
3824 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3825 }
3826 }
3827 if (obj4) {
3828 {
3829 arg5 = &temp5;
3830 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3831 }
3832 }
3833 if (obj6) {
3834 {
3835 arg7 = wxString_in_helper(obj6);
3836 if (arg7 == NULL) SWIG_fail;
3837 temp7 = true;
3838 }
3839 }
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3848 {
3849 if (temp3)
3850 delete arg3;
3851 }
3852 {
3853 if (temp7)
3854 delete arg7;
3855 }
3856 return resultobj;
3857 fail:
3858 {
3859 if (temp3)
3860 delete arg3;
3861 }
3862 {
3863 if (temp7)
3864 delete arg7;
3865 }
3866 return NULL;
3867 }
3868
3869
3870 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj;
3872 wxStaticText *result;
3873 char *kwnames[] = {
3874 NULL
3875 };
3876
3877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3878 {
3879 PyThreadState* __tstate = wxPyBeginAllowThreads();
3880 result = (wxStaticText *)new wxStaticText();
3881
3882 wxPyEndAllowThreads(__tstate);
3883 if (PyErr_Occurred()) SWIG_fail;
3884 }
3885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3886 return resultobj;
3887 fail:
3888 return NULL;
3889 }
3890
3891
3892 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3893 PyObject *resultobj;
3894 wxStaticText *arg1 = (wxStaticText *) 0 ;
3895 wxWindow *arg2 = (wxWindow *) 0 ;
3896 wxWindowID arg3 ;
3897 wxString *arg4 = 0 ;
3898 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3899 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3900 wxSize const &arg6_defvalue = wxDefaultSize ;
3901 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3902 long arg7 = (long) 0 ;
3903 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3904 wxString *arg8 = (wxString *) &arg8_defvalue ;
3905 bool result;
3906 bool temp4 = false ;
3907 wxPoint temp5 ;
3908 wxSize temp6 ;
3909 bool temp8 = false ;
3910 PyObject * obj0 = 0 ;
3911 PyObject * obj1 = 0 ;
3912 PyObject * obj3 = 0 ;
3913 PyObject * obj4 = 0 ;
3914 PyObject * obj5 = 0 ;
3915 PyObject * obj7 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3923 {
3924 arg4 = wxString_in_helper(obj3);
3925 if (arg4 == NULL) SWIG_fail;
3926 temp4 = true;
3927 }
3928 if (obj4) {
3929 {
3930 arg5 = &temp5;
3931 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3932 }
3933 }
3934 if (obj5) {
3935 {
3936 arg6 = &temp6;
3937 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3938 }
3939 }
3940 if (obj7) {
3941 {
3942 arg8 = wxString_in_helper(obj7);
3943 if (arg8 == NULL) SWIG_fail;
3944 temp8 = true;
3945 }
3946 }
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3950
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 resultobj = PyInt_FromLong((long)result);
3955 {
3956 if (temp4)
3957 delete arg4;
3958 }
3959 {
3960 if (temp8)
3961 delete arg8;
3962 }
3963 return resultobj;
3964 fail:
3965 {
3966 if (temp4)
3967 delete arg4;
3968 }
3969 {
3970 if (temp8)
3971 delete arg8;
3972 }
3973 return NULL;
3974 }
3975
3976
3977 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3978 PyObject *obj;
3979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3980 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
3981 Py_INCREF(obj);
3982 return Py_BuildValue((char *)"");
3983 }
3984 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj;
3986 wxWindow *arg1 = (wxWindow *) 0 ;
3987 wxWindowID arg2 ;
3988 wxBitmap *arg3 = 0 ;
3989 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3990 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3991 wxSize const &arg5_defvalue = wxDefaultSize ;
3992 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3993 long arg6 = (long) 0 ;
3994 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
3995 wxString *arg7 = (wxString *) &arg7_defvalue ;
3996 wxStaticBitmap *result;
3997 wxPoint temp4 ;
3998 wxSize temp5 ;
3999 bool temp7 = false ;
4000 PyObject * obj0 = 0 ;
4001 PyObject * obj2 = 0 ;
4002 PyObject * obj3 = 0 ;
4003 PyObject * obj4 = 0 ;
4004 PyObject * obj6 = 0 ;
4005 char *kwnames[] = {
4006 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4011 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 if (arg3 == NULL) {
4013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4014 }
4015 if (obj3) {
4016 {
4017 arg4 = &temp4;
4018 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4019 }
4020 }
4021 if (obj4) {
4022 {
4023 arg5 = &temp5;
4024 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4025 }
4026 }
4027 if (obj6) {
4028 {
4029 arg7 = wxString_in_helper(obj6);
4030 if (arg7 == NULL) SWIG_fail;
4031 temp7 = true;
4032 }
4033 }
4034 {
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) SWIG_fail;
4040 }
4041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4042 {
4043 if (temp7)
4044 delete arg7;
4045 }
4046 return resultobj;
4047 fail:
4048 {
4049 if (temp7)
4050 delete arg7;
4051 }
4052 return NULL;
4053 }
4054
4055
4056 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4057 PyObject *resultobj;
4058 wxStaticBitmap *result;
4059 char *kwnames[] = {
4060 NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 result = (wxStaticBitmap *)new wxStaticBitmap();
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4072 return resultobj;
4073 fail:
4074 return NULL;
4075 }
4076
4077
4078 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4081 wxWindow *arg2 = (wxWindow *) 0 ;
4082 wxWindowID arg3 ;
4083 wxBitmap *arg4 = 0 ;
4084 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4085 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4086 wxSize const &arg6_defvalue = wxDefaultSize ;
4087 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4088 long arg7 = (long) 0 ;
4089 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4090 wxString *arg8 = (wxString *) &arg8_defvalue ;
4091 bool result;
4092 wxPoint temp5 ;
4093 wxSize temp6 ;
4094 bool temp8 = false ;
4095 PyObject * obj0 = 0 ;
4096 PyObject * obj1 = 0 ;
4097 PyObject * obj3 = 0 ;
4098 PyObject * obj4 = 0 ;
4099 PyObject * obj5 = 0 ;
4100 PyObject * obj7 = 0 ;
4101 char *kwnames[] = {
4102 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4103 };
4104
4105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4108 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4109 if (arg4 == NULL) {
4110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4111 }
4112 if (obj4) {
4113 {
4114 arg5 = &temp5;
4115 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4116 }
4117 }
4118 if (obj5) {
4119 {
4120 arg6 = &temp6;
4121 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4122 }
4123 }
4124 if (obj7) {
4125 {
4126 arg8 = wxString_in_helper(obj7);
4127 if (arg8 == NULL) SWIG_fail;
4128 temp8 = true;
4129 }
4130 }
4131 {
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = PyInt_FromLong((long)result);
4139 {
4140 if (temp8)
4141 delete arg8;
4142 }
4143 return resultobj;
4144 fail:
4145 {
4146 if (temp8)
4147 delete arg8;
4148 }
4149 return NULL;
4150 }
4151
4152
4153 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj;
4155 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4156 wxBitmap result;
4157 PyObject * obj0 = 0 ;
4158 char *kwnames[] = {
4159 (char *) "self", NULL
4160 };
4161
4162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4164 {
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 result = (arg1)->GetBitmap();
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 {
4172 wxBitmap * resultptr;
4173 resultptr = new wxBitmap((wxBitmap &) result);
4174 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4175 }
4176 return resultobj;
4177 fail:
4178 return NULL;
4179 }
4180
4181
4182 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4185 wxBitmap *arg2 = 0 ;
4186 PyObject * obj0 = 0 ;
4187 PyObject * obj1 = 0 ;
4188 char *kwnames[] = {
4189 (char *) "self",(char *) "bitmap", NULL
4190 };
4191
4192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4195 if (arg2 == NULL) {
4196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4197 }
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 Py_INCREF(Py_None); resultobj = Py_None;
4206 return resultobj;
4207 fail:
4208 return NULL;
4209 }
4210
4211
4212 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4215 wxIcon *arg2 = 0 ;
4216 PyObject * obj0 = 0 ;
4217 PyObject * obj1 = 0 ;
4218 char *kwnames[] = {
4219 (char *) "self",(char *) "icon", NULL
4220 };
4221
4222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4225 if (arg2 == NULL) {
4226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4227 }
4228 {
4229 PyThreadState* __tstate = wxPyBeginAllowThreads();
4230 (arg1)->SetIcon((wxIcon const &)*arg2);
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 Py_INCREF(Py_None); resultobj = Py_None;
4236 return resultobj;
4237 fail:
4238 return NULL;
4239 }
4240
4241
4242 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4243 PyObject *obj;
4244 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4245 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4246 Py_INCREF(obj);
4247 return Py_BuildValue((char *)"");
4248 }
4249 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4250 PyObject *resultobj;
4251 wxWindow *arg1 = (wxWindow *) 0 ;
4252 wxWindowID arg2 ;
4253 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4254 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4255 wxSize const &arg4_defvalue = wxDefaultSize ;
4256 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4257 int arg5 = (int) 0 ;
4258 wxString *arg6 = (wxString *) NULL ;
4259 long arg7 = (long) 0 ;
4260 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4261 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4262 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4263 wxString *arg9 = (wxString *) &arg9_defvalue ;
4264 wxListBox *result;
4265 wxPoint temp3 ;
4266 wxSize temp4 ;
4267 bool temp8 = false ;
4268 PyObject * obj0 = 0 ;
4269 PyObject * obj2 = 0 ;
4270 PyObject * obj3 = 0 ;
4271 PyObject * obj4 = 0 ;
4272 PyObject * obj6 = 0 ;
4273 PyObject * obj7 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4280 if (obj2) {
4281 {
4282 arg3 = &temp3;
4283 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4284 }
4285 }
4286 if (obj3) {
4287 {
4288 arg4 = &temp4;
4289 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4290 }
4291 }
4292 if (obj4) {
4293 {
4294 arg5 = PyList_Size(obj4);
4295 arg6 = wxString_LIST_helper(obj4);
4296 if (arg6 == NULL) SWIG_fail;
4297 }
4298 }
4299 if (obj6) {
4300 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 if (arg8 == NULL) {
4302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4303 }
4304 }
4305 if (obj7) {
4306 {
4307 arg9 = wxString_in_helper(obj7);
4308 if (arg9 == NULL) SWIG_fail;
4309 temp8 = true;
4310 }
4311 }
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4320 {
4321 if (arg6) delete [] arg6;
4322 }
4323 {
4324 if (temp8)
4325 delete arg9;
4326 }
4327 return resultobj;
4328 fail:
4329 {
4330 if (arg6) delete [] arg6;
4331 }
4332 {
4333 if (temp8)
4334 delete arg9;
4335 }
4336 return NULL;
4337 }
4338
4339
4340 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4341 PyObject *resultobj;
4342 wxListBox *result;
4343 char *kwnames[] = {
4344 NULL
4345 };
4346
4347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 result = (wxListBox *)new wxListBox();
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4356 return resultobj;
4357 fail:
4358 return NULL;
4359 }
4360
4361
4362 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4363 PyObject *resultobj;
4364 wxListBox *arg1 = (wxListBox *) 0 ;
4365 wxWindow *arg2 = (wxWindow *) 0 ;
4366 wxWindowID arg3 ;
4367 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4368 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4369 wxSize const &arg5_defvalue = wxDefaultSize ;
4370 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4371 int arg6 = (int) 0 ;
4372 wxString *arg7 = (wxString *) NULL ;
4373 long arg8 = (long) 0 ;
4374 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4375 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4376 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4377 wxString *arg10 = (wxString *) &arg10_defvalue ;
4378 bool result;
4379 wxPoint temp4 ;
4380 wxSize temp5 ;
4381 bool temp9 = false ;
4382 PyObject * obj0 = 0 ;
4383 PyObject * obj1 = 0 ;
4384 PyObject * obj3 = 0 ;
4385 PyObject * obj4 = 0 ;
4386 PyObject * obj5 = 0 ;
4387 PyObject * obj7 = 0 ;
4388 PyObject * obj8 = 0 ;
4389 char *kwnames[] = {
4390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4391 };
4392
4393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4396 if (obj3) {
4397 {
4398 arg4 = &temp4;
4399 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4400 }
4401 }
4402 if (obj4) {
4403 {
4404 arg5 = &temp5;
4405 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4406 }
4407 }
4408 if (obj5) {
4409 {
4410 arg6 = PyList_Size(obj5);
4411 arg7 = wxString_LIST_helper(obj5);
4412 if (arg7 == NULL) SWIG_fail;
4413 }
4414 }
4415 if (obj7) {
4416 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4417 if (arg9 == NULL) {
4418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4419 }
4420 }
4421 if (obj8) {
4422 {
4423 arg10 = wxString_in_helper(obj8);
4424 if (arg10 == NULL) SWIG_fail;
4425 temp9 = true;
4426 }
4427 }
4428 {
4429 PyThreadState* __tstate = wxPyBeginAllowThreads();
4430 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4431
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 resultobj = PyInt_FromLong((long)result);
4436 {
4437 if (arg7) delete [] arg7;
4438 }
4439 {
4440 if (temp9)
4441 delete arg10;
4442 }
4443 return resultobj;
4444 fail:
4445 {
4446 if (arg7) delete [] arg7;
4447 }
4448 {
4449 if (temp9)
4450 delete arg10;
4451 }
4452 return NULL;
4453 }
4454
4455
4456 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj;
4458 wxListBox *arg1 = (wxListBox *) 0 ;
4459 wxString *arg2 = 0 ;
4460 int arg3 ;
4461 PyObject *arg4 = (PyObject *) NULL ;
4462 bool temp2 = false ;
4463 PyObject * obj0 = 0 ;
4464 PyObject * obj1 = 0 ;
4465 PyObject * obj3 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4472 {
4473 arg2 = wxString_in_helper(obj1);
4474 if (arg2 == NULL) SWIG_fail;
4475 temp2 = true;
4476 }
4477 if (obj3) {
4478 arg4 = obj3;
4479 }
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 Py_INCREF(Py_None); resultobj = Py_None;
4488 {
4489 if (temp2)
4490 delete arg2;
4491 }
4492 return resultobj;
4493 fail:
4494 {
4495 if (temp2)
4496 delete arg2;
4497 }
4498 return NULL;
4499 }
4500
4501
4502 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj;
4504 wxListBox *arg1 = (wxListBox *) 0 ;
4505 wxArrayString *arg2 = 0 ;
4506 int arg3 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 char *kwnames[] = {
4510 (char *) "self",(char *) "items",(char *) "pos", NULL
4511 };
4512
4513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4515 {
4516 if (! PySequence_Check(obj1)) {
4517 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4518 SWIG_fail;
4519 }
4520 arg2 = new wxArrayString;
4521 int i, len=PySequence_Length(obj1);
4522 for (i=0; i<len; i++) {
4523 PyObject* item = PySequence_GetItem(obj1, i);
4524 #if wxUSE_UNICODE
4525 PyObject* str = PyObject_Unicode(item);
4526 #else
4527 PyObject* str = PyObject_Str(item);
4528 #endif
4529 arg2->Add(Py2wxString(str));
4530 Py_DECREF(item);
4531 Py_DECREF(str);
4532 }
4533 }
4534 {
4535 PyThreadState* __tstate = wxPyBeginAllowThreads();
4536 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4537
4538 wxPyEndAllowThreads(__tstate);
4539 if (PyErr_Occurred()) SWIG_fail;
4540 }
4541 Py_INCREF(Py_None); resultobj = Py_None;
4542 {
4543 if (arg2) delete arg2;
4544 }
4545 return resultobj;
4546 fail:
4547 {
4548 if (arg2) delete arg2;
4549 }
4550 return NULL;
4551 }
4552
4553
4554 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj;
4556 wxListBox *arg1 = (wxListBox *) 0 ;
4557 wxArrayString *arg2 = 0 ;
4558 PyObject * obj0 = 0 ;
4559 PyObject * obj1 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self",(char *) "items", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4566 {
4567 if (! PySequence_Check(obj1)) {
4568 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4569 SWIG_fail;
4570 }
4571 arg2 = new wxArrayString;
4572 int i, len=PySequence_Length(obj1);
4573 for (i=0; i<len; i++) {
4574 PyObject* item = PySequence_GetItem(obj1, i);
4575 #if wxUSE_UNICODE
4576 PyObject* str = PyObject_Unicode(item);
4577 #else
4578 PyObject* str = PyObject_Str(item);
4579 #endif
4580 arg2->Add(Py2wxString(str));
4581 Py_DECREF(item);
4582 Py_DECREF(str);
4583 }
4584 }
4585 {
4586 PyThreadState* __tstate = wxPyBeginAllowThreads();
4587 (arg1)->Set((wxArrayString const &)*arg2);
4588
4589 wxPyEndAllowThreads(__tstate);
4590 if (PyErr_Occurred()) SWIG_fail;
4591 }
4592 Py_INCREF(Py_None); resultobj = Py_None;
4593 {
4594 if (arg2) delete arg2;
4595 }
4596 return resultobj;
4597 fail:
4598 {
4599 if (arg2) delete arg2;
4600 }
4601 return NULL;
4602 }
4603
4604
4605 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4606 PyObject *resultobj;
4607 wxListBox *arg1 = (wxListBox *) 0 ;
4608 int arg2 ;
4609 bool result;
4610 PyObject * obj0 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "self",(char *) "n", NULL
4613 };
4614
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 }
4624 resultobj = PyInt_FromLong((long)result);
4625 return resultobj;
4626 fail:
4627 return NULL;
4628 }
4629
4630
4631 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxListBox *arg1 = (wxListBox *) 0 ;
4634 int arg2 ;
4635 bool arg3 = (bool) TRUE ;
4636 PyObject * obj0 = 0 ;
4637 PyObject * obj2 = 0 ;
4638 char *kwnames[] = {
4639 (char *) "self",(char *) "n",(char *) "select", NULL
4640 };
4641
4642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4644 if (obj2) {
4645 arg3 = PyInt_AsLong(obj2) ? true : false;
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 {
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 (arg1)->SetSelection(arg2,arg3);
4651
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 Py_INCREF(Py_None); resultobj = Py_None;
4656 return resultobj;
4657 fail:
4658 return NULL;
4659 }
4660
4661
4662 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4663 PyObject *resultobj;
4664 wxListBox *arg1 = (wxListBox *) 0 ;
4665 int arg2 ;
4666 PyObject * obj0 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "self",(char *) "n", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4673 {
4674 PyThreadState* __tstate = wxPyBeginAllowThreads();
4675 (arg1)->Select(arg2);
4676
4677 wxPyEndAllowThreads(__tstate);
4678 if (PyErr_Occurred()) SWIG_fail;
4679 }
4680 Py_INCREF(Py_None); resultobj = Py_None;
4681 return resultobj;
4682 fail:
4683 return NULL;
4684 }
4685
4686
4687 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4688 PyObject *resultobj;
4689 wxListBox *arg1 = (wxListBox *) 0 ;
4690 int arg2 ;
4691 PyObject * obj0 = 0 ;
4692 char *kwnames[] = {
4693 (char *) "self",(char *) "n", NULL
4694 };
4695
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 (arg1)->Deselect(arg2);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 Py_INCREF(Py_None); resultobj = Py_None;
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj;
4714 wxListBox *arg1 = (wxListBox *) 0 ;
4715 int arg2 = (int) -1 ;
4716 PyObject * obj0 = 0 ;
4717 char *kwnames[] = {
4718 (char *) "self",(char *) "itemToLeaveSelected", NULL
4719 };
4720
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 (arg1)->DeselectAll(arg2);
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 Py_INCREF(Py_None); resultobj = Py_None;
4731 return resultobj;
4732 fail:
4733 return NULL;
4734 }
4735
4736
4737 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4738 PyObject *resultobj;
4739 wxListBox *arg1 = (wxListBox *) 0 ;
4740 wxString *arg2 = 0 ;
4741 bool arg3 = (bool) TRUE ;
4742 bool result;
4743 bool temp2 = false ;
4744 PyObject * obj0 = 0 ;
4745 PyObject * obj1 = 0 ;
4746 PyObject * obj2 = 0 ;
4747 char *kwnames[] = {
4748 (char *) "self",(char *) "s",(char *) "select", NULL
4749 };
4750
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4753 {
4754 arg2 = wxString_in_helper(obj1);
4755 if (arg2 == NULL) SWIG_fail;
4756 temp2 = true;
4757 }
4758 if (obj2) {
4759 arg3 = PyInt_AsLong(obj2) ? true : false;
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 {
4763 PyThreadState* __tstate = wxPyBeginAllowThreads();
4764 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4765
4766 wxPyEndAllowThreads(__tstate);
4767 if (PyErr_Occurred()) SWIG_fail;
4768 }
4769 resultobj = PyInt_FromLong((long)result);
4770 {
4771 if (temp2)
4772 delete arg2;
4773 }
4774 return resultobj;
4775 fail:
4776 {
4777 if (temp2)
4778 delete arg2;
4779 }
4780 return NULL;
4781 }
4782
4783
4784 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4785 PyObject *resultobj;
4786 wxListBox *arg1 = (wxListBox *) 0 ;
4787 PyObject *result;
4788 PyObject * obj0 = 0 ;
4789 char *kwnames[] = {
4790 (char *) "self", NULL
4791 };
4792
4793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4795 {
4796 PyThreadState* __tstate = wxPyBeginAllowThreads();
4797 result = (PyObject *)wxListBox_GetSelections(arg1);
4798
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 resultobj = result;
4803 return resultobj;
4804 fail:
4805 return NULL;
4806 }
4807
4808
4809 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxListBox *arg1 = (wxListBox *) 0 ;
4812 int arg2 ;
4813 PyObject * obj0 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "self",(char *) "n", NULL
4816 };
4817
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 (arg1)->SetFirstItem(arg2);
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) SWIG_fail;
4826 }
4827 Py_INCREF(Py_None); resultobj = Py_None;
4828 return resultobj;
4829 fail:
4830 return NULL;
4831 }
4832
4833
4834 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4835 PyObject *resultobj;
4836 wxListBox *arg1 = (wxListBox *) 0 ;
4837 wxString *arg2 = 0 ;
4838 bool temp2 = false ;
4839 PyObject * obj0 = 0 ;
4840 PyObject * obj1 = 0 ;
4841 char *kwnames[] = {
4842 (char *) "self",(char *) "s", NULL
4843 };
4844
4845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4847 {
4848 arg2 = wxString_in_helper(obj1);
4849 if (arg2 == NULL) SWIG_fail;
4850 temp2 = true;
4851 }
4852 {
4853 PyThreadState* __tstate = wxPyBeginAllowThreads();
4854 (arg1)->SetFirstItem((wxString const &)*arg2);
4855
4856 wxPyEndAllowThreads(__tstate);
4857 if (PyErr_Occurred()) SWIG_fail;
4858 }
4859 Py_INCREF(Py_None); resultobj = Py_None;
4860 {
4861 if (temp2)
4862 delete arg2;
4863 }
4864 return resultobj;
4865 fail:
4866 {
4867 if (temp2)
4868 delete arg2;
4869 }
4870 return NULL;
4871 }
4872
4873
4874 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4875 PyObject *resultobj;
4876 wxListBox *arg1 = (wxListBox *) 0 ;
4877 int arg2 ;
4878 PyObject * obj0 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self",(char *) "n", NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 (arg1)->EnsureVisible(arg2);
4888
4889 wxPyEndAllowThreads(__tstate);
4890 if (PyErr_Occurred()) SWIG_fail;
4891 }
4892 Py_INCREF(Py_None); resultobj = Py_None;
4893 return resultobj;
4894 fail:
4895 return NULL;
4896 }
4897
4898
4899 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4900 PyObject *resultobj;
4901 wxListBox *arg1 = (wxListBox *) 0 ;
4902 wxString *arg2 = 0 ;
4903 bool temp2 = false ;
4904 PyObject * obj0 = 0 ;
4905 PyObject * obj1 = 0 ;
4906 char *kwnames[] = {
4907 (char *) "self",(char *) "s", NULL
4908 };
4909
4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4912 {
4913 arg2 = wxString_in_helper(obj1);
4914 if (arg2 == NULL) SWIG_fail;
4915 temp2 = true;
4916 }
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 Py_INCREF(Py_None); resultobj = Py_None;
4925 {
4926 if (temp2)
4927 delete arg2;
4928 }
4929 return resultobj;
4930 fail:
4931 {
4932 if (temp2)
4933 delete arg2;
4934 }
4935 return NULL;
4936 }
4937
4938
4939 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4940 PyObject *resultobj;
4941 wxListBox *arg1 = (wxListBox *) 0 ;
4942 bool result;
4943 PyObject * obj0 = 0 ;
4944 char *kwnames[] = {
4945 (char *) "self", NULL
4946 };
4947
4948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 result = (bool)((wxListBox const *)arg1)->IsSorted();
4953
4954 wxPyEndAllowThreads(__tstate);
4955 if (PyErr_Occurred()) SWIG_fail;
4956 }
4957 resultobj = PyInt_FromLong((long)result);
4958 return resultobj;
4959 fail:
4960 return NULL;
4961 }
4962
4963
4964 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4965 PyObject *obj;
4966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4967 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4968 Py_INCREF(obj);
4969 return Py_BuildValue((char *)"");
4970 }
4971 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj;
4973 wxWindow *arg1 = (wxWindow *) 0 ;
4974 wxWindowID arg2 ;
4975 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4976 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4977 wxSize const &arg4_defvalue = wxDefaultSize ;
4978 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4979 int arg5 = (int) 0 ;
4980 wxString *arg6 = (wxString *) NULL ;
4981 long arg7 = (long) 0 ;
4982 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4983 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4984 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4985 wxString *arg9 = (wxString *) &arg9_defvalue ;
4986 wxCheckListBox *result;
4987 wxPoint temp3 ;
4988 wxSize temp4 ;
4989 bool temp8 = false ;
4990 PyObject * obj0 = 0 ;
4991 PyObject * obj2 = 0 ;
4992 PyObject * obj3 = 0 ;
4993 PyObject * obj4 = 0 ;
4994 PyObject * obj6 = 0 ;
4995 PyObject * obj7 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5002 if (obj2) {
5003 {
5004 arg3 = &temp3;
5005 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5006 }
5007 }
5008 if (obj3) {
5009 {
5010 arg4 = &temp4;
5011 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5012 }
5013 }
5014 if (obj4) {
5015 {
5016 arg5 = PyList_Size(obj4);
5017 arg6 = wxString_LIST_helper(obj4);
5018 if (arg6 == NULL) SWIG_fail;
5019 }
5020 }
5021 if (obj6) {
5022 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5023 if (arg8 == NULL) {
5024 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5025 }
5026 }
5027 if (obj7) {
5028 {
5029 arg9 = wxString_in_helper(obj7);
5030 if (arg9 == NULL) SWIG_fail;
5031 temp8 = true;
5032 }
5033 }
5034 {
5035 PyThreadState* __tstate = wxPyBeginAllowThreads();
5036 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5037
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5042 {
5043 if (arg6) delete [] arg6;
5044 }
5045 {
5046 if (temp8)
5047 delete arg9;
5048 }
5049 return resultobj;
5050 fail:
5051 {
5052 if (arg6) delete [] arg6;
5053 }
5054 {
5055 if (temp8)
5056 delete arg9;
5057 }
5058 return NULL;
5059 }
5060
5061
5062 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj;
5064 wxCheckListBox *result;
5065 char *kwnames[] = {
5066 NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5070 {
5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
5072 result = (wxCheckListBox *)new wxCheckListBox();
5073
5074 wxPyEndAllowThreads(__tstate);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5078 return resultobj;
5079 fail:
5080 return NULL;
5081 }
5082
5083
5084 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5085 PyObject *resultobj;
5086 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5087 wxWindow *arg2 = (wxWindow *) 0 ;
5088 wxWindowID arg3 ;
5089 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5090 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5091 wxSize const &arg5_defvalue = wxDefaultSize ;
5092 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5093 int arg6 = (int) 0 ;
5094 wxString *arg7 = (wxString *) NULL ;
5095 long arg8 = (long) 0 ;
5096 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5097 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5098 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5099 wxString *arg10 = (wxString *) &arg10_defvalue ;
5100 bool result;
5101 wxPoint temp4 ;
5102 wxSize temp5 ;
5103 bool temp9 = false ;
5104 PyObject * obj0 = 0 ;
5105 PyObject * obj1 = 0 ;
5106 PyObject * obj3 = 0 ;
5107 PyObject * obj4 = 0 ;
5108 PyObject * obj5 = 0 ;
5109 PyObject * obj7 = 0 ;
5110 PyObject * obj8 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5118 if (obj3) {
5119 {
5120 arg4 = &temp4;
5121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5122 }
5123 }
5124 if (obj4) {
5125 {
5126 arg5 = &temp5;
5127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5128 }
5129 }
5130 if (obj5) {
5131 {
5132 arg6 = PyList_Size(obj5);
5133 arg7 = wxString_LIST_helper(obj5);
5134 if (arg7 == NULL) SWIG_fail;
5135 }
5136 }
5137 if (obj7) {
5138 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5139 if (arg9 == NULL) {
5140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5141 }
5142 }
5143 if (obj8) {
5144 {
5145 arg10 = wxString_in_helper(obj8);
5146 if (arg10 == NULL) SWIG_fail;
5147 temp9 = true;
5148 }
5149 }
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 resultobj = PyInt_FromLong((long)result);
5158 {
5159 if (arg7) delete [] arg7;
5160 }
5161 {
5162 if (temp9)
5163 delete arg10;
5164 }
5165 return resultobj;
5166 fail:
5167 {
5168 if (arg7) delete [] arg7;
5169 }
5170 {
5171 if (temp9)
5172 delete arg10;
5173 }
5174 return NULL;
5175 }
5176
5177
5178 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5179 PyObject *resultobj;
5180 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5181 int arg2 ;
5182 bool result;
5183 PyObject * obj0 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self",(char *) "index", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = (bool)(arg1)->IsChecked(arg2);
5193
5194 wxPyEndAllowThreads(__tstate);
5195 if (PyErr_Occurred()) SWIG_fail;
5196 }
5197 resultobj = PyInt_FromLong((long)result);
5198 return resultobj;
5199 fail:
5200 return NULL;
5201 }
5202
5203
5204 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5205 PyObject *resultobj;
5206 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5207 int arg2 ;
5208 int arg3 = (int) TRUE ;
5209 PyObject * obj0 = 0 ;
5210 char *kwnames[] = {
5211 (char *) "self",(char *) "index",(char *) "check", NULL
5212 };
5213
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->Check(arg2,arg3);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5233 int result;
5234 PyObject * obj0 = 0 ;
5235 char *kwnames[] = {
5236 (char *) "self", NULL
5237 };
5238
5239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 result = (int)(arg1)->GetItemHeight();
5244
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 resultobj = PyInt_FromLong((long)result);
5249 return resultobj;
5250 fail:
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5258 wxPoint *arg2 = 0 ;
5259 int result;
5260 wxPoint temp2 ;
5261 PyObject * obj0 = 0 ;
5262 PyObject * obj1 = 0 ;
5263 char *kwnames[] = {
5264 (char *) "self",(char *) "pt", NULL
5265 };
5266
5267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5269 {
5270 arg2 = &temp2;
5271 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5272 }
5273 {
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5276
5277 wxPyEndAllowThreads(__tstate);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 }
5280 resultobj = PyInt_FromLong((long)result);
5281 return resultobj;
5282 fail:
5283 return NULL;
5284 }
5285
5286
5287 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5290 wxCoord arg2 ;
5291 wxCoord arg3 ;
5292 int result;
5293 PyObject * obj0 = 0 ;
5294 char *kwnames[] = {
5295 (char *) "self",(char *) "x",(char *) "y", NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5300 {
5301 PyThreadState* __tstate = wxPyBeginAllowThreads();
5302 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5303
5304 wxPyEndAllowThreads(__tstate);
5305 if (PyErr_Occurred()) SWIG_fail;
5306 }
5307 resultobj = PyInt_FromLong((long)result);
5308 return resultobj;
5309 fail:
5310 return NULL;
5311 }
5312
5313
5314 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5315 PyObject *obj;
5316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5318 Py_INCREF(obj);
5319 return Py_BuildValue((char *)"");
5320 }
5321 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5322 PyObject *resultobj;
5323 wxTextAttr *result;
5324
5325 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5326 {
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 result = (wxTextAttr *)new wxTextAttr();
5329
5330 wxPyEndAllowThreads(__tstate);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5334 return resultobj;
5335 fail:
5336 return NULL;
5337 }
5338
5339
5340 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5341 PyObject *resultobj;
5342 wxColour *arg1 = 0 ;
5343 wxColour const &arg2_defvalue = wxNullColour ;
5344 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5345 wxFont const &arg3_defvalue = wxNullFont ;
5346 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5347 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5348 wxTextAttr *result;
5349 wxColour temp1 ;
5350 wxColour temp2 ;
5351 PyObject * obj0 = 0 ;
5352 PyObject * obj1 = 0 ;
5353 PyObject * obj2 = 0 ;
5354
5355 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5356 {
5357 arg1 = &temp1;
5358 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5359 }
5360 if (obj1) {
5361 {
5362 arg2 = &temp2;
5363 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5364 }
5365 }
5366 if (obj2) {
5367 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5368 if (arg3 == NULL) {
5369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5370 }
5371 }
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5380 return resultobj;
5381 fail:
5382 return NULL;
5383 }
5384
5385
5386 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5387 int argc;
5388 PyObject *argv[5];
5389 int ii;
5390
5391 argc = PyObject_Length(args);
5392 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5393 argv[ii] = PyTuple_GetItem(args,ii);
5394 }
5395 if (argc == 0) {
5396 return _wrap_new_TextAttr__SWIG_0(self,args);
5397 }
5398 if ((argc >= 1) && (argc <= 4)) {
5399 int _v;
5400 {
5401 _v = wxColour_typecheck(argv[0]);
5402 }
5403 if (_v) {
5404 if (argc <= 1) {
5405 return _wrap_new_TextAttr__SWIG_1(self,args);
5406 }
5407 {
5408 _v = wxColour_typecheck(argv[1]);
5409 }
5410 if (_v) {
5411 if (argc <= 2) {
5412 return _wrap_new_TextAttr__SWIG_1(self,args);
5413 }
5414 {
5415 void *ptr;
5416 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5417 _v = 0;
5418 PyErr_Clear();
5419 } else {
5420 _v = 1;
5421 }
5422 }
5423 if (_v) {
5424 if (argc <= 3) {
5425 return _wrap_new_TextAttr__SWIG_1(self,args);
5426 }
5427 {
5428 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5429 }
5430 if (_v) {
5431 return _wrap_new_TextAttr__SWIG_1(self,args);
5432 }
5433 }
5434 }
5435 }
5436 }
5437
5438 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5439 return NULL;
5440 }
5441
5442
5443 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5444 PyObject *resultobj;
5445 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5446 PyObject * obj0 = 0 ;
5447 char *kwnames[] = {
5448 (char *) "self", NULL
5449 };
5450
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 (arg1)->Init();
5456
5457 wxPyEndAllowThreads(__tstate);
5458 if (PyErr_Occurred()) SWIG_fail;
5459 }
5460 Py_INCREF(Py_None); resultobj = Py_None;
5461 return resultobj;
5462 fail:
5463 return NULL;
5464 }
5465
5466
5467 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5468 PyObject *resultobj;
5469 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5470 wxColour *arg2 = 0 ;
5471 wxColour temp2 ;
5472 PyObject * obj0 = 0 ;
5473 PyObject * obj1 = 0 ;
5474 char *kwnames[] = {
5475 (char *) "self",(char *) "colText", NULL
5476 };
5477
5478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5480 {
5481 arg2 = &temp2;
5482 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5483 }
5484 {
5485 PyThreadState* __tstate = wxPyBeginAllowThreads();
5486 (arg1)->SetTextColour((wxColour const &)*arg2);
5487
5488 wxPyEndAllowThreads(__tstate);
5489 if (PyErr_Occurred()) SWIG_fail;
5490 }
5491 Py_INCREF(Py_None); resultobj = Py_None;
5492 return resultobj;
5493 fail:
5494 return NULL;
5495 }
5496
5497
5498 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5499 PyObject *resultobj;
5500 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5501 wxColour *arg2 = 0 ;
5502 wxColour temp2 ;
5503 PyObject * obj0 = 0 ;
5504 PyObject * obj1 = 0 ;
5505 char *kwnames[] = {
5506 (char *) "self",(char *) "colBack", NULL
5507 };
5508
5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5511 {
5512 arg2 = &temp2;
5513 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5514 }
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 Py_INCREF(Py_None); resultobj = Py_None;
5523 return resultobj;
5524 fail:
5525 return NULL;
5526 }
5527
5528
5529 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj;
5531 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5532 wxFont *arg2 = 0 ;
5533 long arg3 = (long) wxTEXT_ATTR_FONT ;
5534 PyObject * obj0 = 0 ;
5535 PyObject * obj1 = 0 ;
5536 char *kwnames[] = {
5537 (char *) "self",(char *) "font",(char *) "flags", NULL
5538 };
5539
5540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5542 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5543 if (arg2 == NULL) {
5544 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5545 }
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 Py_INCREF(Py_None); resultobj = Py_None;
5554 return resultobj;
5555 fail:
5556 return NULL;
5557 }
5558
5559
5560 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5561 PyObject *resultobj;
5562 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5563 int arg2 ;
5564 PyObject * obj0 = 0 ;
5565 char *kwnames[] = {
5566 (char *) "self",(char *) "alignment", NULL
5567 };
5568
5569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5574
5575 wxPyEndAllowThreads(__tstate);
5576 if (PyErr_Occurred()) SWIG_fail;
5577 }
5578 Py_INCREF(Py_None); resultobj = Py_None;
5579 return resultobj;
5580 fail:
5581 return NULL;
5582 }
5583
5584
5585 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5588 wxArrayInt *arg2 = 0 ;
5589 PyObject * obj0 = 0 ;
5590 PyObject * obj1 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "self",(char *) "tabs", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5597 {
5598 if (! PySequence_Check(obj1)) {
5599 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5600 SWIG_fail;
5601 }
5602 arg2 = new wxArrayInt;
5603 int i, len=PySequence_Length(obj1);
5604 for (i=0; i<len; i++) {
5605 PyObject* item = PySequence_GetItem(obj1, i);
5606 PyObject* number = PyNumber_Int(item);
5607 arg2->Add(PyInt_AS_LONG(number));
5608 Py_DECREF(item);
5609 Py_DECREF(number);
5610 }
5611 }
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 Py_INCREF(Py_None); resultobj = Py_None;
5620 {
5621 if (arg2) delete arg2;
5622 }
5623 return resultobj;
5624 fail:
5625 {
5626 if (arg2) delete arg2;
5627 }
5628 return NULL;
5629 }
5630
5631
5632 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5633 PyObject *resultobj;
5634 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5635 int arg2 ;
5636 PyObject * obj0 = 0 ;
5637 char *kwnames[] = {
5638 (char *) "self",(char *) "indent", NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 (arg1)->SetLeftIndent(arg2);
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 Py_INCREF(Py_None); resultobj = Py_None;
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5660 int arg2 ;
5661 PyObject * obj0 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self",(char *) "indent", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5668 {
5669 PyThreadState* __tstate = wxPyBeginAllowThreads();
5670 (arg1)->SetRightIndent(arg2);
5671
5672 wxPyEndAllowThreads(__tstate);
5673 if (PyErr_Occurred()) SWIG_fail;
5674 }
5675 Py_INCREF(Py_None); resultobj = Py_None;
5676 return resultobj;
5677 fail:
5678 return NULL;
5679 }
5680
5681
5682 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj;
5684 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5685 long arg2 ;
5686 PyObject * obj0 = 0 ;
5687 char *kwnames[] = {
5688 (char *) "self",(char *) "flags", NULL
5689 };
5690
5691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 (arg1)->SetFlags(arg2);
5696
5697 wxPyEndAllowThreads(__tstate);
5698 if (PyErr_Occurred()) SWIG_fail;
5699 }
5700 Py_INCREF(Py_None); resultobj = Py_None;
5701 return resultobj;
5702 fail:
5703 return NULL;
5704 }
5705
5706
5707 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5708 PyObject *resultobj;
5709 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5710 bool result;
5711 PyObject * obj0 = 0 ;
5712 char *kwnames[] = {
5713 (char *) "self", NULL
5714 };
5715
5716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5718 {
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5721
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 resultobj = PyInt_FromLong((long)result);
5726 return resultobj;
5727 fail:
5728 return NULL;
5729 }
5730
5731
5732 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5733 PyObject *resultobj;
5734 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5735 bool result;
5736 PyObject * obj0 = 0 ;
5737 char *kwnames[] = {
5738 (char *) "self", NULL
5739 };
5740
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5746
5747 wxPyEndAllowThreads(__tstate);
5748 if (PyErr_Occurred()) SWIG_fail;
5749 }
5750 resultobj = PyInt_FromLong((long)result);
5751 return resultobj;
5752 fail:
5753 return NULL;
5754 }
5755
5756
5757 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj;
5759 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5760 bool result;
5761 PyObject * obj0 = 0 ;
5762 char *kwnames[] = {
5763 (char *) "self", NULL
5764 };
5765
5766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5768 {
5769 PyThreadState* __tstate = wxPyBeginAllowThreads();
5770 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5771
5772 wxPyEndAllowThreads(__tstate);
5773 if (PyErr_Occurred()) SWIG_fail;
5774 }
5775 resultobj = PyInt_FromLong((long)result);
5776 return resultobj;
5777 fail:
5778 return NULL;
5779 }
5780
5781
5782 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5783 PyObject *resultobj;
5784 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5785 bool result;
5786 PyObject * obj0 = 0 ;
5787 char *kwnames[] = {
5788 (char *) "self", NULL
5789 };
5790
5791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5793 {
5794 PyThreadState* __tstate = wxPyBeginAllowThreads();
5795 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5796
5797 wxPyEndAllowThreads(__tstate);
5798 if (PyErr_Occurred()) SWIG_fail;
5799 }
5800 resultobj = PyInt_FromLong((long)result);
5801 return resultobj;
5802 fail:
5803 return NULL;
5804 }
5805
5806
5807 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5808 PyObject *resultobj;
5809 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5810 bool result;
5811 PyObject * obj0 = 0 ;
5812 char *kwnames[] = {
5813 (char *) "self", NULL
5814 };
5815
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 resultobj = PyInt_FromLong((long)result);
5826 return resultobj;
5827 fail:
5828 return NULL;
5829 }
5830
5831
5832 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj;
5834 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5835 bool result;
5836 PyObject * obj0 = 0 ;
5837 char *kwnames[] = {
5838 (char *) "self", NULL
5839 };
5840
5841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5843 {
5844 PyThreadState* __tstate = wxPyBeginAllowThreads();
5845 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5846
5847 wxPyEndAllowThreads(__tstate);
5848 if (PyErr_Occurred()) SWIG_fail;
5849 }
5850 resultobj = PyInt_FromLong((long)result);
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj;
5859 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5860 bool result;
5861 PyObject * obj0 = 0 ;
5862 char *kwnames[] = {
5863 (char *) "self", NULL
5864 };
5865
5866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5868 {
5869 PyThreadState* __tstate = wxPyBeginAllowThreads();
5870 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5871
5872 wxPyEndAllowThreads(__tstate);
5873 if (PyErr_Occurred()) SWIG_fail;
5874 }
5875 resultobj = PyInt_FromLong((long)result);
5876 return resultobj;
5877 fail:
5878 return NULL;
5879 }
5880
5881
5882 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5883 PyObject *resultobj;
5884 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5885 long arg2 ;
5886 bool result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self",(char *) "flag", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 resultobj = PyInt_FromLong((long)result);
5902 return resultobj;
5903 fail:
5904 return NULL;
5905 }
5906
5907
5908 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5911 wxColour *result;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 {
5922 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5923 result = (wxColour *) &_result_ref;
5924 }
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
5929 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5930 return resultobj;
5931 fail:
5932 return NULL;
5933 }
5934
5935
5936 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5937 PyObject *resultobj;
5938 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5939 wxColour *result;
5940 PyObject * obj0 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 {
5950 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5951 result = (wxColour *) &_result_ref;
5952 }
5953
5954 wxPyEndAllowThreads(__tstate);
5955 if (PyErr_Occurred()) SWIG_fail;
5956 }
5957 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5958 return resultobj;
5959 fail:
5960 return NULL;
5961 }
5962
5963
5964 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5965 PyObject *resultobj;
5966 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5967 wxFont *result;
5968 PyObject * obj0 = 0 ;
5969 char *kwnames[] = {
5970 (char *) "self", NULL
5971 };
5972
5973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 {
5978 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5979 result = (wxFont *) &_result_ref;
5980 }
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5986 return resultobj;
5987 fail:
5988 return NULL;
5989 }
5990
5991
5992 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj;
5994 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5995 int result;
5996 PyObject * obj0 = 0 ;
5997 char *kwnames[] = {
5998 (char *) "self", NULL
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6006
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 resultobj = PyInt_FromLong((long)result);
6011 return resultobj;
6012 fail:
6013 return NULL;
6014 }
6015
6016
6017 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6018 PyObject *resultobj;
6019 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6020 wxArrayInt *result;
6021 PyObject * obj0 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 {
6031 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6032 result = (wxArrayInt *) &_result_ref;
6033 }
6034
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 {
6039 resultobj = PyList_New(0);
6040 size_t idx;
6041 for (idx = 0; idx < result->GetCount(); idx += 1) {
6042 PyObject* val = PyInt_FromLong( result->Item(idx) );
6043 PyList_Append(resultobj, val);
6044 Py_DECREF(val);
6045 }
6046 }
6047 return resultobj;
6048 fail:
6049 return NULL;
6050 }
6051
6052
6053 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6054 PyObject *resultobj;
6055 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6056 long result;
6057 PyObject * obj0 = 0 ;
6058 char *kwnames[] = {
6059 (char *) "self", NULL
6060 };
6061
6062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6064 {
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6067
6068 wxPyEndAllowThreads(__tstate);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
6071 resultobj = PyInt_FromLong((long)result);
6072 return resultobj;
6073 fail:
6074 return NULL;
6075 }
6076
6077
6078 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6079 PyObject *resultobj;
6080 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6081 long result;
6082 PyObject * obj0 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "self", NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6092
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 resultobj = PyInt_FromLong((long)result);
6097 return resultobj;
6098 fail:
6099 return NULL;
6100 }
6101
6102
6103 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject *resultobj;
6105 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6106 long result;
6107 PyObject * obj0 = 0 ;
6108 char *kwnames[] = {
6109 (char *) "self", NULL
6110 };
6111
6112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6117
6118 wxPyEndAllowThreads(__tstate);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 resultobj = PyInt_FromLong((long)result);
6122 return resultobj;
6123 fail:
6124 return NULL;
6125 }
6126
6127
6128 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6129 PyObject *resultobj;
6130 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6131 bool result;
6132 PyObject * obj0 = 0 ;
6133 char *kwnames[] = {
6134 (char *) "self", NULL
6135 };
6136
6137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6139 {
6140 PyThreadState* __tstate = wxPyBeginAllowThreads();
6141 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6142
6143 wxPyEndAllowThreads(__tstate);
6144 if (PyErr_Occurred()) SWIG_fail;
6145 }
6146 resultobj = PyInt_FromLong((long)result);
6147 return resultobj;
6148 fail:
6149 return NULL;
6150 }
6151
6152
6153 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6154 PyObject *resultobj;
6155 wxTextAttr *arg1 = 0 ;
6156 wxTextAttr *arg2 = 0 ;
6157 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6158 wxTextAttr result;
6159 PyObject * obj0 = 0 ;
6160 PyObject * obj1 = 0 ;
6161 PyObject * obj2 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6168 if (arg1 == NULL) {
6169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6170 }
6171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6172 if (arg2 == NULL) {
6173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6174 }
6175 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 wxTextAttr * resultptr;
6185 resultptr = new wxTextAttr((wxTextAttr &) result);
6186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6187 }
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6195 PyObject *obj;
6196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6197 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6198 Py_INCREF(obj);
6199 return Py_BuildValue((char *)"");
6200 }
6201 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6202 PyObject *resultobj;
6203 wxWindow *arg1 = (wxWindow *) 0 ;
6204 wxWindowID arg2 ;
6205 wxString const &arg3_defvalue = wxPyEmptyString ;
6206 wxString *arg3 = (wxString *) &arg3_defvalue ;
6207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6209 wxSize const &arg5_defvalue = wxDefaultSize ;
6210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6211 long arg6 = (long) 0 ;
6212 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6213 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6214 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6215 wxString *arg8 = (wxString *) &arg8_defvalue ;
6216 wxTextCtrl *result;
6217 bool temp3 = false ;
6218 wxPoint temp4 ;
6219 wxSize temp5 ;
6220 bool temp8 = false ;
6221 PyObject * obj0 = 0 ;
6222 PyObject * obj2 = 0 ;
6223 PyObject * obj3 = 0 ;
6224 PyObject * obj4 = 0 ;
6225 PyObject * obj6 = 0 ;
6226 PyObject * obj7 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6229 };
6230
6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6233 if (obj2) {
6234 {
6235 arg3 = wxString_in_helper(obj2);
6236 if (arg3 == NULL) SWIG_fail;
6237 temp3 = true;
6238 }
6239 }
6240 if (obj3) {
6241 {
6242 arg4 = &temp4;
6243 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6244 }
6245 }
6246 if (obj4) {
6247 {
6248 arg5 = &temp5;
6249 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6250 }
6251 }
6252 if (obj6) {
6253 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6254 if (arg7 == NULL) {
6255 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6256 }
6257 }
6258 if (obj7) {
6259 {
6260 arg8 = wxString_in_helper(obj7);
6261 if (arg8 == NULL) SWIG_fail;
6262 temp8 = true;
6263 }
6264 }
6265 {
6266 PyThreadState* __tstate = wxPyBeginAllowThreads();
6267 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6268
6269 wxPyEndAllowThreads(__tstate);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 {
6273 resultobj = wxPyMake_wxObject(result);
6274 }
6275 {
6276 if (temp3)
6277 delete arg3;
6278 }
6279 {
6280 if (temp8)
6281 delete arg8;
6282 }
6283 return resultobj;
6284 fail:
6285 {
6286 if (temp3)
6287 delete arg3;
6288 }
6289 {
6290 if (temp8)
6291 delete arg8;
6292 }
6293 return NULL;
6294 }
6295
6296
6297 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxTextCtrl *result;
6300 char *kwnames[] = {
6301 NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (wxTextCtrl *)new wxTextCtrl();
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 {
6313 resultobj = wxPyMake_wxObject(result);
6314 }
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj;
6323 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6324 wxWindow *arg2 = (wxWindow *) 0 ;
6325 wxWindowID arg3 ;
6326 wxString const &arg4_defvalue = wxPyEmptyString ;
6327 wxString *arg4 = (wxString *) &arg4_defvalue ;
6328 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6329 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6330 wxSize const &arg6_defvalue = wxDefaultSize ;
6331 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6332 long arg7 = (long) 0 ;
6333 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6334 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6335 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6336 wxString *arg9 = (wxString *) &arg9_defvalue ;
6337 bool result;
6338 bool temp4 = false ;
6339 wxPoint temp5 ;
6340 wxSize temp6 ;
6341 bool temp9 = false ;
6342 PyObject * obj0 = 0 ;
6343 PyObject * obj1 = 0 ;
6344 PyObject * obj3 = 0 ;
6345 PyObject * obj4 = 0 ;
6346 PyObject * obj5 = 0 ;
6347 PyObject * obj7 = 0 ;
6348 PyObject * obj8 = 0 ;
6349 char *kwnames[] = {
6350 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6351 };
6352
6353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6356 if (obj3) {
6357 {
6358 arg4 = wxString_in_helper(obj3);
6359 if (arg4 == NULL) SWIG_fail;
6360 temp4 = true;
6361 }
6362 }
6363 if (obj4) {
6364 {
6365 arg5 = &temp5;
6366 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6367 }
6368 }
6369 if (obj5) {
6370 {
6371 arg6 = &temp6;
6372 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6373 }
6374 }
6375 if (obj7) {
6376 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6377 if (arg8 == NULL) {
6378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6379 }
6380 }
6381 if (obj8) {
6382 {
6383 arg9 = wxString_in_helper(obj8);
6384 if (arg9 == NULL) SWIG_fail;
6385 temp9 = true;
6386 }
6387 }
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 resultobj = PyInt_FromLong((long)result);
6396 {
6397 if (temp4)
6398 delete arg4;
6399 }
6400 {
6401 if (temp9)
6402 delete arg9;
6403 }
6404 return resultobj;
6405 fail:
6406 {
6407 if (temp4)
6408 delete arg4;
6409 }
6410 {
6411 if (temp9)
6412 delete arg9;
6413 }
6414 return NULL;
6415 }
6416
6417
6418 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6419 PyObject *resultobj;
6420 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6421 wxString result;
6422 PyObject * obj0 = 0 ;
6423 char *kwnames[] = {
6424 (char *) "self", NULL
6425 };
6426
6427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = ((wxTextCtrl const *)arg1)->GetValue();
6432
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 {
6437 #if wxUSE_UNICODE
6438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6439 #else
6440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6441 #endif
6442 }
6443 return resultobj;
6444 fail:
6445 return NULL;
6446 }
6447
6448
6449 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6452 wxString *arg2 = 0 ;
6453 bool temp2 = false ;
6454 PyObject * obj0 = 0 ;
6455 PyObject * obj1 = 0 ;
6456 char *kwnames[] = {
6457 (char *) "self",(char *) "value", NULL
6458 };
6459
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6462 {
6463 arg2 = wxString_in_helper(obj1);
6464 if (arg2 == NULL) SWIG_fail;
6465 temp2 = true;
6466 }
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 (arg1)->SetValue((wxString const &)*arg2);
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 Py_INCREF(Py_None); resultobj = Py_None;
6475 {
6476 if (temp2)
6477 delete arg2;
6478 }
6479 return resultobj;
6480 fail:
6481 {
6482 if (temp2)
6483 delete arg2;
6484 }
6485 return NULL;
6486 }
6487
6488
6489 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj;
6491 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6492 long arg2 ;
6493 long arg3 ;
6494 wxString result;
6495 PyObject * obj0 = 0 ;
6496 char *kwnames[] = {
6497 (char *) "self",(char *) "from",(char *) "to", NULL
6498 };
6499
6500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 {
6510 #if wxUSE_UNICODE
6511 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6512 #else
6513 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6514 #endif
6515 }
6516 return resultobj;
6517 fail:
6518 return NULL;
6519 }
6520
6521
6522 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6523 PyObject *resultobj;
6524 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6525 long arg2 ;
6526 int result;
6527 PyObject * obj0 = 0 ;
6528 char *kwnames[] = {
6529 (char *) "self",(char *) "lineNo", NULL
6530 };
6531
6532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 resultobj = PyInt_FromLong((long)result);
6542 return resultobj;
6543 fail:
6544 return NULL;
6545 }
6546
6547
6548 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj;
6550 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6551 long arg2 ;
6552 wxString result;
6553 PyObject * obj0 = 0 ;
6554 char *kwnames[] = {
6555 (char *) "self",(char *) "lineNo", NULL
6556 };
6557
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6560 {
6561 PyThreadState* __tstate = wxPyBeginAllowThreads();
6562 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6563
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 {
6568 #if wxUSE_UNICODE
6569 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6570 #else
6571 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6572 #endif
6573 }
6574 return resultobj;
6575 fail:
6576 return NULL;
6577 }
6578
6579
6580 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6581 PyObject *resultobj;
6582 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6583 int result;
6584 PyObject * obj0 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "self", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 resultobj = PyInt_FromLong((long)result);
6599 return resultobj;
6600 fail:
6601 return NULL;
6602 }
6603
6604
6605 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj;
6607 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6608 bool result;
6609 PyObject * obj0 = 0 ;
6610 char *kwnames[] = {
6611 (char *) "self", NULL
6612 };
6613
6614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6619
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 resultobj = PyInt_FromLong((long)result);
6624 return resultobj;
6625 fail:
6626 return NULL;
6627 }
6628
6629
6630 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj;
6632 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6633 bool result;
6634 PyObject * obj0 = 0 ;
6635 char *kwnames[] = {
6636 (char *) "self", NULL
6637 };
6638
6639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
6648 resultobj = PyInt_FromLong((long)result);
6649 return resultobj;
6650 fail:
6651 return NULL;
6652 }
6653
6654
6655 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6658 bool result;
6659 PyObject * obj0 = 0 ;
6660 char *kwnames[] = {
6661 (char *) "self", NULL
6662 };
6663
6664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6666 {
6667 PyThreadState* __tstate = wxPyBeginAllowThreads();
6668 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6669
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 resultobj = PyInt_FromLong((long)result);
6674 return resultobj;
6675 fail:
6676 return NULL;
6677 }
6678
6679
6680 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6681 PyObject *resultobj;
6682 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6683 bool result;
6684 PyObject * obj0 = 0 ;
6685 char *kwnames[] = {
6686 (char *) "self", NULL
6687 };
6688
6689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",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 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6694
6695 wxPyEndAllowThreads(__tstate);
6696 if (PyErr_Occurred()) SWIG_fail;
6697 }
6698 resultobj = PyInt_FromLong((long)result);
6699 return resultobj;
6700 fail:
6701 return NULL;
6702 }
6703
6704
6705 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj;
6707 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6708 long *arg2 = (long *) 0 ;
6709 long *arg3 = (long *) 0 ;
6710 long temp2 ;
6711 long temp3 ;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self", NULL
6715 };
6716
6717 arg2 = &temp2;
6718 arg3 = &temp3;
6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 Py_INCREF(Py_None); resultobj = Py_None;
6729 {
6730 PyObject *o = PyInt_FromLong((long) (*arg2));
6731 resultobj = t_output_helper(resultobj,o);
6732 }
6733 {
6734 PyObject *o = PyInt_FromLong((long) (*arg3));
6735 resultobj = t_output_helper(resultobj,o);
6736 }
6737 return resultobj;
6738 fail:
6739 return NULL;
6740 }
6741
6742
6743 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6746 wxString result;
6747 PyObject * obj0 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",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 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 {
6762 #if wxUSE_UNICODE
6763 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6764 #else
6765 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6766 #endif
6767 }
6768 return resultobj;
6769 fail:
6770 return NULL;
6771 }
6772
6773
6774 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6777 PyObject * obj0 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "self", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 (arg1)->Clear();
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 Py_INCREF(Py_None); resultobj = Py_None;
6792 return resultobj;
6793 fail:
6794 return NULL;
6795 }
6796
6797
6798 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6801 long arg2 ;
6802 long arg3 ;
6803 wxString *arg4 = 0 ;
6804 bool temp4 = false ;
6805 PyObject * obj0 = 0 ;
6806 PyObject * obj3 = 0 ;
6807 char *kwnames[] = {
6808 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6813 {
6814 arg4 = wxString_in_helper(obj3);
6815 if (arg4 == NULL) SWIG_fail;
6816 temp4 = true;
6817 }
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 Py_INCREF(Py_None); resultobj = Py_None;
6826 {
6827 if (temp4)
6828 delete arg4;
6829 }
6830 return resultobj;
6831 fail:
6832 {
6833 if (temp4)
6834 delete arg4;
6835 }
6836 return NULL;
6837 }
6838
6839
6840 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj;
6842 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6843 long arg2 ;
6844 long arg3 ;
6845 PyObject * obj0 = 0 ;
6846 char *kwnames[] = {
6847 (char *) "self",(char *) "from",(char *) "to", NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6852 {
6853 PyThreadState* __tstate = wxPyBeginAllowThreads();
6854 (arg1)->Remove(arg2,arg3);
6855
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 Py_INCREF(Py_None); resultobj = Py_None;
6860 return resultobj;
6861 fail:
6862 return NULL;
6863 }
6864
6865
6866 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj;
6868 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6869 wxString *arg2 = 0 ;
6870 bool result;
6871 bool temp2 = false ;
6872 PyObject * obj0 = 0 ;
6873 PyObject * obj1 = 0 ;
6874 char *kwnames[] = {
6875 (char *) "self",(char *) "file", NULL
6876 };
6877
6878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6880 {
6881 arg2 = wxString_in_helper(obj1);
6882 if (arg2 == NULL) SWIG_fail;
6883 temp2 = true;
6884 }
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6888
6889 wxPyEndAllowThreads(__tstate);
6890 if (PyErr_Occurred()) SWIG_fail;
6891 }
6892 resultobj = PyInt_FromLong((long)result);
6893 {
6894 if (temp2)
6895 delete arg2;
6896 }
6897 return resultobj;
6898 fail:
6899 {
6900 if (temp2)
6901 delete arg2;
6902 }
6903 return NULL;
6904 }
6905
6906
6907 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6910 wxString const &arg2_defvalue = wxPyEmptyString ;
6911 wxString *arg2 = (wxString *) &arg2_defvalue ;
6912 bool result;
6913 bool temp2 = false ;
6914 PyObject * obj0 = 0 ;
6915 PyObject * obj1 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self",(char *) "file", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6922 if (obj1) {
6923 {
6924 arg2 = wxString_in_helper(obj1);
6925 if (arg2 == NULL) SWIG_fail;
6926 temp2 = true;
6927 }
6928 }
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 resultobj = PyInt_FromLong((long)result);
6937 {
6938 if (temp2)
6939 delete arg2;
6940 }
6941 return resultobj;
6942 fail:
6943 {
6944 if (temp2)
6945 delete arg2;
6946 }
6947 return NULL;
6948 }
6949
6950
6951 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6952 PyObject *resultobj;
6953 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6954 PyObject * obj0 = 0 ;
6955 char *kwnames[] = {
6956 (char *) "self", NULL
6957 };
6958
6959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6961 {
6962 PyThreadState* __tstate = wxPyBeginAllowThreads();
6963 (arg1)->MarkDirty();
6964
6965 wxPyEndAllowThreads(__tstate);
6966 if (PyErr_Occurred()) SWIG_fail;
6967 }
6968 Py_INCREF(Py_None); resultobj = Py_None;
6969 return resultobj;
6970 fail:
6971 return NULL;
6972 }
6973
6974
6975 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6976 PyObject *resultobj;
6977 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6978 PyObject * obj0 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "self", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
6984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6985 {
6986 PyThreadState* __tstate = wxPyBeginAllowThreads();
6987 (arg1)->DiscardEdits();
6988
6989 wxPyEndAllowThreads(__tstate);
6990 if (PyErr_Occurred()) SWIG_fail;
6991 }
6992 Py_INCREF(Py_None); resultobj = Py_None;
6993 return resultobj;
6994 fail:
6995 return NULL;
6996 }
6997
6998
6999 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7000 PyObject *resultobj;
7001 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7002 unsigned long arg2 ;
7003 PyObject * obj0 = 0 ;
7004 PyObject * obj1 = 0 ;
7005 char *kwnames[] = {
7006 (char *) "self",(char *) "len", NULL
7007 };
7008
7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7011 arg2 = (unsigned long) PyInt_AsLong(obj1);
7012 if (PyErr_Occurred()) SWIG_fail;
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 (arg1)->SetMaxLength(arg2);
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 Py_INCREF(Py_None); resultobj = Py_None;
7021 return resultobj;
7022 fail:
7023 return NULL;
7024 }
7025
7026
7027 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7028 PyObject *resultobj;
7029 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7030 wxString *arg2 = 0 ;
7031 bool temp2 = false ;
7032 PyObject * obj0 = 0 ;
7033 PyObject * obj1 = 0 ;
7034 char *kwnames[] = {
7035 (char *) "self",(char *) "text", NULL
7036 };
7037
7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7040 {
7041 arg2 = wxString_in_helper(obj1);
7042 if (arg2 == NULL) SWIG_fail;
7043 temp2 = true;
7044 }
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 (arg1)->WriteText((wxString const &)*arg2);
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 Py_INCREF(Py_None); resultobj = Py_None;
7053 {
7054 if (temp2)
7055 delete arg2;
7056 }
7057 return resultobj;
7058 fail:
7059 {
7060 if (temp2)
7061 delete arg2;
7062 }
7063 return NULL;
7064 }
7065
7066
7067 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj;
7069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7070 wxString *arg2 = 0 ;
7071 bool temp2 = false ;
7072 PyObject * obj0 = 0 ;
7073 PyObject * obj1 = 0 ;
7074 char *kwnames[] = {
7075 (char *) "self",(char *) "text", NULL
7076 };
7077
7078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7080 {
7081 arg2 = wxString_in_helper(obj1);
7082 if (arg2 == NULL) SWIG_fail;
7083 temp2 = true;
7084 }
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 (arg1)->AppendText((wxString const &)*arg2);
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 Py_INCREF(Py_None); resultobj = Py_None;
7093 {
7094 if (temp2)
7095 delete arg2;
7096 }
7097 return resultobj;
7098 fail:
7099 {
7100 if (temp2)
7101 delete arg2;
7102 }
7103 return NULL;
7104 }
7105
7106
7107 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7108 PyObject *resultobj;
7109 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7110 wxKeyEvent *arg2 = 0 ;
7111 bool result;
7112 PyObject * obj0 = 0 ;
7113 PyObject * obj1 = 0 ;
7114 char *kwnames[] = {
7115 (char *) "self",(char *) "event", NULL
7116 };
7117
7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7121 if (arg2 == NULL) {
7122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7123 }
7124 {
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7127
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 resultobj = PyInt_FromLong((long)result);
7132 return resultobj;
7133 fail:
7134 return NULL;
7135 }
7136
7137
7138 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj;
7140 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7141 long arg2 ;
7142 long arg3 ;
7143 wxTextAttr *arg4 = 0 ;
7144 bool result;
7145 PyObject * obj0 = 0 ;
7146 PyObject * obj3 = 0 ;
7147 char *kwnames[] = {
7148 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7149 };
7150
7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7153 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7154 if (arg4 == NULL) {
7155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7156 }
7157 {
7158 PyThreadState* __tstate = wxPyBeginAllowThreads();
7159 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7160
7161 wxPyEndAllowThreads(__tstate);
7162 if (PyErr_Occurred()) SWIG_fail;
7163 }
7164 resultobj = PyInt_FromLong((long)result);
7165 return resultobj;
7166 fail:
7167 return NULL;
7168 }
7169
7170
7171 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7172 PyObject *resultobj;
7173 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7174 long arg2 ;
7175 wxTextAttr *arg3 = 0 ;
7176 bool result;
7177 PyObject * obj0 = 0 ;
7178 PyObject * obj2 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self",(char *) "position",(char *) "style", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7185 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7186 if (arg3 == NULL) {
7187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7188 }
7189 {
7190 PyThreadState* __tstate = wxPyBeginAllowThreads();
7191 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7192
7193 wxPyEndAllowThreads(__tstate);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 }
7196 resultobj = PyInt_FromLong((long)result);
7197 return resultobj;
7198 fail:
7199 return NULL;
7200 }
7201
7202
7203 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7204 PyObject *resultobj;
7205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7206 wxTextAttr *arg2 = 0 ;
7207 bool result;
7208 PyObject * obj0 = 0 ;
7209 PyObject * obj1 = 0 ;
7210 char *kwnames[] = {
7211 (char *) "self",(char *) "style", NULL
7212 };
7213
7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7217 if (arg2 == NULL) {
7218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7219 }
7220 {
7221 PyThreadState* __tstate = wxPyBeginAllowThreads();
7222 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7223
7224 wxPyEndAllowThreads(__tstate);
7225 if (PyErr_Occurred()) SWIG_fail;
7226 }
7227 resultobj = PyInt_FromLong((long)result);
7228 return resultobj;
7229 fail:
7230 return NULL;
7231 }
7232
7233
7234 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7235 PyObject *resultobj;
7236 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7237 wxTextAttr *result;
7238 PyObject * obj0 = 0 ;
7239 char *kwnames[] = {
7240 (char *) "self", NULL
7241 };
7242
7243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) 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 {
7248 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7249 result = (wxTextAttr *) &_result_ref;
7250 }
7251
7252 wxPyEndAllowThreads(__tstate);
7253 if (PyErr_Occurred()) SWIG_fail;
7254 }
7255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7256 return resultobj;
7257 fail:
7258 return NULL;
7259 }
7260
7261
7262 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7263 PyObject *resultobj;
7264 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7265 long arg2 ;
7266 long arg3 ;
7267 long result;
7268 PyObject * obj0 = 0 ;
7269 char *kwnames[] = {
7270 (char *) "self",(char *) "x",(char *) "y", NULL
7271 };
7272
7273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7275 {
7276 PyThreadState* __tstate = wxPyBeginAllowThreads();
7277 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7278
7279 wxPyEndAllowThreads(__tstate);
7280 if (PyErr_Occurred()) SWIG_fail;
7281 }
7282 resultobj = PyInt_FromLong((long)result);
7283 return resultobj;
7284 fail:
7285 return NULL;
7286 }
7287
7288
7289 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7290 PyObject *resultobj;
7291 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7292 long arg2 ;
7293 long *arg3 = (long *) 0 ;
7294 long *arg4 = (long *) 0 ;
7295 long temp3 ;
7296 long temp4 ;
7297 PyObject * obj0 = 0 ;
7298 char *kwnames[] = {
7299 (char *) "self",(char *) "pos", NULL
7300 };
7301
7302 arg3 = &temp3;
7303 arg4 = &temp4;
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7306 {
7307 PyThreadState* __tstate = wxPyBeginAllowThreads();
7308 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7309
7310 wxPyEndAllowThreads(__tstate);
7311 if (PyErr_Occurred()) SWIG_fail;
7312 }
7313 Py_INCREF(Py_None); resultobj = Py_None;
7314 {
7315 PyObject *o = PyInt_FromLong((long) (*arg3));
7316 resultobj = t_output_helper(resultobj,o);
7317 }
7318 {
7319 PyObject *o = PyInt_FromLong((long) (*arg4));
7320 resultobj = t_output_helper(resultobj,o);
7321 }
7322 return resultobj;
7323 fail:
7324 return NULL;
7325 }
7326
7327
7328 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7329 PyObject *resultobj;
7330 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7331 long arg2 ;
7332 PyObject * obj0 = 0 ;
7333 char *kwnames[] = {
7334 (char *) "self",(char *) "pos", NULL
7335 };
7336
7337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7339 {
7340 PyThreadState* __tstate = wxPyBeginAllowThreads();
7341 (arg1)->ShowPosition(arg2);
7342
7343 wxPyEndAllowThreads(__tstate);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 Py_INCREF(Py_None); resultobj = Py_None;
7347 return resultobj;
7348 fail:
7349 return NULL;
7350 }
7351
7352
7353 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj;
7355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7356 PyObject * obj0 = 0 ;
7357 char *kwnames[] = {
7358 (char *) "self", NULL
7359 };
7360
7361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 (arg1)->Copy();
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 Py_INCREF(Py_None); resultobj = Py_None;
7371 return resultobj;
7372 fail:
7373 return NULL;
7374 }
7375
7376
7377 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj;
7379 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 (arg1)->Cut();
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 Py_INCREF(Py_None); resultobj = Py_None;
7395 return resultobj;
7396 fail:
7397 return NULL;
7398 }
7399
7400
7401 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj;
7403 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7404 PyObject * obj0 = 0 ;
7405 char *kwnames[] = {
7406 (char *) "self", NULL
7407 };
7408
7409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 (arg1)->Paste();
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
7418 Py_INCREF(Py_None); resultobj = Py_None;
7419 return resultobj;
7420 fail:
7421 return NULL;
7422 }
7423
7424
7425 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7428 bool result;
7429 PyObject * obj0 = 0 ;
7430 char *kwnames[] = {
7431 (char *) "self", NULL
7432 };
7433
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7436 {
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7439
7440 wxPyEndAllowThreads(__tstate);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 }
7443 resultobj = PyInt_FromLong((long)result);
7444 return resultobj;
7445 fail:
7446 return NULL;
7447 }
7448
7449
7450 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7451 PyObject *resultobj;
7452 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7453 bool result;
7454 PyObject * obj0 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 resultobj = PyInt_FromLong((long)result);
7469 return resultobj;
7470 fail:
7471 return NULL;
7472 }
7473
7474
7475 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7476 PyObject *resultobj;
7477 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7478 bool result;
7479 PyObject * obj0 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "self", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7486 {
7487 PyThreadState* __tstate = wxPyBeginAllowThreads();
7488 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7489
7490 wxPyEndAllowThreads(__tstate);
7491 if (PyErr_Occurred()) SWIG_fail;
7492 }
7493 resultobj = PyInt_FromLong((long)result);
7494 return resultobj;
7495 fail:
7496 return NULL;
7497 }
7498
7499
7500 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7503 PyObject * obj0 = 0 ;
7504 char *kwnames[] = {
7505 (char *) "self", NULL
7506 };
7507
7508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7510 {
7511 PyThreadState* __tstate = wxPyBeginAllowThreads();
7512 (arg1)->Undo();
7513
7514 wxPyEndAllowThreads(__tstate);
7515 if (PyErr_Occurred()) SWIG_fail;
7516 }
7517 Py_INCREF(Py_None); resultobj = Py_None;
7518 return resultobj;
7519 fail:
7520 return NULL;
7521 }
7522
7523
7524 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7525 PyObject *resultobj;
7526 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7527 PyObject * obj0 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 (arg1)->Redo();
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 Py_INCREF(Py_None); resultobj = Py_None;
7542 return resultobj;
7543 fail:
7544 return NULL;
7545 }
7546
7547
7548 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7549 PyObject *resultobj;
7550 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7551 bool result;
7552 PyObject * obj0 = 0 ;
7553 char *kwnames[] = {
7554 (char *) "self", NULL
7555 };
7556
7557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7559 {
7560 PyThreadState* __tstate = wxPyBeginAllowThreads();
7561 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7562
7563 wxPyEndAllowThreads(__tstate);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 resultobj = PyInt_FromLong((long)result);
7567 return resultobj;
7568 fail:
7569 return NULL;
7570 }
7571
7572
7573 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7574 PyObject *resultobj;
7575 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7576 bool result;
7577 PyObject * obj0 = 0 ;
7578 char *kwnames[] = {
7579 (char *) "self", NULL
7580 };
7581
7582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7587
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 resultobj = PyInt_FromLong((long)result);
7592 return resultobj;
7593 fail:
7594 return NULL;
7595 }
7596
7597
7598 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7599 PyObject *resultobj;
7600 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7601 long arg2 ;
7602 PyObject * obj0 = 0 ;
7603 char *kwnames[] = {
7604 (char *) "self",(char *) "pos", NULL
7605 };
7606
7607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 (arg1)->SetInsertionPoint(arg2);
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 Py_INCREF(Py_None); resultobj = Py_None;
7617 return resultobj;
7618 fail:
7619 return NULL;
7620 }
7621
7622
7623 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj;
7625 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7626 PyObject * obj0 = 0 ;
7627 char *kwnames[] = {
7628 (char *) "self", NULL
7629 };
7630
7631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 (arg1)->SetInsertionPointEnd();
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 Py_INCREF(Py_None); resultobj = Py_None;
7641 return resultobj;
7642 fail:
7643 return NULL;
7644 }
7645
7646
7647 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7648 PyObject *resultobj;
7649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7650 long result;
7651 PyObject * obj0 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "self", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 resultobj = PyInt_FromLong((long)result);
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj;
7674 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7675 long result;
7676 PyObject * obj0 = 0 ;
7677 char *kwnames[] = {
7678 (char *) "self", NULL
7679 };
7680
7681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 resultobj = PyInt_FromLong((long)result);
7691 return resultobj;
7692 fail:
7693 return NULL;
7694 }
7695
7696
7697 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7698 PyObject *resultobj;
7699 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7700 long arg2 ;
7701 long arg3 ;
7702 PyObject * obj0 = 0 ;
7703 char *kwnames[] = {
7704 (char *) "self",(char *) "from",(char *) "to", NULL
7705 };
7706
7707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7709 {
7710 PyThreadState* __tstate = wxPyBeginAllowThreads();
7711 (arg1)->SetSelection(arg2,arg3);
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 Py_INCREF(Py_None); resultobj = Py_None;
7717 return resultobj;
7718 fail:
7719 return NULL;
7720 }
7721
7722
7723 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7726 PyObject * obj0 = 0 ;
7727 char *kwnames[] = {
7728 (char *) "self", NULL
7729 };
7730
7731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 (arg1)->SelectAll();
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 Py_INCREF(Py_None); resultobj = Py_None;
7741 return resultobj;
7742 fail:
7743 return NULL;
7744 }
7745
7746
7747 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7748 PyObject *resultobj;
7749 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7750 bool arg2 ;
7751 PyObject * obj0 = 0 ;
7752 PyObject * obj1 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self",(char *) "editable", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7759 arg2 = PyInt_AsLong(obj1) ? true : false;
7760 if (PyErr_Occurred()) SWIG_fail;
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 (arg1)->SetEditable(arg2);
7764
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 Py_INCREF(Py_None); resultobj = Py_None;
7769 return resultobj;
7770 fail:
7771 return NULL;
7772 }
7773
7774
7775 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7776 PyObject *resultobj;
7777 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7778 wxString *arg2 = 0 ;
7779 bool temp2 = false ;
7780 PyObject * obj0 = 0 ;
7781 PyObject * obj1 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self",(char *) "text", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7788 {
7789 arg2 = wxString_in_helper(obj1);
7790 if (arg2 == NULL) SWIG_fail;
7791 temp2 = true;
7792 }
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 Py_INCREF(Py_None); resultobj = Py_None;
7801 {
7802 if (temp2)
7803 delete arg2;
7804 }
7805 return resultobj;
7806 fail:
7807 {
7808 if (temp2)
7809 delete arg2;
7810 }
7811 return NULL;
7812 }
7813
7814
7815 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7818 long arg2 ;
7819 long arg3 ;
7820 wxString result;
7821 PyObject * obj0 = 0 ;
7822 char *kwnames[] = {
7823 (char *) "self",(char *) "from",(char *) "to", NULL
7824 };
7825
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836 #if wxUSE_UNICODE
7837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7838 #else
7839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7840 #endif
7841 }
7842 return resultobj;
7843 fail:
7844 return NULL;
7845 }
7846
7847
7848 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7849 PyObject *obj;
7850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7851 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7852 Py_INCREF(obj);
7853 return Py_BuildValue((char *)"");
7854 }
7855 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj;
7857 int arg1 ;
7858 wxMouseEvent *arg2 = 0 ;
7859 long arg3 ;
7860 long arg4 ;
7861 wxTextUrlEvent *result;
7862 PyObject * obj1 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7869 if (arg2 == NULL) {
7870 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7871 }
7872 {
7873 PyThreadState* __tstate = wxPyBeginAllowThreads();
7874 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7875
7876 wxPyEndAllowThreads(__tstate);
7877 if (PyErr_Occurred()) SWIG_fail;
7878 }
7879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7880 return resultobj;
7881 fail:
7882 return NULL;
7883 }
7884
7885
7886 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7887 PyObject *resultobj;
7888 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7889 wxMouseEvent *result;
7890 PyObject * obj0 = 0 ;
7891 char *kwnames[] = {
7892 (char *) "self", NULL
7893 };
7894
7895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7897 {
7898 PyThreadState* __tstate = wxPyBeginAllowThreads();
7899 {
7900 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7901 result = (wxMouseEvent *) &_result_ref;
7902 }
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7908 return resultobj;
7909 fail:
7910 return NULL;
7911 }
7912
7913
7914 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj;
7916 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7917 long result;
7918 PyObject * obj0 = 0 ;
7919 char *kwnames[] = {
7920 (char *) "self", NULL
7921 };
7922
7923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7928
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 resultobj = PyInt_FromLong((long)result);
7933 return resultobj;
7934 fail:
7935 return NULL;
7936 }
7937
7938
7939 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7940 PyObject *resultobj;
7941 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7942 long result;
7943 PyObject * obj0 = 0 ;
7944 char *kwnames[] = {
7945 (char *) "self", NULL
7946 };
7947
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7953
7954 wxPyEndAllowThreads(__tstate);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 resultobj = PyInt_FromLong((long)result);
7958 return resultobj;
7959 fail:
7960 return NULL;
7961 }
7962
7963
7964 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7965 PyObject *obj;
7966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7967 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7968 Py_INCREF(obj);
7969 return Py_BuildValue((char *)"");
7970 }
7971 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7972 PyObject *resultobj;
7973 wxWindow *arg1 = (wxWindow *) 0 ;
7974 wxWindowID arg2 = (wxWindowID) -1 ;
7975 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7976 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7977 wxSize const &arg4_defvalue = wxDefaultSize ;
7978 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7979 long arg5 = (long) wxSB_HORIZONTAL ;
7980 wxValidator const &arg6_defvalue = wxDefaultValidator ;
7981 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
7982 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
7983 wxString *arg7 = (wxString *) &arg7_defvalue ;
7984 wxScrollBar *result;
7985 wxPoint temp3 ;
7986 wxSize temp4 ;
7987 bool temp7 = false ;
7988 PyObject * obj0 = 0 ;
7989 PyObject * obj2 = 0 ;
7990 PyObject * obj3 = 0 ;
7991 PyObject * obj5 = 0 ;
7992 PyObject * obj6 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
7998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7999 if (obj2) {
8000 {
8001 arg3 = &temp3;
8002 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8003 }
8004 }
8005 if (obj3) {
8006 {
8007 arg4 = &temp4;
8008 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8009 }
8010 }
8011 if (obj5) {
8012 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8013 if (arg6 == NULL) {
8014 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8015 }
8016 }
8017 if (obj6) {
8018 {
8019 arg7 = wxString_in_helper(obj6);
8020 if (arg7 == NULL) SWIG_fail;
8021 temp7 = true;
8022 }
8023 }
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8027
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8032 {
8033 if (temp7)
8034 delete arg7;
8035 }
8036 return resultobj;
8037 fail:
8038 {
8039 if (temp7)
8040 delete arg7;
8041 }
8042 return NULL;
8043 }
8044
8045
8046 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxScrollBar *result;
8049 char *kwnames[] = {
8050 NULL
8051 };
8052
8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (wxScrollBar *)new wxScrollBar();
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8071 wxWindow *arg2 = (wxWindow *) 0 ;
8072 wxWindowID arg3 = (wxWindowID) -1 ;
8073 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8074 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8075 wxSize const &arg5_defvalue = wxDefaultSize ;
8076 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8077 long arg6 = (long) wxSB_HORIZONTAL ;
8078 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8079 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8080 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8081 wxString *arg8 = (wxString *) &arg8_defvalue ;
8082 bool result;
8083 wxPoint temp4 ;
8084 wxSize temp5 ;
8085 bool temp8 = false ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 PyObject * obj3 = 0 ;
8089 PyObject * obj4 = 0 ;
8090 PyObject * obj6 = 0 ;
8091 PyObject * obj7 = 0 ;
8092 char *kwnames[] = {
8093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8099 if (obj3) {
8100 {
8101 arg4 = &temp4;
8102 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8103 }
8104 }
8105 if (obj4) {
8106 {
8107 arg5 = &temp5;
8108 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8109 }
8110 }
8111 if (obj6) {
8112 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8113 if (arg7 == NULL) {
8114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8115 }
8116 }
8117 if (obj7) {
8118 {
8119 arg8 = wxString_in_helper(obj7);
8120 if (arg8 == NULL) SWIG_fail;
8121 temp8 = true;
8122 }
8123 }
8124 {
8125 PyThreadState* __tstate = wxPyBeginAllowThreads();
8126 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8127
8128 wxPyEndAllowThreads(__tstate);
8129 if (PyErr_Occurred()) SWIG_fail;
8130 }
8131 resultobj = PyInt_FromLong((long)result);
8132 {
8133 if (temp8)
8134 delete arg8;
8135 }
8136 return resultobj;
8137 fail:
8138 {
8139 if (temp8)
8140 delete arg8;
8141 }
8142 return NULL;
8143 }
8144
8145
8146 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj;
8148 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8149 int result;
8150 PyObject * obj0 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "self", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 resultobj = PyInt_FromLong((long)result);
8165 return resultobj;
8166 fail:
8167 return NULL;
8168 }
8169
8170
8171 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8174 int result;
8175 PyObject * obj0 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8182 {
8183 PyThreadState* __tstate = wxPyBeginAllowThreads();
8184 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8185
8186 wxPyEndAllowThreads(__tstate);
8187 if (PyErr_Occurred()) SWIG_fail;
8188 }
8189 resultobj = PyInt_FromLong((long)result);
8190 return resultobj;
8191 fail:
8192 return NULL;
8193 }
8194
8195
8196 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8197 PyObject *resultobj;
8198 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8199 int result;
8200 PyObject * obj0 = 0 ;
8201 char *kwnames[] = {
8202 (char *) "self", NULL
8203 };
8204
8205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 resultobj = PyInt_FromLong((long)result);
8215 return resultobj;
8216 fail:
8217 return NULL;
8218 }
8219
8220
8221 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8222 PyObject *resultobj;
8223 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8224 int result;
8225 PyObject * obj0 = 0 ;
8226 char *kwnames[] = {
8227 (char *) "self", NULL
8228 };
8229
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (int)((wxScrollBar const *)arg1)->GetRange();
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 resultobj = PyInt_FromLong((long)result);
8240 return resultobj;
8241 fail:
8242 return NULL;
8243 }
8244
8245
8246 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8247 PyObject *resultobj;
8248 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8249 bool result;
8250 PyObject * obj0 = 0 ;
8251 char *kwnames[] = {
8252 (char *) "self", NULL
8253 };
8254
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 resultobj = PyInt_FromLong((long)result);
8265 return resultobj;
8266 fail:
8267 return NULL;
8268 }
8269
8270
8271 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8272 PyObject *resultobj;
8273 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8274 int arg2 ;
8275 PyObject * obj0 = 0 ;
8276 char *kwnames[] = {
8277 (char *) "self",(char *) "viewStart", NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8282 {
8283 PyThreadState* __tstate = wxPyBeginAllowThreads();
8284 (arg1)->SetThumbPosition(arg2);
8285
8286 wxPyEndAllowThreads(__tstate);
8287 if (PyErr_Occurred()) SWIG_fail;
8288 }
8289 Py_INCREF(Py_None); resultobj = Py_None;
8290 return resultobj;
8291 fail:
8292 return NULL;
8293 }
8294
8295
8296 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj;
8298 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8299 int arg2 ;
8300 int arg3 ;
8301 int arg4 ;
8302 int arg5 ;
8303 bool arg6 = (bool) TRUE ;
8304 PyObject * obj0 = 0 ;
8305 PyObject * obj5 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8312 if (obj5) {
8313 arg6 = PyInt_AsLong(obj5) ? true : false;
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8319
8320 wxPyEndAllowThreads(__tstate);
8321 if (PyErr_Occurred()) SWIG_fail;
8322 }
8323 Py_INCREF(Py_None); resultobj = Py_None;
8324 return resultobj;
8325 fail:
8326 return NULL;
8327 }
8328
8329
8330 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8331 PyObject *obj;
8332 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8333 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8334 Py_INCREF(obj);
8335 return Py_BuildValue((char *)"");
8336 }
8337 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj;
8339 wxWindow *arg1 = (wxWindow *) 0 ;
8340 wxWindowID arg2 = (wxWindowID) -1 ;
8341 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8342 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8343 wxSize const &arg4_defvalue = wxDefaultSize ;
8344 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8345 long arg5 = (long) wxSP_HORIZONTAL ;
8346 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8347 wxString *arg6 = (wxString *) &arg6_defvalue ;
8348 wxSpinButton *result;
8349 wxPoint temp3 ;
8350 wxSize temp4 ;
8351 bool temp6 = false ;
8352 PyObject * obj0 = 0 ;
8353 PyObject * obj2 = 0 ;
8354 PyObject * obj3 = 0 ;
8355 PyObject * obj5 = 0 ;
8356 char *kwnames[] = {
8357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8358 };
8359
8360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8362 if (obj2) {
8363 {
8364 arg3 = &temp3;
8365 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8366 }
8367 }
8368 if (obj3) {
8369 {
8370 arg4 = &temp4;
8371 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8372 }
8373 }
8374 if (obj5) {
8375 {
8376 arg6 = wxString_in_helper(obj5);
8377 if (arg6 == NULL) SWIG_fail;
8378 temp6 = true;
8379 }
8380 }
8381 {
8382 PyThreadState* __tstate = wxPyBeginAllowThreads();
8383 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8384
8385 wxPyEndAllowThreads(__tstate);
8386 if (PyErr_Occurred()) SWIG_fail;
8387 }
8388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8389 {
8390 if (temp6)
8391 delete arg6;
8392 }
8393 return resultobj;
8394 fail:
8395 {
8396 if (temp6)
8397 delete arg6;
8398 }
8399 return NULL;
8400 }
8401
8402
8403 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj;
8405 wxSpinButton *result;
8406 char *kwnames[] = {
8407 NULL
8408 };
8409
8410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 result = (wxSpinButton *)new wxSpinButton();
8414
8415 wxPyEndAllowThreads(__tstate);
8416 if (PyErr_Occurred()) SWIG_fail;
8417 }
8418 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8419 return resultobj;
8420 fail:
8421 return NULL;
8422 }
8423
8424
8425 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8426 PyObject *resultobj;
8427 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8428 wxWindow *arg2 = (wxWindow *) 0 ;
8429 wxWindowID arg3 = (wxWindowID) -1 ;
8430 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8431 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8432 wxSize const &arg5_defvalue = wxDefaultSize ;
8433 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8434 long arg6 = (long) wxSP_HORIZONTAL ;
8435 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8436 wxString *arg7 = (wxString *) &arg7_defvalue ;
8437 bool result;
8438 wxPoint temp4 ;
8439 wxSize temp5 ;
8440 bool temp7 = false ;
8441 PyObject * obj0 = 0 ;
8442 PyObject * obj1 = 0 ;
8443 PyObject * obj3 = 0 ;
8444 PyObject * obj4 = 0 ;
8445 PyObject * obj6 = 0 ;
8446 char *kwnames[] = {
8447 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8448 };
8449
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8453 if (obj3) {
8454 {
8455 arg4 = &temp4;
8456 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8457 }
8458 }
8459 if (obj4) {
8460 {
8461 arg5 = &temp5;
8462 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8463 }
8464 }
8465 if (obj6) {
8466 {
8467 arg7 = wxString_in_helper(obj6);
8468 if (arg7 == NULL) SWIG_fail;
8469 temp7 = true;
8470 }
8471 }
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 resultobj = PyInt_FromLong((long)result);
8480 {
8481 if (temp7)
8482 delete arg7;
8483 }
8484 return resultobj;
8485 fail:
8486 {
8487 if (temp7)
8488 delete arg7;
8489 }
8490 return NULL;
8491 }
8492
8493
8494 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8495 PyObject *resultobj;
8496 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8497 int result;
8498 PyObject * obj0 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self", NULL
8501 };
8502
8503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8505 {
8506 PyThreadState* __tstate = wxPyBeginAllowThreads();
8507 result = (int)((wxSpinButton const *)arg1)->GetValue();
8508
8509 wxPyEndAllowThreads(__tstate);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 resultobj = PyInt_FromLong((long)result);
8513 return resultobj;
8514 fail:
8515 return NULL;
8516 }
8517
8518
8519 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj;
8521 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8522 int result;
8523 PyObject * obj0 = 0 ;
8524 char *kwnames[] = {
8525 (char *) "self", NULL
8526 };
8527
8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 result = (int)((wxSpinButton const *)arg1)->GetMin();
8533
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 resultobj = PyInt_FromLong((long)result);
8538 return resultobj;
8539 fail:
8540 return NULL;
8541 }
8542
8543
8544 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj;
8546 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8547 int result;
8548 PyObject * obj0 = 0 ;
8549 char *kwnames[] = {
8550 (char *) "self", NULL
8551 };
8552
8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (int)((wxSpinButton const *)arg1)->GetMax();
8558
8559 wxPyEndAllowThreads(__tstate);
8560 if (PyErr_Occurred()) SWIG_fail;
8561 }
8562 resultobj = PyInt_FromLong((long)result);
8563 return resultobj;
8564 fail:
8565 return NULL;
8566 }
8567
8568
8569 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8570 PyObject *resultobj;
8571 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8572 int arg2 ;
8573 PyObject * obj0 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "self",(char *) "val", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 (arg1)->SetValue(arg2);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 Py_INCREF(Py_None); resultobj = Py_None;
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8597 int arg2 ;
8598 PyObject * obj0 = 0 ;
8599 char *kwnames[] = {
8600 (char *) "self",(char *) "minVal", NULL
8601 };
8602
8603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 (arg1)->SetMin(arg2);
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 Py_INCREF(Py_None); resultobj = Py_None;
8613 return resultobj;
8614 fail:
8615 return NULL;
8616 }
8617
8618
8619 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj;
8621 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8622 int arg2 ;
8623 PyObject * obj0 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self",(char *) "maxVal", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8630 {
8631 PyThreadState* __tstate = wxPyBeginAllowThreads();
8632 (arg1)->SetMax(arg2);
8633
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 Py_INCREF(Py_None); resultobj = Py_None;
8638 return resultobj;
8639 fail:
8640 return NULL;
8641 }
8642
8643
8644 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8645 PyObject *resultobj;
8646 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8647 int arg2 ;
8648 int arg3 ;
8649 PyObject * obj0 = 0 ;
8650 char *kwnames[] = {
8651 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8652 };
8653
8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 (arg1)->SetRange(arg2,arg3);
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 Py_INCREF(Py_None); resultobj = Py_None;
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8673 bool result;
8674 PyObject * obj0 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "self", NULL
8677 };
8678
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 resultobj = PyInt_FromLong((long)result);
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8696 PyObject *obj;
8697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8698 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8699 Py_INCREF(obj);
8700 return Py_BuildValue((char *)"");
8701 }
8702 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 wxWindow *arg1 = (wxWindow *) 0 ;
8705 wxWindowID arg2 = (wxWindowID) -1 ;
8706 wxString const &arg3_defvalue = wxPyEmptyString ;
8707 wxString *arg3 = (wxString *) &arg3_defvalue ;
8708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8710 wxSize const &arg5_defvalue = wxDefaultSize ;
8711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8712 long arg6 = (long) wxSP_ARROW_KEYS ;
8713 int arg7 = (int) 0 ;
8714 int arg8 = (int) 100 ;
8715 int arg9 = (int) 0 ;
8716 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8717 wxString *arg10 = (wxString *) &arg10_defvalue ;
8718 wxSpinCtrl *result;
8719 bool temp3 = false ;
8720 wxPoint temp4 ;
8721 wxSize temp5 ;
8722 bool temp10 = false ;
8723 PyObject * obj0 = 0 ;
8724 PyObject * obj2 = 0 ;
8725 PyObject * obj3 = 0 ;
8726 PyObject * obj4 = 0 ;
8727 PyObject * obj9 = 0 ;
8728 char *kwnames[] = {
8729 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8730 };
8731
8732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8734 if (obj2) {
8735 {
8736 arg3 = wxString_in_helper(obj2);
8737 if (arg3 == NULL) SWIG_fail;
8738 temp3 = true;
8739 }
8740 }
8741 if (obj3) {
8742 {
8743 arg4 = &temp4;
8744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8745 }
8746 }
8747 if (obj4) {
8748 {
8749 arg5 = &temp5;
8750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8751 }
8752 }
8753 if (obj9) {
8754 {
8755 arg10 = wxString_in_helper(obj9);
8756 if (arg10 == NULL) SWIG_fail;
8757 temp10 = true;
8758 }
8759 }
8760 {
8761 PyThreadState* __tstate = wxPyBeginAllowThreads();
8762 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8763
8764 wxPyEndAllowThreads(__tstate);
8765 if (PyErr_Occurred()) SWIG_fail;
8766 }
8767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8768 {
8769 if (temp3)
8770 delete arg3;
8771 }
8772 {
8773 if (temp10)
8774 delete arg10;
8775 }
8776 return resultobj;
8777 fail:
8778 {
8779 if (temp3)
8780 delete arg3;
8781 }
8782 {
8783 if (temp10)
8784 delete arg10;
8785 }
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxSpinCtrl *result;
8793 char *kwnames[] = {
8794 NULL
8795 };
8796
8797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 result = (wxSpinCtrl *)new wxSpinCtrl();
8801
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8806 return resultobj;
8807 fail:
8808 return NULL;
8809 }
8810
8811
8812 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj;
8814 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8815 wxWindow *arg2 = (wxWindow *) 0 ;
8816 wxWindowID arg3 = (wxWindowID) -1 ;
8817 wxString const &arg4_defvalue = wxPyEmptyString ;
8818 wxString *arg4 = (wxString *) &arg4_defvalue ;
8819 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8820 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8821 wxSize const &arg6_defvalue = wxDefaultSize ;
8822 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8823 long arg7 = (long) wxSP_ARROW_KEYS ;
8824 int arg8 = (int) 0 ;
8825 int arg9 = (int) 100 ;
8826 int arg10 = (int) 0 ;
8827 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8828 wxString *arg11 = (wxString *) &arg11_defvalue ;
8829 bool result;
8830 bool temp4 = false ;
8831 wxPoint temp5 ;
8832 wxSize temp6 ;
8833 bool temp11 = false ;
8834 PyObject * obj0 = 0 ;
8835 PyObject * obj1 = 0 ;
8836 PyObject * obj3 = 0 ;
8837 PyObject * obj4 = 0 ;
8838 PyObject * obj5 = 0 ;
8839 PyObject * obj10 = 0 ;
8840 char *kwnames[] = {
8841 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8842 };
8843
8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8847 if (obj3) {
8848 {
8849 arg4 = wxString_in_helper(obj3);
8850 if (arg4 == NULL) SWIG_fail;
8851 temp4 = true;
8852 }
8853 }
8854 if (obj4) {
8855 {
8856 arg5 = &temp5;
8857 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8858 }
8859 }
8860 if (obj5) {
8861 {
8862 arg6 = &temp6;
8863 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8864 }
8865 }
8866 if (obj10) {
8867 {
8868 arg11 = wxString_in_helper(obj10);
8869 if (arg11 == NULL) SWIG_fail;
8870 temp11 = true;
8871 }
8872 }
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 resultobj = PyInt_FromLong((long)result);
8881 {
8882 if (temp4)
8883 delete arg4;
8884 }
8885 {
8886 if (temp11)
8887 delete arg11;
8888 }
8889 return resultobj;
8890 fail:
8891 {
8892 if (temp4)
8893 delete arg4;
8894 }
8895 {
8896 if (temp11)
8897 delete arg11;
8898 }
8899 return NULL;
8900 }
8901
8902
8903 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj;
8905 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8906 int result;
8907 PyObject * obj0 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8914 {
8915 PyThreadState* __tstate = wxPyBeginAllowThreads();
8916 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8917
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = PyInt_FromLong((long)result);
8922 return resultobj;
8923 fail:
8924 return NULL;
8925 }
8926
8927
8928 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8929 PyObject *resultobj;
8930 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8931 int arg2 ;
8932 PyObject * obj0 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self",(char *) "value", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 (arg1)->SetValue(arg2);
8942
8943 wxPyEndAllowThreads(__tstate);
8944 if (PyErr_Occurred()) SWIG_fail;
8945 }
8946 Py_INCREF(Py_None); resultobj = Py_None;
8947 return resultobj;
8948 fail:
8949 return NULL;
8950 }
8951
8952
8953 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8954 PyObject *resultobj;
8955 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8956 wxString *arg2 = 0 ;
8957 bool temp2 = false ;
8958 PyObject * obj0 = 0 ;
8959 PyObject * obj1 = 0 ;
8960 char *kwnames[] = {
8961 (char *) "self",(char *) "text", NULL
8962 };
8963
8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8966 {
8967 arg2 = wxString_in_helper(obj1);
8968 if (arg2 == NULL) SWIG_fail;
8969 temp2 = true;
8970 }
8971 {
8972 PyThreadState* __tstate = wxPyBeginAllowThreads();
8973 (arg1)->SetValue((wxString const &)*arg2);
8974
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 Py_INCREF(Py_None); resultobj = Py_None;
8979 {
8980 if (temp2)
8981 delete arg2;
8982 }
8983 return resultobj;
8984 fail:
8985 {
8986 if (temp2)
8987 delete arg2;
8988 }
8989 return NULL;
8990 }
8991
8992
8993 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8996 int arg2 ;
8997 int arg3 ;
8998 PyObject * obj0 = 0 ;
8999 char *kwnames[] = {
9000 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9001 };
9002
9003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9005 {
9006 PyThreadState* __tstate = wxPyBeginAllowThreads();
9007 (arg1)->SetRange(arg2,arg3);
9008
9009 wxPyEndAllowThreads(__tstate);
9010 if (PyErr_Occurred()) SWIG_fail;
9011 }
9012 Py_INCREF(Py_None); resultobj = Py_None;
9013 return resultobj;
9014 fail:
9015 return NULL;
9016 }
9017
9018
9019 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj;
9021 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9022 int result;
9023 PyObject * obj0 = 0 ;
9024 char *kwnames[] = {
9025 (char *) "self", NULL
9026 };
9027
9028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 resultobj = PyInt_FromLong((long)result);
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9047 int result;
9048 PyObject * obj0 = 0 ;
9049 char *kwnames[] = {
9050 (char *) "self", NULL
9051 };
9052
9053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9058
9059 wxPyEndAllowThreads(__tstate);
9060 if (PyErr_Occurred()) SWIG_fail;
9061 }
9062 resultobj = PyInt_FromLong((long)result);
9063 return resultobj;
9064 fail:
9065 return NULL;
9066 }
9067
9068
9069 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9070 PyObject *resultobj;
9071 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9072 long arg2 ;
9073 long arg3 ;
9074 PyObject * obj0 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self",(char *) "from",(char *) "to", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9081 {
9082 PyThreadState* __tstate = wxPyBeginAllowThreads();
9083 wxSpinCtrl_SetSelection(arg1,arg2,arg3);
9084
9085 wxPyEndAllowThreads(__tstate);
9086 if (PyErr_Occurred()) SWIG_fail;
9087 }
9088 Py_INCREF(Py_None); resultobj = Py_None;
9089 return resultobj;
9090 fail:
9091 return NULL;
9092 }
9093
9094
9095 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9096 PyObject *obj;
9097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9098 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9099 Py_INCREF(obj);
9100 return Py_BuildValue((char *)"");
9101 }
9102 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj;
9104 wxWindow *arg1 = (wxWindow *) 0 ;
9105 wxWindowID arg2 ;
9106 wxString *arg3 = 0 ;
9107 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9108 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9109 wxSize const &arg5_defvalue = wxDefaultSize ;
9110 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9111 int arg6 = (int) 0 ;
9112 wxString *arg7 = (wxString *) NULL ;
9113 int arg8 = (int) 0 ;
9114 long arg9 = (long) wxRA_HORIZONTAL ;
9115 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9116 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9117 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9118 wxString *arg11 = (wxString *) &arg11_defvalue ;
9119 wxRadioBox *result;
9120 bool temp3 = false ;
9121 wxPoint temp4 ;
9122 wxSize temp5 ;
9123 bool temp10 = false ;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj2 = 0 ;
9126 PyObject * obj3 = 0 ;
9127 PyObject * obj4 = 0 ;
9128 PyObject * obj5 = 0 ;
9129 PyObject * obj8 = 0 ;
9130 PyObject * obj9 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9137 {
9138 arg3 = wxString_in_helper(obj2);
9139 if (arg3 == NULL) SWIG_fail;
9140 temp3 = true;
9141 }
9142 if (obj3) {
9143 {
9144 arg4 = &temp4;
9145 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9146 }
9147 }
9148 if (obj4) {
9149 {
9150 arg5 = &temp5;
9151 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9152 }
9153 }
9154 if (obj5) {
9155 {
9156 arg6 = PyList_Size(obj5);
9157 arg7 = wxString_LIST_helper(obj5);
9158 if (arg7 == NULL) SWIG_fail;
9159 }
9160 }
9161 if (obj8) {
9162 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9163 if (arg10 == NULL) {
9164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9165 }
9166 }
9167 if (obj9) {
9168 {
9169 arg11 = wxString_in_helper(obj9);
9170 if (arg11 == NULL) SWIG_fail;
9171 temp10 = true;
9172 }
9173 }
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 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);
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9182 {
9183 if (temp3)
9184 delete arg3;
9185 }
9186 {
9187 if (arg7) delete [] arg7;
9188 }
9189 {
9190 if (temp10)
9191 delete arg11;
9192 }
9193 return resultobj;
9194 fail:
9195 {
9196 if (temp3)
9197 delete arg3;
9198 }
9199 {
9200 if (arg7) delete [] arg7;
9201 }
9202 {
9203 if (temp10)
9204 delete arg11;
9205 }
9206 return NULL;
9207 }
9208
9209
9210 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxRadioBox *result;
9213 char *kwnames[] = {
9214 NULL
9215 };
9216
9217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = (wxRadioBox *)new wxRadioBox();
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9226 return resultobj;
9227 fail:
9228 return NULL;
9229 }
9230
9231
9232 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9235 wxWindow *arg2 = (wxWindow *) 0 ;
9236 wxWindowID arg3 ;
9237 wxString *arg4 = 0 ;
9238 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9239 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9240 wxSize const &arg6_defvalue = wxDefaultSize ;
9241 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9242 int arg7 = (int) 0 ;
9243 wxString *arg8 = (wxString *) NULL ;
9244 int arg9 = (int) 0 ;
9245 long arg10 = (long) wxRA_HORIZONTAL ;
9246 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9247 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9248 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9249 wxString *arg12 = (wxString *) &arg12_defvalue ;
9250 bool result;
9251 bool temp4 = false ;
9252 wxPoint temp5 ;
9253 wxSize temp6 ;
9254 bool temp11 = false ;
9255 PyObject * obj0 = 0 ;
9256 PyObject * obj1 = 0 ;
9257 PyObject * obj3 = 0 ;
9258 PyObject * obj4 = 0 ;
9259 PyObject * obj5 = 0 ;
9260 PyObject * obj6 = 0 ;
9261 PyObject * obj9 = 0 ;
9262 PyObject * obj10 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 {
9271 arg4 = wxString_in_helper(obj3);
9272 if (arg4 == NULL) SWIG_fail;
9273 temp4 = true;
9274 }
9275 if (obj4) {
9276 {
9277 arg5 = &temp5;
9278 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9279 }
9280 }
9281 if (obj5) {
9282 {
9283 arg6 = &temp6;
9284 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9285 }
9286 }
9287 if (obj6) {
9288 {
9289 arg7 = PyList_Size(obj6);
9290 arg8 = wxString_LIST_helper(obj6);
9291 if (arg8 == NULL) SWIG_fail;
9292 }
9293 }
9294 if (obj9) {
9295 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9296 if (arg11 == NULL) {
9297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9298 }
9299 }
9300 if (obj10) {
9301 {
9302 arg12 = wxString_in_helper(obj10);
9303 if (arg12 == NULL) SWIG_fail;
9304 temp11 = true;
9305 }
9306 }
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 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);
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 resultobj = PyInt_FromLong((long)result);
9315 {
9316 if (temp4)
9317 delete arg4;
9318 }
9319 {
9320 if (arg8) delete [] arg8;
9321 }
9322 {
9323 if (temp11)
9324 delete arg12;
9325 }
9326 return resultobj;
9327 fail:
9328 {
9329 if (temp4)
9330 delete arg4;
9331 }
9332 {
9333 if (arg8) delete [] arg8;
9334 }
9335 {
9336 if (temp11)
9337 delete arg12;
9338 }
9339 return NULL;
9340 }
9341
9342
9343 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject *resultobj;
9345 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9346 int arg2 ;
9347 PyObject * obj0 = 0 ;
9348 char *kwnames[] = {
9349 (char *) "self",(char *) "n", NULL
9350 };
9351
9352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 (arg1)->SetSelection(arg2);
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 Py_INCREF(Py_None); resultobj = Py_None;
9362 return resultobj;
9363 fail:
9364 return NULL;
9365 }
9366
9367
9368 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj;
9370 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9371 int result;
9372 PyObject * obj0 = 0 ;
9373 char *kwnames[] = {
9374 (char *) "self", NULL
9375 };
9376
9377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9382
9383 wxPyEndAllowThreads(__tstate);
9384 if (PyErr_Occurred()) SWIG_fail;
9385 }
9386 resultobj = PyInt_FromLong((long)result);
9387 return resultobj;
9388 fail:
9389 return NULL;
9390 }
9391
9392
9393 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9394 PyObject *resultobj;
9395 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9396 wxString result;
9397 PyObject * obj0 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9404 {
9405 PyThreadState* __tstate = wxPyBeginAllowThreads();
9406 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9407
9408 wxPyEndAllowThreads(__tstate);
9409 if (PyErr_Occurred()) SWIG_fail;
9410 }
9411 {
9412 #if wxUSE_UNICODE
9413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9414 #else
9415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9416 #endif
9417 }
9418 return resultobj;
9419 fail:
9420 return NULL;
9421 }
9422
9423
9424 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj;
9426 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9427 wxString *arg2 = 0 ;
9428 bool result;
9429 bool temp2 = false ;
9430 PyObject * obj0 = 0 ;
9431 PyObject * obj1 = 0 ;
9432 char *kwnames[] = {
9433 (char *) "self",(char *) "s", NULL
9434 };
9435
9436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9438 {
9439 arg2 = wxString_in_helper(obj1);
9440 if (arg2 == NULL) SWIG_fail;
9441 temp2 = true;
9442 }
9443 {
9444 PyThreadState* __tstate = wxPyBeginAllowThreads();
9445 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9446
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 resultobj = PyInt_FromLong((long)result);
9451 {
9452 if (temp2)
9453 delete arg2;
9454 }
9455 return resultobj;
9456 fail:
9457 {
9458 if (temp2)
9459 delete arg2;
9460 }
9461 return NULL;
9462 }
9463
9464
9465 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj;
9467 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9468 int result;
9469 PyObject * obj0 = 0 ;
9470 char *kwnames[] = {
9471 (char *) "self", NULL
9472 };
9473
9474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (int)((wxRadioBox const *)arg1)->GetCount();
9479
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = PyInt_FromLong((long)result);
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj;
9492 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9493 wxString *arg2 = 0 ;
9494 int result;
9495 bool temp2 = false ;
9496 PyObject * obj0 = 0 ;
9497 PyObject * obj1 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self",(char *) "s", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9504 {
9505 arg2 = wxString_in_helper(obj1);
9506 if (arg2 == NULL) SWIG_fail;
9507 temp2 = true;
9508 }
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 resultobj = PyInt_FromLong((long)result);
9517 {
9518 if (temp2)
9519 delete arg2;
9520 }
9521 return resultobj;
9522 fail:
9523 {
9524 if (temp2)
9525 delete arg2;
9526 }
9527 return NULL;
9528 }
9529
9530
9531 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9532 PyObject *resultobj;
9533 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9534 int arg2 ;
9535 wxString result;
9536 PyObject * obj0 = 0 ;
9537 char *kwnames[] = {
9538 (char *) "self",(char *) "n", NULL
9539 };
9540
9541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 {
9551 #if wxUSE_UNICODE
9552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9553 #else
9554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9555 #endif
9556 }
9557 return resultobj;
9558 fail:
9559 return NULL;
9560 }
9561
9562
9563 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9564 PyObject *resultobj;
9565 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9566 int arg2 ;
9567 wxString *arg3 = 0 ;
9568 bool temp3 = false ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj2 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self",(char *) "n",(char *) "label", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9577 {
9578 arg3 = wxString_in_helper(obj2);
9579 if (arg3 == NULL) SWIG_fail;
9580 temp3 = true;
9581 }
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 (arg1)->SetString(arg2,(wxString const &)*arg3);
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 Py_INCREF(Py_None); resultobj = Py_None;
9590 {
9591 if (temp3)
9592 delete arg3;
9593 }
9594 return resultobj;
9595 fail:
9596 {
9597 if (temp3)
9598 delete arg3;
9599 }
9600 return NULL;
9601 }
9602
9603
9604 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9605 PyObject *resultobj;
9606 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9607 int arg2 ;
9608 bool arg3 = (bool) TRUE ;
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj2 = 0 ;
9611 char *kwnames[] = {
9612 (char *) "self",(char *) "n",(char *) "enable", NULL
9613 };
9614
9615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9617 if (obj2) {
9618 arg3 = PyInt_AsLong(obj2) ? true : false;
9619 if (PyErr_Occurred()) SWIG_fail;
9620 }
9621 {
9622 PyThreadState* __tstate = wxPyBeginAllowThreads();
9623 (arg1)->Enable(arg2,arg3);
9624
9625 wxPyEndAllowThreads(__tstate);
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 Py_INCREF(Py_None); resultobj = Py_None;
9629 return resultobj;
9630 fail:
9631 return NULL;
9632 }
9633
9634
9635 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9636 PyObject *resultobj;
9637 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9638 int arg2 ;
9639 bool arg3 = (bool) TRUE ;
9640 PyObject * obj0 = 0 ;
9641 PyObject * obj2 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self",(char *) "n",(char *) "show", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9648 if (obj2) {
9649 arg3 = PyInt_AsLong(obj2) ? true : false;
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 {
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 (arg1)->Show(arg2,arg3);
9655
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 Py_INCREF(Py_None); resultobj = Py_None;
9660 return resultobj;
9661 fail:
9662 return NULL;
9663 }
9664
9665
9666 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject *resultobj;
9668 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9669 int result;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9677 {
9678 PyThreadState* __tstate = wxPyBeginAllowThreads();
9679 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
9680
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 resultobj = PyInt_FromLong((long)result);
9685 return resultobj;
9686 fail:
9687 return NULL;
9688 }
9689
9690
9691 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9692 PyObject *resultobj;
9693 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9694 int result;
9695 PyObject * obj0 = 0 ;
9696 char *kwnames[] = {
9697 (char *) "self", NULL
9698 };
9699
9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 resultobj = PyInt_FromLong((long)result);
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj;
9718 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9719 int arg2 ;
9720 int arg3 ;
9721 long arg4 ;
9722 int result;
9723 PyObject * obj0 = 0 ;
9724 char *kwnames[] = {
9725 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9726 };
9727
9728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 resultobj = PyInt_FromLong((long)result);
9738 return resultobj;
9739 fail:
9740 return NULL;
9741 }
9742
9743
9744 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9745 PyObject *obj;
9746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9747 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9748 Py_INCREF(obj);
9749 return Py_BuildValue((char *)"");
9750 }
9751 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9752 PyObject *resultobj;
9753 wxWindow *arg1 = (wxWindow *) 0 ;
9754 wxWindowID arg2 ;
9755 wxString *arg3 = 0 ;
9756 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9757 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9758 wxSize const &arg5_defvalue = wxDefaultSize ;
9759 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9760 long arg6 = (long) 0 ;
9761 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9762 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9763 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9764 wxString *arg8 = (wxString *) &arg8_defvalue ;
9765 wxRadioButton *result;
9766 bool temp3 = false ;
9767 wxPoint temp4 ;
9768 wxSize temp5 ;
9769 bool temp8 = false ;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj2 = 0 ;
9772 PyObject * obj3 = 0 ;
9773 PyObject * obj4 = 0 ;
9774 PyObject * obj6 = 0 ;
9775 PyObject * obj7 = 0 ;
9776 char *kwnames[] = {
9777 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9778 };
9779
9780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9782 {
9783 arg3 = wxString_in_helper(obj2);
9784 if (arg3 == NULL) SWIG_fail;
9785 temp3 = true;
9786 }
9787 if (obj3) {
9788 {
9789 arg4 = &temp4;
9790 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9791 }
9792 }
9793 if (obj4) {
9794 {
9795 arg5 = &temp5;
9796 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9797 }
9798 }
9799 if (obj6) {
9800 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9801 if (arg7 == NULL) {
9802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9803 }
9804 }
9805 if (obj7) {
9806 {
9807 arg8 = wxString_in_helper(obj7);
9808 if (arg8 == NULL) SWIG_fail;
9809 temp8 = true;
9810 }
9811 }
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9820 {
9821 if (temp3)
9822 delete arg3;
9823 }
9824 {
9825 if (temp8)
9826 delete arg8;
9827 }
9828 return resultobj;
9829 fail:
9830 {
9831 if (temp3)
9832 delete arg3;
9833 }
9834 {
9835 if (temp8)
9836 delete arg8;
9837 }
9838 return NULL;
9839 }
9840
9841
9842 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 wxRadioButton *result;
9845 char *kwnames[] = {
9846 NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = (wxRadioButton *)new wxRadioButton();
9853
9854 wxPyEndAllowThreads(__tstate);
9855 if (PyErr_Occurred()) SWIG_fail;
9856 }
9857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9858 return resultobj;
9859 fail:
9860 return NULL;
9861 }
9862
9863
9864 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9865 PyObject *resultobj;
9866 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9867 wxWindow *arg2 = (wxWindow *) 0 ;
9868 wxWindowID arg3 ;
9869 wxString *arg4 = 0 ;
9870 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9871 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9872 wxSize const &arg6_defvalue = wxDefaultSize ;
9873 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9874 long arg7 = (long) 0 ;
9875 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9876 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9877 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9878 wxString *arg9 = (wxString *) &arg9_defvalue ;
9879 bool result;
9880 bool temp4 = false ;
9881 wxPoint temp5 ;
9882 wxSize temp6 ;
9883 bool temp9 = false ;
9884 PyObject * obj0 = 0 ;
9885 PyObject * obj1 = 0 ;
9886 PyObject * obj3 = 0 ;
9887 PyObject * obj4 = 0 ;
9888 PyObject * obj5 = 0 ;
9889 PyObject * obj7 = 0 ;
9890 PyObject * obj8 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9898 {
9899 arg4 = wxString_in_helper(obj3);
9900 if (arg4 == NULL) SWIG_fail;
9901 temp4 = true;
9902 }
9903 if (obj4) {
9904 {
9905 arg5 = &temp5;
9906 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9907 }
9908 }
9909 if (obj5) {
9910 {
9911 arg6 = &temp6;
9912 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9913 }
9914 }
9915 if (obj7) {
9916 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9917 if (arg8 == NULL) {
9918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9919 }
9920 }
9921 if (obj8) {
9922 {
9923 arg9 = wxString_in_helper(obj8);
9924 if (arg9 == NULL) SWIG_fail;
9925 temp9 = true;
9926 }
9927 }
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9931
9932 wxPyEndAllowThreads(__tstate);
9933 if (PyErr_Occurred()) SWIG_fail;
9934 }
9935 resultobj = PyInt_FromLong((long)result);
9936 {
9937 if (temp4)
9938 delete arg4;
9939 }
9940 {
9941 if (temp9)
9942 delete arg9;
9943 }
9944 return resultobj;
9945 fail:
9946 {
9947 if (temp4)
9948 delete arg4;
9949 }
9950 {
9951 if (temp9)
9952 delete arg9;
9953 }
9954 return NULL;
9955 }
9956
9957
9958 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9961 bool result;
9962 PyObject * obj0 = 0 ;
9963 char *kwnames[] = {
9964 (char *) "self", NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (bool)(arg1)->GetValue();
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = PyInt_FromLong((long)result);
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9986 bool arg2 ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 char *kwnames[] = {
9990 (char *) "self",(char *) "value", NULL
9991 };
9992
9993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9995 arg2 = PyInt_AsLong(obj1) ? true : false;
9996 if (PyErr_Occurred()) SWIG_fail;
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 (arg1)->SetValue(arg2);
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 Py_INCREF(Py_None); resultobj = Py_None;
10005 return resultobj;
10006 fail:
10007 return NULL;
10008 }
10009
10010
10011 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10012 PyObject *obj;
10013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10014 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10015 Py_INCREF(obj);
10016 return Py_BuildValue((char *)"");
10017 }
10018 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10019 PyObject *resultobj;
10020 wxWindow *arg1 = (wxWindow *) 0 ;
10021 wxWindowID arg2 ;
10022 int arg3 ;
10023 int arg4 ;
10024 int arg5 ;
10025 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10026 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10027 wxSize const &arg7_defvalue = wxDefaultSize ;
10028 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10029 long arg8 = (long) wxSL_HORIZONTAL ;
10030 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10031 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10032 wxString const &arg10_defvalue = wxPySliderNameStr ;
10033 wxString *arg10 = (wxString *) &arg10_defvalue ;
10034 wxSlider *result;
10035 wxPoint temp6 ;
10036 wxSize temp7 ;
10037 bool temp10 = false ;
10038 PyObject * obj0 = 0 ;
10039 PyObject * obj5 = 0 ;
10040 PyObject * obj6 = 0 ;
10041 PyObject * obj8 = 0 ;
10042 PyObject * obj9 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10049 if (obj5) {
10050 {
10051 arg6 = &temp6;
10052 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10053 }
10054 }
10055 if (obj6) {
10056 {
10057 arg7 = &temp7;
10058 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10059 }
10060 }
10061 if (obj8) {
10062 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10063 if (arg9 == NULL) {
10064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10065 }
10066 }
10067 if (obj9) {
10068 {
10069 arg10 = wxString_in_helper(obj9);
10070 if (arg10 == NULL) SWIG_fail;
10071 temp10 = true;
10072 }
10073 }
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10082 {
10083 if (temp10)
10084 delete arg10;
10085 }
10086 return resultobj;
10087 fail:
10088 {
10089 if (temp10)
10090 delete arg10;
10091 }
10092 return NULL;
10093 }
10094
10095
10096 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10097 PyObject *resultobj;
10098 wxSlider *result;
10099 char *kwnames[] = {
10100 NULL
10101 };
10102
10103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10104 {
10105 PyThreadState* __tstate = wxPyBeginAllowThreads();
10106 result = (wxSlider *)new wxSlider();
10107
10108 wxPyEndAllowThreads(__tstate);
10109 if (PyErr_Occurred()) SWIG_fail;
10110 }
10111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10112 return resultobj;
10113 fail:
10114 return NULL;
10115 }
10116
10117
10118 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10119 PyObject *resultobj;
10120 wxSlider *arg1 = (wxSlider *) 0 ;
10121 wxWindow *arg2 = (wxWindow *) 0 ;
10122 wxWindowID arg3 ;
10123 int arg4 ;
10124 int arg5 ;
10125 int arg6 ;
10126 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10127 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10128 wxSize const &arg8_defvalue = wxDefaultSize ;
10129 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10130 long arg9 = (long) wxSL_HORIZONTAL ;
10131 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10132 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10133 wxString const &arg11_defvalue = wxPySliderNameStr ;
10134 wxString *arg11 = (wxString *) &arg11_defvalue ;
10135 bool result;
10136 wxPoint temp7 ;
10137 wxSize temp8 ;
10138 bool temp11 = false ;
10139 PyObject * obj0 = 0 ;
10140 PyObject * obj1 = 0 ;
10141 PyObject * obj6 = 0 ;
10142 PyObject * obj7 = 0 ;
10143 PyObject * obj9 = 0 ;
10144 PyObject * obj10 = 0 ;
10145 char *kwnames[] = {
10146 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10147 };
10148
10149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10152 if (obj6) {
10153 {
10154 arg7 = &temp7;
10155 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10156 }
10157 }
10158 if (obj7) {
10159 {
10160 arg8 = &temp8;
10161 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10162 }
10163 }
10164 if (obj9) {
10165 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10166 if (arg10 == NULL) {
10167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10168 }
10169 }
10170 if (obj10) {
10171 {
10172 arg11 = wxString_in_helper(obj10);
10173 if (arg11 == NULL) SWIG_fail;
10174 temp11 = true;
10175 }
10176 }
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = PyInt_FromLong((long)result);
10185 {
10186 if (temp11)
10187 delete arg11;
10188 }
10189 return resultobj;
10190 fail:
10191 {
10192 if (temp11)
10193 delete arg11;
10194 }
10195 return NULL;
10196 }
10197
10198
10199 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10200 PyObject *resultobj;
10201 wxSlider *arg1 = (wxSlider *) 0 ;
10202 int result;
10203 PyObject * obj0 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10210 {
10211 PyThreadState* __tstate = wxPyBeginAllowThreads();
10212 result = (int)((wxSlider const *)arg1)->GetValue();
10213
10214 wxPyEndAllowThreads(__tstate);
10215 if (PyErr_Occurred()) SWIG_fail;
10216 }
10217 resultobj = PyInt_FromLong((long)result);
10218 return resultobj;
10219 fail:
10220 return NULL;
10221 }
10222
10223
10224 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10225 PyObject *resultobj;
10226 wxSlider *arg1 = (wxSlider *) 0 ;
10227 int arg2 ;
10228 PyObject * obj0 = 0 ;
10229 char *kwnames[] = {
10230 (char *) "self",(char *) "value", NULL
10231 };
10232
10233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10235 {
10236 PyThreadState* __tstate = wxPyBeginAllowThreads();
10237 (arg1)->SetValue(arg2);
10238
10239 wxPyEndAllowThreads(__tstate);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 Py_INCREF(Py_None); resultobj = Py_None;
10243 return resultobj;
10244 fail:
10245 return NULL;
10246 }
10247
10248
10249 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10250 PyObject *resultobj;
10251 wxSlider *arg1 = (wxSlider *) 0 ;
10252 int arg2 ;
10253 int arg3 ;
10254 PyObject * obj0 = 0 ;
10255 char *kwnames[] = {
10256 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10257 };
10258
10259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 (arg1)->SetRange(arg2,arg3);
10264
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 Py_INCREF(Py_None); resultobj = Py_None;
10269 return resultobj;
10270 fail:
10271 return NULL;
10272 }
10273
10274
10275 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10276 PyObject *resultobj;
10277 wxSlider *arg1 = (wxSlider *) 0 ;
10278 int result;
10279 PyObject * obj0 = 0 ;
10280 char *kwnames[] = {
10281 (char *) "self", NULL
10282 };
10283
10284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 result = (int)((wxSlider const *)arg1)->GetMin();
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 resultobj = PyInt_FromLong((long)result);
10294 return resultobj;
10295 fail:
10296 return NULL;
10297 }
10298
10299
10300 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj;
10302 wxSlider *arg1 = (wxSlider *) 0 ;
10303 int result;
10304 PyObject * obj0 = 0 ;
10305 char *kwnames[] = {
10306 (char *) "self", NULL
10307 };
10308
10309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 result = (int)((wxSlider const *)arg1)->GetMax();
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = PyInt_FromLong((long)result);
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxSlider *arg1 = (wxSlider *) 0 ;
10328 int arg2 ;
10329 PyObject * obj0 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self",(char *) "minValue", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 (arg1)->SetMin(arg2);
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 Py_INCREF(Py_None); resultobj = Py_None;
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxSlider *arg1 = (wxSlider *) 0 ;
10353 int arg2 ;
10354 PyObject * obj0 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self",(char *) "maxValue", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 (arg1)->SetMax(arg2);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 Py_INCREF(Py_None); resultobj = Py_None;
10369 return resultobj;
10370 fail:
10371 return NULL;
10372 }
10373
10374
10375 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj;
10377 wxSlider *arg1 = (wxSlider *) 0 ;
10378 int arg2 ;
10379 PyObject * obj0 = 0 ;
10380 char *kwnames[] = {
10381 (char *) "self",(char *) "lineSize", NULL
10382 };
10383
10384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 (arg1)->SetLineSize(arg2);
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 Py_INCREF(Py_None); resultobj = Py_None;
10394 return resultobj;
10395 fail:
10396 return NULL;
10397 }
10398
10399
10400 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxSlider *arg1 = (wxSlider *) 0 ;
10403 int arg2 ;
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "pageSize", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 (arg1)->SetPageSize(arg2);
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 Py_INCREF(Py_None); resultobj = Py_None;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422 }
10423
10424
10425 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxSlider *arg1 = (wxSlider *) 0 ;
10428 int result;
10429 PyObject * obj0 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 result = (int)((wxSlider const *)arg1)->GetLineSize();
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = PyInt_FromLong((long)result);
10444 return resultobj;
10445 fail:
10446 return NULL;
10447 }
10448
10449
10450 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxSlider *arg1 = (wxSlider *) 0 ;
10453 int result;
10454 PyObject * obj0 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 result = (int)((wxSlider const *)arg1)->GetPageSize();
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 resultobj = PyInt_FromLong((long)result);
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxSlider *arg1 = (wxSlider *) 0 ;
10478 int arg2 ;
10479 PyObject * obj0 = 0 ;
10480 char *kwnames[] = {
10481 (char *) "self",(char *) "lenPixels", NULL
10482 };
10483
10484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10486 {
10487 PyThreadState* __tstate = wxPyBeginAllowThreads();
10488 (arg1)->SetThumbLength(arg2);
10489
10490 wxPyEndAllowThreads(__tstate);
10491 if (PyErr_Occurred()) SWIG_fail;
10492 }
10493 Py_INCREF(Py_None); resultobj = Py_None;
10494 return resultobj;
10495 fail:
10496 return NULL;
10497 }
10498
10499
10500 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj;
10502 wxSlider *arg1 = (wxSlider *) 0 ;
10503 int result;
10504 PyObject * obj0 = 0 ;
10505 char *kwnames[] = {
10506 (char *) "self", NULL
10507 };
10508
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 resultobj = PyInt_FromLong((long)result);
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxSlider *arg1 = (wxSlider *) 0 ;
10528 int arg2 ;
10529 int arg3 ;
10530 PyObject * obj0 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "self",(char *) "n",(char *) "pos", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->SetTickFreq(arg2,arg3);
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 Py_INCREF(Py_None); resultobj = Py_None;
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj;
10553 wxSlider *arg1 = (wxSlider *) 0 ;
10554 int result;
10555 PyObject * obj0 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10565
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = PyInt_FromLong((long)result);
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj;
10578 wxSlider *arg1 = (wxSlider *) 0 ;
10579 PyObject * obj0 = 0 ;
10580 char *kwnames[] = {
10581 (char *) "self", NULL
10582 };
10583
10584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 (arg1)->ClearTicks();
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 Py_INCREF(Py_None); resultobj = Py_None;
10594 return resultobj;
10595 fail:
10596 return NULL;
10597 }
10598
10599
10600 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10601 PyObject *resultobj;
10602 wxSlider *arg1 = (wxSlider *) 0 ;
10603 int arg2 ;
10604 PyObject * obj0 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "self",(char *) "tickPos", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 (arg1)->SetTick(arg2);
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 Py_INCREF(Py_None); resultobj = Py_None;
10619 return resultobj;
10620 fail:
10621 return NULL;
10622 }
10623
10624
10625 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10626 PyObject *resultobj;
10627 wxSlider *arg1 = (wxSlider *) 0 ;
10628 PyObject * obj0 = 0 ;
10629 char *kwnames[] = {
10630 (char *) "self", NULL
10631 };
10632
10633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10635 {
10636 PyThreadState* __tstate = wxPyBeginAllowThreads();
10637 (arg1)->ClearSel();
10638
10639 wxPyEndAllowThreads(__tstate);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 Py_INCREF(Py_None); resultobj = Py_None;
10643 return resultobj;
10644 fail:
10645 return NULL;
10646 }
10647
10648
10649 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10650 PyObject *resultobj;
10651 wxSlider *arg1 = (wxSlider *) 0 ;
10652 int result;
10653 PyObject * obj0 = 0 ;
10654 char *kwnames[] = {
10655 (char *) "self", NULL
10656 };
10657
10658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = PyInt_FromLong((long)result);
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj;
10676 wxSlider *arg1 = (wxSlider *) 0 ;
10677 int result;
10678 PyObject * obj0 = 0 ;
10679 char *kwnames[] = {
10680 (char *) "self", NULL
10681 };
10682
10683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (int)((wxSlider const *)arg1)->GetSelStart();
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = PyInt_FromLong((long)result);
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj;
10701 wxSlider *arg1 = (wxSlider *) 0 ;
10702 int arg2 ;
10703 int arg3 ;
10704 PyObject * obj0 = 0 ;
10705 char *kwnames[] = {
10706 (char *) "self",(char *) "min",(char *) "max", NULL
10707 };
10708
10709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 (arg1)->SetSelection(arg2,arg3);
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 Py_INCREF(Py_None); resultobj = Py_None;
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10726 PyObject *obj;
10727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10728 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10729 Py_INCREF(obj);
10730 return Py_BuildValue((char *)"");
10731 }
10732 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10733 PyObject *resultobj;
10734 wxWindow *arg1 = (wxWindow *) 0 ;
10735 wxWindowID arg2 ;
10736 wxString *arg3 = 0 ;
10737 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10738 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10739 wxSize const &arg5_defvalue = wxDefaultSize ;
10740 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10741 long arg6 = (long) 0 ;
10742 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10743 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10744 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10745 wxString *arg8 = (wxString *) &arg8_defvalue ;
10746 wxToggleButton *result;
10747 bool temp3 = false ;
10748 wxPoint temp4 ;
10749 wxSize temp5 ;
10750 bool temp8 = false ;
10751 PyObject * obj0 = 0 ;
10752 PyObject * obj2 = 0 ;
10753 PyObject * obj3 = 0 ;
10754 PyObject * obj4 = 0 ;
10755 PyObject * obj6 = 0 ;
10756 PyObject * obj7 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10763 {
10764 arg3 = wxString_in_helper(obj2);
10765 if (arg3 == NULL) SWIG_fail;
10766 temp3 = true;
10767 }
10768 if (obj3) {
10769 {
10770 arg4 = &temp4;
10771 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10772 }
10773 }
10774 if (obj4) {
10775 {
10776 arg5 = &temp5;
10777 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10778 }
10779 }
10780 if (obj6) {
10781 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10782 if (arg7 == NULL) {
10783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10784 }
10785 }
10786 if (obj7) {
10787 {
10788 arg8 = wxString_in_helper(obj7);
10789 if (arg8 == NULL) SWIG_fail;
10790 temp8 = true;
10791 }
10792 }
10793 {
10794 PyThreadState* __tstate = wxPyBeginAllowThreads();
10795 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10796
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10801 {
10802 if (temp3)
10803 delete arg3;
10804 }
10805 {
10806 if (temp8)
10807 delete arg8;
10808 }
10809 return resultobj;
10810 fail:
10811 {
10812 if (temp3)
10813 delete arg3;
10814 }
10815 {
10816 if (temp8)
10817 delete arg8;
10818 }
10819 return NULL;
10820 }
10821
10822
10823 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj;
10825 wxToggleButton *result;
10826 char *kwnames[] = {
10827 NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10831 {
10832 PyThreadState* __tstate = wxPyBeginAllowThreads();
10833 result = (wxToggleButton *)new wxToggleButton();
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
10838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10839 return resultobj;
10840 fail:
10841 return NULL;
10842 }
10843
10844
10845 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj;
10847 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10848 wxWindow *arg2 = (wxWindow *) 0 ;
10849 wxWindowID arg3 ;
10850 wxString *arg4 = 0 ;
10851 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10852 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10853 wxSize const &arg6_defvalue = wxDefaultSize ;
10854 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10855 long arg7 = (long) 0 ;
10856 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10857 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10858 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10859 wxString *arg9 = (wxString *) &arg9_defvalue ;
10860 bool result;
10861 bool temp4 = false ;
10862 wxPoint temp5 ;
10863 wxSize temp6 ;
10864 bool temp9 = false ;
10865 PyObject * obj0 = 0 ;
10866 PyObject * obj1 = 0 ;
10867 PyObject * obj3 = 0 ;
10868 PyObject * obj4 = 0 ;
10869 PyObject * obj5 = 0 ;
10870 PyObject * obj7 = 0 ;
10871 PyObject * obj8 = 0 ;
10872 char *kwnames[] = {
10873 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10874 };
10875
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10879 {
10880 arg4 = wxString_in_helper(obj3);
10881 if (arg4 == NULL) SWIG_fail;
10882 temp4 = true;
10883 }
10884 if (obj4) {
10885 {
10886 arg5 = &temp5;
10887 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10888 }
10889 }
10890 if (obj5) {
10891 {
10892 arg6 = &temp6;
10893 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10894 }
10895 }
10896 if (obj7) {
10897 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10898 if (arg8 == NULL) {
10899 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10900 }
10901 }
10902 if (obj8) {
10903 {
10904 arg9 = wxString_in_helper(obj8);
10905 if (arg9 == NULL) SWIG_fail;
10906 temp9 = true;
10907 }
10908 }
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 resultobj = PyInt_FromLong((long)result);
10917 {
10918 if (temp4)
10919 delete arg4;
10920 }
10921 {
10922 if (temp9)
10923 delete arg9;
10924 }
10925 return resultobj;
10926 fail:
10927 {
10928 if (temp4)
10929 delete arg4;
10930 }
10931 {
10932 if (temp9)
10933 delete arg9;
10934 }
10935 return NULL;
10936 }
10937
10938
10939 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10942 bool arg2 ;
10943 PyObject * obj0 = 0 ;
10944 PyObject * obj1 = 0 ;
10945 char *kwnames[] = {
10946 (char *) "self",(char *) "value", NULL
10947 };
10948
10949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10951 arg2 = PyInt_AsLong(obj1) ? true : false;
10952 if (PyErr_Occurred()) SWIG_fail;
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 (arg1)->SetValue(arg2);
10956
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 Py_INCREF(Py_None); resultobj = Py_None;
10961 return resultobj;
10962 fail:
10963 return NULL;
10964 }
10965
10966
10967 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10968 PyObject *resultobj;
10969 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10970 bool result;
10971 PyObject * obj0 = 0 ;
10972 char *kwnames[] = {
10973 (char *) "self", NULL
10974 };
10975
10976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
10977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = (bool)((wxToggleButton const *)arg1)->GetValue();
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 resultobj = PyInt_FromLong((long)result);
10986 return resultobj;
10987 fail:
10988 return NULL;
10989 }
10990
10991
10992 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
10993 PyObject *resultobj;
10994 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10995 wxString *arg2 = 0 ;
10996 bool temp2 = false ;
10997 PyObject * obj0 = 0 ;
10998 PyObject * obj1 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "self",(char *) "label", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 {
11006 arg2 = wxString_in_helper(obj1);
11007 if (arg2 == NULL) SWIG_fail;
11008 temp2 = true;
11009 }
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 (arg1)->SetLabel((wxString const &)*arg2);
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 Py_INCREF(Py_None); resultobj = Py_None;
11018 {
11019 if (temp2)
11020 delete arg2;
11021 }
11022 return resultobj;
11023 fail:
11024 {
11025 if (temp2)
11026 delete arg2;
11027 }
11028 return NULL;
11029 }
11030
11031
11032 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11033 PyObject *obj;
11034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11035 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11036 Py_INCREF(obj);
11037 return Py_BuildValue((char *)"");
11038 }
11039 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11040 PyObject *resultobj;
11041 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11042 size_t result;
11043 PyObject * obj0 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 resultobj = PyInt_FromLong((long)result);
11058 return resultobj;
11059 fail:
11060 return NULL;
11061 }
11062
11063
11064 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11065 PyObject *resultobj;
11066 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11067 size_t arg2 ;
11068 wxWindow *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_GetPage",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 = (wxWindow *)(arg1)->GetPage(arg2);
11082
11083 wxPyEndAllowThreads(__tstate);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 {
11087 resultobj = wxPyMake_wxObject(result);
11088 }
11089 return resultobj;
11090 fail:
11091 return NULL;
11092 }
11093
11094
11095 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11096 PyObject *resultobj;
11097 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11098 int result;
11099 PyObject * obj0 = 0 ;
11100 char *kwnames[] = {
11101 (char *) "self", NULL
11102 };
11103
11104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = PyInt_FromLong((long)result);
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11123 size_t arg2 ;
11124 wxString *arg3 = 0 ;
11125 bool result;
11126 bool temp3 = false ;
11127 PyObject * obj0 = 0 ;
11128 PyObject * obj1 = 0 ;
11129 PyObject * obj2 = 0 ;
11130 char *kwnames[] = {
11131 (char *) "self",(char *) "n",(char *) "strText", NULL
11132 };
11133
11134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11136 arg2 = (size_t) PyInt_AsLong(obj1);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 {
11139 arg3 = wxString_in_helper(obj2);
11140 if (arg3 == NULL) SWIG_fail;
11141 temp3 = true;
11142 }
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 resultobj = PyInt_FromLong((long)result);
11151 {
11152 if (temp3)
11153 delete arg3;
11154 }
11155 return resultobj;
11156 fail:
11157 {
11158 if (temp3)
11159 delete arg3;
11160 }
11161 return NULL;
11162 }
11163
11164
11165 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11166 PyObject *resultobj;
11167 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11168 size_t arg2 ;
11169 wxString result;
11170 PyObject * obj0 = 0 ;
11171 PyObject * obj1 = 0 ;
11172 char *kwnames[] = {
11173 (char *) "self",(char *) "n", NULL
11174 };
11175
11176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11178 arg2 = (size_t) PyInt_AsLong(obj1);
11179 if (PyErr_Occurred()) SWIG_fail;
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11183
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 {
11188 #if wxUSE_UNICODE
11189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11190 #else
11191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11192 #endif
11193 }
11194 return resultobj;
11195 fail:
11196 return NULL;
11197 }
11198
11199
11200 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11201 PyObject *resultobj;
11202 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11203 wxImageList *arg2 = (wxImageList *) 0 ;
11204 PyObject * obj0 = 0 ;
11205 PyObject * obj1 = 0 ;
11206 char *kwnames[] = {
11207 (char *) "self",(char *) "imageList", NULL
11208 };
11209
11210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 (arg1)->SetImageList(arg2);
11216
11217 wxPyEndAllowThreads(__tstate);
11218 if (PyErr_Occurred()) SWIG_fail;
11219 }
11220 Py_INCREF(Py_None); resultobj = Py_None;
11221 return resultobj;
11222 fail:
11223 return NULL;
11224 }
11225
11226
11227 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11228 PyObject *resultobj;
11229 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11230 wxImageList *arg2 = (wxImageList *) 0 ;
11231 PyObject * obj0 = 0 ;
11232 PyObject * obj1 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self",(char *) "imageList", NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 (arg1)->AssignImageList(arg2);
11243
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
11247 Py_INCREF(Py_None); resultobj = Py_None;
11248 return resultobj;
11249 fail:
11250 return NULL;
11251 }
11252
11253
11254 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj;
11256 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11257 wxImageList *result;
11258 PyObject * obj0 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11268
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 {
11273 resultobj = wxPyMake_wxObject(result);
11274 }
11275 return resultobj;
11276 fail:
11277 return NULL;
11278 }
11279
11280
11281 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11282 PyObject *resultobj;
11283 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11284 size_t arg2 ;
11285 int result;
11286 PyObject * obj0 = 0 ;
11287 PyObject * obj1 = 0 ;
11288 char *kwnames[] = {
11289 (char *) "self",(char *) "n", NULL
11290 };
11291
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11294 arg2 = (size_t) PyInt_AsLong(obj1);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 {
11297 PyThreadState* __tstate = wxPyBeginAllowThreads();
11298 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11299
11300 wxPyEndAllowThreads(__tstate);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 resultobj = PyInt_FromLong((long)result);
11304 return resultobj;
11305 fail:
11306 return NULL;
11307 }
11308
11309
11310 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11313 size_t arg2 ;
11314 int arg3 ;
11315 bool result;
11316 PyObject * obj0 = 0 ;
11317 PyObject * obj1 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self",(char *) "n",(char *) "imageId", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11324 arg2 = (size_t) PyInt_AsLong(obj1);
11325 if (PyErr_Occurred()) SWIG_fail;
11326 {
11327 PyThreadState* __tstate = wxPyBeginAllowThreads();
11328 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11329
11330 wxPyEndAllowThreads(__tstate);
11331 if (PyErr_Occurred()) SWIG_fail;
11332 }
11333 resultobj = PyInt_FromLong((long)result);
11334 return resultobj;
11335 fail:
11336 return NULL;
11337 }
11338
11339
11340 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11341 PyObject *resultobj;
11342 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11343 wxSize *arg2 = 0 ;
11344 wxSize temp2 ;
11345 PyObject * obj0 = 0 ;
11346 PyObject * obj1 = 0 ;
11347 char *kwnames[] = {
11348 (char *) "self",(char *) "size", NULL
11349 };
11350
11351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11353 {
11354 arg2 = &temp2;
11355 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11356 }
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 (arg1)->SetPageSize((wxSize const &)*arg2);
11360
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 Py_INCREF(Py_None); resultobj = Py_None;
11365 return resultobj;
11366 fail:
11367 return NULL;
11368 }
11369
11370
11371 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11372 PyObject *resultobj;
11373 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11374 wxSize *arg2 = 0 ;
11375 wxSize result;
11376 wxSize temp2 ;
11377 PyObject * obj0 = 0 ;
11378 PyObject * obj1 = 0 ;
11379 char *kwnames[] = {
11380 (char *) "self",(char *) "sizePage", NULL
11381 };
11382
11383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11385 {
11386 arg2 = &temp2;
11387 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11388 }
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11392
11393 wxPyEndAllowThreads(__tstate);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 }
11396 {
11397 wxSize * resultptr;
11398 resultptr = new wxSize((wxSize &) result);
11399 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11400 }
11401 return resultobj;
11402 fail:
11403 return NULL;
11404 }
11405
11406
11407 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11408 PyObject *resultobj;
11409 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11410 size_t arg2 ;
11411 bool result;
11412 PyObject * obj0 = 0 ;
11413 PyObject * obj1 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self",(char *) "n", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11420 arg2 = (size_t) PyInt_AsLong(obj1);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (bool)(arg1)->DeletePage(arg2);
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 resultobj = PyInt_FromLong((long)result);
11430 return resultobj;
11431 fail:
11432 return NULL;
11433 }
11434
11435
11436 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11439 size_t arg2 ;
11440 bool result;
11441 PyObject * obj0 = 0 ;
11442 PyObject * obj1 = 0 ;
11443 char *kwnames[] = {
11444 (char *) "self",(char *) "n", NULL
11445 };
11446
11447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11449 arg2 = (size_t) PyInt_AsLong(obj1);
11450 if (PyErr_Occurred()) SWIG_fail;
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (bool)(arg1)->RemovePage(arg2);
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = PyInt_FromLong((long)result);
11459 return resultobj;
11460 fail:
11461 return NULL;
11462 }
11463
11464
11465 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11468 bool result;
11469 PyObject * obj0 = 0 ;
11470 char *kwnames[] = {
11471 (char *) "self", NULL
11472 };
11473
11474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11476 {
11477 PyThreadState* __tstate = wxPyBeginAllowThreads();
11478 result = (bool)(arg1)->DeleteAllPages();
11479
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 resultobj = PyInt_FromLong((long)result);
11484 return resultobj;
11485 fail:
11486 return NULL;
11487 }
11488
11489
11490 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj;
11492 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11493 wxWindow *arg2 = (wxWindow *) 0 ;
11494 wxString *arg3 = 0 ;
11495 bool arg4 = (bool) false ;
11496 int arg5 = (int) -1 ;
11497 bool result;
11498 bool temp3 = false ;
11499 PyObject * obj0 = 0 ;
11500 PyObject * obj1 = 0 ;
11501 PyObject * obj2 = 0 ;
11502 PyObject * obj3 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11510 {
11511 arg3 = wxString_in_helper(obj2);
11512 if (arg3 == NULL) SWIG_fail;
11513 temp3 = true;
11514 }
11515 if (obj3) {
11516 arg4 = PyInt_AsLong(obj3) ? true : false;
11517 if (PyErr_Occurred()) SWIG_fail;
11518 }
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 resultobj = PyInt_FromLong((long)result);
11527 {
11528 if (temp3)
11529 delete arg3;
11530 }
11531 return resultobj;
11532 fail:
11533 {
11534 if (temp3)
11535 delete arg3;
11536 }
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11544 size_t arg2 ;
11545 wxWindow *arg3 = (wxWindow *) 0 ;
11546 wxString *arg4 = 0 ;
11547 bool arg5 = (bool) false ;
11548 int arg6 = (int) -1 ;
11549 bool result;
11550 bool temp4 = false ;
11551 PyObject * obj0 = 0 ;
11552 PyObject * obj1 = 0 ;
11553 PyObject * obj2 = 0 ;
11554 PyObject * obj3 = 0 ;
11555 PyObject * obj4 = 0 ;
11556 char *kwnames[] = {
11557 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11558 };
11559
11560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11562 arg2 = (size_t) PyInt_AsLong(obj1);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11565 {
11566 arg4 = wxString_in_helper(obj3);
11567 if (arg4 == NULL) SWIG_fail;
11568 temp4 = true;
11569 }
11570 if (obj4) {
11571 arg5 = PyInt_AsLong(obj4) ? true : false;
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 resultobj = PyInt_FromLong((long)result);
11582 {
11583 if (temp4)
11584 delete arg4;
11585 }
11586 return resultobj;
11587 fail:
11588 {
11589 if (temp4)
11590 delete arg4;
11591 }
11592 return NULL;
11593 }
11594
11595
11596 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11597 PyObject *resultobj;
11598 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11599 size_t arg2 ;
11600 int result;
11601 PyObject * obj0 = 0 ;
11602 PyObject * obj1 = 0 ;
11603 char *kwnames[] = {
11604 (char *) "self",(char *) "n", NULL
11605 };
11606
11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11609 arg2 = (size_t) PyInt_AsLong(obj1);
11610 if (PyErr_Occurred()) SWIG_fail;
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 result = (int)(arg1)->SetSelection(arg2);
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = PyInt_FromLong((long)result);
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj;
11627 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11628 bool arg2 = (bool) true ;
11629 PyObject * obj0 = 0 ;
11630 PyObject * obj1 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self",(char *) "forward", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11637 if (obj1) {
11638 arg2 = PyInt_AsLong(obj1) ? true : false;
11639 if (PyErr_Occurred()) SWIG_fail;
11640 }
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 (arg1)->AdvanceSelection(arg2);
11644
11645 wxPyEndAllowThreads(__tstate);
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 Py_INCREF(Py_None); resultobj = Py_None;
11649 return resultobj;
11650 fail:
11651 return NULL;
11652 }
11653
11654
11655 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11656 PyObject *obj;
11657 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11658 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11659 Py_INCREF(obj);
11660 return Py_BuildValue((char *)"");
11661 }
11662 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11663 PyObject *resultobj;
11664 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11665 int arg2 = (int) 0 ;
11666 int arg3 = (int) -1 ;
11667 int arg4 = (int) -1 ;
11668 wxBookCtrlEvent *result;
11669 char *kwnames[] = {
11670 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11671 };
11672
11673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11682 return resultobj;
11683 fail:
11684 return NULL;
11685 }
11686
11687
11688 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11689 PyObject *resultobj;
11690 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11691 int result;
11692 PyObject * obj0 = 0 ;
11693 char *kwnames[] = {
11694 (char *) "self", NULL
11695 };
11696
11697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11699 {
11700 PyThreadState* __tstate = wxPyBeginAllowThreads();
11701 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11702
11703 wxPyEndAllowThreads(__tstate);
11704 if (PyErr_Occurred()) SWIG_fail;
11705 }
11706 resultobj = PyInt_FromLong((long)result);
11707 return resultobj;
11708 fail:
11709 return NULL;
11710 }
11711
11712
11713 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11714 PyObject *resultobj;
11715 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11716 int arg2 ;
11717 PyObject * obj0 = 0 ;
11718 char *kwnames[] = {
11719 (char *) "self",(char *) "nSel", NULL
11720 };
11721
11722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11724 {
11725 PyThreadState* __tstate = wxPyBeginAllowThreads();
11726 (arg1)->SetSelection(arg2);
11727
11728 wxPyEndAllowThreads(__tstate);
11729 if (PyErr_Occurred()) SWIG_fail;
11730 }
11731 Py_INCREF(Py_None); resultobj = Py_None;
11732 return resultobj;
11733 fail:
11734 return NULL;
11735 }
11736
11737
11738 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11739 PyObject *resultobj;
11740 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11741 int result;
11742 PyObject * obj0 = 0 ;
11743 char *kwnames[] = {
11744 (char *) "self", NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11752
11753 wxPyEndAllowThreads(__tstate);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 resultobj = PyInt_FromLong((long)result);
11757 return resultobj;
11758 fail:
11759 return NULL;
11760 }
11761
11762
11763 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11764 PyObject *resultobj;
11765 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11766 int arg2 ;
11767 PyObject * obj0 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self",(char *) "nOldSel", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11774 {
11775 PyThreadState* __tstate = wxPyBeginAllowThreads();
11776 (arg1)->SetOldSelection(arg2);
11777
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 Py_INCREF(Py_None); resultobj = Py_None;
11782 return resultobj;
11783 fail:
11784 return NULL;
11785 }
11786
11787
11788 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11789 PyObject *obj;
11790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11791 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11792 Py_INCREF(obj);
11793 return Py_BuildValue((char *)"");
11794 }
11795 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxWindow *arg1 = (wxWindow *) 0 ;
11798 wxWindowID arg2 ;
11799 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11800 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11801 wxSize const &arg4_defvalue = wxDefaultSize ;
11802 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11803 long arg5 = (long) 0 ;
11804 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11805 wxString *arg6 = (wxString *) &arg6_defvalue ;
11806 wxNotebook *result;
11807 wxPoint temp3 ;
11808 wxSize temp4 ;
11809 bool temp6 = false ;
11810 PyObject * obj0 = 0 ;
11811 PyObject * obj2 = 0 ;
11812 PyObject * obj3 = 0 ;
11813 PyObject * obj5 = 0 ;
11814 char *kwnames[] = {
11815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11816 };
11817
11818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11820 if (obj2) {
11821 {
11822 arg3 = &temp3;
11823 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11824 }
11825 }
11826 if (obj3) {
11827 {
11828 arg4 = &temp4;
11829 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11830 }
11831 }
11832 if (obj5) {
11833 {
11834 arg6 = wxString_in_helper(obj5);
11835 if (arg6 == NULL) SWIG_fail;
11836 temp6 = true;
11837 }
11838 }
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 {
11847 resultobj = wxPyMake_wxObject(result);
11848 }
11849 {
11850 if (temp6)
11851 delete arg6;
11852 }
11853 return resultobj;
11854 fail:
11855 {
11856 if (temp6)
11857 delete arg6;
11858 }
11859 return NULL;
11860 }
11861
11862
11863 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11864 PyObject *resultobj;
11865 wxNotebook *result;
11866 char *kwnames[] = {
11867 NULL
11868 };
11869
11870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 result = (wxNotebook *)new wxNotebook();
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 {
11879 resultobj = wxPyMake_wxObject(result);
11880 }
11881 return resultobj;
11882 fail:
11883 return NULL;
11884 }
11885
11886
11887 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11888 PyObject *resultobj;
11889 wxNotebook *arg1 = (wxNotebook *) 0 ;
11890 wxWindow *arg2 = (wxWindow *) 0 ;
11891 wxWindowID arg3 ;
11892 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11893 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11894 wxSize const &arg5_defvalue = wxDefaultSize ;
11895 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11896 long arg6 = (long) 0 ;
11897 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11898 wxString *arg7 = (wxString *) &arg7_defvalue ;
11899 bool result;
11900 wxPoint temp4 ;
11901 wxSize temp5 ;
11902 bool temp7 = false ;
11903 PyObject * obj0 = 0 ;
11904 PyObject * obj1 = 0 ;
11905 PyObject * obj3 = 0 ;
11906 PyObject * obj4 = 0 ;
11907 PyObject * obj6 = 0 ;
11908 char *kwnames[] = {
11909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11910 };
11911
11912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11914 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11915 if (obj3) {
11916 {
11917 arg4 = &temp4;
11918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11919 }
11920 }
11921 if (obj4) {
11922 {
11923 arg5 = &temp5;
11924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11925 }
11926 }
11927 if (obj6) {
11928 {
11929 arg7 = wxString_in_helper(obj6);
11930 if (arg7 == NULL) SWIG_fail;
11931 temp7 = true;
11932 }
11933 }
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 resultobj = PyInt_FromLong((long)result);
11942 {
11943 if (temp7)
11944 delete arg7;
11945 }
11946 return resultobj;
11947 fail:
11948 {
11949 if (temp7)
11950 delete arg7;
11951 }
11952 return NULL;
11953 }
11954
11955
11956 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj;
11958 wxNotebook *arg1 = (wxNotebook *) 0 ;
11959 int result;
11960 PyObject * obj0 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11967 {
11968 PyThreadState* __tstate = wxPyBeginAllowThreads();
11969 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11970
11971 wxPyEndAllowThreads(__tstate);
11972 if (PyErr_Occurred()) SWIG_fail;
11973 }
11974 resultobj = PyInt_FromLong((long)result);
11975 return resultobj;
11976 fail:
11977 return NULL;
11978 }
11979
11980
11981 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxNotebook *arg1 = (wxNotebook *) 0 ;
11984 wxSize *arg2 = 0 ;
11985 wxSize temp2 ;
11986 PyObject * obj0 = 0 ;
11987 PyObject * obj1 = 0 ;
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "padding", NULL
11990 };
11991
11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
11993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11994 {
11995 arg2 = &temp2;
11996 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11997 }
11998 {
11999 PyThreadState* __tstate = wxPyBeginAllowThreads();
12000 (arg1)->SetPadding((wxSize const &)*arg2);
12001
12002 wxPyEndAllowThreads(__tstate);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 }
12005 Py_INCREF(Py_None); resultobj = Py_None;
12006 return resultobj;
12007 fail:
12008 return NULL;
12009 }
12010
12011
12012 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxNotebook *arg1 = (wxNotebook *) 0 ;
12015 wxSize *arg2 = 0 ;
12016 wxSize temp2 ;
12017 PyObject * obj0 = 0 ;
12018 PyObject * obj1 = 0 ;
12019 char *kwnames[] = {
12020 (char *) "self",(char *) "sz", NULL
12021 };
12022
12023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12025 {
12026 arg2 = &temp2;
12027 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12028 }
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 (arg1)->SetTabSize((wxSize const &)*arg2);
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 Py_INCREF(Py_None); resultobj = Py_None;
12037 return resultobj;
12038 fail:
12039 return NULL;
12040 }
12041
12042
12043 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxNotebook *arg1 = (wxNotebook *) 0 ;
12046 wxPoint *arg2 = 0 ;
12047 long *arg3 = (long *) 0 ;
12048 int result;
12049 wxPoint temp2 ;
12050 long temp3 ;
12051 PyObject * obj0 = 0 ;
12052 PyObject * obj1 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "self",(char *) "pt", NULL
12055 };
12056
12057 arg3 = &temp3;
12058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12060 {
12061 arg2 = &temp2;
12062 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12063 }
12064 {
12065 PyThreadState* __tstate = wxPyBeginAllowThreads();
12066 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12067
12068 wxPyEndAllowThreads(__tstate);
12069 if (PyErr_Occurred()) SWIG_fail;
12070 }
12071 resultobj = PyInt_FromLong((long)result);
12072 {
12073 PyObject *o = PyInt_FromLong((long) (*arg3));
12074 resultobj = t_output_helper(resultobj,o);
12075 }
12076 return resultobj;
12077 fail:
12078 return NULL;
12079 }
12080
12081
12082 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxNotebook *arg1 = (wxNotebook *) 0 ;
12085 wxSize *arg2 = 0 ;
12086 wxSize result;
12087 wxSize temp2 ;
12088 PyObject * obj0 = 0 ;
12089 PyObject * obj1 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self",(char *) "sizePage", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12096 {
12097 arg2 = &temp2;
12098 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12099 }
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12103
12104 wxPyEndAllowThreads(__tstate);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 }
12107 {
12108 wxSize * resultptr;
12109 resultptr = new wxSize((wxSize &) result);
12110 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12111 }
12112 return resultobj;
12113 fail:
12114 return NULL;
12115 }
12116
12117
12118 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12119 PyObject *obj;
12120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12121 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12122 Py_INCREF(obj);
12123 return Py_BuildValue((char *)"");
12124 }
12125 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12126 PyObject *resultobj;
12127 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12128 int arg2 = (int) 0 ;
12129 int arg3 = (int) -1 ;
12130 int arg4 = (int) -1 ;
12131 wxNotebookEvent *result;
12132 char *kwnames[] = {
12133 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12134 };
12135
12136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12137 {
12138 PyThreadState* __tstate = wxPyBeginAllowThreads();
12139 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12145 return resultobj;
12146 fail:
12147 return NULL;
12148 }
12149
12150
12151 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12152 PyObject *obj;
12153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12154 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12155 Py_INCREF(obj);
12156 return Py_BuildValue((char *)"");
12157 }
12158 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxWindow *arg1 = (wxWindow *) 0 ;
12161 wxWindowID arg2 ;
12162 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12163 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12164 wxSize const &arg4_defvalue = wxDefaultSize ;
12165 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12166 long arg5 = (long) 0 ;
12167 wxString const &arg6_defvalue = wxPyEmptyString ;
12168 wxString *arg6 = (wxString *) &arg6_defvalue ;
12169 wxListbook *result;
12170 wxPoint temp3 ;
12171 wxSize temp4 ;
12172 bool temp6 = false ;
12173 PyObject * obj0 = 0 ;
12174 PyObject * obj2 = 0 ;
12175 PyObject * obj3 = 0 ;
12176 PyObject * obj5 = 0 ;
12177 char *kwnames[] = {
12178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12179 };
12180
12181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12183 if (obj2) {
12184 {
12185 arg3 = &temp3;
12186 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12187 }
12188 }
12189 if (obj3) {
12190 {
12191 arg4 = &temp4;
12192 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12193 }
12194 }
12195 if (obj5) {
12196 {
12197 arg6 = wxString_in_helper(obj5);
12198 if (arg6 == NULL) SWIG_fail;
12199 temp6 = true;
12200 }
12201 }
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12210 {
12211 if (temp6)
12212 delete arg6;
12213 }
12214 return resultobj;
12215 fail:
12216 {
12217 if (temp6)
12218 delete arg6;
12219 }
12220 return NULL;
12221 }
12222
12223
12224 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj;
12226 wxListbook *result;
12227 char *kwnames[] = {
12228 NULL
12229 };
12230
12231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12232 {
12233 PyThreadState* __tstate = wxPyBeginAllowThreads();
12234 result = (wxListbook *)new wxListbook();
12235
12236 wxPyEndAllowThreads(__tstate);
12237 if (PyErr_Occurred()) SWIG_fail;
12238 }
12239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12240 return resultobj;
12241 fail:
12242 return NULL;
12243 }
12244
12245
12246 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12247 PyObject *resultobj;
12248 wxListbook *arg1 = (wxListbook *) 0 ;
12249 wxWindow *arg2 = (wxWindow *) 0 ;
12250 wxWindowID arg3 ;
12251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12253 wxSize const &arg5_defvalue = wxDefaultSize ;
12254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12255 long arg6 = (long) 0 ;
12256 wxString const &arg7_defvalue = wxPyEmptyString ;
12257 wxString *arg7 = (wxString *) &arg7_defvalue ;
12258 bool result;
12259 wxPoint temp4 ;
12260 wxSize temp5 ;
12261 bool temp7 = false ;
12262 PyObject * obj0 = 0 ;
12263 PyObject * obj1 = 0 ;
12264 PyObject * obj3 = 0 ;
12265 PyObject * obj4 = 0 ;
12266 PyObject * obj6 = 0 ;
12267 char *kwnames[] = {
12268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12269 };
12270
12271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12274 if (obj3) {
12275 {
12276 arg4 = &temp4;
12277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12278 }
12279 }
12280 if (obj4) {
12281 {
12282 arg5 = &temp5;
12283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12284 }
12285 }
12286 if (obj6) {
12287 {
12288 arg7 = wxString_in_helper(obj6);
12289 if (arg7 == NULL) SWIG_fail;
12290 temp7 = true;
12291 }
12292 }
12293 {
12294 PyThreadState* __tstate = wxPyBeginAllowThreads();
12295 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12296
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 resultobj = PyInt_FromLong((long)result);
12301 {
12302 if (temp7)
12303 delete arg7;
12304 }
12305 return resultobj;
12306 fail:
12307 {
12308 if (temp7)
12309 delete arg7;
12310 }
12311 return NULL;
12312 }
12313
12314
12315 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12316 PyObject *resultobj;
12317 wxListbook *arg1 = (wxListbook *) 0 ;
12318 bool result;
12319 PyObject * obj0 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 result = (bool)((wxListbook const *)arg1)->IsVertical();
12329
12330 wxPyEndAllowThreads(__tstate);
12331 if (PyErr_Occurred()) SWIG_fail;
12332 }
12333 resultobj = PyInt_FromLong((long)result);
12334 return resultobj;
12335 fail:
12336 return NULL;
12337 }
12338
12339
12340 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12341 PyObject *obj;
12342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12343 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12344 Py_INCREF(obj);
12345 return Py_BuildValue((char *)"");
12346 }
12347 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12348 PyObject *resultobj;
12349 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12350 int arg2 = (int) 0 ;
12351 int arg3 = (int) -1 ;
12352 int arg4 = (int) -1 ;
12353 wxListbookEvent *result;
12354 char *kwnames[] = {
12355 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12356 };
12357
12358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12362
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12367 return resultobj;
12368 fail:
12369 return NULL;
12370 }
12371
12372
12373 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12374 PyObject *obj;
12375 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12376 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12377 Py_INCREF(obj);
12378 return Py_BuildValue((char *)"");
12379 }
12380 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12381 PyObject *resultobj;
12382 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12383 wxBookCtrlSizer *result;
12384 PyObject * obj0 = 0 ;
12385 char *kwnames[] = {
12386 (char *) "nb", NULL
12387 };
12388
12389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12391 {
12392 PyThreadState* __tstate = wxPyBeginAllowThreads();
12393 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12394
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12399 return resultobj;
12400 fail:
12401 return NULL;
12402 }
12403
12404
12405 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12406 PyObject *resultobj;
12407 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12408 PyObject * obj0 = 0 ;
12409 char *kwnames[] = {
12410 (char *) "self", NULL
12411 };
12412
12413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12415 {
12416 PyThreadState* __tstate = wxPyBeginAllowThreads();
12417 (arg1)->RecalcSizes();
12418
12419 wxPyEndAllowThreads(__tstate);
12420 if (PyErr_Occurred()) SWIG_fail;
12421 }
12422 Py_INCREF(Py_None); resultobj = Py_None;
12423 return resultobj;
12424 fail:
12425 return NULL;
12426 }
12427
12428
12429 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12430 PyObject *resultobj;
12431 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12432 wxSize result;
12433 PyObject * obj0 = 0 ;
12434 char *kwnames[] = {
12435 (char *) "self", NULL
12436 };
12437
12438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12440 {
12441 PyThreadState* __tstate = wxPyBeginAllowThreads();
12442 result = (arg1)->CalcMin();
12443
12444 wxPyEndAllowThreads(__tstate);
12445 if (PyErr_Occurred()) SWIG_fail;
12446 }
12447 {
12448 wxSize * resultptr;
12449 resultptr = new wxSize((wxSize &) result);
12450 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12451 }
12452 return resultobj;
12453 fail:
12454 return NULL;
12455 }
12456
12457
12458 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12459 PyObject *resultobj;
12460 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12461 wxBookCtrl *result;
12462 PyObject * obj0 = 0 ;
12463 char *kwnames[] = {
12464 (char *) "self", NULL
12465 };
12466
12467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 result = (wxBookCtrl *)(arg1)->GetControl();
12472
12473 wxPyEndAllowThreads(__tstate);
12474 if (PyErr_Occurred()) SWIG_fail;
12475 }
12476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12477 return resultobj;
12478 fail:
12479 return NULL;
12480 }
12481
12482
12483 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12484 PyObject *obj;
12485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12486 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12487 Py_INCREF(obj);
12488 return Py_BuildValue((char *)"");
12489 }
12490 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxNotebook *arg1 = (wxNotebook *) 0 ;
12493 wxNotebookSizer *result;
12494 PyObject * obj0 = 0 ;
12495 char *kwnames[] = {
12496 (char *) "nb", NULL
12497 };
12498
12499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12516 PyObject *resultobj;
12517 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12518 PyObject * obj0 = 0 ;
12519 char *kwnames[] = {
12520 (char *) "self", NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12525 {
12526 PyThreadState* __tstate = wxPyBeginAllowThreads();
12527 (arg1)->RecalcSizes();
12528
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 Py_INCREF(Py_None); resultobj = Py_None;
12533 return resultobj;
12534 fail:
12535 return NULL;
12536 }
12537
12538
12539 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12540 PyObject *resultobj;
12541 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12542 wxSize result;
12543 PyObject * obj0 = 0 ;
12544 char *kwnames[] = {
12545 (char *) "self", NULL
12546 };
12547
12548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (arg1)->CalcMin();
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
12557 {
12558 wxSize * resultptr;
12559 resultptr = new wxSize((wxSize &) result);
12560 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12561 }
12562 return resultobj;
12563 fail:
12564 return NULL;
12565 }
12566
12567
12568 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12569 PyObject *resultobj;
12570 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12571 wxNotebook *result;
12572 PyObject * obj0 = 0 ;
12573 char *kwnames[] = {
12574 (char *) "self", NULL
12575 };
12576
12577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12579 {
12580 PyThreadState* __tstate = wxPyBeginAllowThreads();
12581 result = (wxNotebook *)(arg1)->GetNotebook();
12582
12583 wxPyEndAllowThreads(__tstate);
12584 if (PyErr_Occurred()) SWIG_fail;
12585 }
12586 {
12587 resultobj = wxPyMake_wxObject(result);
12588 }
12589 return resultobj;
12590 fail:
12591 return NULL;
12592 }
12593
12594
12595 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12596 PyObject *obj;
12597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12598 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12599 Py_INCREF(obj);
12600 return Py_BuildValue((char *)"");
12601 }
12602 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12605 int result;
12606 PyObject * obj0 = 0 ;
12607 char *kwnames[] = {
12608 (char *) "self", NULL
12609 };
12610
12611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12613 {
12614 PyThreadState* __tstate = wxPyBeginAllowThreads();
12615 result = (int)(arg1)->GetId();
12616
12617 wxPyEndAllowThreads(__tstate);
12618 if (PyErr_Occurred()) SWIG_fail;
12619 }
12620 resultobj = PyInt_FromLong((long)result);
12621 return resultobj;
12622 fail:
12623 return NULL;
12624 }
12625
12626
12627 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12630 wxControl *result;
12631 PyObject * obj0 = 0 ;
12632 char *kwnames[] = {
12633 (char *) "self", NULL
12634 };
12635
12636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12638 {
12639 PyThreadState* __tstate = wxPyBeginAllowThreads();
12640 result = (wxControl *)(arg1)->GetControl();
12641
12642 wxPyEndAllowThreads(__tstate);
12643 if (PyErr_Occurred()) SWIG_fail;
12644 }
12645 {
12646 resultobj = wxPyMake_wxObject(result);
12647 }
12648 return resultobj;
12649 fail:
12650 return NULL;
12651 }
12652
12653
12654 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12655 PyObject *resultobj;
12656 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12657 wxToolBarBase *result;
12658 PyObject * obj0 = 0 ;
12659 char *kwnames[] = {
12660 (char *) "self", NULL
12661 };
12662
12663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 result = (wxToolBarBase *)(arg1)->GetToolBar();
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 {
12673 resultobj = wxPyMake_wxObject(result);
12674 }
12675 return resultobj;
12676 fail:
12677 return NULL;
12678 }
12679
12680
12681 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12684 int result;
12685 PyObject * obj0 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 result = (int)(arg1)->IsButton();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 resultobj = PyInt_FromLong((long)result);
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12709 int result;
12710 PyObject * obj0 = 0 ;
12711 char *kwnames[] = {
12712 (char *) "self", NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 result = (int)(arg1)->IsControl();
12720
12721 wxPyEndAllowThreads(__tstate);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
12724 resultobj = PyInt_FromLong((long)result);
12725 return resultobj;
12726 fail:
12727 return NULL;
12728 }
12729
12730
12731 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12732 PyObject *resultobj;
12733 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12734 int result;
12735 PyObject * obj0 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 result = (int)(arg1)->IsSeparator();
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = PyInt_FromLong((long)result);
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj;
12758 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12759 int result;
12760 PyObject * obj0 = 0 ;
12761 char *kwnames[] = {
12762 (char *) "self", NULL
12763 };
12764
12765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12767 {
12768 PyThreadState* __tstate = wxPyBeginAllowThreads();
12769 result = (int)(arg1)->GetStyle();
12770
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 resultobj = PyInt_FromLong((long)result);
12775 return resultobj;
12776 fail:
12777 return NULL;
12778 }
12779
12780
12781 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12782 PyObject *resultobj;
12783 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12784 int result;
12785 PyObject * obj0 = 0 ;
12786 char *kwnames[] = {
12787 (char *) "self", NULL
12788 };
12789
12790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12792 {
12793 PyThreadState* __tstate = wxPyBeginAllowThreads();
12794 result = (int)(arg1)->GetKind();
12795
12796 wxPyEndAllowThreads(__tstate);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 resultobj = PyInt_FromLong((long)result);
12800 return resultobj;
12801 fail:
12802 return NULL;
12803 }
12804
12805
12806 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12807 PyObject *resultobj;
12808 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12809 bool result;
12810 PyObject * obj0 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "self", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12817 {
12818 PyThreadState* __tstate = wxPyBeginAllowThreads();
12819 result = (bool)(arg1)->IsEnabled();
12820
12821 wxPyEndAllowThreads(__tstate);
12822 if (PyErr_Occurred()) SWIG_fail;
12823 }
12824 resultobj = PyInt_FromLong((long)result);
12825 return resultobj;
12826 fail:
12827 return NULL;
12828 }
12829
12830
12831 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj;
12833 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12834 bool result;
12835 PyObject * obj0 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (bool)(arg1)->IsToggled();
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 resultobj = PyInt_FromLong((long)result);
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj;
12858 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12859 bool result;
12860 PyObject * obj0 = 0 ;
12861 char *kwnames[] = {
12862 (char *) "self", NULL
12863 };
12864
12865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12867 {
12868 PyThreadState* __tstate = wxPyBeginAllowThreads();
12869 result = (bool)(arg1)->CanBeToggled();
12870
12871 wxPyEndAllowThreads(__tstate);
12872 if (PyErr_Occurred()) SWIG_fail;
12873 }
12874 resultobj = PyInt_FromLong((long)result);
12875 return resultobj;
12876 fail:
12877 return NULL;
12878 }
12879
12880
12881 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12882 PyObject *resultobj;
12883 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12884 wxBitmap *result;
12885 PyObject * obj0 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12892 {
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 {
12895 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12896 result = (wxBitmap *) &_result_ref;
12897 }
12898
12899 wxPyEndAllowThreads(__tstate);
12900 if (PyErr_Occurred()) SWIG_fail;
12901 }
12902 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12903 return resultobj;
12904 fail:
12905 return NULL;
12906 }
12907
12908
12909 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj;
12911 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12912 wxBitmap *result;
12913 PyObject * obj0 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 {
12923 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12924 result = (wxBitmap *) &_result_ref;
12925 }
12926
12927 wxPyEndAllowThreads(__tstate);
12928 if (PyErr_Occurred()) SWIG_fail;
12929 }
12930 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12931 return resultobj;
12932 fail:
12933 return NULL;
12934 }
12935
12936
12937 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12938 PyObject *resultobj;
12939 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12940 wxBitmap result;
12941 PyObject * obj0 = 0 ;
12942 char *kwnames[] = {
12943 (char *) "self", NULL
12944 };
12945
12946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12948 {
12949 PyThreadState* __tstate = wxPyBeginAllowThreads();
12950 result = (arg1)->GetBitmap();
12951
12952 wxPyEndAllowThreads(__tstate);
12953 if (PyErr_Occurred()) SWIG_fail;
12954 }
12955 {
12956 wxBitmap * resultptr;
12957 resultptr = new wxBitmap((wxBitmap &) result);
12958 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12959 }
12960 return resultobj;
12961 fail:
12962 return NULL;
12963 }
12964
12965
12966 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12969 wxString result;
12970 PyObject * obj0 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (arg1)->GetLabel();
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 {
12985 #if wxUSE_UNICODE
12986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12987 #else
12988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12989 #endif
12990 }
12991 return resultobj;
12992 fail:
12993 return NULL;
12994 }
12995
12996
12997 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj;
12999 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13000 wxString result;
13001 PyObject * obj0 = 0 ;
13002 char *kwnames[] = {
13003 (char *) "self", NULL
13004 };
13005
13006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13008 {
13009 PyThreadState* __tstate = wxPyBeginAllowThreads();
13010 result = (arg1)->GetShortHelp();
13011
13012 wxPyEndAllowThreads(__tstate);
13013 if (PyErr_Occurred()) SWIG_fail;
13014 }
13015 {
13016 #if wxUSE_UNICODE
13017 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13018 #else
13019 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13020 #endif
13021 }
13022 return resultobj;
13023 fail:
13024 return NULL;
13025 }
13026
13027
13028 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13029 PyObject *resultobj;
13030 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13031 wxString result;
13032 PyObject * obj0 = 0 ;
13033 char *kwnames[] = {
13034 (char *) "self", NULL
13035 };
13036
13037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13039 {
13040 PyThreadState* __tstate = wxPyBeginAllowThreads();
13041 result = (arg1)->GetLongHelp();
13042
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 {
13047 #if wxUSE_UNICODE
13048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13049 #else
13050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13051 #endif
13052 }
13053 return resultobj;
13054 fail:
13055 return NULL;
13056 }
13057
13058
13059 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13060 PyObject *resultobj;
13061 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13062 bool arg2 ;
13063 bool result;
13064 PyObject * obj0 = 0 ;
13065 PyObject * obj1 = 0 ;
13066 char *kwnames[] = {
13067 (char *) "self",(char *) "enable", NULL
13068 };
13069
13070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13072 arg2 = PyInt_AsLong(obj1) ? true : false;
13073 if (PyErr_Occurred()) SWIG_fail;
13074 {
13075 PyThreadState* __tstate = wxPyBeginAllowThreads();
13076 result = (bool)(arg1)->Enable(arg2);
13077
13078 wxPyEndAllowThreads(__tstate);
13079 if (PyErr_Occurred()) SWIG_fail;
13080 }
13081 resultobj = PyInt_FromLong((long)result);
13082 return resultobj;
13083 fail:
13084 return NULL;
13085 }
13086
13087
13088 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13089 PyObject *resultobj;
13090 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13091 PyObject * obj0 = 0 ;
13092 char *kwnames[] = {
13093 (char *) "self", NULL
13094 };
13095
13096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 (arg1)->Toggle();
13101
13102 wxPyEndAllowThreads(__tstate);
13103 if (PyErr_Occurred()) SWIG_fail;
13104 }
13105 Py_INCREF(Py_None); resultobj = Py_None;
13106 return resultobj;
13107 fail:
13108 return NULL;
13109 }
13110
13111
13112 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13113 PyObject *resultobj;
13114 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13115 bool arg2 ;
13116 bool result;
13117 PyObject * obj0 = 0 ;
13118 PyObject * obj1 = 0 ;
13119 char *kwnames[] = {
13120 (char *) "self",(char *) "toggle", NULL
13121 };
13122
13123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13125 arg2 = PyInt_AsLong(obj1) ? true : false;
13126 if (PyErr_Occurred()) SWIG_fail;
13127 {
13128 PyThreadState* __tstate = wxPyBeginAllowThreads();
13129 result = (bool)(arg1)->SetToggle(arg2);
13130
13131 wxPyEndAllowThreads(__tstate);
13132 if (PyErr_Occurred()) SWIG_fail;
13133 }
13134 resultobj = PyInt_FromLong((long)result);
13135 return resultobj;
13136 fail:
13137 return NULL;
13138 }
13139
13140
13141 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13142 PyObject *resultobj;
13143 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13144 wxString *arg2 = 0 ;
13145 bool result;
13146 bool temp2 = false ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 char *kwnames[] = {
13150 (char *) "self",(char *) "help", NULL
13151 };
13152
13153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13155 {
13156 arg2 = wxString_in_helper(obj1);
13157 if (arg2 == NULL) SWIG_fail;
13158 temp2 = true;
13159 }
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13163
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
13167 resultobj = PyInt_FromLong((long)result);
13168 {
13169 if (temp2)
13170 delete arg2;
13171 }
13172 return resultobj;
13173 fail:
13174 {
13175 if (temp2)
13176 delete arg2;
13177 }
13178 return NULL;
13179 }
13180
13181
13182 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13183 PyObject *resultobj;
13184 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13185 wxString *arg2 = 0 ;
13186 bool result;
13187 bool temp2 = false ;
13188 PyObject * obj0 = 0 ;
13189 PyObject * obj1 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self",(char *) "help", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13196 {
13197 arg2 = wxString_in_helper(obj1);
13198 if (arg2 == NULL) SWIG_fail;
13199 temp2 = true;
13200 }
13201 {
13202 PyThreadState* __tstate = wxPyBeginAllowThreads();
13203 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13204
13205 wxPyEndAllowThreads(__tstate);
13206 if (PyErr_Occurred()) SWIG_fail;
13207 }
13208 resultobj = PyInt_FromLong((long)result);
13209 {
13210 if (temp2)
13211 delete arg2;
13212 }
13213 return resultobj;
13214 fail:
13215 {
13216 if (temp2)
13217 delete arg2;
13218 }
13219 return NULL;
13220 }
13221
13222
13223 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13224 PyObject *resultobj;
13225 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13226 wxBitmap *arg2 = 0 ;
13227 PyObject * obj0 = 0 ;
13228 PyObject * obj1 = 0 ;
13229 char *kwnames[] = {
13230 (char *) "self",(char *) "bmp", NULL
13231 };
13232
13233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13236 if (arg2 == NULL) {
13237 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 Py_INCREF(Py_None); resultobj = Py_None;
13247 return resultobj;
13248 fail:
13249 return NULL;
13250 }
13251
13252
13253 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj;
13255 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13256 wxBitmap *arg2 = 0 ;
13257 PyObject * obj0 = 0 ;
13258 PyObject * obj1 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self",(char *) "bmp", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13266 if (arg2 == NULL) {
13267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13268 }
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 Py_INCREF(Py_None); resultobj = Py_None;
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13286 wxString *arg2 = 0 ;
13287 bool temp2 = false ;
13288 PyObject * obj0 = 0 ;
13289 PyObject * obj1 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self",(char *) "label", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 arg2 = wxString_in_helper(obj1);
13298 if (arg2 == NULL) SWIG_fail;
13299 temp2 = true;
13300 }
13301 {
13302 PyThreadState* __tstate = wxPyBeginAllowThreads();
13303 (arg1)->SetLabel((wxString const &)*arg2);
13304
13305 wxPyEndAllowThreads(__tstate);
13306 if (PyErr_Occurred()) SWIG_fail;
13307 }
13308 Py_INCREF(Py_None); resultobj = Py_None;
13309 {
13310 if (temp2)
13311 delete arg2;
13312 }
13313 return resultobj;
13314 fail:
13315 {
13316 if (temp2)
13317 delete arg2;
13318 }
13319 return NULL;
13320 }
13321
13322
13323 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13324 PyObject *resultobj;
13325 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13326 PyObject * obj0 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "self", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 (arg1)->Detach();
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 Py_INCREF(Py_None); resultobj = Py_None;
13341 return resultobj;
13342 fail:
13343 return NULL;
13344 }
13345
13346
13347 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13348 PyObject *resultobj;
13349 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13350 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13351 PyObject * obj0 = 0 ;
13352 PyObject * obj1 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self",(char *) "tbar", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13360 {
13361 PyThreadState* __tstate = wxPyBeginAllowThreads();
13362 (arg1)->Attach(arg2);
13363
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 Py_INCREF(Py_None); resultobj = Py_None;
13368 return resultobj;
13369 fail:
13370 return NULL;
13371 }
13372
13373
13374 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13375 PyObject *resultobj;
13376 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13377 PyObject *result;
13378 PyObject * obj0 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 resultobj = result;
13393 return resultobj;
13394 fail:
13395 return NULL;
13396 }
13397
13398
13399 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13400 PyObject *resultobj;
13401 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13402 PyObject *arg2 = (PyObject *) 0 ;
13403 PyObject * obj0 = 0 ;
13404 PyObject * obj1 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self",(char *) "clientData", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13411 arg2 = obj1;
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 wxToolBarToolBase_SetClientData(arg1,arg2);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 Py_INCREF(Py_None); resultobj = Py_None;
13420 return resultobj;
13421 fail:
13422 return NULL;
13423 }
13424
13425
13426 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13427 PyObject *obj;
13428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13429 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13430 Py_INCREF(obj);
13431 return Py_BuildValue((char *)"");
13432 }
13433 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13434 PyObject *resultobj;
13435 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13436 int arg2 ;
13437 wxString *arg3 = 0 ;
13438 wxBitmap *arg4 = 0 ;
13439 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13440 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13441 int arg6 = (int) wxITEM_NORMAL ;
13442 wxString const &arg7_defvalue = wxPyEmptyString ;
13443 wxString *arg7 = (wxString *) &arg7_defvalue ;
13444 wxString const &arg8_defvalue = wxPyEmptyString ;
13445 wxString *arg8 = (wxString *) &arg8_defvalue ;
13446 PyObject *arg9 = (PyObject *) NULL ;
13447 wxToolBarToolBase *result;
13448 bool temp3 = false ;
13449 bool temp7 = false ;
13450 bool temp8 = false ;
13451 PyObject * obj0 = 0 ;
13452 PyObject * obj2 = 0 ;
13453 PyObject * obj3 = 0 ;
13454 PyObject * obj4 = 0 ;
13455 PyObject * obj6 = 0 ;
13456 PyObject * obj7 = 0 ;
13457 PyObject * obj8 = 0 ;
13458 char *kwnames[] = {
13459 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13460 };
13461
13462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13464 {
13465 arg3 = wxString_in_helper(obj2);
13466 if (arg3 == NULL) SWIG_fail;
13467 temp3 = true;
13468 }
13469 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13470 if (arg4 == NULL) {
13471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13472 }
13473 if (obj4) {
13474 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475 if (arg5 == NULL) {
13476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13477 }
13478 }
13479 if (obj6) {
13480 {
13481 arg7 = wxString_in_helper(obj6);
13482 if (arg7 == NULL) SWIG_fail;
13483 temp7 = true;
13484 }
13485 }
13486 if (obj7) {
13487 {
13488 arg8 = wxString_in_helper(obj7);
13489 if (arg8 == NULL) SWIG_fail;
13490 temp8 = true;
13491 }
13492 }
13493 if (obj8) {
13494 arg9 = obj8;
13495 }
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13499
13500 wxPyEndAllowThreads(__tstate);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 }
13503 {
13504 resultobj = wxPyMake_wxObject(result);
13505 }
13506 {
13507 if (temp3)
13508 delete arg3;
13509 }
13510 {
13511 if (temp7)
13512 delete arg7;
13513 }
13514 {
13515 if (temp8)
13516 delete arg8;
13517 }
13518 return resultobj;
13519 fail:
13520 {
13521 if (temp3)
13522 delete arg3;
13523 }
13524 {
13525 if (temp7)
13526 delete arg7;
13527 }
13528 {
13529 if (temp8)
13530 delete arg8;
13531 }
13532 return NULL;
13533 }
13534
13535
13536 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj;
13538 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13539 size_t arg2 ;
13540 int arg3 ;
13541 wxString *arg4 = 0 ;
13542 wxBitmap *arg5 = 0 ;
13543 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13544 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13545 int arg7 = (int) wxITEM_NORMAL ;
13546 wxString const &arg8_defvalue = wxPyEmptyString ;
13547 wxString *arg8 = (wxString *) &arg8_defvalue ;
13548 wxString const &arg9_defvalue = wxPyEmptyString ;
13549 wxString *arg9 = (wxString *) &arg9_defvalue ;
13550 PyObject *arg10 = (PyObject *) NULL ;
13551 wxToolBarToolBase *result;
13552 bool temp4 = false ;
13553 bool temp8 = false ;
13554 bool temp9 = false ;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 PyObject * obj3 = 0 ;
13558 PyObject * obj4 = 0 ;
13559 PyObject * obj5 = 0 ;
13560 PyObject * obj7 = 0 ;
13561 PyObject * obj8 = 0 ;
13562 PyObject * obj9 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13569 arg2 = (size_t) PyInt_AsLong(obj1);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 {
13572 arg4 = wxString_in_helper(obj3);
13573 if (arg4 == NULL) SWIG_fail;
13574 temp4 = true;
13575 }
13576 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13577 if (arg5 == NULL) {
13578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13579 }
13580 if (obj5) {
13581 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13582 if (arg6 == NULL) {
13583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13584 }
13585 }
13586 if (obj7) {
13587 {
13588 arg8 = wxString_in_helper(obj7);
13589 if (arg8 == NULL) SWIG_fail;
13590 temp8 = true;
13591 }
13592 }
13593 if (obj8) {
13594 {
13595 arg9 = wxString_in_helper(obj8);
13596 if (arg9 == NULL) SWIG_fail;
13597 temp9 = true;
13598 }
13599 }
13600 if (obj9) {
13601 arg10 = obj9;
13602 }
13603 {
13604 PyThreadState* __tstate = wxPyBeginAllowThreads();
13605 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);
13606
13607 wxPyEndAllowThreads(__tstate);
13608 if (PyErr_Occurred()) SWIG_fail;
13609 }
13610 {
13611 resultobj = wxPyMake_wxObject(result);
13612 }
13613 {
13614 if (temp4)
13615 delete arg4;
13616 }
13617 {
13618 if (temp8)
13619 delete arg8;
13620 }
13621 {
13622 if (temp9)
13623 delete arg9;
13624 }
13625 return resultobj;
13626 fail:
13627 {
13628 if (temp4)
13629 delete arg4;
13630 }
13631 {
13632 if (temp8)
13633 delete arg8;
13634 }
13635 {
13636 if (temp9)
13637 delete arg9;
13638 }
13639 return NULL;
13640 }
13641
13642
13643 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13644 PyObject *resultobj;
13645 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13646 wxControl *arg2 = (wxControl *) 0 ;
13647 wxToolBarToolBase *result;
13648 PyObject * obj0 = 0 ;
13649 PyObject * obj1 = 0 ;
13650 char *kwnames[] = {
13651 (char *) "self",(char *) "control", NULL
13652 };
13653
13654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 {
13665 resultobj = wxPyMake_wxObject(result);
13666 }
13667 return resultobj;
13668 fail:
13669 return NULL;
13670 }
13671
13672
13673 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj;
13675 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13676 size_t arg2 ;
13677 wxControl *arg3 = (wxControl *) 0 ;
13678 wxToolBarToolBase *result;
13679 PyObject * obj0 = 0 ;
13680 PyObject * obj1 = 0 ;
13681 PyObject * obj2 = 0 ;
13682 char *kwnames[] = {
13683 (char *) "self",(char *) "pos",(char *) "control", NULL
13684 };
13685
13686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13688 arg2 = (size_t) PyInt_AsLong(obj1);
13689 if (PyErr_Occurred()) SWIG_fail;
13690 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13691 {
13692 PyThreadState* __tstate = wxPyBeginAllowThreads();
13693 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13694
13695 wxPyEndAllowThreads(__tstate);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
13698 {
13699 resultobj = wxPyMake_wxObject(result);
13700 }
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13710 int arg2 ;
13711 wxControl *result;
13712 PyObject * obj0 = 0 ;
13713 char *kwnames[] = {
13714 (char *) "self",(char *) "id", NULL
13715 };
13716
13717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13719 {
13720 PyThreadState* __tstate = wxPyBeginAllowThreads();
13721 result = (wxControl *)(arg1)->FindControl(arg2);
13722
13723 wxPyEndAllowThreads(__tstate);
13724 if (PyErr_Occurred()) SWIG_fail;
13725 }
13726 {
13727 resultobj = wxPyMake_wxObject(result);
13728 }
13729 return resultobj;
13730 fail:
13731 return NULL;
13732 }
13733
13734
13735 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13736 PyObject *resultobj;
13737 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13738 wxToolBarToolBase *result;
13739 PyObject * obj0 = 0 ;
13740 char *kwnames[] = {
13741 (char *) "self", NULL
13742 };
13743
13744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13746 {
13747 PyThreadState* __tstate = wxPyBeginAllowThreads();
13748 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13749
13750 wxPyEndAllowThreads(__tstate);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 {
13754 resultobj = wxPyMake_wxObject(result);
13755 }
13756 return resultobj;
13757 fail:
13758 return NULL;
13759 }
13760
13761
13762 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13763 PyObject *resultobj;
13764 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13765 size_t arg2 ;
13766 wxToolBarToolBase *result;
13767 PyObject * obj0 = 0 ;
13768 PyObject * obj1 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self",(char *) "pos", NULL
13771 };
13772
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13775 arg2 = (size_t) PyInt_AsLong(obj1);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 {
13785 resultobj = wxPyMake_wxObject(result);
13786 }
13787 return resultobj;
13788 fail:
13789 return NULL;
13790 }
13791
13792
13793 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13794 PyObject *resultobj;
13795 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13796 int arg2 ;
13797 wxToolBarToolBase *result;
13798 PyObject * obj0 = 0 ;
13799 char *kwnames[] = {
13800 (char *) "self",(char *) "id", NULL
13801 };
13802
13803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13805 {
13806 PyThreadState* __tstate = wxPyBeginAllowThreads();
13807 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13808
13809 wxPyEndAllowThreads(__tstate);
13810 if (PyErr_Occurred()) SWIG_fail;
13811 }
13812 {
13813 resultobj = wxPyMake_wxObject(result);
13814 }
13815 return resultobj;
13816 fail:
13817 return NULL;
13818 }
13819
13820
13821 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj;
13823 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13824 size_t arg2 ;
13825 bool result;
13826 PyObject * obj0 = 0 ;
13827 PyObject * obj1 = 0 ;
13828 char *kwnames[] = {
13829 (char *) "self",(char *) "pos", NULL
13830 };
13831
13832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13834 arg2 = (size_t) PyInt_AsLong(obj1);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 result = (bool)(arg1)->DeleteToolByPos(arg2);
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 resultobj = PyInt_FromLong((long)result);
13844 return resultobj;
13845 fail:
13846 return NULL;
13847 }
13848
13849
13850 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13851 PyObject *resultobj;
13852 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13853 int arg2 ;
13854 bool result;
13855 PyObject * obj0 = 0 ;
13856 char *kwnames[] = {
13857 (char *) "self",(char *) "id", NULL
13858 };
13859
13860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13862 {
13863 PyThreadState* __tstate = wxPyBeginAllowThreads();
13864 result = (bool)(arg1)->DeleteTool(arg2);
13865
13866 wxPyEndAllowThreads(__tstate);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 resultobj = PyInt_FromLong((long)result);
13870 return resultobj;
13871 fail:
13872 return NULL;
13873 }
13874
13875
13876 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13877 PyObject *resultobj;
13878 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 (arg1)->ClearTools();
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 Py_INCREF(Py_None); resultobj = Py_None;
13894 return resultobj;
13895 fail:
13896 return NULL;
13897 }
13898
13899
13900 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13903 bool result;
13904 PyObject * obj0 = 0 ;
13905 char *kwnames[] = {
13906 (char *) "self", NULL
13907 };
13908
13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 result = (bool)(arg1)->Realize();
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 resultobj = PyInt_FromLong((long)result);
13919 return resultobj;
13920 fail:
13921 return NULL;
13922 }
13923
13924
13925 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj;
13927 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13928 int arg2 ;
13929 bool arg3 ;
13930 PyObject * obj0 = 0 ;
13931 PyObject * obj2 = 0 ;
13932 char *kwnames[] = {
13933 (char *) "self",(char *) "id",(char *) "enable", NULL
13934 };
13935
13936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13938 arg3 = PyInt_AsLong(obj2) ? true : false;
13939 if (PyErr_Occurred()) SWIG_fail;
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 (arg1)->EnableTool(arg2,arg3);
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
13947 Py_INCREF(Py_None); resultobj = Py_None;
13948 return resultobj;
13949 fail:
13950 return NULL;
13951 }
13952
13953
13954 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj;
13956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13957 int arg2 ;
13958 bool arg3 ;
13959 PyObject * obj0 = 0 ;
13960 PyObject * obj2 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self",(char *) "id",(char *) "toggle", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13967 arg3 = PyInt_AsLong(obj2) ? true : false;
13968 if (PyErr_Occurred()) SWIG_fail;
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 (arg1)->ToggleTool(arg2,arg3);
13972
13973 wxPyEndAllowThreads(__tstate);
13974 if (PyErr_Occurred()) SWIG_fail;
13975 }
13976 Py_INCREF(Py_None); resultobj = Py_None;
13977 return resultobj;
13978 fail:
13979 return NULL;
13980 }
13981
13982
13983 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj;
13985 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13986 int arg2 ;
13987 bool arg3 ;
13988 PyObject * obj0 = 0 ;
13989 PyObject * obj2 = 0 ;
13990 char *kwnames[] = {
13991 (char *) "self",(char *) "id",(char *) "toggle", NULL
13992 };
13993
13994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
13995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13996 arg3 = PyInt_AsLong(obj2) ? true : false;
13997 if (PyErr_Occurred()) SWIG_fail;
13998 {
13999 PyThreadState* __tstate = wxPyBeginAllowThreads();
14000 (arg1)->SetToggle(arg2,arg3);
14001
14002 wxPyEndAllowThreads(__tstate);
14003 if (PyErr_Occurred()) SWIG_fail;
14004 }
14005 Py_INCREF(Py_None); resultobj = Py_None;
14006 return resultobj;
14007 fail:
14008 return NULL;
14009 }
14010
14011
14012 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14015 int arg2 ;
14016 PyObject *result;
14017 PyObject * obj0 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self",(char *) "id", NULL
14020 };
14021
14022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14027
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 resultobj = result;
14032 return resultobj;
14033 fail:
14034 return NULL;
14035 }
14036
14037
14038 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj;
14040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14041 int arg2 ;
14042 PyObject *arg3 = (PyObject *) 0 ;
14043 PyObject * obj0 = 0 ;
14044 PyObject * obj2 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self",(char *) "id",(char *) "clientData", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14051 arg3 = obj2;
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
14059 Py_INCREF(Py_None); resultobj = Py_None;
14060 return resultobj;
14061 fail:
14062 return NULL;
14063 }
14064
14065
14066 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14067 PyObject *resultobj;
14068 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14069 int arg2 ;
14070 int result;
14071 PyObject * obj0 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self",(char *) "id", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14081
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 resultobj = PyInt_FromLong((long)result);
14086 return resultobj;
14087 fail:
14088 return NULL;
14089 }
14090
14091
14092 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14095 int arg2 ;
14096 bool result;
14097 PyObject * obj0 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self",(char *) "id", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14104 {
14105 PyThreadState* __tstate = wxPyBeginAllowThreads();
14106 result = (bool)(arg1)->GetToolState(arg2);
14107
14108 wxPyEndAllowThreads(__tstate);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
14111 resultobj = PyInt_FromLong((long)result);
14112 return resultobj;
14113 fail:
14114 return NULL;
14115 }
14116
14117
14118 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj;
14120 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14121 int arg2 ;
14122 bool result;
14123 PyObject * obj0 = 0 ;
14124 char *kwnames[] = {
14125 (char *) "self",(char *) "id", NULL
14126 };
14127
14128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 result = (bool)(arg1)->GetToolEnabled(arg2);
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 resultobj = PyInt_FromLong((long)result);
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14147 int arg2 ;
14148 wxString *arg3 = 0 ;
14149 bool temp3 = false ;
14150 PyObject * obj0 = 0 ;
14151 PyObject * obj2 = 0 ;
14152 char *kwnames[] = {
14153 (char *) "self",(char *) "id",(char *) "helpString", NULL
14154 };
14155
14156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14158 {
14159 arg3 = wxString_in_helper(obj2);
14160 if (arg3 == NULL) SWIG_fail;
14161 temp3 = true;
14162 }
14163 {
14164 PyThreadState* __tstate = wxPyBeginAllowThreads();
14165 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14166
14167 wxPyEndAllowThreads(__tstate);
14168 if (PyErr_Occurred()) SWIG_fail;
14169 }
14170 Py_INCREF(Py_None); resultobj = Py_None;
14171 {
14172 if (temp3)
14173 delete arg3;
14174 }
14175 return resultobj;
14176 fail:
14177 {
14178 if (temp3)
14179 delete arg3;
14180 }
14181 return NULL;
14182 }
14183
14184
14185 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14186 PyObject *resultobj;
14187 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14188 int arg2 ;
14189 wxString result;
14190 PyObject * obj0 = 0 ;
14191 char *kwnames[] = {
14192 (char *) "self",(char *) "id", NULL
14193 };
14194
14195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (arg1)->GetToolShortHelp(arg2);
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 {
14205 #if wxUSE_UNICODE
14206 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14207 #else
14208 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14209 #endif
14210 }
14211 return resultobj;
14212 fail:
14213 return NULL;
14214 }
14215
14216
14217 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14218 PyObject *resultobj;
14219 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14220 int arg2 ;
14221 wxString *arg3 = 0 ;
14222 bool temp3 = false ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj2 = 0 ;
14225 char *kwnames[] = {
14226 (char *) "self",(char *) "id",(char *) "helpString", NULL
14227 };
14228
14229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14231 {
14232 arg3 = wxString_in_helper(obj2);
14233 if (arg3 == NULL) SWIG_fail;
14234 temp3 = true;
14235 }
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14239
14240 wxPyEndAllowThreads(__tstate);
14241 if (PyErr_Occurred()) SWIG_fail;
14242 }
14243 Py_INCREF(Py_None); resultobj = Py_None;
14244 {
14245 if (temp3)
14246 delete arg3;
14247 }
14248 return resultobj;
14249 fail:
14250 {
14251 if (temp3)
14252 delete arg3;
14253 }
14254 return NULL;
14255 }
14256
14257
14258 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14259 PyObject *resultobj;
14260 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14261 int arg2 ;
14262 wxString result;
14263 PyObject * obj0 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self",(char *) "id", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 result = (arg1)->GetToolLongHelp(arg2);
14273
14274 wxPyEndAllowThreads(__tstate);
14275 if (PyErr_Occurred()) SWIG_fail;
14276 }
14277 {
14278 #if wxUSE_UNICODE
14279 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14280 #else
14281 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14282 #endif
14283 }
14284 return resultobj;
14285 fail:
14286 return NULL;
14287 }
14288
14289
14290 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14293 int arg2 ;
14294 int arg3 ;
14295 PyObject * obj0 = 0 ;
14296 char *kwnames[] = {
14297 (char *) "self",(char *) "x",(char *) "y", NULL
14298 };
14299
14300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 (arg1)->SetMargins(arg2,arg3);
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 Py_INCREF(Py_None); resultobj = Py_None;
14310 return resultobj;
14311 fail:
14312 return NULL;
14313 }
14314
14315
14316 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14319 wxSize *arg2 = 0 ;
14320 wxSize temp2 ;
14321 PyObject * obj0 = 0 ;
14322 PyObject * obj1 = 0 ;
14323 char *kwnames[] = {
14324 (char *) "self",(char *) "size", NULL
14325 };
14326
14327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14329 {
14330 arg2 = &temp2;
14331 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14332 }
14333 {
14334 PyThreadState* __tstate = wxPyBeginAllowThreads();
14335 (arg1)->SetMargins((wxSize const &)*arg2);
14336
14337 wxPyEndAllowThreads(__tstate);
14338 if (PyErr_Occurred()) SWIG_fail;
14339 }
14340 Py_INCREF(Py_None); resultobj = Py_None;
14341 return resultobj;
14342 fail:
14343 return NULL;
14344 }
14345
14346
14347 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14348 PyObject *resultobj;
14349 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14350 int arg2 ;
14351 PyObject * obj0 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "self",(char *) "packing", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 (arg1)->SetToolPacking(arg2);
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 Py_INCREF(Py_None); resultobj = Py_None;
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj;
14374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14375 int arg2 ;
14376 PyObject * obj0 = 0 ;
14377 char *kwnames[] = {
14378 (char *) "self",(char *) "separation", NULL
14379 };
14380
14381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14383 {
14384 PyThreadState* __tstate = wxPyBeginAllowThreads();
14385 (arg1)->SetToolSeparation(arg2);
14386
14387 wxPyEndAllowThreads(__tstate);
14388 if (PyErr_Occurred()) SWIG_fail;
14389 }
14390 Py_INCREF(Py_None); resultobj = Py_None;
14391 return resultobj;
14392 fail:
14393 return NULL;
14394 }
14395
14396
14397 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14398 PyObject *resultobj;
14399 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14400 wxSize result;
14401 PyObject * obj0 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "self", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (arg1)->GetToolMargins();
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 {
14416 wxSize * resultptr;
14417 resultptr = new wxSize((wxSize &) result);
14418 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14419 }
14420 return resultobj;
14421 fail:
14422 return NULL;
14423 }
14424
14425
14426 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14427 PyObject *resultobj;
14428 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14429 wxSize result;
14430 PyObject * obj0 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self", NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (arg1)->GetMargins();
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 {
14445 wxSize * resultptr;
14446 resultptr = new wxSize((wxSize &) result);
14447 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14448 }
14449 return resultobj;
14450 fail:
14451 return NULL;
14452 }
14453
14454
14455 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14458 int result;
14459 PyObject * obj0 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14466 {
14467 PyThreadState* __tstate = wxPyBeginAllowThreads();
14468 result = (int)(arg1)->GetToolPacking();
14469
14470 wxPyEndAllowThreads(__tstate);
14471 if (PyErr_Occurred()) SWIG_fail;
14472 }
14473 resultobj = PyInt_FromLong((long)result);
14474 return resultobj;
14475 fail:
14476 return NULL;
14477 }
14478
14479
14480 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14481 PyObject *resultobj;
14482 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14483 int result;
14484 PyObject * obj0 = 0 ;
14485 char *kwnames[] = {
14486 (char *) "self", NULL
14487 };
14488
14489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) 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 = (int)(arg1)->GetToolSeparation();
14494
14495 wxPyEndAllowThreads(__tstate);
14496 if (PyErr_Occurred()) SWIG_fail;
14497 }
14498 resultobj = PyInt_FromLong((long)result);
14499 return resultobj;
14500 fail:
14501 return NULL;
14502 }
14503
14504
14505 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14506 PyObject *resultobj;
14507 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14508 int arg2 ;
14509 PyObject * obj0 = 0 ;
14510 char *kwnames[] = {
14511 (char *) "self",(char *) "nRows", NULL
14512 };
14513
14514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 (arg1)->SetRows(arg2);
14519
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 Py_INCREF(Py_None); resultobj = Py_None;
14524 return resultobj;
14525 fail:
14526 return NULL;
14527 }
14528
14529
14530 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14531 PyObject *resultobj;
14532 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14533 int arg2 ;
14534 int arg3 ;
14535 PyObject * obj0 = 0 ;
14536 char *kwnames[] = {
14537 (char *) "self",(char *) "rows",(char *) "cols", NULL
14538 };
14539
14540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14542 {
14543 PyThreadState* __tstate = wxPyBeginAllowThreads();
14544 (arg1)->SetMaxRowsCols(arg2,arg3);
14545
14546 wxPyEndAllowThreads(__tstate);
14547 if (PyErr_Occurred()) SWIG_fail;
14548 }
14549 Py_INCREF(Py_None); resultobj = Py_None;
14550 return resultobj;
14551 fail:
14552 return NULL;
14553 }
14554
14555
14556 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14559 int result;
14560 PyObject * obj0 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14567 {
14568 PyThreadState* __tstate = wxPyBeginAllowThreads();
14569 result = (int)(arg1)->GetMaxRows();
14570
14571 wxPyEndAllowThreads(__tstate);
14572 if (PyErr_Occurred()) SWIG_fail;
14573 }
14574 resultobj = PyInt_FromLong((long)result);
14575 return resultobj;
14576 fail:
14577 return NULL;
14578 }
14579
14580
14581 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14582 PyObject *resultobj;
14583 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14584 int result;
14585 PyObject * obj0 = 0 ;
14586 char *kwnames[] = {
14587 (char *) "self", NULL
14588 };
14589
14590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14592 {
14593 PyThreadState* __tstate = wxPyBeginAllowThreads();
14594 result = (int)(arg1)->GetMaxCols();
14595
14596 wxPyEndAllowThreads(__tstate);
14597 if (PyErr_Occurred()) SWIG_fail;
14598 }
14599 resultobj = PyInt_FromLong((long)result);
14600 return resultobj;
14601 fail:
14602 return NULL;
14603 }
14604
14605
14606 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14607 PyObject *resultobj;
14608 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14609 wxSize *arg2 = 0 ;
14610 wxSize temp2 ;
14611 PyObject * obj0 = 0 ;
14612 PyObject * obj1 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self",(char *) "size", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14619 {
14620 arg2 = &temp2;
14621 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14622 }
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 Py_INCREF(Py_None); resultobj = Py_None;
14631 return resultobj;
14632 fail:
14633 return NULL;
14634 }
14635
14636
14637 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14640 wxSize result;
14641 PyObject * obj0 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "self", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 result = (arg1)->GetToolBitmapSize();
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 {
14656 wxSize * resultptr;
14657 resultptr = new wxSize((wxSize &) result);
14658 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14659 }
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14667 PyObject *resultobj;
14668 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14669 wxSize result;
14670 PyObject * obj0 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14677 {
14678 PyThreadState* __tstate = wxPyBeginAllowThreads();
14679 result = (arg1)->GetToolSize();
14680
14681 wxPyEndAllowThreads(__tstate);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
14684 {
14685 wxSize * resultptr;
14686 resultptr = new wxSize((wxSize &) result);
14687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14688 }
14689 return resultobj;
14690 fail:
14691 return NULL;
14692 }
14693
14694
14695 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14696 PyObject *resultobj;
14697 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14698 wxCoord arg2 ;
14699 wxCoord arg3 ;
14700 wxToolBarToolBase *result;
14701 PyObject * obj0 = 0 ;
14702 char *kwnames[] = {
14703 (char *) "self",(char *) "x",(char *) "y", NULL
14704 };
14705
14706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14711
14712 wxPyEndAllowThreads(__tstate);
14713 if (PyErr_Occurred()) SWIG_fail;
14714 }
14715 {
14716 resultobj = wxPyMake_wxObject(result);
14717 }
14718 return resultobj;
14719 fail:
14720 return NULL;
14721 }
14722
14723
14724 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14725 PyObject *resultobj;
14726 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14727 bool result;
14728 PyObject * obj0 = 0 ;
14729 char *kwnames[] = {
14730 (char *) "self", NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (bool)(arg1)->IsVertical();
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 resultobj = PyInt_FromLong((long)result);
14743 return resultobj;
14744 fail:
14745 return NULL;
14746 }
14747
14748
14749 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14750 PyObject *obj;
14751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14752 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14753 Py_INCREF(obj);
14754 return Py_BuildValue((char *)"");
14755 }
14756 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxWindow *arg1 = (wxWindow *) 0 ;
14759 wxWindowID arg2 ;
14760 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14761 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14762 wxSize const &arg4_defvalue = wxDefaultSize ;
14763 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14764 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14765 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14766 wxString *arg6 = (wxString *) &arg6_defvalue ;
14767 wxToolBar *result;
14768 wxPoint temp3 ;
14769 wxSize temp4 ;
14770 bool temp6 = false ;
14771 PyObject * obj0 = 0 ;
14772 PyObject * obj2 = 0 ;
14773 PyObject * obj3 = 0 ;
14774 PyObject * obj5 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14781 if (obj2) {
14782 {
14783 arg3 = &temp3;
14784 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14785 }
14786 }
14787 if (obj3) {
14788 {
14789 arg4 = &temp4;
14790 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14791 }
14792 }
14793 if (obj5) {
14794 {
14795 arg6 = wxString_in_helper(obj5);
14796 if (arg6 == NULL) SWIG_fail;
14797 temp6 = true;
14798 }
14799 }
14800 {
14801 PyThreadState* __tstate = wxPyBeginAllowThreads();
14802 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14803
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 {
14808 resultobj = wxPyMake_wxObject(result);
14809 }
14810 {
14811 if (temp6)
14812 delete arg6;
14813 }
14814 return resultobj;
14815 fail:
14816 {
14817 if (temp6)
14818 delete arg6;
14819 }
14820 return NULL;
14821 }
14822
14823
14824 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj;
14826 wxToolBar *result;
14827 char *kwnames[] = {
14828 NULL
14829 };
14830
14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14832 {
14833 PyThreadState* __tstate = wxPyBeginAllowThreads();
14834 result = (wxToolBar *)new wxToolBar();
14835
14836 wxPyEndAllowThreads(__tstate);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 }
14839 {
14840 resultobj = wxPyMake_wxObject(result);
14841 }
14842 return resultobj;
14843 fail:
14844 return NULL;
14845 }
14846
14847
14848 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxToolBar *arg1 = (wxToolBar *) 0 ;
14851 wxWindow *arg2 = (wxWindow *) 0 ;
14852 wxWindowID arg3 ;
14853 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14854 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14855 wxSize const &arg5_defvalue = wxDefaultSize ;
14856 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14857 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14858 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14859 wxString *arg7 = (wxString *) &arg7_defvalue ;
14860 bool result;
14861 wxPoint temp4 ;
14862 wxSize temp5 ;
14863 bool temp7 = false ;
14864 PyObject * obj0 = 0 ;
14865 PyObject * obj1 = 0 ;
14866 PyObject * obj3 = 0 ;
14867 PyObject * obj4 = 0 ;
14868 PyObject * obj6 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14875 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14876 if (obj3) {
14877 {
14878 arg4 = &temp4;
14879 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14880 }
14881 }
14882 if (obj4) {
14883 {
14884 arg5 = &temp5;
14885 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14886 }
14887 }
14888 if (obj6) {
14889 {
14890 arg7 = wxString_in_helper(obj6);
14891 if (arg7 == NULL) SWIG_fail;
14892 temp7 = true;
14893 }
14894 }
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = PyInt_FromLong((long)result);
14903 {
14904 if (temp7)
14905 delete arg7;
14906 }
14907 return resultobj;
14908 fail:
14909 {
14910 if (temp7)
14911 delete arg7;
14912 }
14913 return NULL;
14914 }
14915
14916
14917 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxToolBar *arg1 = (wxToolBar *) 0 ;
14920 wxCoord arg2 ;
14921 wxCoord arg3 ;
14922 wxToolBarToolBase *result;
14923 PyObject * obj0 = 0 ;
14924 char *kwnames[] = {
14925 (char *) "self",(char *) "x",(char *) "y", NULL
14926 };
14927
14928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14930 {
14931 PyThreadState* __tstate = wxPyBeginAllowThreads();
14932 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14933
14934 wxPyEndAllowThreads(__tstate);
14935 if (PyErr_Occurred()) SWIG_fail;
14936 }
14937 {
14938 resultobj = wxPyMake_wxObject(result);
14939 }
14940 return resultobj;
14941 fail:
14942 return NULL;
14943 }
14944
14945
14946 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14947 PyObject *obj;
14948 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14949 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14950 Py_INCREF(obj);
14951 return Py_BuildValue((char *)"");
14952 }
14953 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxColour const &arg1_defvalue = wxNullColour ;
14956 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14957 wxColour const &arg2_defvalue = wxNullColour ;
14958 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14959 wxFont const &arg3_defvalue = wxNullFont ;
14960 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14961 wxListItemAttr *result;
14962 wxColour temp1 ;
14963 wxColour temp2 ;
14964 PyObject * obj0 = 0 ;
14965 PyObject * obj1 = 0 ;
14966 PyObject * obj2 = 0 ;
14967 char *kwnames[] = {
14968 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14969 };
14970
14971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14972 if (obj0) {
14973 {
14974 arg1 = &temp1;
14975 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14976 }
14977 }
14978 if (obj1) {
14979 {
14980 arg2 = &temp2;
14981 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14982 }
14983 }
14984 if (obj2) {
14985 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14986 if (arg3 == NULL) {
14987 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14988 }
14989 }
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
14993
14994 wxPyEndAllowThreads(__tstate);
14995 if (PyErr_Occurred()) SWIG_fail;
14996 }
14997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
14998 return resultobj;
14999 fail:
15000 return NULL;
15001 }
15002
15003
15004 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15005 PyObject *resultobj;
15006 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15007 wxColour *arg2 = 0 ;
15008 wxColour temp2 ;
15009 PyObject * obj0 = 0 ;
15010 PyObject * obj1 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "self",(char *) "colText", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15017 {
15018 arg2 = &temp2;
15019 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15020 }
15021 {
15022 PyThreadState* __tstate = wxPyBeginAllowThreads();
15023 (arg1)->SetTextColour((wxColour const &)*arg2);
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 Py_INCREF(Py_None); resultobj = Py_None;
15029 return resultobj;
15030 fail:
15031 return NULL;
15032 }
15033
15034
15035 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15036 PyObject *resultobj;
15037 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15038 wxColour *arg2 = 0 ;
15039 wxColour temp2 ;
15040 PyObject * obj0 = 0 ;
15041 PyObject * obj1 = 0 ;
15042 char *kwnames[] = {
15043 (char *) "self",(char *) "colBack", NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15048 {
15049 arg2 = &temp2;
15050 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15051 }
15052 {
15053 PyThreadState* __tstate = wxPyBeginAllowThreads();
15054 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15055
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 Py_INCREF(Py_None); resultobj = Py_None;
15060 return resultobj;
15061 fail:
15062 return NULL;
15063 }
15064
15065
15066 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15067 PyObject *resultobj;
15068 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15069 wxFont *arg2 = 0 ;
15070 PyObject * obj0 = 0 ;
15071 PyObject * obj1 = 0 ;
15072 char *kwnames[] = {
15073 (char *) "self",(char *) "font", NULL
15074 };
15075
15076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15079 if (arg2 == NULL) {
15080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15081 }
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 (arg1)->SetFont((wxFont const &)*arg2);
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 Py_INCREF(Py_None); resultobj = Py_None;
15090 return resultobj;
15091 fail:
15092 return NULL;
15093 }
15094
15095
15096 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15097 PyObject *resultobj;
15098 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15099 bool result;
15100 PyObject * obj0 = 0 ;
15101 char *kwnames[] = {
15102 (char *) "self", NULL
15103 };
15104
15105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 result = (bool)(arg1)->HasTextColour();
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 resultobj = PyInt_FromLong((long)result);
15115 return resultobj;
15116 fail:
15117 return NULL;
15118 }
15119
15120
15121 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15122 PyObject *resultobj;
15123 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15124 bool result;
15125 PyObject * obj0 = 0 ;
15126 char *kwnames[] = {
15127 (char *) "self", NULL
15128 };
15129
15130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (bool)(arg1)->HasBackgroundColour();
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 resultobj = PyInt_FromLong((long)result);
15140 return resultobj;
15141 fail:
15142 return NULL;
15143 }
15144
15145
15146 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15149 bool result;
15150 PyObject * obj0 = 0 ;
15151 char *kwnames[] = {
15152 (char *) "self", NULL
15153 };
15154
15155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 result = (bool)(arg1)->HasFont();
15160
15161 wxPyEndAllowThreads(__tstate);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 resultobj = PyInt_FromLong((long)result);
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15174 wxColour result;
15175 PyObject * obj0 = 0 ;
15176 char *kwnames[] = {
15177 (char *) "self", NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 result = (arg1)->GetTextColour();
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 {
15190 wxColour * resultptr;
15191 resultptr = new wxColour((wxColour &) result);
15192 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15193 }
15194 return resultobj;
15195 fail:
15196 return NULL;
15197 }
15198
15199
15200 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj;
15202 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15203 wxColour result;
15204 PyObject * obj0 = 0 ;
15205 char *kwnames[] = {
15206 (char *) "self", NULL
15207 };
15208
15209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 result = (arg1)->GetBackgroundColour();
15214
15215 wxPyEndAllowThreads(__tstate);
15216 if (PyErr_Occurred()) SWIG_fail;
15217 }
15218 {
15219 wxColour * resultptr;
15220 resultptr = new wxColour((wxColour &) result);
15221 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15222 }
15223 return resultobj;
15224 fail:
15225 return NULL;
15226 }
15227
15228
15229 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15230 PyObject *resultobj;
15231 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15232 wxFont result;
15233 PyObject * obj0 = 0 ;
15234 char *kwnames[] = {
15235 (char *) "self", NULL
15236 };
15237
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (arg1)->GetFont();
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 {
15248 wxFont * resultptr;
15249 resultptr = new wxFont((wxFont &) result);
15250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15251 }
15252 return resultobj;
15253 fail:
15254 return NULL;
15255 }
15256
15257
15258 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15259 PyObject *resultobj;
15260 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15261 PyObject * obj0 = 0 ;
15262 char *kwnames[] = {
15263 (char *) "self", NULL
15264 };
15265
15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 wxListItemAttr_Destroy(arg1);
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 Py_INCREF(Py_None); resultobj = Py_None;
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15283 PyObject *obj;
15284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15285 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15286 Py_INCREF(obj);
15287 return Py_BuildValue((char *)"");
15288 }
15289 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxListItem *result;
15292 char *kwnames[] = {
15293 NULL
15294 };
15295
15296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 result = (wxListItem *)new wxListItem();
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 {
15305 resultobj = wxPyMake_wxObject(result);
15306 }
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxListItem *arg1 = (wxListItem *) 0 ;
15316 PyObject * obj0 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 delete arg1;
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 Py_INCREF(Py_None); resultobj = Py_None;
15331 return resultobj;
15332 fail:
15333 return NULL;
15334 }
15335
15336
15337 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxListItem *arg1 = (wxListItem *) 0 ;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15347 {
15348 PyThreadState* __tstate = wxPyBeginAllowThreads();
15349 (arg1)->Clear();
15350
15351 wxPyEndAllowThreads(__tstate);
15352 if (PyErr_Occurred()) SWIG_fail;
15353 }
15354 Py_INCREF(Py_None); resultobj = Py_None;
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 wxListItem *arg1 = (wxListItem *) 0 ;
15364 PyObject * obj0 = 0 ;
15365 char *kwnames[] = {
15366 (char *) "self", NULL
15367 };
15368
15369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 (arg1)->ClearAttributes();
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 Py_INCREF(Py_None); resultobj = Py_None;
15379 return resultobj;
15380 fail:
15381 return NULL;
15382 }
15383
15384
15385 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15386 PyObject *resultobj;
15387 wxListItem *arg1 = (wxListItem *) 0 ;
15388 long arg2 ;
15389 PyObject * obj0 = 0 ;
15390 char *kwnames[] = {
15391 (char *) "self",(char *) "mask", NULL
15392 };
15393
15394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15396 {
15397 PyThreadState* __tstate = wxPyBeginAllowThreads();
15398 (arg1)->SetMask(arg2);
15399
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 Py_INCREF(Py_None); resultobj = Py_None;
15404 return resultobj;
15405 fail:
15406 return NULL;
15407 }
15408
15409
15410 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj;
15412 wxListItem *arg1 = (wxListItem *) 0 ;
15413 long arg2 ;
15414 PyObject * obj0 = 0 ;
15415 char *kwnames[] = {
15416 (char *) "self",(char *) "id", NULL
15417 };
15418
15419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15421 {
15422 PyThreadState* __tstate = wxPyBeginAllowThreads();
15423 (arg1)->SetId(arg2);
15424
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 Py_INCREF(Py_None); resultobj = Py_None;
15429 return resultobj;
15430 fail:
15431 return NULL;
15432 }
15433
15434
15435 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15436 PyObject *resultobj;
15437 wxListItem *arg1 = (wxListItem *) 0 ;
15438 int arg2 ;
15439 PyObject * obj0 = 0 ;
15440 char *kwnames[] = {
15441 (char *) "self",(char *) "col", NULL
15442 };
15443
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15446 {
15447 PyThreadState* __tstate = wxPyBeginAllowThreads();
15448 (arg1)->SetColumn(arg2);
15449
15450 wxPyEndAllowThreads(__tstate);
15451 if (PyErr_Occurred()) SWIG_fail;
15452 }
15453 Py_INCREF(Py_None); resultobj = Py_None;
15454 return resultobj;
15455 fail:
15456 return NULL;
15457 }
15458
15459
15460 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15461 PyObject *resultobj;
15462 wxListItem *arg1 = (wxListItem *) 0 ;
15463 long arg2 ;
15464 PyObject * obj0 = 0 ;
15465 char *kwnames[] = {
15466 (char *) "self",(char *) "state", NULL
15467 };
15468
15469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 (arg1)->SetState(arg2);
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 Py_INCREF(Py_None); resultobj = Py_None;
15479 return resultobj;
15480 fail:
15481 return NULL;
15482 }
15483
15484
15485 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj;
15487 wxListItem *arg1 = (wxListItem *) 0 ;
15488 long arg2 ;
15489 PyObject * obj0 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self",(char *) "stateMask", NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15496 {
15497 PyThreadState* __tstate = wxPyBeginAllowThreads();
15498 (arg1)->SetStateMask(arg2);
15499
15500 wxPyEndAllowThreads(__tstate);
15501 if (PyErr_Occurred()) SWIG_fail;
15502 }
15503 Py_INCREF(Py_None); resultobj = Py_None;
15504 return resultobj;
15505 fail:
15506 return NULL;
15507 }
15508
15509
15510 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15511 PyObject *resultobj;
15512 wxListItem *arg1 = (wxListItem *) 0 ;
15513 wxString *arg2 = 0 ;
15514 bool temp2 = false ;
15515 PyObject * obj0 = 0 ;
15516 PyObject * obj1 = 0 ;
15517 char *kwnames[] = {
15518 (char *) "self",(char *) "text", NULL
15519 };
15520
15521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15523 {
15524 arg2 = wxString_in_helper(obj1);
15525 if (arg2 == NULL) SWIG_fail;
15526 temp2 = true;
15527 }
15528 {
15529 PyThreadState* __tstate = wxPyBeginAllowThreads();
15530 (arg1)->SetText((wxString const &)*arg2);
15531
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 Py_INCREF(Py_None); resultobj = Py_None;
15536 {
15537 if (temp2)
15538 delete arg2;
15539 }
15540 return resultobj;
15541 fail:
15542 {
15543 if (temp2)
15544 delete arg2;
15545 }
15546 return NULL;
15547 }
15548
15549
15550 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj;
15552 wxListItem *arg1 = (wxListItem *) 0 ;
15553 int arg2 ;
15554 PyObject * obj0 = 0 ;
15555 char *kwnames[] = {
15556 (char *) "self",(char *) "image", NULL
15557 };
15558
15559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) 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 (arg1)->SetImage(arg2);
15564
15565 wxPyEndAllowThreads(__tstate);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 Py_INCREF(Py_None); resultobj = Py_None;
15569 return resultobj;
15570 fail:
15571 return NULL;
15572 }
15573
15574
15575 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15576 PyObject *resultobj;
15577 wxListItem *arg1 = (wxListItem *) 0 ;
15578 long arg2 ;
15579 PyObject * obj0 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self",(char *) "data", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) 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 (arg1)->SetData(arg2);
15589
15590 wxPyEndAllowThreads(__tstate);
15591 if (PyErr_Occurred()) SWIG_fail;
15592 }
15593 Py_INCREF(Py_None); resultobj = Py_None;
15594 return resultobj;
15595 fail:
15596 return NULL;
15597 }
15598
15599
15600 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15601 PyObject *resultobj;
15602 wxListItem *arg1 = (wxListItem *) 0 ;
15603 int arg2 ;
15604 PyObject * obj0 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self",(char *) "width", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) 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 (arg1)->SetWidth(arg2);
15614
15615 wxPyEndAllowThreads(__tstate);
15616 if (PyErr_Occurred()) SWIG_fail;
15617 }
15618 Py_INCREF(Py_None); resultobj = Py_None;
15619 return resultobj;
15620 fail:
15621 return NULL;
15622 }
15623
15624
15625 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15626 PyObject *resultobj;
15627 wxListItem *arg1 = (wxListItem *) 0 ;
15628 int arg2 ;
15629 PyObject * obj0 = 0 ;
15630 char *kwnames[] = {
15631 (char *) "self",(char *) "align", NULL
15632 };
15633
15634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) 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 (arg1)->SetAlign((wxListColumnFormat )arg2);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
15643 Py_INCREF(Py_None); resultobj = Py_None;
15644 return resultobj;
15645 fail:
15646 return NULL;
15647 }
15648
15649
15650 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15651 PyObject *resultobj;
15652 wxListItem *arg1 = (wxListItem *) 0 ;
15653 wxColour *arg2 = 0 ;
15654 wxColour temp2 ;
15655 PyObject * obj0 = 0 ;
15656 PyObject * obj1 = 0 ;
15657 char *kwnames[] = {
15658 (char *) "self",(char *) "colText", NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15663 {
15664 arg2 = &temp2;
15665 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15666 }
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
15669 (arg1)->SetTextColour((wxColour const &)*arg2);
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
15674 Py_INCREF(Py_None); resultobj = Py_None;
15675 return resultobj;
15676 fail:
15677 return NULL;
15678 }
15679
15680
15681 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15682 PyObject *resultobj;
15683 wxListItem *arg1 = (wxListItem *) 0 ;
15684 wxColour *arg2 = 0 ;
15685 wxColour temp2 ;
15686 PyObject * obj0 = 0 ;
15687 PyObject * obj1 = 0 ;
15688 char *kwnames[] = {
15689 (char *) "self",(char *) "colBack", NULL
15690 };
15691
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15694 {
15695 arg2 = &temp2;
15696 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15697 }
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 Py_INCREF(Py_None); resultobj = Py_None;
15706 return resultobj;
15707 fail:
15708 return NULL;
15709 }
15710
15711
15712 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxListItem *arg1 = (wxListItem *) 0 ;
15715 wxFont *arg2 = 0 ;
15716 PyObject * obj0 = 0 ;
15717 PyObject * obj1 = 0 ;
15718 char *kwnames[] = {
15719 (char *) "self",(char *) "font", NULL
15720 };
15721
15722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15724 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15725 if (arg2 == NULL) {
15726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15727 }
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 (arg1)->SetFont((wxFont const &)*arg2);
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 Py_INCREF(Py_None); resultobj = Py_None;
15736 return resultobj;
15737 fail:
15738 return NULL;
15739 }
15740
15741
15742 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxListItem *arg1 = (wxListItem *) 0 ;
15745 long result;
15746 PyObject * obj0 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 result = (long)(arg1)->GetMask();
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 resultobj = PyInt_FromLong((long)result);
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxListItem *arg1 = (wxListItem *) 0 ;
15770 long result;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 result = (long)(arg1)->GetId();
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 resultobj = PyInt_FromLong((long)result);
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15793 PyObject *resultobj;
15794 wxListItem *arg1 = (wxListItem *) 0 ;
15795 int result;
15796 PyObject * obj0 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 result = (int)(arg1)->GetColumn();
15806
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 resultobj = PyInt_FromLong((long)result);
15811 return resultobj;
15812 fail:
15813 return NULL;
15814 }
15815
15816
15817 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj;
15819 wxListItem *arg1 = (wxListItem *) 0 ;
15820 long result;
15821 PyObject * obj0 = 0 ;
15822 char *kwnames[] = {
15823 (char *) "self", NULL
15824 };
15825
15826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 result = (long)(arg1)->GetState();
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 resultobj = PyInt_FromLong((long)result);
15836 return resultobj;
15837 fail:
15838 return NULL;
15839 }
15840
15841
15842 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxListItem *arg1 = (wxListItem *) 0 ;
15845 wxString *result;
15846 PyObject * obj0 = 0 ;
15847 char *kwnames[] = {
15848 (char *) "self", NULL
15849 };
15850
15851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 {
15856 wxString const &_result_ref = (arg1)->GetText();
15857 result = (wxString *) &_result_ref;
15858 }
15859
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15864 return resultobj;
15865 fail:
15866 return NULL;
15867 }
15868
15869
15870 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj;
15872 wxListItem *arg1 = (wxListItem *) 0 ;
15873 int result;
15874 PyObject * obj0 = 0 ;
15875 char *kwnames[] = {
15876 (char *) "self", NULL
15877 };
15878
15879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15881 {
15882 PyThreadState* __tstate = wxPyBeginAllowThreads();
15883 result = (int)(arg1)->GetImage();
15884
15885 wxPyEndAllowThreads(__tstate);
15886 if (PyErr_Occurred()) SWIG_fail;
15887 }
15888 resultobj = PyInt_FromLong((long)result);
15889 return resultobj;
15890 fail:
15891 return NULL;
15892 }
15893
15894
15895 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj;
15897 wxListItem *arg1 = (wxListItem *) 0 ;
15898 long result;
15899 PyObject * obj0 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = (long)(arg1)->GetData();
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 resultobj = PyInt_FromLong((long)result);
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxListItem *arg1 = (wxListItem *) 0 ;
15923 int result;
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = (int)(arg1)->GetWidth();
15934
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 resultobj = PyInt_FromLong((long)result);
15939 return resultobj;
15940 fail:
15941 return NULL;
15942 }
15943
15944
15945 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15946 PyObject *resultobj;
15947 wxListItem *arg1 = (wxListItem *) 0 ;
15948 int result;
15949 PyObject * obj0 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 result = (int)(arg1)->GetAlign();
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 resultobj = PyInt_FromLong((long)result);
15964 return resultobj;
15965 fail:
15966 return NULL;
15967 }
15968
15969
15970 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxListItem *arg1 = (wxListItem *) 0 ;
15973 wxListItemAttr *result;
15974 PyObject * obj0 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 result = (wxListItemAttr *)(arg1)->GetAttributes();
15984
15985 wxPyEndAllowThreads(__tstate);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 }
15988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
15989 return resultobj;
15990 fail:
15991 return NULL;
15992 }
15993
15994
15995 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxListItem *arg1 = (wxListItem *) 0 ;
15998 bool result;
15999 PyObject * obj0 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 result = (bool)(arg1)->HasAttributes();
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 resultobj = PyInt_FromLong((long)result);
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16021 PyObject *resultobj;
16022 wxListItem *arg1 = (wxListItem *) 0 ;
16023 wxColour result;
16024 PyObject * obj0 = 0 ;
16025 char *kwnames[] = {
16026 (char *) "self", NULL
16027 };
16028
16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 result = ((wxListItem const *)arg1)->GetTextColour();
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 {
16039 wxColour * resultptr;
16040 resultptr = new wxColour((wxColour &) result);
16041 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16042 }
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16050 PyObject *resultobj;
16051 wxListItem *arg1 = (wxListItem *) 0 ;
16052 wxColour result;
16053 PyObject * obj0 = 0 ;
16054 char *kwnames[] = {
16055 (char *) "self", NULL
16056 };
16057
16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16060 {
16061 PyThreadState* __tstate = wxPyBeginAllowThreads();
16062 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16063
16064 wxPyEndAllowThreads(__tstate);
16065 if (PyErr_Occurred()) SWIG_fail;
16066 }
16067 {
16068 wxColour * resultptr;
16069 resultptr = new wxColour((wxColour &) result);
16070 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16071 }
16072 return resultobj;
16073 fail:
16074 return NULL;
16075 }
16076
16077
16078 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16079 PyObject *resultobj;
16080 wxListItem *arg1 = (wxListItem *) 0 ;
16081 wxFont result;
16082 PyObject * obj0 = 0 ;
16083 char *kwnames[] = {
16084 (char *) "self", NULL
16085 };
16086
16087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = ((wxListItem const *)arg1)->GetFont();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 {
16097 wxFont * resultptr;
16098 resultptr = new wxFont((wxFont &) result);
16099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16100 }
16101 return resultobj;
16102 fail:
16103 return NULL;
16104 }
16105
16106
16107 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxListItem *arg1 = (wxListItem *) 0 ;
16110 long arg2 ;
16111 PyObject * obj0 = 0 ;
16112 char *kwnames[] = {
16113 (char *) "self",(char *) "m_mask", NULL
16114 };
16115
16116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16118 if (arg1) (arg1)->m_mask = arg2;
16119
16120 Py_INCREF(Py_None); resultobj = Py_None;
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxListItem *arg1 = (wxListItem *) 0 ;
16130 long result;
16131 PyObject * obj0 = 0 ;
16132 char *kwnames[] = {
16133 (char *) "self", NULL
16134 };
16135
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16138 result = (long) ((arg1)->m_mask);
16139
16140 resultobj = PyInt_FromLong((long)result);
16141 return resultobj;
16142 fail:
16143 return NULL;
16144 }
16145
16146
16147 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj;
16149 wxListItem *arg1 = (wxListItem *) 0 ;
16150 long arg2 ;
16151 PyObject * obj0 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self",(char *) "m_itemId", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16158 if (arg1) (arg1)->m_itemId = arg2;
16159
16160 Py_INCREF(Py_None); resultobj = Py_None;
16161 return resultobj;
16162 fail:
16163 return NULL;
16164 }
16165
16166
16167 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16168 PyObject *resultobj;
16169 wxListItem *arg1 = (wxListItem *) 0 ;
16170 long result;
16171 PyObject * obj0 = 0 ;
16172 char *kwnames[] = {
16173 (char *) "self", NULL
16174 };
16175
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16178 result = (long) ((arg1)->m_itemId);
16179
16180 resultobj = PyInt_FromLong((long)result);
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxListItem *arg1 = (wxListItem *) 0 ;
16190 int arg2 ;
16191 PyObject * obj0 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self",(char *) "m_col", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16198 if (arg1) (arg1)->m_col = arg2;
16199
16200 Py_INCREF(Py_None); resultobj = Py_None;
16201 return resultobj;
16202 fail:
16203 return NULL;
16204 }
16205
16206
16207 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16208 PyObject *resultobj;
16209 wxListItem *arg1 = (wxListItem *) 0 ;
16210 int result;
16211 PyObject * obj0 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16218 result = (int) ((arg1)->m_col);
16219
16220 resultobj = PyInt_FromLong((long)result);
16221 return resultobj;
16222 fail:
16223 return NULL;
16224 }
16225
16226
16227 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj;
16229 wxListItem *arg1 = (wxListItem *) 0 ;
16230 long arg2 ;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self",(char *) "m_state", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16238 if (arg1) (arg1)->m_state = arg2;
16239
16240 Py_INCREF(Py_None); resultobj = Py_None;
16241 return resultobj;
16242 fail:
16243 return NULL;
16244 }
16245
16246
16247 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj;
16249 wxListItem *arg1 = (wxListItem *) 0 ;
16250 long result;
16251 PyObject * obj0 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16258 result = (long) ((arg1)->m_state);
16259
16260 resultobj = PyInt_FromLong((long)result);
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj;
16269 wxListItem *arg1 = (wxListItem *) 0 ;
16270 long arg2 ;
16271 PyObject * obj0 = 0 ;
16272 char *kwnames[] = {
16273 (char *) "self",(char *) "m_stateMask", NULL
16274 };
16275
16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16278 if (arg1) (arg1)->m_stateMask = arg2;
16279
16280 Py_INCREF(Py_None); resultobj = Py_None;
16281 return resultobj;
16282 fail:
16283 return NULL;
16284 }
16285
16286
16287 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxListItem *arg1 = (wxListItem *) 0 ;
16290 long result;
16291 PyObject * obj0 = 0 ;
16292 char *kwnames[] = {
16293 (char *) "self", NULL
16294 };
16295
16296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16298 result = (long) ((arg1)->m_stateMask);
16299
16300 resultobj = PyInt_FromLong((long)result);
16301 return resultobj;
16302 fail:
16303 return NULL;
16304 }
16305
16306
16307 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxListItem *arg1 = (wxListItem *) 0 ;
16310 wxString arg2 ;
16311 wxString *argp2 ;
16312 PyObject * obj0 = 0 ;
16313 PyObject * obj1 = 0 ;
16314 char *kwnames[] = {
16315 (char *) "self",(char *) "m_text", NULL
16316 };
16317
16318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16320 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16321 arg2 = *argp2;
16322 if (arg1) (arg1)->m_text = arg2;
16323
16324 Py_INCREF(Py_None); resultobj = Py_None;
16325 return resultobj;
16326 fail:
16327 return NULL;
16328 }
16329
16330
16331 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16332 PyObject *resultobj;
16333 wxListItem *arg1 = (wxListItem *) 0 ;
16334 wxString result;
16335 PyObject * obj0 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16342 result = ((arg1)->m_text);
16343
16344 {
16345 #if wxUSE_UNICODE
16346 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16347 #else
16348 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16349 #endif
16350 }
16351 return resultobj;
16352 fail:
16353 return NULL;
16354 }
16355
16356
16357 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16358 PyObject *resultobj;
16359 wxListItem *arg1 = (wxListItem *) 0 ;
16360 int arg2 ;
16361 PyObject * obj0 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self",(char *) "m_image", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16368 if (arg1) (arg1)->m_image = arg2;
16369
16370 Py_INCREF(Py_None); resultobj = Py_None;
16371 return resultobj;
16372 fail:
16373 return NULL;
16374 }
16375
16376
16377 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxListItem *arg1 = (wxListItem *) 0 ;
16380 int result;
16381 PyObject * obj0 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16388 result = (int) ((arg1)->m_image);
16389
16390 resultobj = PyInt_FromLong((long)result);
16391 return resultobj;
16392 fail:
16393 return NULL;
16394 }
16395
16396
16397 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16398 PyObject *resultobj;
16399 wxListItem *arg1 = (wxListItem *) 0 ;
16400 long arg2 ;
16401 PyObject * obj0 = 0 ;
16402 char *kwnames[] = {
16403 (char *) "self",(char *) "m_data", NULL
16404 };
16405
16406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16408 if (arg1) (arg1)->m_data = arg2;
16409
16410 Py_INCREF(Py_None); resultobj = Py_None;
16411 return resultobj;
16412 fail:
16413 return NULL;
16414 }
16415
16416
16417 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16418 PyObject *resultobj;
16419 wxListItem *arg1 = (wxListItem *) 0 ;
16420 long result;
16421 PyObject * obj0 = 0 ;
16422 char *kwnames[] = {
16423 (char *) "self", NULL
16424 };
16425
16426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16428 result = (long) ((arg1)->m_data);
16429
16430 resultobj = PyInt_FromLong((long)result);
16431 return resultobj;
16432 fail:
16433 return NULL;
16434 }
16435
16436
16437 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxListItem *arg1 = (wxListItem *) 0 ;
16440 int arg2 ;
16441 PyObject * obj0 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "m_format", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16448 if (arg1) (arg1)->m_format = arg2;
16449
16450 Py_INCREF(Py_None); resultobj = Py_None;
16451 return resultobj;
16452 fail:
16453 return NULL;
16454 }
16455
16456
16457 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16458 PyObject *resultobj;
16459 wxListItem *arg1 = (wxListItem *) 0 ;
16460 int result;
16461 PyObject * obj0 = 0 ;
16462 char *kwnames[] = {
16463 (char *) "self", NULL
16464 };
16465
16466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16468 result = (int) ((arg1)->m_format);
16469
16470 resultobj = PyInt_FromLong((long)result);
16471 return resultobj;
16472 fail:
16473 return NULL;
16474 }
16475
16476
16477 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16478 PyObject *resultobj;
16479 wxListItem *arg1 = (wxListItem *) 0 ;
16480 int arg2 ;
16481 PyObject * obj0 = 0 ;
16482 char *kwnames[] = {
16483 (char *) "self",(char *) "m_width", NULL
16484 };
16485
16486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16488 if (arg1) (arg1)->m_width = arg2;
16489
16490 Py_INCREF(Py_None); resultobj = Py_None;
16491 return resultobj;
16492 fail:
16493 return NULL;
16494 }
16495
16496
16497 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16498 PyObject *resultobj;
16499 wxListItem *arg1 = (wxListItem *) 0 ;
16500 int result;
16501 PyObject * obj0 = 0 ;
16502 char *kwnames[] = {
16503 (char *) "self", NULL
16504 };
16505
16506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16508 result = (int) ((arg1)->m_width);
16509
16510 resultobj = PyInt_FromLong((long)result);
16511 return resultobj;
16512 fail:
16513 return NULL;
16514 }
16515
16516
16517 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16518 PyObject *obj;
16519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16520 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16521 Py_INCREF(obj);
16522 return Py_BuildValue((char *)"");
16523 }
16524 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16525 PyObject *resultobj;
16526 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16527 int arg2 = (int) 0 ;
16528 wxListEvent *result;
16529 char *kwnames[] = {
16530 (char *) "commandType",(char *) "id", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
16541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16542 return resultobj;
16543 fail:
16544 return NULL;
16545 }
16546
16547
16548 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 wxListEvent *arg1 = (wxListEvent *) 0 ;
16551 int arg2 ;
16552 PyObject * obj0 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "self",(char *) "m_code", NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16559 if (arg1) (arg1)->m_code = arg2;
16560
16561 Py_INCREF(Py_None); resultobj = Py_None;
16562 return resultobj;
16563 fail:
16564 return NULL;
16565 }
16566
16567
16568 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16569 PyObject *resultobj;
16570 wxListEvent *arg1 = (wxListEvent *) 0 ;
16571 int result;
16572 PyObject * obj0 = 0 ;
16573 char *kwnames[] = {
16574 (char *) "self", NULL
16575 };
16576
16577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16579 result = (int) ((arg1)->m_code);
16580
16581 resultobj = PyInt_FromLong((long)result);
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxListEvent *arg1 = (wxListEvent *) 0 ;
16591 long arg2 ;
16592 PyObject * obj0 = 0 ;
16593 char *kwnames[] = {
16594 (char *) "self",(char *) "m_oldItemIndex", NULL
16595 };
16596
16597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16599 if (arg1) (arg1)->m_oldItemIndex = arg2;
16600
16601 Py_INCREF(Py_None); resultobj = Py_None;
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16609 PyObject *resultobj;
16610 wxListEvent *arg1 = (wxListEvent *) 0 ;
16611 long result;
16612 PyObject * obj0 = 0 ;
16613 char *kwnames[] = {
16614 (char *) "self", NULL
16615 };
16616
16617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16619 result = (long) ((arg1)->m_oldItemIndex);
16620
16621 resultobj = PyInt_FromLong((long)result);
16622 return resultobj;
16623 fail:
16624 return NULL;
16625 }
16626
16627
16628 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16629 PyObject *resultobj;
16630 wxListEvent *arg1 = (wxListEvent *) 0 ;
16631 long arg2 ;
16632 PyObject * obj0 = 0 ;
16633 char *kwnames[] = {
16634 (char *) "self",(char *) "m_itemIndex", NULL
16635 };
16636
16637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16639 if (arg1) (arg1)->m_itemIndex = arg2;
16640
16641 Py_INCREF(Py_None); resultobj = Py_None;
16642 return resultobj;
16643 fail:
16644 return NULL;
16645 }
16646
16647
16648 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16649 PyObject *resultobj;
16650 wxListEvent *arg1 = (wxListEvent *) 0 ;
16651 long result;
16652 PyObject * obj0 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16659 result = (long) ((arg1)->m_itemIndex);
16660
16661 resultobj = PyInt_FromLong((long)result);
16662 return resultobj;
16663 fail:
16664 return NULL;
16665 }
16666
16667
16668 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxListEvent *arg1 = (wxListEvent *) 0 ;
16671 int arg2 ;
16672 PyObject * obj0 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "self",(char *) "m_col", NULL
16675 };
16676
16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16679 if (arg1) (arg1)->m_col = arg2;
16680
16681 Py_INCREF(Py_None); resultobj = Py_None;
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxListEvent *arg1 = (wxListEvent *) 0 ;
16691 int result;
16692 PyObject * obj0 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16699 result = (int) ((arg1)->m_col);
16700
16701 resultobj = PyInt_FromLong((long)result);
16702 return resultobj;
16703 fail:
16704 return NULL;
16705 }
16706
16707
16708 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16709 PyObject *resultobj;
16710 wxListEvent *arg1 = (wxListEvent *) 0 ;
16711 wxPoint *arg2 = (wxPoint *) 0 ;
16712 PyObject * obj0 = 0 ;
16713 PyObject * obj1 = 0 ;
16714 char *kwnames[] = {
16715 (char *) "self",(char *) "m_pointDrag", NULL
16716 };
16717
16718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16721 if (arg1) (arg1)->m_pointDrag = *arg2;
16722
16723 Py_INCREF(Py_None); resultobj = Py_None;
16724 return resultobj;
16725 fail:
16726 return NULL;
16727 }
16728
16729
16730 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16731 PyObject *resultobj;
16732 wxListEvent *arg1 = (wxListEvent *) 0 ;
16733 wxPoint *result;
16734 PyObject * obj0 = 0 ;
16735 char *kwnames[] = {
16736 (char *) "self", NULL
16737 };
16738
16739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16741 result = (wxPoint *)& ((arg1)->m_pointDrag);
16742
16743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16744 return resultobj;
16745 fail:
16746 return NULL;
16747 }
16748
16749
16750 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16751 PyObject *resultobj;
16752 wxListEvent *arg1 = (wxListEvent *) 0 ;
16753 wxListItem *result;
16754 PyObject * obj0 = 0 ;
16755 char *kwnames[] = {
16756 (char *) "self", NULL
16757 };
16758
16759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16761 result = (wxListItem *)& ((arg1)->m_item);
16762
16763 {
16764 resultobj = wxPyMake_wxObject(result);
16765 }
16766 return resultobj;
16767 fail:
16768 return NULL;
16769 }
16770
16771
16772 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj;
16774 wxListEvent *arg1 = (wxListEvent *) 0 ;
16775 int result;
16776 PyObject * obj0 = 0 ;
16777 char *kwnames[] = {
16778 (char *) "self", NULL
16779 };
16780
16781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16783 {
16784 PyThreadState* __tstate = wxPyBeginAllowThreads();
16785 result = (int)(arg1)->GetKeyCode();
16786
16787 wxPyEndAllowThreads(__tstate);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 resultobj = PyInt_FromLong((long)result);
16791 return resultobj;
16792 fail:
16793 return NULL;
16794 }
16795
16796
16797 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj;
16799 wxListEvent *arg1 = (wxListEvent *) 0 ;
16800 long result;
16801 PyObject * obj0 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16808 {
16809 PyThreadState* __tstate = wxPyBeginAllowThreads();
16810 result = (long)(arg1)->GetIndex();
16811
16812 wxPyEndAllowThreads(__tstate);
16813 if (PyErr_Occurred()) SWIG_fail;
16814 }
16815 resultobj = PyInt_FromLong((long)result);
16816 return resultobj;
16817 fail:
16818 return NULL;
16819 }
16820
16821
16822 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16823 PyObject *resultobj;
16824 wxListEvent *arg1 = (wxListEvent *) 0 ;
16825 int result;
16826 PyObject * obj0 = 0 ;
16827 char *kwnames[] = {
16828 (char *) "self", NULL
16829 };
16830
16831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 result = (int)(arg1)->GetColumn();
16836
16837 wxPyEndAllowThreads(__tstate);
16838 if (PyErr_Occurred()) SWIG_fail;
16839 }
16840 resultobj = PyInt_FromLong((long)result);
16841 return resultobj;
16842 fail:
16843 return NULL;
16844 }
16845
16846
16847 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16848 PyObject *resultobj;
16849 wxListEvent *arg1 = (wxListEvent *) 0 ;
16850 wxPoint result;
16851 PyObject * obj0 = 0 ;
16852 char *kwnames[] = {
16853 (char *) "self", NULL
16854 };
16855
16856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16858 {
16859 PyThreadState* __tstate = wxPyBeginAllowThreads();
16860 result = (arg1)->GetPoint();
16861
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 {
16866 wxPoint * resultptr;
16867 resultptr = new wxPoint((wxPoint &) result);
16868 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16869 }
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxListEvent *arg1 = (wxListEvent *) 0 ;
16879 wxString *result;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16887 {
16888 PyThreadState* __tstate = wxPyBeginAllowThreads();
16889 {
16890 wxString const &_result_ref = (arg1)->GetLabel();
16891 result = (wxString *) &_result_ref;
16892 }
16893
16894 wxPyEndAllowThreads(__tstate);
16895 if (PyErr_Occurred()) SWIG_fail;
16896 }
16897 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16898 return resultobj;
16899 fail:
16900 return NULL;
16901 }
16902
16903
16904 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxListEvent *arg1 = (wxListEvent *) 0 ;
16907 wxString *result;
16908 PyObject * obj0 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 {
16918 wxString const &_result_ref = (arg1)->GetText();
16919 result = (wxString *) &_result_ref;
16920 }
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16926 return resultobj;
16927 fail:
16928 return NULL;
16929 }
16930
16931
16932 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16933 PyObject *resultobj;
16934 wxListEvent *arg1 = (wxListEvent *) 0 ;
16935 int result;
16936 PyObject * obj0 = 0 ;
16937 char *kwnames[] = {
16938 (char *) "self", NULL
16939 };
16940
16941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
16942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 result = (int)(arg1)->GetImage();
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 resultobj = PyInt_FromLong((long)result);
16951 return resultobj;
16952 fail:
16953 return NULL;
16954 }
16955
16956
16957 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16958 PyObject *resultobj;
16959 wxListEvent *arg1 = (wxListEvent *) 0 ;
16960 long result;
16961 PyObject * obj0 = 0 ;
16962 char *kwnames[] = {
16963 (char *) "self", NULL
16964 };
16965
16966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
16967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16968 {
16969 PyThreadState* __tstate = wxPyBeginAllowThreads();
16970 result = (long)(arg1)->GetData();
16971
16972 wxPyEndAllowThreads(__tstate);
16973 if (PyErr_Occurred()) SWIG_fail;
16974 }
16975 resultobj = PyInt_FromLong((long)result);
16976 return resultobj;
16977 fail:
16978 return NULL;
16979 }
16980
16981
16982 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxListEvent *arg1 = (wxListEvent *) 0 ;
16985 long result;
16986 PyObject * obj0 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 result = (long)(arg1)->GetMask();
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 resultobj = PyInt_FromLong((long)result);
17001 return resultobj;
17002 fail:
17003 return NULL;
17004 }
17005
17006
17007 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 wxListEvent *arg1 = (wxListEvent *) 0 ;
17010 wxListItem *result;
17011 PyObject * obj0 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17018 {
17019 PyThreadState* __tstate = wxPyBeginAllowThreads();
17020 {
17021 wxListItem const &_result_ref = (arg1)->GetItem();
17022 result = (wxListItem *) &_result_ref;
17023 }
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17029 return resultobj;
17030 fail:
17031 return NULL;
17032 }
17033
17034
17035 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxListEvent *arg1 = (wxListEvent *) 0 ;
17038 long result;
17039 PyObject * obj0 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (long)(arg1)->GetCacheFrom();
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 resultobj = PyInt_FromLong((long)result);
17054 return resultobj;
17055 fail:
17056 return NULL;
17057 }
17058
17059
17060 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxListEvent *arg1 = (wxListEvent *) 0 ;
17063 long result;
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
17069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (long)(arg1)->GetCacheTo();
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 resultobj = PyInt_FromLong((long)result);
17079 return resultobj;
17080 fail:
17081 return NULL;
17082 }
17083
17084
17085 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17086 PyObject *resultobj;
17087 wxListEvent *arg1 = (wxListEvent *) 0 ;
17088 bool result;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 resultobj = PyInt_FromLong((long)result);
17104 return resultobj;
17105 fail:
17106 return NULL;
17107 }
17108
17109
17110 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxListEvent *arg1 = (wxListEvent *) 0 ;
17113 bool arg2 ;
17114 PyObject * obj0 = 0 ;
17115 PyObject * obj1 = 0 ;
17116 char *kwnames[] = {
17117 (char *) "self",(char *) "editCancelled", NULL
17118 };
17119
17120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17122 arg2 = PyInt_AsLong(obj1) ? true : false;
17123 if (PyErr_Occurred()) SWIG_fail;
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 (arg1)->SetEditCanceled(arg2);
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 Py_INCREF(Py_None); resultobj = Py_None;
17132 return resultobj;
17133 fail:
17134 return NULL;
17135 }
17136
17137
17138 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17139 PyObject *obj;
17140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17141 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17142 Py_INCREF(obj);
17143 return Py_BuildValue((char *)"");
17144 }
17145 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj;
17147 wxWindow *arg1 = (wxWindow *) 0 ;
17148 wxWindowID arg2 = (wxWindowID) -1 ;
17149 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17150 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17151 wxSize const &arg4_defvalue = wxDefaultSize ;
17152 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17153 long arg5 = (long) wxLC_ICON ;
17154 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17155 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17156 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17157 wxString *arg7 = (wxString *) &arg7_defvalue ;
17158 wxPyListCtrl *result;
17159 wxPoint temp3 ;
17160 wxSize temp4 ;
17161 bool temp7 = false ;
17162 PyObject * obj0 = 0 ;
17163 PyObject * obj2 = 0 ;
17164 PyObject * obj3 = 0 ;
17165 PyObject * obj5 = 0 ;
17166 PyObject * obj6 = 0 ;
17167 char *kwnames[] = {
17168 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17169 };
17170
17171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17173 if (obj2) {
17174 {
17175 arg3 = &temp3;
17176 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17177 }
17178 }
17179 if (obj3) {
17180 {
17181 arg4 = &temp4;
17182 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17183 }
17184 }
17185 if (obj5) {
17186 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17187 if (arg6 == NULL) {
17188 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17189 }
17190 }
17191 if (obj6) {
17192 {
17193 arg7 = wxString_in_helper(obj6);
17194 if (arg7 == NULL) SWIG_fail;
17195 temp7 = true;
17196 }
17197 }
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17201
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17206 {
17207 if (temp7)
17208 delete arg7;
17209 }
17210 return resultobj;
17211 fail:
17212 {
17213 if (temp7)
17214 delete arg7;
17215 }
17216 return NULL;
17217 }
17218
17219
17220 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17221 PyObject *resultobj;
17222 wxPyListCtrl *result;
17223 char *kwnames[] = {
17224 NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (wxPyListCtrl *)new wxPyListCtrl();
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17245 wxWindow *arg2 = (wxWindow *) 0 ;
17246 wxWindowID arg3 = (wxWindowID) -1 ;
17247 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17248 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17249 wxSize const &arg5_defvalue = wxDefaultSize ;
17250 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17251 long arg6 = (long) wxLC_ICON ;
17252 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17253 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17254 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17255 wxString *arg8 = (wxString *) &arg8_defvalue ;
17256 bool result;
17257 wxPoint temp4 ;
17258 wxSize temp5 ;
17259 bool temp8 = false ;
17260 PyObject * obj0 = 0 ;
17261 PyObject * obj1 = 0 ;
17262 PyObject * obj3 = 0 ;
17263 PyObject * obj4 = 0 ;
17264 PyObject * obj6 = 0 ;
17265 PyObject * obj7 = 0 ;
17266 char *kwnames[] = {
17267 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17268 };
17269
17270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17273 if (obj3) {
17274 {
17275 arg4 = &temp4;
17276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17277 }
17278 }
17279 if (obj4) {
17280 {
17281 arg5 = &temp5;
17282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17283 }
17284 }
17285 if (obj6) {
17286 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17287 if (arg7 == NULL) {
17288 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17289 }
17290 }
17291 if (obj7) {
17292 {
17293 arg8 = wxString_in_helper(obj7);
17294 if (arg8 == NULL) SWIG_fail;
17295 temp8 = true;
17296 }
17297 }
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17301
17302 wxPyEndAllowThreads(__tstate);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
17305 resultobj = PyInt_FromLong((long)result);
17306 {
17307 if (temp8)
17308 delete arg8;
17309 }
17310 return resultobj;
17311 fail:
17312 {
17313 if (temp8)
17314 delete arg8;
17315 }
17316 return NULL;
17317 }
17318
17319
17320 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17321 PyObject *resultobj;
17322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17323 PyObject *arg2 = (PyObject *) 0 ;
17324 PyObject *arg3 = (PyObject *) 0 ;
17325 PyObject * obj0 = 0 ;
17326 PyObject * obj1 = 0 ;
17327 PyObject * obj2 = 0 ;
17328 char *kwnames[] = {
17329 (char *) "self",(char *) "self",(char *) "_class", NULL
17330 };
17331
17332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17334 arg2 = obj1;
17335 arg3 = obj2;
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 (arg1)->_setCallbackInfo(arg2,arg3);
17339
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
17343 Py_INCREF(Py_None); resultobj = Py_None;
17344 return resultobj;
17345 fail:
17346 return NULL;
17347 }
17348
17349
17350 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17351 PyObject *resultobj;
17352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17353 wxColour *arg2 = 0 ;
17354 bool result;
17355 wxColour temp2 ;
17356 PyObject * obj0 = 0 ;
17357 PyObject * obj1 = 0 ;
17358 char *kwnames[] = {
17359 (char *) "self",(char *) "col", NULL
17360 };
17361
17362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17364 {
17365 arg2 = &temp2;
17366 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = PyInt_FromLong((long)result);
17376 return resultobj;
17377 fail:
17378 return NULL;
17379 }
17380
17381
17382 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17383 PyObject *resultobj;
17384 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17385 wxColour *arg2 = 0 ;
17386 bool result;
17387 wxColour temp2 ;
17388 PyObject * obj0 = 0 ;
17389 PyObject * obj1 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self",(char *) "col", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17396 {
17397 arg2 = &temp2;
17398 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17399 }
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 resultobj = PyInt_FromLong((long)result);
17408 return resultobj;
17409 fail:
17410 return NULL;
17411 }
17412
17413
17414 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj;
17416 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17417 int arg2 ;
17418 wxListItem *result;
17419 PyObject * obj0 = 0 ;
17420 char *kwnames[] = {
17421 (char *) "self",(char *) "col", NULL
17422 };
17423
17424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 {
17434 resultobj = wxPyMake_wxObject(result);
17435 }
17436 return resultobj;
17437 fail:
17438 return NULL;
17439 }
17440
17441
17442 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17445 int arg2 ;
17446 wxListItem *arg3 = 0 ;
17447 bool result;
17448 PyObject * obj0 = 0 ;
17449 PyObject * obj2 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self",(char *) "col",(char *) "item", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17456 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17457 if (arg3 == NULL) {
17458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17459 }
17460 {
17461 PyThreadState* __tstate = wxPyBeginAllowThreads();
17462 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17463
17464 wxPyEndAllowThreads(__tstate);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 }
17467 resultobj = PyInt_FromLong((long)result);
17468 return resultobj;
17469 fail:
17470 return NULL;
17471 }
17472
17473
17474 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17475 PyObject *resultobj;
17476 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17477 int arg2 ;
17478 int result;
17479 PyObject * obj0 = 0 ;
17480 char *kwnames[] = {
17481 (char *) "self",(char *) "col", NULL
17482 };
17483
17484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17486 {
17487 PyThreadState* __tstate = wxPyBeginAllowThreads();
17488 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17489
17490 wxPyEndAllowThreads(__tstate);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 }
17493 resultobj = PyInt_FromLong((long)result);
17494 return resultobj;
17495 fail:
17496 return NULL;
17497 }
17498
17499
17500 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17501 PyObject *resultobj;
17502 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17503 int arg2 ;
17504 int arg3 ;
17505 bool result;
17506 PyObject * obj0 = 0 ;
17507 char *kwnames[] = {
17508 (char *) "self",(char *) "col",(char *) "width", NULL
17509 };
17510
17511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 resultobj = PyInt_FromLong((long)result);
17521 return resultobj;
17522 fail:
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17530 int result;
17531 PyObject * obj0 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 resultobj = PyInt_FromLong((long)result);
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj;
17554 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17555 wxRect result;
17556 PyObject * obj0 = 0 ;
17557 char *kwnames[] = {
17558 (char *) "self", NULL
17559 };
17560
17561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) 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)->GetViewRect();
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 {
17571 wxRect * resultptr;
17572 resultptr = new wxRect((wxRect &) result);
17573 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17574 }
17575 return resultobj;
17576 fail:
17577 return NULL;
17578 }
17579
17580
17581 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17582 PyObject *resultobj;
17583 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17584 long arg2 ;
17585 int arg3 = (int) 0 ;
17586 wxListItem *result;
17587 PyObject * obj0 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "self",(char *) "itemId",(char *) "col", NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 {
17602 resultobj = wxPyMake_wxObject(result);
17603 }
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17611 PyObject *resultobj;
17612 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17613 wxListItem *arg2 = 0 ;
17614 bool result;
17615 PyObject * obj0 = 0 ;
17616 PyObject * obj1 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self",(char *) "info", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17624 if (arg2 == NULL) {
17625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17626 }
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (bool)(arg1)->SetItem(*arg2);
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 resultobj = PyInt_FromLong((long)result);
17635 return resultobj;
17636 fail:
17637 return NULL;
17638 }
17639
17640
17641 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17644 long arg2 ;
17645 int arg3 ;
17646 wxString *arg4 = 0 ;
17647 int arg5 = (int) -1 ;
17648 long result;
17649 bool temp4 = false ;
17650 PyObject * obj0 = 0 ;
17651 PyObject * obj3 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17658 {
17659 arg4 = wxString_in_helper(obj3);
17660 if (arg4 == NULL) SWIG_fail;
17661 temp4 = true;
17662 }
17663 {
17664 PyThreadState* __tstate = wxPyBeginAllowThreads();
17665 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17666
17667 wxPyEndAllowThreads(__tstate);
17668 if (PyErr_Occurred()) SWIG_fail;
17669 }
17670 resultobj = PyInt_FromLong((long)result);
17671 {
17672 if (temp4)
17673 delete arg4;
17674 }
17675 return resultobj;
17676 fail:
17677 {
17678 if (temp4)
17679 delete arg4;
17680 }
17681 return NULL;
17682 }
17683
17684
17685 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17686 PyObject *resultobj;
17687 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17688 long arg2 ;
17689 long arg3 ;
17690 int result;
17691 PyObject * obj0 = 0 ;
17692 char *kwnames[] = {
17693 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17694 };
17695
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 resultobj = PyInt_FromLong((long)result);
17706 return resultobj;
17707 fail:
17708 return NULL;
17709 }
17710
17711
17712 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17715 long arg2 ;
17716 long arg3 ;
17717 long arg4 ;
17718 bool result;
17719 PyObject * obj0 = 0 ;
17720 char *kwnames[] = {
17721 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17722 };
17723
17724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17726 {
17727 PyThreadState* __tstate = wxPyBeginAllowThreads();
17728 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17729
17730 wxPyEndAllowThreads(__tstate);
17731 if (PyErr_Occurred()) SWIG_fail;
17732 }
17733 resultobj = PyInt_FromLong((long)result);
17734 return resultobj;
17735 fail:
17736 return NULL;
17737 }
17738
17739
17740 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17741 PyObject *resultobj;
17742 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17743 long arg2 ;
17744 int arg3 ;
17745 int arg4 ;
17746 bool result;
17747 PyObject * obj0 = 0 ;
17748 char *kwnames[] = {
17749 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17750 };
17751
17752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17757
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 resultobj = PyInt_FromLong((long)result);
17762 return resultobj;
17763 fail:
17764 return NULL;
17765 }
17766
17767
17768 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17769 PyObject *resultobj;
17770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17771 long arg2 ;
17772 wxString result;
17773 PyObject * obj0 = 0 ;
17774 char *kwnames[] = {
17775 (char *) "self",(char *) "item", NULL
17776 };
17777
17778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17780 {
17781 PyThreadState* __tstate = wxPyBeginAllowThreads();
17782 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17783
17784 wxPyEndAllowThreads(__tstate);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 }
17787 {
17788 #if wxUSE_UNICODE
17789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17790 #else
17791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17792 #endif
17793 }
17794 return resultobj;
17795 fail:
17796 return NULL;
17797 }
17798
17799
17800 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17801 PyObject *resultobj;
17802 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17803 long arg2 ;
17804 wxString *arg3 = 0 ;
17805 bool temp3 = false ;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj2 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self",(char *) "item",(char *) "str", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17814 {
17815 arg3 = wxString_in_helper(obj2);
17816 if (arg3 == NULL) SWIG_fail;
17817 temp3 = true;
17818 }
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 Py_INCREF(Py_None); resultobj = Py_None;
17827 {
17828 if (temp3)
17829 delete arg3;
17830 }
17831 return resultobj;
17832 fail:
17833 {
17834 if (temp3)
17835 delete arg3;
17836 }
17837 return NULL;
17838 }
17839
17840
17841 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17842 PyObject *resultobj;
17843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17844 long arg2 ;
17845 long result;
17846 PyObject * obj0 = 0 ;
17847 char *kwnames[] = {
17848 (char *) "self",(char *) "item", NULL
17849 };
17850
17851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 resultobj = PyInt_FromLong((long)result);
17861 return resultobj;
17862 fail:
17863 return NULL;
17864 }
17865
17866
17867 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17870 long arg2 ;
17871 long arg3 ;
17872 bool result;
17873 PyObject * obj0 = 0 ;
17874 char *kwnames[] = {
17875 (char *) "self",(char *) "item",(char *) "data", NULL
17876 };
17877
17878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17880 {
17881 PyThreadState* __tstate = wxPyBeginAllowThreads();
17882 result = (bool)(arg1)->SetItemData(arg2,arg3);
17883
17884 wxPyEndAllowThreads(__tstate);
17885 if (PyErr_Occurred()) SWIG_fail;
17886 }
17887 resultobj = PyInt_FromLong((long)result);
17888 return resultobj;
17889 fail:
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17897 long arg2 ;
17898 wxPoint result;
17899 PyObject * obj0 = 0 ;
17900 char *kwnames[] = {
17901 (char *) "self",(char *) "item", NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 {
17914 wxPoint * resultptr;
17915 resultptr = new wxPoint((wxPoint &) result);
17916 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17917 }
17918 return resultobj;
17919 fail:
17920 return NULL;
17921 }
17922
17923
17924 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17925 PyObject *resultobj;
17926 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17927 long arg2 ;
17928 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17929 wxRect result;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self",(char *) "item",(char *) "code", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17937 {
17938 PyThreadState* __tstate = wxPyBeginAllowThreads();
17939 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
17940
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 {
17945 wxRect * resultptr;
17946 resultptr = new wxRect((wxRect &) result);
17947 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17948 }
17949 return resultobj;
17950 fail:
17951 return NULL;
17952 }
17953
17954
17955 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17958 long arg2 ;
17959 wxPoint *arg3 = 0 ;
17960 bool result;
17961 wxPoint temp3 ;
17962 PyObject * obj0 = 0 ;
17963 PyObject * obj2 = 0 ;
17964 char *kwnames[] = {
17965 (char *) "self",(char *) "item",(char *) "pos", NULL
17966 };
17967
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
17969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17970 {
17971 arg3 = &temp3;
17972 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17973 }
17974 {
17975 PyThreadState* __tstate = wxPyBeginAllowThreads();
17976 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
17977
17978 wxPyEndAllowThreads(__tstate);
17979 if (PyErr_Occurred()) SWIG_fail;
17980 }
17981 resultobj = PyInt_FromLong((long)result);
17982 return resultobj;
17983 fail:
17984 return NULL;
17985 }
17986
17987
17988 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17989 PyObject *resultobj;
17990 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17991 int result;
17992 PyObject * obj0 = 0 ;
17993 char *kwnames[] = {
17994 (char *) "self", NULL
17995 };
17996
17997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
17998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 resultobj = PyInt_FromLong((long)result);
18007 return resultobj;
18008 fail:
18009 return NULL;
18010 }
18011
18012
18013 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18016 int result;
18017 PyObject * obj0 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
18031 resultobj = PyInt_FromLong((long)result);
18032 return resultobj;
18033 fail:
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18041 wxSize result;
18042 PyObject * obj0 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 {
18057 wxSize * resultptr;
18058 resultptr = new wxSize((wxSize &) result);
18059 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18060 }
18061 return resultobj;
18062 fail:
18063 return NULL;
18064 }
18065
18066
18067 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj;
18069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18070 int arg2 ;
18071 bool arg3 = (bool) FALSE ;
18072 PyObject * obj0 = 0 ;
18073 PyObject * obj2 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18080 if (obj2) {
18081 arg3 = PyInt_AsLong(obj2) ? true : false;
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 {
18085 PyThreadState* __tstate = wxPyBeginAllowThreads();
18086 (arg1)->SetItemSpacing(arg2,arg3);
18087
18088 wxPyEndAllowThreads(__tstate);
18089 if (PyErr_Occurred()) SWIG_fail;
18090 }
18091 Py_INCREF(Py_None); resultobj = Py_None;
18092 return resultobj;
18093 fail:
18094 return NULL;
18095 }
18096
18097
18098 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18099 PyObject *resultobj;
18100 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18101 int result;
18102 PyObject * obj0 = 0 ;
18103 char *kwnames[] = {
18104 (char *) "self", NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18112
18113 wxPyEndAllowThreads(__tstate);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 resultobj = PyInt_FromLong((long)result);
18117 return resultobj;
18118 fail:
18119 return NULL;
18120 }
18121
18122
18123 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18124 PyObject *resultobj;
18125 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18126 wxColour result;
18127 PyObject * obj0 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 {
18142 wxColour * resultptr;
18143 resultptr = new wxColour((wxColour &) result);
18144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18145 }
18146 return resultobj;
18147 fail:
18148 return NULL;
18149 }
18150
18151
18152 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18153 PyObject *resultobj;
18154 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18155 wxColour *arg2 = 0 ;
18156 wxColour temp2 ;
18157 PyObject * obj0 = 0 ;
18158 PyObject * obj1 = 0 ;
18159 char *kwnames[] = {
18160 (char *) "self",(char *) "col", NULL
18161 };
18162
18163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18165 {
18166 arg2 = &temp2;
18167 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18168 }
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 (arg1)->SetTextColour((wxColour const &)*arg2);
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 Py_INCREF(Py_None); resultobj = Py_None;
18177 return resultobj;
18178 fail:
18179 return NULL;
18180 }
18181
18182
18183 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj;
18185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18186 long result;
18187 PyObject * obj0 = 0 ;
18188 char *kwnames[] = {
18189 (char *) "self", NULL
18190 };
18191
18192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
18201 resultobj = PyInt_FromLong((long)result);
18202 return resultobj;
18203 fail:
18204 return NULL;
18205 }
18206
18207
18208 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18211 long arg2 ;
18212 bool arg3 = (bool) TRUE ;
18213 PyObject * obj0 = 0 ;
18214 PyObject * obj2 = 0 ;
18215 char *kwnames[] = {
18216 (char *) "self",(char *) "style",(char *) "add", NULL
18217 };
18218
18219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18221 if (obj2) {
18222 arg3 = PyInt_AsLong(obj2) ? true : false;
18223 if (PyErr_Occurred()) SWIG_fail;
18224 }
18225 {
18226 PyThreadState* __tstate = wxPyBeginAllowThreads();
18227 (arg1)->SetSingleStyle(arg2,arg3);
18228
18229 wxPyEndAllowThreads(__tstate);
18230 if (PyErr_Occurred()) SWIG_fail;
18231 }
18232 Py_INCREF(Py_None); resultobj = Py_None;
18233 return resultobj;
18234 fail:
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18242 long arg2 ;
18243 PyObject * obj0 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self",(char *) "style", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18250 {
18251 PyThreadState* __tstate = wxPyBeginAllowThreads();
18252 (arg1)->SetWindowStyleFlag(arg2);
18253
18254 wxPyEndAllowThreads(__tstate);
18255 if (PyErr_Occurred()) SWIG_fail;
18256 }
18257 Py_INCREF(Py_None); resultobj = Py_None;
18258 return resultobj;
18259 fail:
18260 return NULL;
18261 }
18262
18263
18264 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18265 PyObject *resultobj;
18266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18267 long arg2 ;
18268 int arg3 = (int) wxLIST_NEXT_ALL ;
18269 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18270 long result;
18271 PyObject * obj0 = 0 ;
18272 char *kwnames[] = {
18273 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18274 };
18275
18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18278 {
18279 PyThreadState* __tstate = wxPyBeginAllowThreads();
18280 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18281
18282 wxPyEndAllowThreads(__tstate);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
18285 resultobj = PyInt_FromLong((long)result);
18286 return resultobj;
18287 fail:
18288 return NULL;
18289 }
18290
18291
18292 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18293 PyObject *resultobj;
18294 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18295 int arg2 ;
18296 wxImageList *result;
18297 PyObject * obj0 = 0 ;
18298 char *kwnames[] = {
18299 (char *) "self",(char *) "which", NULL
18300 };
18301
18302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 {
18312 resultobj = wxPyMake_wxObject(result);
18313 }
18314 return resultobj;
18315 fail:
18316 return NULL;
18317 }
18318
18319
18320 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18321 PyObject *resultobj;
18322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18323 wxImageList *arg2 = (wxImageList *) 0 ;
18324 int arg3 ;
18325 PyObject * obj0 = 0 ;
18326 PyObject * obj1 = 0 ;
18327 char *kwnames[] = {
18328 (char *) "self",(char *) "imageList",(char *) "which", NULL
18329 };
18330
18331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 (arg1)->SetImageList(arg2,arg3);
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 Py_INCREF(Py_None); resultobj = Py_None;
18342 return resultobj;
18343 fail:
18344 return NULL;
18345 }
18346
18347
18348 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18351 wxImageList *arg2 = (wxImageList *) 0 ;
18352 int arg3 ;
18353 PyObject * obj0 = 0 ;
18354 PyObject * obj1 = 0 ;
18355 char *kwnames[] = {
18356 (char *) "self",(char *) "imageList",(char *) "which", NULL
18357 };
18358
18359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18362 {
18363 PyThreadState* __tstate = wxPyBeginAllowThreads();
18364 (arg1)->AssignImageList(arg2,arg3);
18365
18366 wxPyEndAllowThreads(__tstate);
18367 if (PyErr_Occurred()) SWIG_fail;
18368 }
18369 Py_INCREF(Py_None); resultobj = Py_None;
18370 return resultobj;
18371 fail:
18372 return NULL;
18373 }
18374
18375
18376 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18379 bool result;
18380 PyObject * obj0 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18387 {
18388 PyThreadState* __tstate = wxPyBeginAllowThreads();
18389 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18390
18391 wxPyEndAllowThreads(__tstate);
18392 if (PyErr_Occurred()) SWIG_fail;
18393 }
18394 resultobj = PyInt_FromLong((long)result);
18395 return resultobj;
18396 fail:
18397 return NULL;
18398 }
18399
18400
18401 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18402 PyObject *resultobj;
18403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18404 long arg2 ;
18405 PyObject * obj0 = 0 ;
18406 char *kwnames[] = {
18407 (char *) "self",(char *) "item", NULL
18408 };
18409
18410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 (arg1)->RefreshItem(arg2);
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 Py_INCREF(Py_None); resultobj = Py_None;
18420 return resultobj;
18421 fail:
18422 return NULL;
18423 }
18424
18425
18426 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18427 PyObject *resultobj;
18428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18429 long arg2 ;
18430 long arg3 ;
18431 PyObject * obj0 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 (arg1)->RefreshItems(arg2,arg3);
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 Py_INCREF(Py_None); resultobj = Py_None;
18446 return resultobj;
18447 fail:
18448 return NULL;
18449 }
18450
18451
18452 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18453 PyObject *resultobj;
18454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18455 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18456 bool result;
18457 PyObject * obj0 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self",(char *) "flag", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (bool)(arg1)->Arrange(arg2);
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = PyInt_FromLong((long)result);
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj;
18480 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18481 long arg2 ;
18482 bool result;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self",(char *) "item", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = (bool)(arg1)->DeleteItem(arg2);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 resultobj = PyInt_FromLong((long)result);
18498 return resultobj;
18499 fail:
18500 return NULL;
18501 }
18502
18503
18504 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18505 PyObject *resultobj;
18506 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18507 bool result;
18508 PyObject * obj0 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "self", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 result = (bool)(arg1)->DeleteAllItems();
18518
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 resultobj = PyInt_FromLong((long)result);
18523 return resultobj;
18524 fail:
18525 return NULL;
18526 }
18527
18528
18529 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18530 PyObject *resultobj;
18531 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18532 int arg2 ;
18533 bool result;
18534 PyObject * obj0 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "self",(char *) "col", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18541 {
18542 PyThreadState* __tstate = wxPyBeginAllowThreads();
18543 result = (bool)(arg1)->DeleteColumn(arg2);
18544
18545 wxPyEndAllowThreads(__tstate);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 resultobj = PyInt_FromLong((long)result);
18549 return resultobj;
18550 fail:
18551 return NULL;
18552 }
18553
18554
18555 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18556 PyObject *resultobj;
18557 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18558 bool result;
18559 PyObject * obj0 = 0 ;
18560 char *kwnames[] = {
18561 (char *) "self", NULL
18562 };
18563
18564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (bool)(arg1)->DeleteAllColumns();
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 resultobj = PyInt_FromLong((long)result);
18574 return resultobj;
18575 fail:
18576 return NULL;
18577 }
18578
18579
18580 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18583 PyObject * obj0 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18590 {
18591 PyThreadState* __tstate = wxPyBeginAllowThreads();
18592 (arg1)->ClearAll();
18593
18594 wxPyEndAllowThreads(__tstate);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 }
18597 Py_INCREF(Py_None); resultobj = Py_None;
18598 return resultobj;
18599 fail:
18600 return NULL;
18601 }
18602
18603
18604 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj;
18606 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18607 long arg2 ;
18608 PyObject * obj0 = 0 ;
18609 char *kwnames[] = {
18610 (char *) "self",(char *) "item", NULL
18611 };
18612
18613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18615 {
18616 PyThreadState* __tstate = wxPyBeginAllowThreads();
18617 (arg1)->EditLabel(arg2);
18618
18619 wxPyEndAllowThreads(__tstate);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
18622 Py_INCREF(Py_None); resultobj = Py_None;
18623 return resultobj;
18624 fail:
18625 return NULL;
18626 }
18627
18628
18629 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18630 PyObject *resultobj;
18631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18632 long arg2 ;
18633 bool result;
18634 PyObject * obj0 = 0 ;
18635 char *kwnames[] = {
18636 (char *) "self",(char *) "item", NULL
18637 };
18638
18639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 result = (bool)(arg1)->EnsureVisible(arg2);
18644
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 resultobj = PyInt_FromLong((long)result);
18649 return resultobj;
18650 fail:
18651 return NULL;
18652 }
18653
18654
18655 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18658 long arg2 ;
18659 wxString *arg3 = 0 ;
18660 bool arg4 = (bool) FALSE ;
18661 long result;
18662 bool temp3 = false ;
18663 PyObject * obj0 = 0 ;
18664 PyObject * obj2 = 0 ;
18665 PyObject * obj3 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18672 {
18673 arg3 = wxString_in_helper(obj2);
18674 if (arg3 == NULL) SWIG_fail;
18675 temp3 = true;
18676 }
18677 if (obj3) {
18678 arg4 = PyInt_AsLong(obj3) ? true : false;
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 resultobj = PyInt_FromLong((long)result);
18689 {
18690 if (temp3)
18691 delete arg3;
18692 }
18693 return resultobj;
18694 fail:
18695 {
18696 if (temp3)
18697 delete arg3;
18698 }
18699 return NULL;
18700 }
18701
18702
18703 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18704 PyObject *resultobj;
18705 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18706 long arg2 ;
18707 long arg3 ;
18708 long result;
18709 PyObject * obj0 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self",(char *) "start",(char *) "data", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 result = (long)(arg1)->FindItem(arg2,arg3);
18719
18720 wxPyEndAllowThreads(__tstate);
18721 if (PyErr_Occurred()) SWIG_fail;
18722 }
18723 resultobj = PyInt_FromLong((long)result);
18724 return resultobj;
18725 fail:
18726 return NULL;
18727 }
18728
18729
18730 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18733 long arg2 ;
18734 wxPoint *arg3 = 0 ;
18735 int arg4 ;
18736 long result;
18737 wxPoint temp3 ;
18738 PyObject * obj0 = 0 ;
18739 PyObject * obj2 = 0 ;
18740 char *kwnames[] = {
18741 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18742 };
18743
18744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18746 {
18747 arg3 = &temp3;
18748 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18749 }
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 resultobj = PyInt_FromLong((long)result);
18758 return resultobj;
18759 fail:
18760 return NULL;
18761 }
18762
18763
18764 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18767 wxPoint *arg2 = 0 ;
18768 int *arg3 = 0 ;
18769 long result;
18770 wxPoint temp2 ;
18771 int temp3 ;
18772 PyObject * obj0 = 0 ;
18773 PyObject * obj1 = 0 ;
18774 char *kwnames[] = {
18775 (char *) "self",(char *) "point", NULL
18776 };
18777
18778 arg3 = &temp3;
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18781 {
18782 arg2 = &temp2;
18783 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18784 }
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 resultobj = PyInt_FromLong((long)result);
18793 {
18794 PyObject *o = PyInt_FromLong((long) (*arg3));
18795 resultobj = t_output_helper(resultobj,o);
18796 }
18797 return resultobj;
18798 fail:
18799 return NULL;
18800 }
18801
18802
18803 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18806 wxListItem *arg2 = 0 ;
18807 long result;
18808 PyObject * obj0 = 0 ;
18809 PyObject * obj1 = 0 ;
18810 char *kwnames[] = {
18811 (char *) "self",(char *) "info", NULL
18812 };
18813
18814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18817 if (arg2 == NULL) {
18818 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18819 }
18820 {
18821 PyThreadState* __tstate = wxPyBeginAllowThreads();
18822 result = (long)(arg1)->InsertItem(*arg2);
18823
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 resultobj = PyInt_FromLong((long)result);
18828 return resultobj;
18829 fail:
18830 return NULL;
18831 }
18832
18833
18834 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj;
18836 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18837 long arg2 ;
18838 wxString *arg3 = 0 ;
18839 long result;
18840 bool temp3 = false ;
18841 PyObject * obj0 = 0 ;
18842 PyObject * obj2 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "self",(char *) "index",(char *) "label", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18849 {
18850 arg3 = wxString_in_helper(obj2);
18851 if (arg3 == NULL) SWIG_fail;
18852 temp3 = true;
18853 }
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 resultobj = PyInt_FromLong((long)result);
18862 {
18863 if (temp3)
18864 delete arg3;
18865 }
18866 return resultobj;
18867 fail:
18868 {
18869 if (temp3)
18870 delete arg3;
18871 }
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18879 long arg2 ;
18880 int arg3 ;
18881 long result;
18882 PyObject * obj0 = 0 ;
18883 char *kwnames[] = {
18884 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18885 };
18886
18887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (long)(arg1)->InsertItem(arg2,arg3);
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 resultobj = PyInt_FromLong((long)result);
18897 return resultobj;
18898 fail:
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18906 long arg2 ;
18907 wxString *arg3 = 0 ;
18908 int arg4 ;
18909 long result;
18910 bool temp3 = false ;
18911 PyObject * obj0 = 0 ;
18912 PyObject * obj2 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18919 {
18920 arg3 = wxString_in_helper(obj2);
18921 if (arg3 == NULL) SWIG_fail;
18922 temp3 = true;
18923 }
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18927
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 resultobj = PyInt_FromLong((long)result);
18932 {
18933 if (temp3)
18934 delete arg3;
18935 }
18936 return resultobj;
18937 fail:
18938 {
18939 if (temp3)
18940 delete arg3;
18941 }
18942 return NULL;
18943 }
18944
18945
18946 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj;
18948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18949 long arg2 ;
18950 wxListItem *arg3 = 0 ;
18951 long result;
18952 PyObject * obj0 = 0 ;
18953 PyObject * obj2 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self",(char *) "col",(char *) "info", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
18959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18960 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18961 if (arg3 == NULL) {
18962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18963 }
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = (long)(arg1)->InsertColumn(arg2,*arg3);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 resultobj = PyInt_FromLong((long)result);
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18981 long arg2 ;
18982 wxString *arg3 = 0 ;
18983 int arg4 = (int) wxLIST_FORMAT_LEFT ;
18984 int arg5 = (int) -1 ;
18985 long result;
18986 bool temp3 = false ;
18987 PyObject * obj0 = 0 ;
18988 PyObject * obj2 = 0 ;
18989 char *kwnames[] = {
18990 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
18994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18995 {
18996 arg3 = wxString_in_helper(obj2);
18997 if (arg3 == NULL) SWIG_fail;
18998 temp3 = true;
18999 }
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 resultobj = PyInt_FromLong((long)result);
19008 {
19009 if (temp3)
19010 delete arg3;
19011 }
19012 return resultobj;
19013 fail:
19014 {
19015 if (temp3)
19016 delete arg3;
19017 }
19018 return NULL;
19019 }
19020
19021
19022 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19025 long arg2 ;
19026 PyObject * obj0 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "count", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19033 {
19034 PyThreadState* __tstate = wxPyBeginAllowThreads();
19035 (arg1)->SetItemCount(arg2);
19036
19037 wxPyEndAllowThreads(__tstate);
19038 if (PyErr_Occurred()) SWIG_fail;
19039 }
19040 Py_INCREF(Py_None); resultobj = Py_None;
19041 return resultobj;
19042 fail:
19043 return NULL;
19044 }
19045
19046
19047 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19048 PyObject *resultobj;
19049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19050 int arg2 ;
19051 int arg3 ;
19052 bool result;
19053 PyObject * obj0 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self",(char *) "dx",(char *) "dy", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 result = (bool)(arg1)->ScrollList(arg2,arg3);
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 resultobj = PyInt_FromLong((long)result);
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19077 long arg2 ;
19078 wxColour *arg3 = 0 ;
19079 wxColour temp3 ;
19080 PyObject * obj0 = 0 ;
19081 PyObject * obj2 = 0 ;
19082 char *kwnames[] = {
19083 (char *) "self",(char *) "item",(char *) "col", NULL
19084 };
19085
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19088 {
19089 arg3 = &temp3;
19090 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19091 }
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 Py_INCREF(Py_None); resultobj = Py_None;
19100 return resultobj;
19101 fail:
19102 return NULL;
19103 }
19104
19105
19106 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19109 long arg2 ;
19110 wxColour result;
19111 PyObject * obj0 = 0 ;
19112 char *kwnames[] = {
19113 (char *) "self",(char *) "item", NULL
19114 };
19115
19116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19118 {
19119 PyThreadState* __tstate = wxPyBeginAllowThreads();
19120 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19121
19122 wxPyEndAllowThreads(__tstate);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
19125 {
19126 wxColour * resultptr;
19127 resultptr = new wxColour((wxColour &) result);
19128 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19129 }
19130 return resultobj;
19131 fail:
19132 return NULL;
19133 }
19134
19135
19136 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19137 PyObject *resultobj;
19138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19139 long arg2 ;
19140 wxColour *arg3 = 0 ;
19141 wxColour temp3 ;
19142 PyObject * obj0 = 0 ;
19143 PyObject * obj2 = 0 ;
19144 char *kwnames[] = {
19145 (char *) "self",(char *) "item",(char *) "col", NULL
19146 };
19147
19148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19150 {
19151 arg3 = &temp3;
19152 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19153 }
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 Py_INCREF(Py_None); resultobj = Py_None;
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19171 long arg2 ;
19172 wxColour result;
19173 PyObject * obj0 = 0 ;
19174 char *kwnames[] = {
19175 (char *) "self",(char *) "item", NULL
19176 };
19177
19178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19180 {
19181 PyThreadState* __tstate = wxPyBeginAllowThreads();
19182 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19183
19184 wxPyEndAllowThreads(__tstate);
19185 if (PyErr_Occurred()) SWIG_fail;
19186 }
19187 {
19188 wxColour * resultptr;
19189 resultptr = new wxColour((wxColour &) result);
19190 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19191 }
19192 return resultobj;
19193 fail:
19194 return NULL;
19195 }
19196
19197
19198 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19199 PyObject *resultobj;
19200 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19201 PyObject *arg2 = (PyObject *) 0 ;
19202 bool result;
19203 PyObject * obj0 = 0 ;
19204 PyObject * obj1 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "func", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 arg2 = obj1;
19212 {
19213 PyThreadState* __tstate = wxPyBeginAllowThreads();
19214 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19215
19216 wxPyEndAllowThreads(__tstate);
19217 if (PyErr_Occurred()) SWIG_fail;
19218 }
19219 resultobj = PyInt_FromLong((long)result);
19220 return resultobj;
19221 fail:
19222 return NULL;
19223 }
19224
19225
19226 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19227 PyObject *resultobj;
19228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19229 wxWindow *result;
19230 PyObject * obj0 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "self", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19237 {
19238 PyThreadState* __tstate = wxPyBeginAllowThreads();
19239 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19240
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 {
19245 resultobj = wxPyMake_wxObject(result);
19246 }
19247 return resultobj;
19248 fail:
19249 return NULL;
19250 }
19251
19252
19253 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19254 PyObject *obj;
19255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19256 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19257 Py_INCREF(obj);
19258 return Py_BuildValue((char *)"");
19259 }
19260 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19261 PyObject *resultobj;
19262 wxWindow *arg1 = (wxWindow *) 0 ;
19263 wxWindowID arg2 = (wxWindowID) -1 ;
19264 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19265 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19266 wxSize const &arg4_defvalue = wxDefaultSize ;
19267 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19268 long arg5 = (long) wxLC_REPORT ;
19269 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19270 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19271 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19272 wxString *arg7 = (wxString *) &arg7_defvalue ;
19273 wxListView *result;
19274 wxPoint temp3 ;
19275 wxSize temp4 ;
19276 bool temp7 = false ;
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj2 = 0 ;
19279 PyObject * obj3 = 0 ;
19280 PyObject * obj5 = 0 ;
19281 PyObject * obj6 = 0 ;
19282 char *kwnames[] = {
19283 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19284 };
19285
19286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19288 if (obj2) {
19289 {
19290 arg3 = &temp3;
19291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19292 }
19293 }
19294 if (obj3) {
19295 {
19296 arg4 = &temp4;
19297 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19298 }
19299 }
19300 if (obj5) {
19301 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19302 if (arg6 == NULL) {
19303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19304 }
19305 }
19306 if (obj6) {
19307 {
19308 arg7 = wxString_in_helper(obj6);
19309 if (arg7 == NULL) SWIG_fail;
19310 temp7 = true;
19311 }
19312 }
19313 {
19314 PyThreadState* __tstate = wxPyBeginAllowThreads();
19315 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19316
19317 wxPyEndAllowThreads(__tstate);
19318 if (PyErr_Occurred()) SWIG_fail;
19319 }
19320 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19321 {
19322 if (temp7)
19323 delete arg7;
19324 }
19325 return resultobj;
19326 fail:
19327 {
19328 if (temp7)
19329 delete arg7;
19330 }
19331 return NULL;
19332 }
19333
19334
19335 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj;
19337 wxListView *result;
19338 char *kwnames[] = {
19339 NULL
19340 };
19341
19342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19343 {
19344 PyThreadState* __tstate = wxPyBeginAllowThreads();
19345 result = (wxListView *)new wxListView();
19346
19347 wxPyEndAllowThreads(__tstate);
19348 if (PyErr_Occurred()) SWIG_fail;
19349 }
19350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19351 return resultobj;
19352 fail:
19353 return NULL;
19354 }
19355
19356
19357 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19358 PyObject *resultobj;
19359 wxListView *arg1 = (wxListView *) 0 ;
19360 wxWindow *arg2 = (wxWindow *) 0 ;
19361 wxWindowID arg3 = (wxWindowID) -1 ;
19362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19364 wxSize const &arg5_defvalue = wxDefaultSize ;
19365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19366 long arg6 = (long) wxLC_REPORT ;
19367 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19368 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19369 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19370 wxString *arg8 = (wxString *) &arg8_defvalue ;
19371 bool result;
19372 wxPoint temp4 ;
19373 wxSize temp5 ;
19374 bool temp8 = false ;
19375 PyObject * obj0 = 0 ;
19376 PyObject * obj1 = 0 ;
19377 PyObject * obj3 = 0 ;
19378 PyObject * obj4 = 0 ;
19379 PyObject * obj6 = 0 ;
19380 PyObject * obj7 = 0 ;
19381 char *kwnames[] = {
19382 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19383 };
19384
19385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19388 if (obj3) {
19389 {
19390 arg4 = &temp4;
19391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19392 }
19393 }
19394 if (obj4) {
19395 {
19396 arg5 = &temp5;
19397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19398 }
19399 }
19400 if (obj6) {
19401 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19402 if (arg7 == NULL) {
19403 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19404 }
19405 }
19406 if (obj7) {
19407 {
19408 arg8 = wxString_in_helper(obj7);
19409 if (arg8 == NULL) SWIG_fail;
19410 temp8 = true;
19411 }
19412 }
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 resultobj = PyInt_FromLong((long)result);
19421 {
19422 if (temp8)
19423 delete arg8;
19424 }
19425 return resultobj;
19426 fail:
19427 {
19428 if (temp8)
19429 delete arg8;
19430 }
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxListView *arg1 = (wxListView *) 0 ;
19438 long arg2 ;
19439 bool arg3 = (bool) TRUE ;
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj2 = 0 ;
19442 char *kwnames[] = {
19443 (char *) "self",(char *) "n",(char *) "on", NULL
19444 };
19445
19446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19448 if (obj2) {
19449 arg3 = PyInt_AsLong(obj2) ? true : false;
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 (arg1)->Select(arg2,arg3);
19455
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 Py_INCREF(Py_None); resultobj = Py_None;
19460 return resultobj;
19461 fail:
19462 return NULL;
19463 }
19464
19465
19466 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19467 PyObject *resultobj;
19468 wxListView *arg1 = (wxListView *) 0 ;
19469 long arg2 ;
19470 PyObject * obj0 = 0 ;
19471 char *kwnames[] = {
19472 (char *) "self",(char *) "index", NULL
19473 };
19474
19475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19477 {
19478 PyThreadState* __tstate = wxPyBeginAllowThreads();
19479 (arg1)->Focus(arg2);
19480
19481 wxPyEndAllowThreads(__tstate);
19482 if (PyErr_Occurred()) SWIG_fail;
19483 }
19484 Py_INCREF(Py_None); resultobj = Py_None;
19485 return resultobj;
19486 fail:
19487 return NULL;
19488 }
19489
19490
19491 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19492 PyObject *resultobj;
19493 wxListView *arg1 = (wxListView *) 0 ;
19494 long result;
19495 PyObject * obj0 = 0 ;
19496 char *kwnames[] = {
19497 (char *) "self", NULL
19498 };
19499
19500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 {
19503 PyThreadState* __tstate = wxPyBeginAllowThreads();
19504 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19505
19506 wxPyEndAllowThreads(__tstate);
19507 if (PyErr_Occurred()) SWIG_fail;
19508 }
19509 resultobj = PyInt_FromLong((long)result);
19510 return resultobj;
19511 fail:
19512 return NULL;
19513 }
19514
19515
19516 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19517 PyObject *resultobj;
19518 wxListView *arg1 = (wxListView *) 0 ;
19519 long arg2 ;
19520 long result;
19521 PyObject * obj0 = 0 ;
19522 char *kwnames[] = {
19523 (char *) "self",(char *) "item", NULL
19524 };
19525
19526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19531
19532 wxPyEndAllowThreads(__tstate);
19533 if (PyErr_Occurred()) SWIG_fail;
19534 }
19535 resultobj = PyInt_FromLong((long)result);
19536 return resultobj;
19537 fail:
19538 return NULL;
19539 }
19540
19541
19542 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19543 PyObject *resultobj;
19544 wxListView *arg1 = (wxListView *) 0 ;
19545 long result;
19546 PyObject * obj0 = 0 ;
19547 char *kwnames[] = {
19548 (char *) "self", NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 resultobj = PyInt_FromLong((long)result);
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj;
19569 wxListView *arg1 = (wxListView *) 0 ;
19570 long arg2 ;
19571 bool result;
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "index", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19579 {
19580 PyThreadState* __tstate = wxPyBeginAllowThreads();
19581 result = (bool)(arg1)->IsSelected(arg2);
19582
19583 wxPyEndAllowThreads(__tstate);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 resultobj = PyInt_FromLong((long)result);
19587 return resultobj;
19588 fail:
19589 return NULL;
19590 }
19591
19592
19593 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxListView *arg1 = (wxListView *) 0 ;
19596 int arg2 ;
19597 int arg3 ;
19598 PyObject * obj0 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "col",(char *) "image", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 (arg1)->SetColumnImage(arg2,arg3);
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 Py_INCREF(Py_None); resultobj = Py_None;
19613 return resultobj;
19614 fail:
19615 return NULL;
19616 }
19617
19618
19619 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19620 PyObject *resultobj;
19621 wxListView *arg1 = (wxListView *) 0 ;
19622 int arg2 ;
19623 PyObject * obj0 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "col", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19630 {
19631 PyThreadState* __tstate = wxPyBeginAllowThreads();
19632 (arg1)->ClearColumnImage(arg2);
19633
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 Py_INCREF(Py_None); resultobj = Py_None;
19638 return resultobj;
19639 fail:
19640 return NULL;
19641 }
19642
19643
19644 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19645 PyObject *obj;
19646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19647 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19648 Py_INCREF(obj);
19649 return Py_BuildValue((char *)"");
19650 }
19651 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19652 PyObject *resultobj;
19653 wxTreeItemId *result;
19654 char *kwnames[] = {
19655 NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19659 {
19660 PyThreadState* __tstate = wxPyBeginAllowThreads();
19661 result = (wxTreeItemId *)new wxTreeItemId();
19662
19663 wxPyEndAllowThreads(__tstate);
19664 if (PyErr_Occurred()) SWIG_fail;
19665 }
19666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19667 return resultobj;
19668 fail:
19669 return NULL;
19670 }
19671
19672
19673 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19674 PyObject *resultobj;
19675 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19676 PyObject * obj0 = 0 ;
19677 char *kwnames[] = {
19678 (char *) "self", NULL
19679 };
19680
19681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19683 {
19684 PyThreadState* __tstate = wxPyBeginAllowThreads();
19685 delete arg1;
19686
19687 wxPyEndAllowThreads(__tstate);
19688 if (PyErr_Occurred()) SWIG_fail;
19689 }
19690 Py_INCREF(Py_None); resultobj = Py_None;
19691 return resultobj;
19692 fail:
19693 return NULL;
19694 }
19695
19696
19697 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19698 PyObject *resultobj;
19699 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19700 bool result;
19701 PyObject * obj0 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 resultobj = PyInt_FromLong((long)result);
19716 return resultobj;
19717 fail:
19718 return NULL;
19719 }
19720
19721
19722 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19723 PyObject *resultobj;
19724 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19725 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19726 bool result;
19727 PyObject * obj0 = 0 ;
19728 PyObject * obj1 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self",(char *) "other", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19735 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
19743 resultobj = PyInt_FromLong((long)result);
19744 return resultobj;
19745 fail:
19746 return NULL;
19747 }
19748
19749
19750 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19753 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19754 bool result;
19755 PyObject * obj0 = 0 ;
19756 PyObject * obj1 = 0 ;
19757 char *kwnames[] = {
19758 (char *) "self",(char *) "other", NULL
19759 };
19760
19761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19764 {
19765 PyThreadState* __tstate = wxPyBeginAllowThreads();
19766 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19767
19768 wxPyEndAllowThreads(__tstate);
19769 if (PyErr_Occurred()) SWIG_fail;
19770 }
19771 resultobj = PyInt_FromLong((long)result);
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19781 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19782 PyObject * obj0 = 0 ;
19783 PyObject * obj1 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self",(char *) "m_pItem", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19791 if (arg1) (arg1)->m_pItem = arg2;
19792
19793 Py_INCREF(Py_None); resultobj = Py_None;
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj;
19802 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19803 wxTreeItemIdValue result;
19804 PyObject * obj0 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self", NULL
19807 };
19808
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19811 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19812
19813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19814 return resultobj;
19815 fail:
19816 return NULL;
19817 }
19818
19819
19820 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19821 PyObject *obj;
19822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19823 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19824 Py_INCREF(obj);
19825 return Py_BuildValue((char *)"");
19826 }
19827 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19828 PyObject *resultobj;
19829 PyObject *arg1 = (PyObject *) NULL ;
19830 wxPyTreeItemData *result;
19831 PyObject * obj0 = 0 ;
19832 char *kwnames[] = {
19833 (char *) "obj", NULL
19834 };
19835
19836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19837 if (obj0) {
19838 arg1 = obj0;
19839 }
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19848 return resultobj;
19849 fail:
19850 return NULL;
19851 }
19852
19853
19854 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj;
19856 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19857 PyObject *result;
19858 PyObject * obj0 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 result = (PyObject *)(arg1)->GetData();
19868
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 resultobj = result;
19873 return resultobj;
19874 fail:
19875 return NULL;
19876 }
19877
19878
19879 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19880 PyObject *resultobj;
19881 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19882 PyObject *arg2 = (PyObject *) 0 ;
19883 PyObject * obj0 = 0 ;
19884 PyObject * obj1 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self",(char *) "obj", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19891 arg2 = obj1;
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 (arg1)->SetData(arg2);
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 Py_INCREF(Py_None); resultobj = Py_None;
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj;
19908 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19909 wxTreeItemId *result;
19910 PyObject * obj0 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 {
19920 wxTreeItemId const &_result_ref = (arg1)->GetId();
19921 result = (wxTreeItemId *) &_result_ref;
19922 }
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19928 return resultobj;
19929 fail:
19930 return NULL;
19931 }
19932
19933
19934 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19935 PyObject *resultobj;
19936 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19937 wxTreeItemId *arg2 = 0 ;
19938 PyObject * obj0 = 0 ;
19939 PyObject * obj1 = 0 ;
19940 char *kwnames[] = {
19941 (char *) "self",(char *) "id", NULL
19942 };
19943
19944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19947 if (arg2 == NULL) {
19948 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19949 }
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->SetId((wxTreeItemId const &)*arg2);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 Py_INCREF(Py_None); resultobj = Py_None;
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19967 PyObject * obj0 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
19973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 wxPyTreeItemData_Destroy(arg1);
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 Py_INCREF(Py_None); resultobj = Py_None;
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
19989 PyObject *obj;
19990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19991 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
19992 Py_INCREF(obj);
19993 return Py_BuildValue((char *)"");
19994 }
19995 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19996 PyObject *resultobj;
19997 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19998 int arg2 = (int) 0 ;
19999 wxTreeEvent *result;
20000 char *kwnames[] = {
20001 (char *) "commandType",(char *) "id", NULL
20002 };
20003
20004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20008
20009 wxPyEndAllowThreads(__tstate);
20010 if (PyErr_Occurred()) SWIG_fail;
20011 }
20012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20013 return resultobj;
20014 fail:
20015 return NULL;
20016 }
20017
20018
20019 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20020 PyObject *resultobj;
20021 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20022 wxTreeItemId result;
20023 PyObject * obj0 = 0 ;
20024 char *kwnames[] = {
20025 (char *) "self", NULL
20026 };
20027
20028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 result = ((wxTreeEvent const *)arg1)->GetItem();
20033
20034 wxPyEndAllowThreads(__tstate);
20035 if (PyErr_Occurred()) SWIG_fail;
20036 }
20037 {
20038 wxTreeItemId * resultptr;
20039 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20040 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20041 }
20042 return resultobj;
20043 fail:
20044 return NULL;
20045 }
20046
20047
20048 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20049 PyObject *resultobj;
20050 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20051 wxTreeItemId *arg2 = 0 ;
20052 PyObject * obj0 = 0 ;
20053 PyObject * obj1 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "item", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20061 if (arg2 == NULL) {
20062 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20063 }
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 Py_INCREF(Py_None); resultobj = Py_None;
20072 return resultobj;
20073 fail:
20074 return NULL;
20075 }
20076
20077
20078 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20081 wxTreeItemId result;
20082 PyObject * obj0 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20089 {
20090 PyThreadState* __tstate = wxPyBeginAllowThreads();
20091 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20092
20093 wxPyEndAllowThreads(__tstate);
20094 if (PyErr_Occurred()) SWIG_fail;
20095 }
20096 {
20097 wxTreeItemId * resultptr;
20098 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20100 }
20101 return resultobj;
20102 fail:
20103 return NULL;
20104 }
20105
20106
20107 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj;
20109 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20110 wxTreeItemId *arg2 = 0 ;
20111 PyObject * obj0 = 0 ;
20112 PyObject * obj1 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self",(char *) "item", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20120 if (arg2 == NULL) {
20121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20122 }
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 Py_INCREF(Py_None); resultobj = Py_None;
20131 return resultobj;
20132 fail:
20133 return NULL;
20134 }
20135
20136
20137 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20140 wxPoint result;
20141 PyObject * obj0 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self", NULL
20144 };
20145
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 result = ((wxTreeEvent const *)arg1)->GetPoint();
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 {
20156 wxPoint * resultptr;
20157 resultptr = new wxPoint((wxPoint &) result);
20158 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20159 }
20160 return resultobj;
20161 fail:
20162 return NULL;
20163 }
20164
20165
20166 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj;
20168 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20169 wxPoint *arg2 = 0 ;
20170 wxPoint temp2 ;
20171 PyObject * obj0 = 0 ;
20172 PyObject * obj1 = 0 ;
20173 char *kwnames[] = {
20174 (char *) "self",(char *) "pt", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20179 {
20180 arg2 = &temp2;
20181 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20182 }
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 (arg1)->SetPoint((wxPoint const &)*arg2);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 Py_INCREF(Py_None); resultobj = Py_None;
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20198 PyObject *resultobj;
20199 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20200 wxKeyEvent *result;
20201 PyObject * obj0 = 0 ;
20202 char *kwnames[] = {
20203 (char *) "self", NULL
20204 };
20205
20206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 {
20211 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20212 result = (wxKeyEvent *) &_result_ref;
20213 }
20214
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20219 return resultobj;
20220 fail:
20221 return NULL;
20222 }
20223
20224
20225 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj;
20227 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20228 int result;
20229 PyObject * obj0 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 resultobj = PyInt_FromLong((long)result);
20244 return resultobj;
20245 fail:
20246 return NULL;
20247 }
20248
20249
20250 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj;
20252 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20253 wxKeyEvent *arg2 = 0 ;
20254 PyObject * obj0 = 0 ;
20255 PyObject * obj1 = 0 ;
20256 char *kwnames[] = {
20257 (char *) "self",(char *) "evt", NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20263 if (arg2 == NULL) {
20264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20265 }
20266 {
20267 PyThreadState* __tstate = wxPyBeginAllowThreads();
20268 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20269
20270 wxPyEndAllowThreads(__tstate);
20271 if (PyErr_Occurred()) SWIG_fail;
20272 }
20273 Py_INCREF(Py_None); resultobj = Py_None;
20274 return resultobj;
20275 fail:
20276 return NULL;
20277 }
20278
20279
20280 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20281 PyObject *resultobj;
20282 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20283 wxString *result;
20284 PyObject * obj0 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "self", NULL
20287 };
20288
20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20291 {
20292 PyThreadState* __tstate = wxPyBeginAllowThreads();
20293 {
20294 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20295 result = (wxString *) &_result_ref;
20296 }
20297
20298 wxPyEndAllowThreads(__tstate);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 }
20301 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
20302 return resultobj;
20303 fail:
20304 return NULL;
20305 }
20306
20307
20308 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj;
20310 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20311 wxString *arg2 = 0 ;
20312 bool temp2 = false ;
20313 PyObject * obj0 = 0 ;
20314 PyObject * obj1 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self",(char *) "label", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20321 {
20322 arg2 = wxString_in_helper(obj1);
20323 if (arg2 == NULL) SWIG_fail;
20324 temp2 = true;
20325 }
20326 {
20327 PyThreadState* __tstate = wxPyBeginAllowThreads();
20328 (arg1)->SetLabel((wxString const &)*arg2);
20329
20330 wxPyEndAllowThreads(__tstate);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 }
20333 Py_INCREF(Py_None); resultobj = Py_None;
20334 {
20335 if (temp2)
20336 delete arg2;
20337 }
20338 return resultobj;
20339 fail:
20340 {
20341 if (temp2)
20342 delete arg2;
20343 }
20344 return NULL;
20345 }
20346
20347
20348 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20349 PyObject *resultobj;
20350 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20351 bool result;
20352 PyObject * obj0 = 0 ;
20353 char *kwnames[] = {
20354 (char *) "self", NULL
20355 };
20356
20357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20359 {
20360 PyThreadState* __tstate = wxPyBeginAllowThreads();
20361 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20362
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
20366 resultobj = PyInt_FromLong((long)result);
20367 return resultobj;
20368 fail:
20369 return NULL;
20370 }
20371
20372
20373 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20374 PyObject *resultobj;
20375 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20376 bool arg2 ;
20377 PyObject * obj0 = 0 ;
20378 PyObject * obj1 = 0 ;
20379 char *kwnames[] = {
20380 (char *) "self",(char *) "editCancelled", NULL
20381 };
20382
20383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20385 arg2 = PyInt_AsLong(obj1) ? true : false;
20386 if (PyErr_Occurred()) SWIG_fail;
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 (arg1)->SetEditCanceled(arg2);
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 Py_INCREF(Py_None); resultobj = Py_None;
20395 return resultobj;
20396 fail:
20397 return NULL;
20398 }
20399
20400
20401 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20402 PyObject *obj;
20403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20404 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20405 Py_INCREF(obj);
20406 return Py_BuildValue((char *)"");
20407 }
20408 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxWindow *arg1 = (wxWindow *) 0 ;
20411 wxWindowID arg2 = (wxWindowID) -1 ;
20412 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20413 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20414 wxSize const &arg4_defvalue = wxDefaultSize ;
20415 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20416 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20417 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20418 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20419 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20420 wxString *arg7 = (wxString *) &arg7_defvalue ;
20421 wxPyTreeCtrl *result;
20422 wxPoint temp3 ;
20423 wxSize temp4 ;
20424 bool temp7 = false ;
20425 PyObject * obj0 = 0 ;
20426 PyObject * obj2 = 0 ;
20427 PyObject * obj3 = 0 ;
20428 PyObject * obj5 = 0 ;
20429 PyObject * obj6 = 0 ;
20430 char *kwnames[] = {
20431 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20432 };
20433
20434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20436 if (obj2) {
20437 {
20438 arg3 = &temp3;
20439 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20440 }
20441 }
20442 if (obj3) {
20443 {
20444 arg4 = &temp4;
20445 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20446 }
20447 }
20448 if (obj5) {
20449 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20450 if (arg6 == NULL) {
20451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20452 }
20453 }
20454 if (obj6) {
20455 {
20456 arg7 = wxString_in_helper(obj6);
20457 if (arg7 == NULL) SWIG_fail;
20458 temp7 = true;
20459 }
20460 }
20461 {
20462 PyThreadState* __tstate = wxPyBeginAllowThreads();
20463 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20464
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20469 {
20470 if (temp7)
20471 delete arg7;
20472 }
20473 return resultobj;
20474 fail:
20475 {
20476 if (temp7)
20477 delete arg7;
20478 }
20479 return NULL;
20480 }
20481
20482
20483 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20484 PyObject *resultobj;
20485 wxPyTreeCtrl *result;
20486 char *kwnames[] = {
20487 NULL
20488 };
20489
20490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20494
20495 wxPyEndAllowThreads(__tstate);
20496 if (PyErr_Occurred()) SWIG_fail;
20497 }
20498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20499 return resultobj;
20500 fail:
20501 return NULL;
20502 }
20503
20504
20505 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20506 PyObject *resultobj;
20507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20508 wxWindow *arg2 = (wxWindow *) 0 ;
20509 wxWindowID arg3 = (wxWindowID) -1 ;
20510 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20511 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20512 wxSize const &arg5_defvalue = wxDefaultSize ;
20513 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20514 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20515 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20516 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20517 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20518 wxString *arg8 = (wxString *) &arg8_defvalue ;
20519 bool result;
20520 wxPoint temp4 ;
20521 wxSize temp5 ;
20522 bool temp8 = false ;
20523 PyObject * obj0 = 0 ;
20524 PyObject * obj1 = 0 ;
20525 PyObject * obj3 = 0 ;
20526 PyObject * obj4 = 0 ;
20527 PyObject * obj6 = 0 ;
20528 PyObject * obj7 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20536 if (obj3) {
20537 {
20538 arg4 = &temp4;
20539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20540 }
20541 }
20542 if (obj4) {
20543 {
20544 arg5 = &temp5;
20545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20546 }
20547 }
20548 if (obj6) {
20549 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20550 if (arg7 == NULL) {
20551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20552 }
20553 }
20554 if (obj7) {
20555 {
20556 arg8 = wxString_in_helper(obj7);
20557 if (arg8 == NULL) SWIG_fail;
20558 temp8 = true;
20559 }
20560 }
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 resultobj = PyInt_FromLong((long)result);
20569 {
20570 if (temp8)
20571 delete arg8;
20572 }
20573 return resultobj;
20574 fail:
20575 {
20576 if (temp8)
20577 delete arg8;
20578 }
20579 return NULL;
20580 }
20581
20582
20583 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj;
20585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20586 PyObject *arg2 = (PyObject *) 0 ;
20587 PyObject *arg3 = (PyObject *) 0 ;
20588 PyObject * obj0 = 0 ;
20589 PyObject * obj1 = 0 ;
20590 PyObject * obj2 = 0 ;
20591 char *kwnames[] = {
20592 (char *) "self",(char *) "self",(char *) "_class", NULL
20593 };
20594
20595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20597 arg2 = obj1;
20598 arg3 = obj2;
20599 {
20600 PyThreadState* __tstate = wxPyBeginAllowThreads();
20601 (arg1)->_setCallbackInfo(arg2,arg3);
20602
20603 wxPyEndAllowThreads(__tstate);
20604 if (PyErr_Occurred()) SWIG_fail;
20605 }
20606 Py_INCREF(Py_None); resultobj = Py_None;
20607 return resultobj;
20608 fail:
20609 return NULL;
20610 }
20611
20612
20613 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20614 PyObject *resultobj;
20615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20616 size_t result;
20617 PyObject * obj0 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 resultobj = PyInt_FromLong((long)result);
20632 return resultobj;
20633 fail:
20634 return NULL;
20635 }
20636
20637
20638 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20641 unsigned int result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 resultobj = PyInt_FromLong((long)result);
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20666 unsigned int arg2 ;
20667 PyObject * obj0 = 0 ;
20668 PyObject * obj1 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "self",(char *) "indent", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20675 arg2 = (unsigned int) PyInt_AsLong(obj1);
20676 if (PyErr_Occurred()) SWIG_fail;
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 (arg1)->SetIndent(arg2);
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 Py_INCREF(Py_None); resultobj = Py_None;
20685 return resultobj;
20686 fail:
20687 return NULL;
20688 }
20689
20690
20691 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20692 PyObject *resultobj;
20693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20694 unsigned int result;
20695 PyObject * obj0 = 0 ;
20696 char *kwnames[] = {
20697 (char *) "self", NULL
20698 };
20699
20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20702 {
20703 PyThreadState* __tstate = wxPyBeginAllowThreads();
20704 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20705
20706 wxPyEndAllowThreads(__tstate);
20707 if (PyErr_Occurred()) SWIG_fail;
20708 }
20709 resultobj = PyInt_FromLong((long)result);
20710 return resultobj;
20711 fail:
20712 return NULL;
20713 }
20714
20715
20716 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj;
20718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20719 unsigned int arg2 ;
20720 PyObject * obj0 = 0 ;
20721 PyObject * obj1 = 0 ;
20722 char *kwnames[] = {
20723 (char *) "self",(char *) "spacing", NULL
20724 };
20725
20726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20728 arg2 = (unsigned int) PyInt_AsLong(obj1);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 {
20731 PyThreadState* __tstate = wxPyBeginAllowThreads();
20732 (arg1)->SetSpacing(arg2);
20733
20734 wxPyEndAllowThreads(__tstate);
20735 if (PyErr_Occurred()) SWIG_fail;
20736 }
20737 Py_INCREF(Py_None); resultobj = Py_None;
20738 return resultobj;
20739 fail:
20740 return NULL;
20741 }
20742
20743
20744 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20745 PyObject *resultobj;
20746 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20747 wxImageList *result;
20748 PyObject * obj0 = 0 ;
20749 char *kwnames[] = {
20750 (char *) "self", NULL
20751 };
20752
20753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20755 {
20756 PyThreadState* __tstate = wxPyBeginAllowThreads();
20757 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20758
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 {
20763 resultobj = wxPyMake_wxObject(result);
20764 }
20765 return resultobj;
20766 fail:
20767 return NULL;
20768 }
20769
20770
20771 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20772 PyObject *resultobj;
20773 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20774 wxImageList *result;
20775 PyObject * obj0 = 0 ;
20776 char *kwnames[] = {
20777 (char *) "self", NULL
20778 };
20779
20780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20782 {
20783 PyThreadState* __tstate = wxPyBeginAllowThreads();
20784 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20785
20786 wxPyEndAllowThreads(__tstate);
20787 if (PyErr_Occurred()) SWIG_fail;
20788 }
20789 {
20790 resultobj = wxPyMake_wxObject(result);
20791 }
20792 return resultobj;
20793 fail:
20794 return NULL;
20795 }
20796
20797
20798 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20799 PyObject *resultobj;
20800 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20801 wxImageList *arg2 = (wxImageList *) 0 ;
20802 PyObject * obj0 = 0 ;
20803 PyObject * obj1 = 0 ;
20804 char *kwnames[] = {
20805 (char *) "self",(char *) "imageList", NULL
20806 };
20807
20808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20810 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20811 {
20812 PyThreadState* __tstate = wxPyBeginAllowThreads();
20813 (arg1)->SetImageList(arg2);
20814
20815 wxPyEndAllowThreads(__tstate);
20816 if (PyErr_Occurred()) SWIG_fail;
20817 }
20818 Py_INCREF(Py_None); resultobj = Py_None;
20819 return resultobj;
20820 fail:
20821 return NULL;
20822 }
20823
20824
20825 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20826 PyObject *resultobj;
20827 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20828 wxImageList *arg2 = (wxImageList *) 0 ;
20829 PyObject * obj0 = 0 ;
20830 PyObject * obj1 = 0 ;
20831 char *kwnames[] = {
20832 (char *) "self",(char *) "imageList", NULL
20833 };
20834
20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20838 {
20839 PyThreadState* __tstate = wxPyBeginAllowThreads();
20840 (arg1)->SetStateImageList(arg2);
20841
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 Py_INCREF(Py_None); resultobj = Py_None;
20846 return resultobj;
20847 fail:
20848 return NULL;
20849 }
20850
20851
20852 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20853 PyObject *resultobj;
20854 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20855 wxImageList *arg2 = (wxImageList *) 0 ;
20856 PyObject * obj0 = 0 ;
20857 PyObject * obj1 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self",(char *) "imageList", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 (arg1)->AssignImageList(arg2);
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 Py_INCREF(Py_None); resultobj = Py_None;
20873 return resultobj;
20874 fail:
20875 return NULL;
20876 }
20877
20878
20879 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20880 PyObject *resultobj;
20881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20882 wxImageList *arg2 = (wxImageList *) 0 ;
20883 PyObject * obj0 = 0 ;
20884 PyObject * obj1 = 0 ;
20885 char *kwnames[] = {
20886 (char *) "self",(char *) "imageList", NULL
20887 };
20888
20889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 (arg1)->AssignStateImageList(arg2);
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 Py_INCREF(Py_None); resultobj = Py_None;
20900 return resultobj;
20901 fail:
20902 return NULL;
20903 }
20904
20905
20906 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20907 PyObject *resultobj;
20908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20909 wxTreeItemId *arg2 = 0 ;
20910 wxString result;
20911 PyObject * obj0 = 0 ;
20912 PyObject * obj1 = 0 ;
20913 char *kwnames[] = {
20914 (char *) "self",(char *) "item", NULL
20915 };
20916
20917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20920 if (arg2 == NULL) {
20921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20922 }
20923 {
20924 PyThreadState* __tstate = wxPyBeginAllowThreads();
20925 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
20926
20927 wxPyEndAllowThreads(__tstate);
20928 if (PyErr_Occurred()) SWIG_fail;
20929 }
20930 {
20931 #if wxUSE_UNICODE
20932 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20933 #else
20934 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20935 #endif
20936 }
20937 return resultobj;
20938 fail:
20939 return NULL;
20940 }
20941
20942
20943 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20944 PyObject *resultobj;
20945 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20946 wxTreeItemId *arg2 = 0 ;
20947 int arg3 = (int) wxTreeItemIcon_Normal ;
20948 int result;
20949 PyObject * obj0 = 0 ;
20950 PyObject * obj1 = 0 ;
20951 char *kwnames[] = {
20952 (char *) "self",(char *) "item",(char *) "which", NULL
20953 };
20954
20955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
20956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20958 if (arg2 == NULL) {
20959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20960 }
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 resultobj = PyInt_FromLong((long)result);
20969 return resultobj;
20970 fail:
20971 return NULL;
20972 }
20973
20974
20975 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20976 PyObject *resultobj;
20977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20978 wxTreeItemId *arg2 = 0 ;
20979 wxPyTreeItemData *result;
20980 PyObject * obj0 = 0 ;
20981 PyObject * obj1 = 0 ;
20982 char *kwnames[] = {
20983 (char *) "self",(char *) "item", NULL
20984 };
20985
20986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20989 if (arg2 == NULL) {
20990 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20991 }
20992 {
20993 PyThreadState* __tstate = wxPyBeginAllowThreads();
20994 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
20995
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21007 PyObject *resultobj;
21008 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21009 wxTreeItemId *arg2 = 0 ;
21010 PyObject *result;
21011 PyObject * obj0 = 0 ;
21012 PyObject * obj1 = 0 ;
21013 char *kwnames[] = {
21014 (char *) "self",(char *) "item", NULL
21015 };
21016
21017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21019 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21020 if (arg2 == NULL) {
21021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21022 }
21023 {
21024 PyThreadState* __tstate = wxPyBeginAllowThreads();
21025 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21026
21027 wxPyEndAllowThreads(__tstate);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 }
21030 resultobj = result;
21031 return resultobj;
21032 fail:
21033 return NULL;
21034 }
21035
21036
21037 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21038 PyObject *resultobj;
21039 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21040 wxTreeItemId *arg2 = 0 ;
21041 wxColour result;
21042 PyObject * obj0 = 0 ;
21043 PyObject * obj1 = 0 ;
21044 char *kwnames[] = {
21045 (char *) "self",(char *) "item", NULL
21046 };
21047
21048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) 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 {
21055 PyThreadState* __tstate = wxPyBeginAllowThreads();
21056 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21057
21058 wxPyEndAllowThreads(__tstate);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 }
21061 {
21062 wxColour * resultptr;
21063 resultptr = new wxColour((wxColour &) result);
21064 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21065 }
21066 return resultobj;
21067 fail:
21068 return NULL;
21069 }
21070
21071
21072 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21073 PyObject *resultobj;
21074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21075 wxTreeItemId *arg2 = 0 ;
21076 wxColour result;
21077 PyObject * obj0 = 0 ;
21078 PyObject * obj1 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self",(char *) "item", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21086 if (arg2 == NULL) {
21087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21088 }
21089 {
21090 PyThreadState* __tstate = wxPyBeginAllowThreads();
21091 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21092
21093 wxPyEndAllowThreads(__tstate);
21094 if (PyErr_Occurred()) SWIG_fail;
21095 }
21096 {
21097 wxColour * resultptr;
21098 resultptr = new wxColour((wxColour &) result);
21099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21100 }
21101 return resultobj;
21102 fail:
21103 return NULL;
21104 }
21105
21106
21107 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21110 wxTreeItemId *arg2 = 0 ;
21111 wxFont result;
21112 PyObject * obj0 = 0 ;
21113 PyObject * obj1 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self",(char *) "item", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21121 if (arg2 == NULL) {
21122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21123 }
21124 {
21125 PyThreadState* __tstate = wxPyBeginAllowThreads();
21126 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21127
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 {
21132 wxFont * resultptr;
21133 resultptr = new wxFont((wxFont &) result);
21134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21135 }
21136 return resultobj;
21137 fail:
21138 return NULL;
21139 }
21140
21141
21142 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj;
21144 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21145 wxTreeItemId *arg2 = 0 ;
21146 wxString *arg3 = 0 ;
21147 bool temp3 = false ;
21148 PyObject * obj0 = 0 ;
21149 PyObject * obj1 = 0 ;
21150 PyObject * obj2 = 0 ;
21151 char *kwnames[] = {
21152 (char *) "self",(char *) "item",(char *) "text", NULL
21153 };
21154
21155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21158 if (arg2 == NULL) {
21159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21160 }
21161 {
21162 arg3 = wxString_in_helper(obj2);
21163 if (arg3 == NULL) SWIG_fail;
21164 temp3 = true;
21165 }
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21169
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 Py_INCREF(Py_None); resultobj = Py_None;
21174 {
21175 if (temp3)
21176 delete arg3;
21177 }
21178 return resultobj;
21179 fail:
21180 {
21181 if (temp3)
21182 delete arg3;
21183 }
21184 return NULL;
21185 }
21186
21187
21188 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21191 wxTreeItemId *arg2 = 0 ;
21192 int arg3 ;
21193 int arg4 = (int) wxTreeItemIcon_Normal ;
21194 PyObject * obj0 = 0 ;
21195 PyObject * obj1 = 0 ;
21196 char *kwnames[] = {
21197 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21198 };
21199
21200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21203 if (arg2 == NULL) {
21204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21205 }
21206 {
21207 PyThreadState* __tstate = wxPyBeginAllowThreads();
21208 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21209
21210 wxPyEndAllowThreads(__tstate);
21211 if (PyErr_Occurred()) SWIG_fail;
21212 }
21213 Py_INCREF(Py_None); resultobj = Py_None;
21214 return resultobj;
21215 fail:
21216 return NULL;
21217 }
21218
21219
21220 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21221 PyObject *resultobj;
21222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21223 wxTreeItemId *arg2 = 0 ;
21224 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21225 PyObject * obj0 = 0 ;
21226 PyObject * obj1 = 0 ;
21227 PyObject * obj2 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self",(char *) "item",(char *) "data", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21235 if (arg2 == NULL) {
21236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21237 }
21238 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21239 {
21240 PyThreadState* __tstate = wxPyBeginAllowThreads();
21241 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21242
21243 wxPyEndAllowThreads(__tstate);
21244 if (PyErr_Occurred()) SWIG_fail;
21245 }
21246 Py_INCREF(Py_None); resultobj = Py_None;
21247 return resultobj;
21248 fail:
21249 return NULL;
21250 }
21251
21252
21253 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21254 PyObject *resultobj;
21255 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21256 wxTreeItemId *arg2 = 0 ;
21257 PyObject *arg3 = (PyObject *) 0 ;
21258 PyObject * obj0 = 0 ;
21259 PyObject * obj1 = 0 ;
21260 PyObject * obj2 = 0 ;
21261 char *kwnames[] = {
21262 (char *) "self",(char *) "item",(char *) "obj", NULL
21263 };
21264
21265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21268 if (arg2 == NULL) {
21269 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21270 }
21271 arg3 = obj2;
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21275
21276 wxPyEndAllowThreads(__tstate);
21277 if (PyErr_Occurred()) SWIG_fail;
21278 }
21279 Py_INCREF(Py_None); resultobj = Py_None;
21280 return resultobj;
21281 fail:
21282 return NULL;
21283 }
21284
21285
21286 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21289 wxTreeItemId *arg2 = 0 ;
21290 bool arg3 = (bool) TRUE ;
21291 PyObject * obj0 = 0 ;
21292 PyObject * obj1 = 0 ;
21293 PyObject * obj2 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self",(char *) "item",(char *) "has", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21301 if (arg2 == NULL) {
21302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21303 }
21304 if (obj2) {
21305 arg3 = PyInt_AsLong(obj2) ? true : false;
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
21308 {
21309 PyThreadState* __tstate = wxPyBeginAllowThreads();
21310 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21311
21312 wxPyEndAllowThreads(__tstate);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 }
21315 Py_INCREF(Py_None); resultobj = Py_None;
21316 return resultobj;
21317 fail:
21318 return NULL;
21319 }
21320
21321
21322 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj;
21324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21325 wxTreeItemId *arg2 = 0 ;
21326 bool arg3 = (bool) TRUE ;
21327 PyObject * obj0 = 0 ;
21328 PyObject * obj1 = 0 ;
21329 PyObject * obj2 = 0 ;
21330 char *kwnames[] = {
21331 (char *) "self",(char *) "item",(char *) "bold", NULL
21332 };
21333
21334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21337 if (arg2 == NULL) {
21338 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21339 }
21340 if (obj2) {
21341 arg3 = PyInt_AsLong(obj2) ? true : false;
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 Py_INCREF(Py_None); resultobj = Py_None;
21352 return resultobj;
21353 fail:
21354 return NULL;
21355 }
21356
21357
21358 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21359 PyObject *resultobj;
21360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21361 wxTreeItemId *arg2 = 0 ;
21362 wxColour *arg3 = 0 ;
21363 wxColour temp3 ;
21364 PyObject * obj0 = 0 ;
21365 PyObject * obj1 = 0 ;
21366 PyObject * obj2 = 0 ;
21367 char *kwnames[] = {
21368 (char *) "self",(char *) "item",(char *) "col", NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21374 if (arg2 == NULL) {
21375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21376 }
21377 {
21378 arg3 = &temp3;
21379 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21380 }
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 Py_INCREF(Py_None); resultobj = Py_None;
21389 return resultobj;
21390 fail:
21391 return NULL;
21392 }
21393
21394
21395 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21396 PyObject *resultobj;
21397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21398 wxTreeItemId *arg2 = 0 ;
21399 wxColour *arg3 = 0 ;
21400 wxColour temp3 ;
21401 PyObject * obj0 = 0 ;
21402 PyObject * obj1 = 0 ;
21403 PyObject * obj2 = 0 ;
21404 char *kwnames[] = {
21405 (char *) "self",(char *) "item",(char *) "col", NULL
21406 };
21407
21408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21411 if (arg2 == NULL) {
21412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21413 }
21414 {
21415 arg3 = &temp3;
21416 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21417 }
21418 {
21419 PyThreadState* __tstate = wxPyBeginAllowThreads();
21420 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21421
21422 wxPyEndAllowThreads(__tstate);
21423 if (PyErr_Occurred()) SWIG_fail;
21424 }
21425 Py_INCREF(Py_None); resultobj = Py_None;
21426 return resultobj;
21427 fail:
21428 return NULL;
21429 }
21430
21431
21432 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21433 PyObject *resultobj;
21434 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21435 wxTreeItemId *arg2 = 0 ;
21436 wxFont *arg3 = 0 ;
21437 PyObject * obj0 = 0 ;
21438 PyObject * obj1 = 0 ;
21439 PyObject * obj2 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "item",(char *) "font", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21447 if (arg2 == NULL) {
21448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21449 }
21450 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21451 if (arg3 == NULL) {
21452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21453 }
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 Py_INCREF(Py_None); resultobj = Py_None;
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21471 wxTreeItemId *arg2 = 0 ;
21472 bool result;
21473 PyObject * obj0 = 0 ;
21474 PyObject * obj1 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self",(char *) "item", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21482 if (arg2 == NULL) {
21483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21484 }
21485 {
21486 PyThreadState* __tstate = wxPyBeginAllowThreads();
21487 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21488
21489 wxPyEndAllowThreads(__tstate);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
21492 resultobj = PyInt_FromLong((long)result);
21493 return resultobj;
21494 fail:
21495 return NULL;
21496 }
21497
21498
21499 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21500 PyObject *resultobj;
21501 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21502 wxTreeItemId *arg2 = 0 ;
21503 bool result;
21504 PyObject * obj0 = 0 ;
21505 PyObject * obj1 = 0 ;
21506 char *kwnames[] = {
21507 (char *) "self",(char *) "item", NULL
21508 };
21509
21510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21513 if (arg2 == NULL) {
21514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21515 }
21516 {
21517 PyThreadState* __tstate = wxPyBeginAllowThreads();
21518 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21519
21520 wxPyEndAllowThreads(__tstate);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 resultobj = PyInt_FromLong((long)result);
21524 return resultobj;
21525 fail:
21526 return NULL;
21527 }
21528
21529
21530 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj;
21532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21533 wxTreeItemId *arg2 = 0 ;
21534 bool result;
21535 PyObject * obj0 = 0 ;
21536 PyObject * obj1 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "item", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21544 if (arg2 == NULL) {
21545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21546 }
21547 {
21548 PyThreadState* __tstate = wxPyBeginAllowThreads();
21549 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21550
21551 wxPyEndAllowThreads(__tstate);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 resultobj = PyInt_FromLong((long)result);
21555 return resultobj;
21556 fail:
21557 return NULL;
21558 }
21559
21560
21561 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21562 PyObject *resultobj;
21563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21564 wxTreeItemId *arg2 = 0 ;
21565 bool 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_IsSelected",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 = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 resultobj = PyInt_FromLong((long)result);
21586 return resultobj;
21587 fail:
21588 return NULL;
21589 }
21590
21591
21592 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21593 PyObject *resultobj;
21594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21595 wxTreeItemId *arg2 = 0 ;
21596 bool result;
21597 PyObject * obj0 = 0 ;
21598 PyObject * obj1 = 0 ;
21599 char *kwnames[] = {
21600 (char *) "self",(char *) "item", NULL
21601 };
21602
21603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21605 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21606 if (arg2 == NULL) {
21607 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21608 }
21609 {
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21612
21613 wxPyEndAllowThreads(__tstate);
21614 if (PyErr_Occurred()) SWIG_fail;
21615 }
21616 resultobj = PyInt_FromLong((long)result);
21617 return resultobj;
21618 fail:
21619 return NULL;
21620 }
21621
21622
21623 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj;
21625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21626 wxTreeItemId *arg2 = 0 ;
21627 bool arg3 = (bool) TRUE ;
21628 size_t result;
21629 PyObject * obj0 = 0 ;
21630 PyObject * obj1 = 0 ;
21631 PyObject * obj2 = 0 ;
21632 char *kwnames[] = {
21633 (char *) "self",(char *) "item",(char *) "recursively", NULL
21634 };
21635
21636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21639 if (arg2 == NULL) {
21640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21641 }
21642 if (obj2) {
21643 arg3 = PyInt_AsLong(obj2) ? true : false;
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 {
21647 PyThreadState* __tstate = wxPyBeginAllowThreads();
21648 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21649
21650 wxPyEndAllowThreads(__tstate);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 }
21653 resultobj = PyInt_FromLong((long)result);
21654 return resultobj;
21655 fail:
21656 return NULL;
21657 }
21658
21659
21660 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21661 PyObject *resultobj;
21662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21663 wxTreeItemId result;
21664 PyObject * obj0 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 {
21679 wxTreeItemId * resultptr;
21680 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21681 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21682 }
21683 return resultobj;
21684 fail:
21685 return NULL;
21686 }
21687
21688
21689 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21690 PyObject *resultobj;
21691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21692 wxTreeItemId result;
21693 PyObject * obj0 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21703
21704 wxPyEndAllowThreads(__tstate);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 }
21707 {
21708 wxTreeItemId * resultptr;
21709 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21710 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21711 }
21712 return resultobj;
21713 fail:
21714 return NULL;
21715 }
21716
21717
21718 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21719 PyObject *resultobj;
21720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21721 PyObject *result;
21722 PyObject * obj0 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self", NULL
21725 };
21726
21727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21729 {
21730 PyThreadState* __tstate = wxPyBeginAllowThreads();
21731 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21732
21733 wxPyEndAllowThreads(__tstate);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 resultobj = result;
21737 return resultobj;
21738 fail:
21739 return NULL;
21740 }
21741
21742
21743 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21744 PyObject *resultobj;
21745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21746 wxTreeItemId *arg2 = 0 ;
21747 wxTreeItemId result;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 char *kwnames[] = {
21751 (char *) "self",(char *) "item", NULL
21752 };
21753
21754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21756 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21757 if (arg2 == NULL) {
21758 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21759 }
21760 {
21761 PyThreadState* __tstate = wxPyBeginAllowThreads();
21762 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21763
21764 wxPyEndAllowThreads(__tstate);
21765 if (PyErr_Occurred()) SWIG_fail;
21766 }
21767 {
21768 wxTreeItemId * resultptr;
21769 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21770 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21771 }
21772 return resultobj;
21773 fail:
21774 return NULL;
21775 }
21776
21777
21778 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21779 PyObject *resultobj;
21780 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21781 wxTreeItemId *arg2 = 0 ;
21782 PyObject *result;
21783 PyObject * obj0 = 0 ;
21784 PyObject * obj1 = 0 ;
21785 char *kwnames[] = {
21786 (char *) "self",(char *) "item", NULL
21787 };
21788
21789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21792 if (arg2 == NULL) {
21793 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21794 }
21795 {
21796 PyThreadState* __tstate = wxPyBeginAllowThreads();
21797 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21798
21799 wxPyEndAllowThreads(__tstate);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 resultobj = result;
21803 return resultobj;
21804 fail:
21805 return NULL;
21806 }
21807
21808
21809 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21812 wxTreeItemId *arg2 = 0 ;
21813 wxTreeItemIdValue *arg3 = 0 ;
21814 PyObject *result;
21815 PyObject * obj0 = 0 ;
21816 PyObject * obj1 = 0 ;
21817 PyObject * obj2 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self",(char *) "item",(char *) "cookie", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21825 if (arg2 == NULL) {
21826 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21827 }
21828 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21829 if (arg3 == NULL) {
21830 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21831 }
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 resultobj = result;
21840 return resultobj;
21841 fail:
21842 return NULL;
21843 }
21844
21845
21846 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21847 PyObject *resultobj;
21848 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21849 wxTreeItemId *arg2 = 0 ;
21850 wxTreeItemId result;
21851 PyObject * obj0 = 0 ;
21852 PyObject * obj1 = 0 ;
21853 char *kwnames[] = {
21854 (char *) "self",(char *) "item", NULL
21855 };
21856
21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21860 if (arg2 == NULL) {
21861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21862 }
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21866
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 {
21871 wxTreeItemId * resultptr;
21872 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21873 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21874 }
21875 return resultobj;
21876 fail:
21877 return NULL;
21878 }
21879
21880
21881 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21882 PyObject *resultobj;
21883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21884 wxTreeItemId *arg2 = 0 ;
21885 wxTreeItemId result;
21886 PyObject * obj0 = 0 ;
21887 PyObject * obj1 = 0 ;
21888 char *kwnames[] = {
21889 (char *) "self",(char *) "item", NULL
21890 };
21891
21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21895 if (arg2 == NULL) {
21896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21897 }
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21901
21902 wxPyEndAllowThreads(__tstate);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
21905 {
21906 wxTreeItemId * resultptr;
21907 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21908 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21909 }
21910 return resultobj;
21911 fail:
21912 return NULL;
21913 }
21914
21915
21916 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21917 PyObject *resultobj;
21918 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21919 wxTreeItemId *arg2 = 0 ;
21920 wxTreeItemId result;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 char *kwnames[] = {
21924 (char *) "self",(char *) "item", NULL
21925 };
21926
21927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
21928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21930 if (arg2 == NULL) {
21931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21932 }
21933 {
21934 PyThreadState* __tstate = wxPyBeginAllowThreads();
21935 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
21936
21937 wxPyEndAllowThreads(__tstate);
21938 if (PyErr_Occurred()) SWIG_fail;
21939 }
21940 {
21941 wxTreeItemId * resultptr;
21942 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21943 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21944 }
21945 return resultobj;
21946 fail:
21947 return NULL;
21948 }
21949
21950
21951 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21952 PyObject *resultobj;
21953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21954 wxTreeItemId result;
21955 PyObject * obj0 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
21961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21962 {
21963 PyThreadState* __tstate = wxPyBeginAllowThreads();
21964 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
21965
21966 wxPyEndAllowThreads(__tstate);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 {
21970 wxTreeItemId * resultptr;
21971 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21972 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21973 }
21974 return resultobj;
21975 fail:
21976 return NULL;
21977 }
21978
21979
21980 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21981 PyObject *resultobj;
21982 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21983 wxTreeItemId *arg2 = 0 ;
21984 wxTreeItemId result;
21985 PyObject * obj0 = 0 ;
21986 PyObject * obj1 = 0 ;
21987 char *kwnames[] = {
21988 (char *) "self",(char *) "item", NULL
21989 };
21990
21991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
21992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21994 if (arg2 == NULL) {
21995 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21996 }
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22000
22001 wxPyEndAllowThreads(__tstate);
22002 if (PyErr_Occurred()) SWIG_fail;
22003 }
22004 {
22005 wxTreeItemId * resultptr;
22006 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22007 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22008 }
22009 return resultobj;
22010 fail:
22011 return NULL;
22012 }
22013
22014
22015 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22016 PyObject *resultobj;
22017 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22018 wxTreeItemId *arg2 = 0 ;
22019 wxTreeItemId result;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 char *kwnames[] = {
22023 (char *) "self",(char *) "item", NULL
22024 };
22025
22026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22029 if (arg2 == NULL) {
22030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22031 }
22032 {
22033 PyThreadState* __tstate = wxPyBeginAllowThreads();
22034 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22035
22036 wxPyEndAllowThreads(__tstate);
22037 if (PyErr_Occurred()) SWIG_fail;
22038 }
22039 {
22040 wxTreeItemId * resultptr;
22041 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22042 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22043 }
22044 return resultobj;
22045 fail:
22046 return NULL;
22047 }
22048
22049
22050 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj;
22052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22053 wxString *arg2 = 0 ;
22054 int arg3 = (int) -1 ;
22055 int arg4 = (int) -1 ;
22056 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22057 wxTreeItemId result;
22058 bool temp2 = false ;
22059 PyObject * obj0 = 0 ;
22060 PyObject * obj1 = 0 ;
22061 PyObject * obj4 = 0 ;
22062 char *kwnames[] = {
22063 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22064 };
22065
22066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22068 {
22069 arg2 = wxString_in_helper(obj1);
22070 if (arg2 == NULL) SWIG_fail;
22071 temp2 = true;
22072 }
22073 if (obj4) {
22074 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22075 }
22076 {
22077 PyThreadState* __tstate = wxPyBeginAllowThreads();
22078 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22079
22080 wxPyEndAllowThreads(__tstate);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 wxTreeItemId * resultptr;
22085 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22086 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22087 }
22088 {
22089 if (temp2)
22090 delete arg2;
22091 }
22092 return resultobj;
22093 fail:
22094 {
22095 if (temp2)
22096 delete arg2;
22097 }
22098 return NULL;
22099 }
22100
22101
22102 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22103 PyObject *resultobj;
22104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22105 wxTreeItemId *arg2 = 0 ;
22106 wxString *arg3 = 0 ;
22107 int arg4 = (int) -1 ;
22108 int arg5 = (int) -1 ;
22109 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22110 wxTreeItemId result;
22111 bool temp3 = false ;
22112 PyObject * obj0 = 0 ;
22113 PyObject * obj1 = 0 ;
22114 PyObject * obj2 = 0 ;
22115 PyObject * obj5 = 0 ;
22116 char *kwnames[] = {
22117 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22118 };
22119
22120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22123 if (arg2 == NULL) {
22124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22125 }
22126 {
22127 arg3 = wxString_in_helper(obj2);
22128 if (arg3 == NULL) SWIG_fail;
22129 temp3 = true;
22130 }
22131 if (obj5) {
22132 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22133 }
22134 {
22135 PyThreadState* __tstate = wxPyBeginAllowThreads();
22136 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22137
22138 wxPyEndAllowThreads(__tstate);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
22141 {
22142 wxTreeItemId * resultptr;
22143 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22145 }
22146 {
22147 if (temp3)
22148 delete arg3;
22149 }
22150 return resultobj;
22151 fail:
22152 {
22153 if (temp3)
22154 delete arg3;
22155 }
22156 return NULL;
22157 }
22158
22159
22160 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj;
22162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22163 wxTreeItemId *arg2 = 0 ;
22164 wxTreeItemId *arg3 = 0 ;
22165 wxString *arg4 = 0 ;
22166 int arg5 = (int) -1 ;
22167 int arg6 = (int) -1 ;
22168 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22169 wxTreeItemId result;
22170 bool temp4 = false ;
22171 PyObject * obj0 = 0 ;
22172 PyObject * obj1 = 0 ;
22173 PyObject * obj2 = 0 ;
22174 PyObject * obj3 = 0 ;
22175 PyObject * obj6 = 0 ;
22176 char *kwnames[] = {
22177 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22178 };
22179
22180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22183 if (arg2 == NULL) {
22184 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22185 }
22186 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22187 if (arg3 == NULL) {
22188 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22189 }
22190 {
22191 arg4 = wxString_in_helper(obj3);
22192 if (arg4 == NULL) SWIG_fail;
22193 temp4 = true;
22194 }
22195 if (obj6) {
22196 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22197 }
22198 {
22199 PyThreadState* __tstate = wxPyBeginAllowThreads();
22200 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22201
22202 wxPyEndAllowThreads(__tstate);
22203 if (PyErr_Occurred()) SWIG_fail;
22204 }
22205 {
22206 wxTreeItemId * resultptr;
22207 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22209 }
22210 {
22211 if (temp4)
22212 delete arg4;
22213 }
22214 return resultobj;
22215 fail:
22216 {
22217 if (temp4)
22218 delete arg4;
22219 }
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22227 wxTreeItemId *arg2 = 0 ;
22228 size_t arg3 ;
22229 wxString *arg4 = 0 ;
22230 int arg5 = (int) -1 ;
22231 int arg6 = (int) -1 ;
22232 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22233 wxTreeItemId result;
22234 bool temp4 = false ;
22235 PyObject * obj0 = 0 ;
22236 PyObject * obj1 = 0 ;
22237 PyObject * obj2 = 0 ;
22238 PyObject * obj3 = 0 ;
22239 PyObject * obj6 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22247 if (arg2 == NULL) {
22248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22249 }
22250 arg3 = (size_t) PyInt_AsLong(obj2);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 {
22253 arg4 = wxString_in_helper(obj3);
22254 if (arg4 == NULL) SWIG_fail;
22255 temp4 = true;
22256 }
22257 if (obj6) {
22258 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22259 }
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 {
22268 wxTreeItemId * resultptr;
22269 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22270 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22271 }
22272 {
22273 if (temp4)
22274 delete arg4;
22275 }
22276 return resultobj;
22277 fail:
22278 {
22279 if (temp4)
22280 delete arg4;
22281 }
22282 return NULL;
22283 }
22284
22285
22286 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22289 wxTreeItemId *arg2 = 0 ;
22290 wxString *arg3 = 0 ;
22291 int arg4 = (int) -1 ;
22292 int arg5 = (int) -1 ;
22293 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22294 wxTreeItemId result;
22295 bool temp3 = false ;
22296 PyObject * obj0 = 0 ;
22297 PyObject * obj1 = 0 ;
22298 PyObject * obj2 = 0 ;
22299 PyObject * obj5 = 0 ;
22300 char *kwnames[] = {
22301 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22302 };
22303
22304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22307 if (arg2 == NULL) {
22308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22309 }
22310 {
22311 arg3 = wxString_in_helper(obj2);
22312 if (arg3 == NULL) SWIG_fail;
22313 temp3 = true;
22314 }
22315 if (obj5) {
22316 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22317 }
22318 {
22319 PyThreadState* __tstate = wxPyBeginAllowThreads();
22320 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22321
22322 wxPyEndAllowThreads(__tstate);
22323 if (PyErr_Occurred()) SWIG_fail;
22324 }
22325 {
22326 wxTreeItemId * resultptr;
22327 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22328 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22329 }
22330 {
22331 if (temp3)
22332 delete arg3;
22333 }
22334 return resultobj;
22335 fail:
22336 {
22337 if (temp3)
22338 delete arg3;
22339 }
22340 return NULL;
22341 }
22342
22343
22344 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22345 PyObject *resultobj;
22346 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22347 wxTreeItemId *arg2 = 0 ;
22348 PyObject * obj0 = 0 ;
22349 PyObject * obj1 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "self",(char *) "item", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22357 if (arg2 == NULL) {
22358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22359 }
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 (arg1)->Delete((wxTreeItemId const &)*arg2);
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 Py_INCREF(Py_None); resultobj = Py_None;
22368 return resultobj;
22369 fail:
22370 return NULL;
22371 }
22372
22373
22374 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22377 wxTreeItemId *arg2 = 0 ;
22378 PyObject * obj0 = 0 ;
22379 PyObject * obj1 = 0 ;
22380 char *kwnames[] = {
22381 (char *) "self",(char *) "item", NULL
22382 };
22383
22384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22386 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22387 if (arg2 == NULL) {
22388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22389 }
22390 {
22391 PyThreadState* __tstate = wxPyBeginAllowThreads();
22392 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22393
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 Py_INCREF(Py_None); resultobj = Py_None;
22398 return resultobj;
22399 fail:
22400 return NULL;
22401 }
22402
22403
22404 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22405 PyObject *resultobj;
22406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22407 PyObject * obj0 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22414 {
22415 PyThreadState* __tstate = wxPyBeginAllowThreads();
22416 (arg1)->DeleteAllItems();
22417
22418 wxPyEndAllowThreads(__tstate);
22419 if (PyErr_Occurred()) SWIG_fail;
22420 }
22421 Py_INCREF(Py_None); resultobj = Py_None;
22422 return resultobj;
22423 fail:
22424 return NULL;
22425 }
22426
22427
22428 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22429 PyObject *resultobj;
22430 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22431 wxTreeItemId *arg2 = 0 ;
22432 PyObject * obj0 = 0 ;
22433 PyObject * obj1 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self",(char *) "item", NULL
22436 };
22437
22438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22441 if (arg2 == NULL) {
22442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22443 }
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 (arg1)->Expand((wxTreeItemId const &)*arg2);
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 Py_INCREF(Py_None); resultobj = Py_None;
22452 return resultobj;
22453 fail:
22454 return NULL;
22455 }
22456
22457
22458 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22461 wxTreeItemId *arg2 = 0 ;
22462 PyObject * obj0 = 0 ;
22463 PyObject * obj1 = 0 ;
22464 char *kwnames[] = {
22465 (char *) "self",(char *) "item", NULL
22466 };
22467
22468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22470 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22471 if (arg2 == NULL) {
22472 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22473 }
22474 {
22475 PyThreadState* __tstate = wxPyBeginAllowThreads();
22476 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22477
22478 wxPyEndAllowThreads(__tstate);
22479 if (PyErr_Occurred()) SWIG_fail;
22480 }
22481 Py_INCREF(Py_None); resultobj = Py_None;
22482 return resultobj;
22483 fail:
22484 return NULL;
22485 }
22486
22487
22488 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22489 PyObject *resultobj;
22490 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22491 wxTreeItemId *arg2 = 0 ;
22492 PyObject * obj0 = 0 ;
22493 PyObject * obj1 = 0 ;
22494 char *kwnames[] = {
22495 (char *) "self",(char *) "item", NULL
22496 };
22497
22498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22500 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22501 if (arg2 == NULL) {
22502 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22503 }
22504 {
22505 PyThreadState* __tstate = wxPyBeginAllowThreads();
22506 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22507
22508 wxPyEndAllowThreads(__tstate);
22509 if (PyErr_Occurred()) SWIG_fail;
22510 }
22511 Py_INCREF(Py_None); resultobj = Py_None;
22512 return resultobj;
22513 fail:
22514 return NULL;
22515 }
22516
22517
22518 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj;
22520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22521 wxTreeItemId *arg2 = 0 ;
22522 PyObject * obj0 = 0 ;
22523 PyObject * obj1 = 0 ;
22524 char *kwnames[] = {
22525 (char *) "self",(char *) "item", NULL
22526 };
22527
22528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22531 if (arg2 == NULL) {
22532 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22533 }
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22537
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 Py_INCREF(Py_None); resultobj = Py_None;
22542 return resultobj;
22543 fail:
22544 return NULL;
22545 }
22546
22547
22548 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22549 PyObject *resultobj;
22550 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22551 PyObject * obj0 = 0 ;
22552 char *kwnames[] = {
22553 (char *) "self", NULL
22554 };
22555
22556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22558 {
22559 PyThreadState* __tstate = wxPyBeginAllowThreads();
22560 (arg1)->Unselect();
22561
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 Py_INCREF(Py_None); resultobj = Py_None;
22566 return resultobj;
22567 fail:
22568 return NULL;
22569 }
22570
22571
22572 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj;
22574 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22575 PyObject * obj0 = 0 ;
22576 char *kwnames[] = {
22577 (char *) "self", NULL
22578 };
22579
22580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22582 {
22583 PyThreadState* __tstate = wxPyBeginAllowThreads();
22584 (arg1)->UnselectAll();
22585
22586 wxPyEndAllowThreads(__tstate);
22587 if (PyErr_Occurred()) SWIG_fail;
22588 }
22589 Py_INCREF(Py_None); resultobj = Py_None;
22590 return resultobj;
22591 fail:
22592 return NULL;
22593 }
22594
22595
22596 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22597 PyObject *resultobj;
22598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22599 wxTreeItemId *arg2 = 0 ;
22600 PyObject * obj0 = 0 ;
22601 PyObject * obj1 = 0 ;
22602 char *kwnames[] = {
22603 (char *) "self",(char *) "item", NULL
22604 };
22605
22606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22609 if (arg2 == NULL) {
22610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22611 }
22612 {
22613 PyThreadState* __tstate = wxPyBeginAllowThreads();
22614 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22615
22616 wxPyEndAllowThreads(__tstate);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 }
22619 Py_INCREF(Py_None); resultobj = Py_None;
22620 return resultobj;
22621 fail:
22622 return NULL;
22623 }
22624
22625
22626 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22627 PyObject *resultobj;
22628 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22629 wxTreeItemId *arg2 = 0 ;
22630 PyObject * obj0 = 0 ;
22631 PyObject * obj1 = 0 ;
22632 char *kwnames[] = {
22633 (char *) "self",(char *) "item", NULL
22634 };
22635
22636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22639 if (arg2 == NULL) {
22640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22641 }
22642 {
22643 PyThreadState* __tstate = wxPyBeginAllowThreads();
22644 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22645
22646 wxPyEndAllowThreads(__tstate);
22647 if (PyErr_Occurred()) SWIG_fail;
22648 }
22649 Py_INCREF(Py_None); resultobj = Py_None;
22650 return resultobj;
22651 fail:
22652 return NULL;
22653 }
22654
22655
22656 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22657 PyObject *resultobj;
22658 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22659 wxTreeItemId *arg2 = 0 ;
22660 PyObject * obj0 = 0 ;
22661 PyObject * obj1 = 0 ;
22662 char *kwnames[] = {
22663 (char *) "self",(char *) "item", NULL
22664 };
22665
22666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22669 if (arg2 == NULL) {
22670 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22671 }
22672 {
22673 PyThreadState* __tstate = wxPyBeginAllowThreads();
22674 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22675
22676 wxPyEndAllowThreads(__tstate);
22677 if (PyErr_Occurred()) SWIG_fail;
22678 }
22679 Py_INCREF(Py_None); resultobj = Py_None;
22680 return resultobj;
22681 fail:
22682 return NULL;
22683 }
22684
22685
22686 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22687 PyObject *resultobj;
22688 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22689 wxTreeItemId *arg2 = 0 ;
22690 PyObject * obj0 = 0 ;
22691 PyObject * obj1 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "self",(char *) "item", NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22699 if (arg2 == NULL) {
22700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22701 }
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 Py_INCREF(Py_None); resultobj = Py_None;
22710 return resultobj;
22711 fail:
22712 return NULL;
22713 }
22714
22715
22716 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22717 PyObject *resultobj;
22718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22719 wxTextCtrl *result;
22720 PyObject * obj0 = 0 ;
22721 char *kwnames[] = {
22722 (char *) "self", NULL
22723 };
22724
22725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22727 {
22728 PyThreadState* __tstate = wxPyBeginAllowThreads();
22729 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22730
22731 wxPyEndAllowThreads(__tstate);
22732 if (PyErr_Occurred()) SWIG_fail;
22733 }
22734 {
22735 resultobj = wxPyMake_wxObject(result);
22736 }
22737 return resultobj;
22738 fail:
22739 return NULL;
22740 }
22741
22742
22743 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22744 PyObject *resultobj;
22745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22746 wxTreeItemId *arg2 = 0 ;
22747 PyObject * obj0 = 0 ;
22748 PyObject * obj1 = 0 ;
22749 char *kwnames[] = {
22750 (char *) "self",(char *) "item", NULL
22751 };
22752
22753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22755 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22756 if (arg2 == NULL) {
22757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22758 }
22759 {
22760 PyThreadState* __tstate = wxPyBeginAllowThreads();
22761 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22762
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
22766 Py_INCREF(Py_None); resultobj = Py_None;
22767 return resultobj;
22768 fail:
22769 return NULL;
22770 }
22771
22772
22773 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj;
22775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22776 wxPoint *arg2 = 0 ;
22777 int *arg3 = 0 ;
22778 wxTreeItemId result;
22779 wxPoint temp2 ;
22780 int temp3 ;
22781 PyObject * obj0 = 0 ;
22782 PyObject * obj1 = 0 ;
22783 char *kwnames[] = {
22784 (char *) "self",(char *) "point", NULL
22785 };
22786
22787 arg3 = &temp3;
22788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22790 {
22791 arg2 = &temp2;
22792 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22793 }
22794 {
22795 PyThreadState* __tstate = wxPyBeginAllowThreads();
22796 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22797
22798 wxPyEndAllowThreads(__tstate);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 {
22802 wxTreeItemId * resultptr;
22803 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22804 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22805 }
22806 {
22807 PyObject *o = PyInt_FromLong((long) (*arg3));
22808 resultobj = t_output_helper(resultobj,o);
22809 }
22810 return resultobj;
22811 fail:
22812 return NULL;
22813 }
22814
22815
22816 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22817 PyObject *resultobj;
22818 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22819 wxTreeItemId *arg2 = 0 ;
22820 bool arg3 = (bool) FALSE ;
22821 PyObject *result;
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
22824 PyObject * obj2 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22832 if (arg2 == NULL) {
22833 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22834 }
22835 if (obj2) {
22836 arg3 = PyInt_AsLong(obj2) ? true : false;
22837 if (PyErr_Occurred()) SWIG_fail;
22838 }
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22842
22843 wxPyEndAllowThreads(__tstate);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
22846 resultobj = result;
22847 return resultobj;
22848 fail:
22849 return NULL;
22850 }
22851
22852
22853 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22854 PyObject *obj;
22855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22856 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22857 Py_INCREF(obj);
22858 return Py_BuildValue((char *)"");
22859 }
22860 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22861 PyObject *resultobj;
22862 wxWindow *arg1 = (wxWindow *) 0 ;
22863 wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
22864 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22865 wxString *arg3 = (wxString *) &arg3_defvalue ;
22866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22868 wxSize const &arg5_defvalue = wxDefaultSize ;
22869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22870 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22871 wxString const &arg7_defvalue = wxPyEmptyString ;
22872 wxString *arg7 = (wxString *) &arg7_defvalue ;
22873 int arg8 = (int) 0 ;
22874 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22875 wxString *arg9 = (wxString *) &arg9_defvalue ;
22876 wxGenericDirCtrl *result;
22877 bool temp3 = false ;
22878 wxPoint temp4 ;
22879 wxSize temp5 ;
22880 bool temp7 = false ;
22881 bool temp9 = false ;
22882 PyObject * obj0 = 0 ;
22883 PyObject * obj2 = 0 ;
22884 PyObject * obj3 = 0 ;
22885 PyObject * obj4 = 0 ;
22886 PyObject * obj6 = 0 ;
22887 PyObject * obj8 = 0 ;
22888 char *kwnames[] = {
22889 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22890 };
22891
22892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22894 if (obj2) {
22895 {
22896 arg3 = wxString_in_helper(obj2);
22897 if (arg3 == NULL) SWIG_fail;
22898 temp3 = true;
22899 }
22900 }
22901 if (obj3) {
22902 {
22903 arg4 = &temp4;
22904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22905 }
22906 }
22907 if (obj4) {
22908 {
22909 arg5 = &temp5;
22910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22911 }
22912 }
22913 if (obj6) {
22914 {
22915 arg7 = wxString_in_helper(obj6);
22916 if (arg7 == NULL) SWIG_fail;
22917 temp7 = true;
22918 }
22919 }
22920 if (obj8) {
22921 {
22922 arg9 = wxString_in_helper(obj8);
22923 if (arg9 == NULL) SWIG_fail;
22924 temp9 = true;
22925 }
22926 }
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
22930
22931 wxPyEndAllowThreads(__tstate);
22932 if (PyErr_Occurred()) SWIG_fail;
22933 }
22934 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22935 {
22936 if (temp3)
22937 delete arg3;
22938 }
22939 {
22940 if (temp7)
22941 delete arg7;
22942 }
22943 {
22944 if (temp9)
22945 delete arg9;
22946 }
22947 return resultobj;
22948 fail:
22949 {
22950 if (temp3)
22951 delete arg3;
22952 }
22953 {
22954 if (temp7)
22955 delete arg7;
22956 }
22957 {
22958 if (temp9)
22959 delete arg9;
22960 }
22961 return NULL;
22962 }
22963
22964
22965 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22966 PyObject *resultobj;
22967 wxGenericDirCtrl *result;
22968 char *kwnames[] = {
22969 NULL
22970 };
22971
22972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22981 return resultobj;
22982 fail:
22983 return NULL;
22984 }
22985
22986
22987 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj;
22989 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22990 wxWindow *arg2 = (wxWindow *) 0 ;
22991 wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
22992 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
22993 wxString *arg4 = (wxString *) &arg4_defvalue ;
22994 wxPoint const &arg5_defvalue = wxDefaultPosition ;
22995 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
22996 wxSize const &arg6_defvalue = wxDefaultSize ;
22997 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
22998 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22999 wxString const &arg8_defvalue = wxPyEmptyString ;
23000 wxString *arg8 = (wxString *) &arg8_defvalue ;
23001 int arg9 = (int) 0 ;
23002 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23003 wxString *arg10 = (wxString *) &arg10_defvalue ;
23004 bool result;
23005 bool temp4 = false ;
23006 wxPoint temp5 ;
23007 wxSize temp6 ;
23008 bool temp8 = false ;
23009 bool temp10 = false ;
23010 PyObject * obj0 = 0 ;
23011 PyObject * obj1 = 0 ;
23012 PyObject * obj3 = 0 ;
23013 PyObject * obj4 = 0 ;
23014 PyObject * obj5 = 0 ;
23015 PyObject * obj7 = 0 ;
23016 PyObject * obj9 = 0 ;
23017 char *kwnames[] = {
23018 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23019 };
23020
23021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23024 if (obj3) {
23025 {
23026 arg4 = wxString_in_helper(obj3);
23027 if (arg4 == NULL) SWIG_fail;
23028 temp4 = true;
23029 }
23030 }
23031 if (obj4) {
23032 {
23033 arg5 = &temp5;
23034 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23035 }
23036 }
23037 if (obj5) {
23038 {
23039 arg6 = &temp6;
23040 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23041 }
23042 }
23043 if (obj7) {
23044 {
23045 arg8 = wxString_in_helper(obj7);
23046 if (arg8 == NULL) SWIG_fail;
23047 temp8 = true;
23048 }
23049 }
23050 if (obj9) {
23051 {
23052 arg10 = wxString_in_helper(obj9);
23053 if (arg10 == NULL) SWIG_fail;
23054 temp10 = true;
23055 }
23056 }
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23060
23061 wxPyEndAllowThreads(__tstate);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 resultobj = PyInt_FromLong((long)result);
23065 {
23066 if (temp4)
23067 delete arg4;
23068 }
23069 {
23070 if (temp8)
23071 delete arg8;
23072 }
23073 {
23074 if (temp10)
23075 delete arg10;
23076 }
23077 return resultobj;
23078 fail:
23079 {
23080 if (temp4)
23081 delete arg4;
23082 }
23083 {
23084 if (temp8)
23085 delete arg8;
23086 }
23087 {
23088 if (temp10)
23089 delete arg10;
23090 }
23091 return NULL;
23092 }
23093
23094
23095 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23096 PyObject *resultobj;
23097 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23098 wxString *arg2 = 0 ;
23099 bool result;
23100 bool temp2 = false ;
23101 PyObject * obj0 = 0 ;
23102 PyObject * obj1 = 0 ;
23103 char *kwnames[] = {
23104 (char *) "self",(char *) "path", NULL
23105 };
23106
23107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23109 {
23110 arg2 = wxString_in_helper(obj1);
23111 if (arg2 == NULL) SWIG_fail;
23112 temp2 = true;
23113 }
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23117
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 resultobj = PyInt_FromLong((long)result);
23122 {
23123 if (temp2)
23124 delete arg2;
23125 }
23126 return resultobj;
23127 fail:
23128 {
23129 if (temp2)
23130 delete arg2;
23131 }
23132 return NULL;
23133 }
23134
23135
23136 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23137 PyObject *resultobj;
23138 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23139 wxString result;
23140 PyObject * obj0 = 0 ;
23141 char *kwnames[] = {
23142 (char *) "self", NULL
23143 };
23144
23145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23150
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 {
23155 #if wxUSE_UNICODE
23156 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23157 #else
23158 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23159 #endif
23160 }
23161 return resultobj;
23162 fail:
23163 return NULL;
23164 }
23165
23166
23167 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23168 PyObject *resultobj;
23169 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23170 wxString *arg2 = 0 ;
23171 bool temp2 = false ;
23172 PyObject * obj0 = 0 ;
23173 PyObject * obj1 = 0 ;
23174 char *kwnames[] = {
23175 (char *) "self",(char *) "path", NULL
23176 };
23177
23178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23180 {
23181 arg2 = wxString_in_helper(obj1);
23182 if (arg2 == NULL) SWIG_fail;
23183 temp2 = true;
23184 }
23185 {
23186 PyThreadState* __tstate = wxPyBeginAllowThreads();
23187 (arg1)->SetDefaultPath((wxString const &)*arg2);
23188
23189 wxPyEndAllowThreads(__tstate);
23190 if (PyErr_Occurred()) SWIG_fail;
23191 }
23192 Py_INCREF(Py_None); resultobj = Py_None;
23193 {
23194 if (temp2)
23195 delete arg2;
23196 }
23197 return resultobj;
23198 fail:
23199 {
23200 if (temp2)
23201 delete arg2;
23202 }
23203 return NULL;
23204 }
23205
23206
23207 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23208 PyObject *resultobj;
23209 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23210 wxString result;
23211 PyObject * obj0 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23221
23222 wxPyEndAllowThreads(__tstate);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 }
23225 {
23226 #if wxUSE_UNICODE
23227 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23228 #else
23229 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23230 #endif
23231 }
23232 return resultobj;
23233 fail:
23234 return NULL;
23235 }
23236
23237
23238 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23239 PyObject *resultobj;
23240 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23241 wxString result;
23242 PyObject * obj0 = 0 ;
23243 char *kwnames[] = {
23244 (char *) "self", NULL
23245 };
23246
23247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 {
23257 #if wxUSE_UNICODE
23258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23259 #else
23260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23261 #endif
23262 }
23263 return resultobj;
23264 fail:
23265 return NULL;
23266 }
23267
23268
23269 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23270 PyObject *resultobj;
23271 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23272 wxString *arg2 = 0 ;
23273 bool temp2 = false ;
23274 PyObject * obj0 = 0 ;
23275 PyObject * obj1 = 0 ;
23276 char *kwnames[] = {
23277 (char *) "self",(char *) "path", NULL
23278 };
23279
23280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23282 {
23283 arg2 = wxString_in_helper(obj1);
23284 if (arg2 == NULL) SWIG_fail;
23285 temp2 = true;
23286 }
23287 {
23288 PyThreadState* __tstate = wxPyBeginAllowThreads();
23289 (arg1)->SetPath((wxString const &)*arg2);
23290
23291 wxPyEndAllowThreads(__tstate);
23292 if (PyErr_Occurred()) SWIG_fail;
23293 }
23294 Py_INCREF(Py_None); resultobj = Py_None;
23295 {
23296 if (temp2)
23297 delete arg2;
23298 }
23299 return resultobj;
23300 fail:
23301 {
23302 if (temp2)
23303 delete arg2;
23304 }
23305 return NULL;
23306 }
23307
23308
23309 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23310 PyObject *resultobj;
23311 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23312 bool arg2 ;
23313 PyObject * obj0 = 0 ;
23314 PyObject * obj1 = 0 ;
23315 char *kwnames[] = {
23316 (char *) "self",(char *) "show", NULL
23317 };
23318
23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23321 arg2 = PyInt_AsLong(obj1) ? true : false;
23322 if (PyErr_Occurred()) SWIG_fail;
23323 {
23324 PyThreadState* __tstate = wxPyBeginAllowThreads();
23325 (arg1)->ShowHidden(arg2);
23326
23327 wxPyEndAllowThreads(__tstate);
23328 if (PyErr_Occurred()) SWIG_fail;
23329 }
23330 Py_INCREF(Py_None); resultobj = Py_None;
23331 return resultobj;
23332 fail:
23333 return NULL;
23334 }
23335
23336
23337 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23338 PyObject *resultobj;
23339 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23340 bool result;
23341 PyObject * obj0 = 0 ;
23342 char *kwnames[] = {
23343 (char *) "self", NULL
23344 };
23345
23346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23348 {
23349 PyThreadState* __tstate = wxPyBeginAllowThreads();
23350 result = (bool)(arg1)->GetShowHidden();
23351
23352 wxPyEndAllowThreads(__tstate);
23353 if (PyErr_Occurred()) SWIG_fail;
23354 }
23355 resultobj = PyInt_FromLong((long)result);
23356 return resultobj;
23357 fail:
23358 return NULL;
23359 }
23360
23361
23362 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23365 wxString result;
23366 PyObject * obj0 = 0 ;
23367 char *kwnames[] = {
23368 (char *) "self", NULL
23369 };
23370
23371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23373 {
23374 PyThreadState* __tstate = wxPyBeginAllowThreads();
23375 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23376
23377 wxPyEndAllowThreads(__tstate);
23378 if (PyErr_Occurred()) SWIG_fail;
23379 }
23380 {
23381 #if wxUSE_UNICODE
23382 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23383 #else
23384 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23385 #endif
23386 }
23387 return resultobj;
23388 fail:
23389 return NULL;
23390 }
23391
23392
23393 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23394 PyObject *resultobj;
23395 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23396 wxString *arg2 = 0 ;
23397 bool temp2 = false ;
23398 PyObject * obj0 = 0 ;
23399 PyObject * obj1 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self",(char *) "filter", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23406 {
23407 arg2 = wxString_in_helper(obj1);
23408 if (arg2 == NULL) SWIG_fail;
23409 temp2 = true;
23410 }
23411 {
23412 PyThreadState* __tstate = wxPyBeginAllowThreads();
23413 (arg1)->SetFilter((wxString const &)*arg2);
23414
23415 wxPyEndAllowThreads(__tstate);
23416 if (PyErr_Occurred()) SWIG_fail;
23417 }
23418 Py_INCREF(Py_None); resultobj = Py_None;
23419 {
23420 if (temp2)
23421 delete arg2;
23422 }
23423 return resultobj;
23424 fail:
23425 {
23426 if (temp2)
23427 delete arg2;
23428 }
23429 return NULL;
23430 }
23431
23432
23433 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23436 int result;
23437 PyObject * obj0 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23444 {
23445 PyThreadState* __tstate = wxPyBeginAllowThreads();
23446 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23447
23448 wxPyEndAllowThreads(__tstate);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 resultobj = PyInt_FromLong((long)result);
23452 return resultobj;
23453 fail:
23454 return NULL;
23455 }
23456
23457
23458 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj;
23460 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23461 int arg2 ;
23462 PyObject * obj0 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self",(char *) "n", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23469 {
23470 PyThreadState* __tstate = wxPyBeginAllowThreads();
23471 (arg1)->SetFilterIndex(arg2);
23472
23473 wxPyEndAllowThreads(__tstate);
23474 if (PyErr_Occurred()) SWIG_fail;
23475 }
23476 Py_INCREF(Py_None); resultobj = Py_None;
23477 return resultobj;
23478 fail:
23479 return NULL;
23480 }
23481
23482
23483 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23484 PyObject *resultobj;
23485 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23486 wxTreeItemId result;
23487 PyObject * obj0 = 0 ;
23488 char *kwnames[] = {
23489 (char *) "self", NULL
23490 };
23491
23492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 result = (arg1)->GetRootId();
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 {
23502 wxTreeItemId * resultptr;
23503 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23505 }
23506 return resultobj;
23507 fail:
23508 return NULL;
23509 }
23510
23511
23512 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23513 PyObject *resultobj;
23514 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23515 wxTreeCtrl *result;
23516 PyObject * obj0 = 0 ;
23517 char *kwnames[] = {
23518 (char *) "self", NULL
23519 };
23520
23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23526
23527 wxPyEndAllowThreads(__tstate);
23528 if (PyErr_Occurred()) SWIG_fail;
23529 }
23530 {
23531 resultobj = wxPyMake_wxObject(result);
23532 }
23533 return resultobj;
23534 fail:
23535 return NULL;
23536 }
23537
23538
23539 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23540 PyObject *resultobj;
23541 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23542 wxDirFilterListCtrl *result;
23543 PyObject * obj0 = 0 ;
23544 char *kwnames[] = {
23545 (char *) "self", NULL
23546 };
23547
23548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23550 {
23551 PyThreadState* __tstate = wxPyBeginAllowThreads();
23552 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23553
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23558 return resultobj;
23559 fail:
23560 return NULL;
23561 }
23562
23563
23564 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23565 PyObject *resultobj;
23566 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23567 wxTreeItemId arg2 ;
23568 wxString *arg3 = 0 ;
23569 bool *arg4 = 0 ;
23570 wxTreeItemId result;
23571 wxTreeItemId *argp2 ;
23572 bool temp3 = false ;
23573 bool temp4 ;
23574 PyObject * obj0 = 0 ;
23575 PyObject * obj1 = 0 ;
23576 PyObject * obj2 = 0 ;
23577 char *kwnames[] = {
23578 (char *) "self",(char *) "parentId",(char *) "path", NULL
23579 };
23580
23581 arg4 = &temp4;
23582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23584 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23585 arg2 = *argp2;
23586 {
23587 arg3 = wxString_in_helper(obj2);
23588 if (arg3 == NULL) SWIG_fail;
23589 temp3 = true;
23590 }
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 {
23599 wxTreeItemId * resultptr;
23600 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23601 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23602 }
23603 {
23604 PyObject *o = PyInt_FromLong((long) (*arg4));
23605 resultobj = t_output_helper(resultobj,o);
23606 }
23607 {
23608 if (temp3)
23609 delete arg3;
23610 }
23611 return resultobj;
23612 fail:
23613 {
23614 if (temp3)
23615 delete arg3;
23616 }
23617 return NULL;
23618 }
23619
23620
23621 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23622 PyObject *resultobj;
23623 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23624 PyObject * obj0 = 0 ;
23625 char *kwnames[] = {
23626 (char *) "self", NULL
23627 };
23628
23629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23631 {
23632 PyThreadState* __tstate = wxPyBeginAllowThreads();
23633 (arg1)->DoResize();
23634
23635 wxPyEndAllowThreads(__tstate);
23636 if (PyErr_Occurred()) SWIG_fail;
23637 }
23638 Py_INCREF(Py_None); resultobj = Py_None;
23639 return resultobj;
23640 fail:
23641 return NULL;
23642 }
23643
23644
23645 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23646 PyObject *resultobj;
23647 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23648 PyObject * obj0 = 0 ;
23649 char *kwnames[] = {
23650 (char *) "self", NULL
23651 };
23652
23653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23655 {
23656 PyThreadState* __tstate = wxPyBeginAllowThreads();
23657 (arg1)->ReCreateTree();
23658
23659 wxPyEndAllowThreads(__tstate);
23660 if (PyErr_Occurred()) SWIG_fail;
23661 }
23662 Py_INCREF(Py_None); resultobj = Py_None;
23663 return resultobj;
23664 fail:
23665 return NULL;
23666 }
23667
23668
23669 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23670 PyObject *obj;
23671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23672 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23673 Py_INCREF(obj);
23674 return Py_BuildValue((char *)"");
23675 }
23676 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23677 PyObject *resultobj;
23678 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23679 wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
23680 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23681 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23682 wxSize const &arg4_defvalue = wxDefaultSize ;
23683 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23684 long arg5 = (long) 0 ;
23685 wxDirFilterListCtrl *result;
23686 wxPoint temp3 ;
23687 wxSize temp4 ;
23688 PyObject * obj0 = 0 ;
23689 PyObject * obj2 = 0 ;
23690 PyObject * obj3 = 0 ;
23691 char *kwnames[] = {
23692 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23697 if (obj2) {
23698 {
23699 arg3 = &temp3;
23700 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23701 }
23702 }
23703 if (obj3) {
23704 {
23705 arg4 = &temp4;
23706 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23707 }
23708 }
23709 {
23710 PyThreadState* __tstate = wxPyBeginAllowThreads();
23711 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23712
23713 wxPyEndAllowThreads(__tstate);
23714 if (PyErr_Occurred()) SWIG_fail;
23715 }
23716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23717 return resultobj;
23718 fail:
23719 return NULL;
23720 }
23721
23722
23723 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxDirFilterListCtrl *result;
23726 char *kwnames[] = {
23727 NULL
23728 };
23729
23730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23739 return resultobj;
23740 fail:
23741 return NULL;
23742 }
23743
23744
23745 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23748 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23749 wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
23750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23752 wxSize const &arg5_defvalue = wxDefaultSize ;
23753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23754 long arg6 = (long) 0 ;
23755 bool result;
23756 wxPoint temp4 ;
23757 wxSize temp5 ;
23758 PyObject * obj0 = 0 ;
23759 PyObject * obj1 = 0 ;
23760 PyObject * obj3 = 0 ;
23761 PyObject * obj4 = 0 ;
23762 char *kwnames[] = {
23763 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23764 };
23765
23766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23769 if (obj3) {
23770 {
23771 arg4 = &temp4;
23772 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23773 }
23774 }
23775 if (obj4) {
23776 {
23777 arg5 = &temp5;
23778 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23779 }
23780 }
23781 {
23782 PyThreadState* __tstate = wxPyBeginAllowThreads();
23783 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23784
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 resultobj = PyInt_FromLong((long)result);
23789 return resultobj;
23790 fail:
23791 return NULL;
23792 }
23793
23794
23795 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj;
23797 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23798 wxString *arg2 = 0 ;
23799 int arg3 ;
23800 bool temp2 = false ;
23801 PyObject * obj0 = 0 ;
23802 PyObject * obj1 = 0 ;
23803 char *kwnames[] = {
23804 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23805 };
23806
23807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23809 {
23810 arg2 = wxString_in_helper(obj1);
23811 if (arg2 == NULL) SWIG_fail;
23812 temp2 = true;
23813 }
23814 {
23815 PyThreadState* __tstate = wxPyBeginAllowThreads();
23816 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23817
23818 wxPyEndAllowThreads(__tstate);
23819 if (PyErr_Occurred()) SWIG_fail;
23820 }
23821 Py_INCREF(Py_None); resultobj = Py_None;
23822 {
23823 if (temp2)
23824 delete arg2;
23825 }
23826 return resultobj;
23827 fail:
23828 {
23829 if (temp2)
23830 delete arg2;
23831 }
23832 return NULL;
23833 }
23834
23835
23836 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23837 PyObject *obj;
23838 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23839 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23840 Py_INCREF(obj);
23841 return Py_BuildValue((char *)"");
23842 }
23843 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23844 PyObject *resultobj;
23845 wxWindow *arg1 = (wxWindow *) 0 ;
23846 wxWindowID arg2 ;
23847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23849 wxSize const &arg4_defvalue = wxDefaultSize ;
23850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23851 long arg5 = (long) 0 ;
23852 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23853 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23854 wxString const &arg7_defvalue = wxPyControlNameStr ;
23855 wxString *arg7 = (wxString *) &arg7_defvalue ;
23856 wxPyControl *result;
23857 wxPoint temp3 ;
23858 wxSize temp4 ;
23859 bool temp7 = false ;
23860 PyObject * obj0 = 0 ;
23861 PyObject * obj2 = 0 ;
23862 PyObject * obj3 = 0 ;
23863 PyObject * obj5 = 0 ;
23864 PyObject * obj6 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23871 if (obj2) {
23872 {
23873 arg3 = &temp3;
23874 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23875 }
23876 }
23877 if (obj3) {
23878 {
23879 arg4 = &temp4;
23880 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23881 }
23882 }
23883 if (obj5) {
23884 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23885 if (arg6 == NULL) {
23886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23887 }
23888 }
23889 if (obj6) {
23890 {
23891 arg7 = wxString_in_helper(obj6);
23892 if (arg7 == NULL) SWIG_fail;
23893 temp7 = true;
23894 }
23895 }
23896 {
23897 PyThreadState* __tstate = wxPyBeginAllowThreads();
23898 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23899
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23904 {
23905 if (temp7)
23906 delete arg7;
23907 }
23908 return resultobj;
23909 fail:
23910 {
23911 if (temp7)
23912 delete arg7;
23913 }
23914 return NULL;
23915 }
23916
23917
23918 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23919 PyObject *resultobj;
23920 wxPyControl *arg1 = (wxPyControl *) 0 ;
23921 PyObject *arg2 = (PyObject *) 0 ;
23922 PyObject *arg3 = (PyObject *) 0 ;
23923 PyObject * obj0 = 0 ;
23924 PyObject * obj1 = 0 ;
23925 PyObject * obj2 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self",(char *) "self",(char *) "_class", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23932 arg2 = obj1;
23933 arg3 = obj2;
23934 {
23935 PyThreadState* __tstate = wxPyBeginAllowThreads();
23936 (arg1)->_setCallbackInfo(arg2,arg3);
23937
23938 wxPyEndAllowThreads(__tstate);
23939 if (PyErr_Occurred()) SWIG_fail;
23940 }
23941 Py_INCREF(Py_None); resultobj = Py_None;
23942 return resultobj;
23943 fail:
23944 return NULL;
23945 }
23946
23947
23948 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23949 PyObject *resultobj;
23950 wxPyControl *arg1 = (wxPyControl *) 0 ;
23951 int arg2 ;
23952 int arg3 ;
23953 int arg4 ;
23954 int arg5 ;
23955 PyObject * obj0 = 0 ;
23956 char *kwnames[] = {
23957 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23958 };
23959
23960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23962 {
23963 PyThreadState* __tstate = wxPyBeginAllowThreads();
23964 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
23965
23966 wxPyEndAllowThreads(__tstate);
23967 if (PyErr_Occurred()) SWIG_fail;
23968 }
23969 Py_INCREF(Py_None); resultobj = Py_None;
23970 return resultobj;
23971 fail:
23972 return NULL;
23973 }
23974
23975
23976 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj;
23978 wxPyControl *arg1 = (wxPyControl *) 0 ;
23979 int arg2 ;
23980 int arg3 ;
23981 int arg4 ;
23982 int arg5 ;
23983 int arg6 = (int) wxSIZE_AUTO ;
23984 PyObject * obj0 = 0 ;
23985 char *kwnames[] = {
23986 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23987 };
23988
23989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
23990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23991 {
23992 PyThreadState* __tstate = wxPyBeginAllowThreads();
23993 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
23994
23995 wxPyEndAllowThreads(__tstate);
23996 if (PyErr_Occurred()) SWIG_fail;
23997 }
23998 Py_INCREF(Py_None); resultobj = Py_None;
23999 return resultobj;
24000 fail:
24001 return NULL;
24002 }
24003
24004
24005 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24006 PyObject *resultobj;
24007 wxPyControl *arg1 = (wxPyControl *) 0 ;
24008 int arg2 ;
24009 int arg3 ;
24010 PyObject * obj0 = 0 ;
24011 char *kwnames[] = {
24012 (char *) "self",(char *) "width",(char *) "height", NULL
24013 };
24014
24015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24017 {
24018 PyThreadState* __tstate = wxPyBeginAllowThreads();
24019 (arg1)->base_DoSetClientSize(arg2,arg3);
24020
24021 wxPyEndAllowThreads(__tstate);
24022 if (PyErr_Occurred()) SWIG_fail;
24023 }
24024 Py_INCREF(Py_None); resultobj = Py_None;
24025 return resultobj;
24026 fail:
24027 return NULL;
24028 }
24029
24030
24031 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24032 PyObject *resultobj;
24033 wxPyControl *arg1 = (wxPyControl *) 0 ;
24034 int arg2 ;
24035 int arg3 ;
24036 PyObject * obj0 = 0 ;
24037 char *kwnames[] = {
24038 (char *) "self",(char *) "x",(char *) "y", NULL
24039 };
24040
24041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24046
24047 wxPyEndAllowThreads(__tstate);
24048 if (PyErr_Occurred()) SWIG_fail;
24049 }
24050 Py_INCREF(Py_None); resultobj = Py_None;
24051 return resultobj;
24052 fail:
24053 return NULL;
24054 }
24055
24056
24057 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24058 PyObject *resultobj;
24059 wxPyControl *arg1 = (wxPyControl *) 0 ;
24060 int *arg2 = (int *) 0 ;
24061 int *arg3 = (int *) 0 ;
24062 int temp2 ;
24063 int temp3 ;
24064 PyObject * obj0 = 0 ;
24065 char *kwnames[] = {
24066 (char *) "self", NULL
24067 };
24068
24069 arg2 = &temp2;
24070 arg3 = &temp3;
24071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 Py_INCREF(Py_None); resultobj = Py_None;
24081 {
24082 PyObject *o = PyInt_FromLong((long) (*arg2));
24083 resultobj = t_output_helper(resultobj,o);
24084 }
24085 {
24086 PyObject *o = PyInt_FromLong((long) (*arg3));
24087 resultobj = t_output_helper(resultobj,o);
24088 }
24089 return resultobj;
24090 fail:
24091 return NULL;
24092 }
24093
24094
24095 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj;
24097 wxPyControl *arg1 = (wxPyControl *) 0 ;
24098 int *arg2 = (int *) 0 ;
24099 int *arg3 = (int *) 0 ;
24100 int temp2 ;
24101 int temp3 ;
24102 PyObject * obj0 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self", NULL
24105 };
24106
24107 arg2 = &temp2;
24108 arg3 = &temp3;
24109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24111 {
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 Py_INCREF(Py_None); resultobj = Py_None;
24119 {
24120 PyObject *o = PyInt_FromLong((long) (*arg2));
24121 resultobj = t_output_helper(resultobj,o);
24122 }
24123 {
24124 PyObject *o = PyInt_FromLong((long) (*arg3));
24125 resultobj = t_output_helper(resultobj,o);
24126 }
24127 return resultobj;
24128 fail:
24129 return NULL;
24130 }
24131
24132
24133 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxPyControl *arg1 = (wxPyControl *) 0 ;
24136 int *arg2 = (int *) 0 ;
24137 int *arg3 = (int *) 0 ;
24138 int temp2 ;
24139 int temp3 ;
24140 PyObject * obj0 = 0 ;
24141 char *kwnames[] = {
24142 (char *) "self", NULL
24143 };
24144
24145 arg2 = &temp2;
24146 arg3 = &temp3;
24147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24149 {
24150 PyThreadState* __tstate = wxPyBeginAllowThreads();
24151 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24152
24153 wxPyEndAllowThreads(__tstate);
24154 if (PyErr_Occurred()) SWIG_fail;
24155 }
24156 Py_INCREF(Py_None); resultobj = Py_None;
24157 {
24158 PyObject *o = PyInt_FromLong((long) (*arg2));
24159 resultobj = t_output_helper(resultobj,o);
24160 }
24161 {
24162 PyObject *o = PyInt_FromLong((long) (*arg3));
24163 resultobj = t_output_helper(resultobj,o);
24164 }
24165 return resultobj;
24166 fail:
24167 return NULL;
24168 }
24169
24170
24171 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxPyControl *arg1 = (wxPyControl *) 0 ;
24174 wxSize result;
24175 PyObject * obj0 = 0 ;
24176 char *kwnames[] = {
24177 (char *) "self", NULL
24178 };
24179
24180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24182 {
24183 PyThreadState* __tstate = wxPyBeginAllowThreads();
24184 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24185
24186 wxPyEndAllowThreads(__tstate);
24187 if (PyErr_Occurred()) SWIG_fail;
24188 }
24189 {
24190 wxSize * resultptr;
24191 resultptr = new wxSize((wxSize &) result);
24192 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24193 }
24194 return resultobj;
24195 fail:
24196 return NULL;
24197 }
24198
24199
24200 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24201 PyObject *resultobj;
24202 wxPyControl *arg1 = (wxPyControl *) 0 ;
24203 wxSize result;
24204 PyObject * obj0 = 0 ;
24205 char *kwnames[] = {
24206 (char *) "self", NULL
24207 };
24208
24209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24211 {
24212 PyThreadState* __tstate = wxPyBeginAllowThreads();
24213 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24214
24215 wxPyEndAllowThreads(__tstate);
24216 if (PyErr_Occurred()) SWIG_fail;
24217 }
24218 {
24219 wxSize * resultptr;
24220 resultptr = new wxSize((wxSize &) result);
24221 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24222 }
24223 return resultobj;
24224 fail:
24225 return NULL;
24226 }
24227
24228
24229 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24230 PyObject *resultobj;
24231 wxPyControl *arg1 = (wxPyControl *) 0 ;
24232 PyObject * obj0 = 0 ;
24233 char *kwnames[] = {
24234 (char *) "self", NULL
24235 };
24236
24237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24239 {
24240 PyThreadState* __tstate = wxPyBeginAllowThreads();
24241 (arg1)->base_InitDialog();
24242
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 Py_INCREF(Py_None); resultobj = Py_None;
24247 return resultobj;
24248 fail:
24249 return NULL;
24250 }
24251
24252
24253 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj;
24255 wxPyControl *arg1 = (wxPyControl *) 0 ;
24256 bool result;
24257 PyObject * obj0 = 0 ;
24258 char *kwnames[] = {
24259 (char *) "self", NULL
24260 };
24261
24262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24264 {
24265 PyThreadState* __tstate = wxPyBeginAllowThreads();
24266 result = (bool)(arg1)->base_TransferDataToWindow();
24267
24268 wxPyEndAllowThreads(__tstate);
24269 if (PyErr_Occurred()) SWIG_fail;
24270 }
24271 resultobj = PyInt_FromLong((long)result);
24272 return resultobj;
24273 fail:
24274 return NULL;
24275 }
24276
24277
24278 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24279 PyObject *resultobj;
24280 wxPyControl *arg1 = (wxPyControl *) 0 ;
24281 bool result;
24282 PyObject * obj0 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "self", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 result = (bool)(arg1)->base_TransferDataFromWindow();
24292
24293 wxPyEndAllowThreads(__tstate);
24294 if (PyErr_Occurred()) SWIG_fail;
24295 }
24296 resultobj = PyInt_FromLong((long)result);
24297 return resultobj;
24298 fail:
24299 return NULL;
24300 }
24301
24302
24303 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24304 PyObject *resultobj;
24305 wxPyControl *arg1 = (wxPyControl *) 0 ;
24306 bool result;
24307 PyObject * obj0 = 0 ;
24308 char *kwnames[] = {
24309 (char *) "self", NULL
24310 };
24311
24312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 result = (bool)(arg1)->base_Validate();
24317
24318 wxPyEndAllowThreads(__tstate);
24319 if (PyErr_Occurred()) SWIG_fail;
24320 }
24321 resultobj = PyInt_FromLong((long)result);
24322 return resultobj;
24323 fail:
24324 return NULL;
24325 }
24326
24327
24328 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24329 PyObject *resultobj;
24330 wxPyControl *arg1 = (wxPyControl *) 0 ;
24331 bool result;
24332 PyObject * obj0 = 0 ;
24333 char *kwnames[] = {
24334 (char *) "self", NULL
24335 };
24336
24337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24342
24343 wxPyEndAllowThreads(__tstate);
24344 if (PyErr_Occurred()) SWIG_fail;
24345 }
24346 resultobj = PyInt_FromLong((long)result);
24347 return resultobj;
24348 fail:
24349 return NULL;
24350 }
24351
24352
24353 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24354 PyObject *resultobj;
24355 wxPyControl *arg1 = (wxPyControl *) 0 ;
24356 bool result;
24357 PyObject * obj0 = 0 ;
24358 char *kwnames[] = {
24359 (char *) "self", NULL
24360 };
24361
24362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24367
24368 wxPyEndAllowThreads(__tstate);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 }
24371 resultobj = PyInt_FromLong((long)result);
24372 return resultobj;
24373 fail:
24374 return NULL;
24375 }
24376
24377
24378 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24379 PyObject *resultobj;
24380 wxPyControl *arg1 = (wxPyControl *) 0 ;
24381 wxSize result;
24382 PyObject * obj0 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 {
24397 wxSize * resultptr;
24398 resultptr = new wxSize((wxSize &) result);
24399 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24400 }
24401 return resultobj;
24402 fail:
24403 return NULL;
24404 }
24405
24406
24407 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj;
24409 wxPyControl *arg1 = (wxPyControl *) 0 ;
24410 wxWindow *arg2 = (wxWindow *) 0 ;
24411 PyObject * obj0 = 0 ;
24412 PyObject * obj1 = 0 ;
24413 char *kwnames[] = {
24414 (char *) "self",(char *) "child", NULL
24415 };
24416
24417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24420 {
24421 PyThreadState* __tstate = wxPyBeginAllowThreads();
24422 (arg1)->base_AddChild(arg2);
24423
24424 wxPyEndAllowThreads(__tstate);
24425 if (PyErr_Occurred()) SWIG_fail;
24426 }
24427 Py_INCREF(Py_None); resultobj = Py_None;
24428 return resultobj;
24429 fail:
24430 return NULL;
24431 }
24432
24433
24434 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24435 PyObject *resultobj;
24436 wxPyControl *arg1 = (wxPyControl *) 0 ;
24437 wxWindow *arg2 = (wxWindow *) 0 ;
24438 PyObject * obj0 = 0 ;
24439 PyObject * obj1 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "self",(char *) "child", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24447 {
24448 PyThreadState* __tstate = wxPyBeginAllowThreads();
24449 (arg1)->base_RemoveChild(arg2);
24450
24451 wxPyEndAllowThreads(__tstate);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 }
24454 Py_INCREF(Py_None); resultobj = Py_None;
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24462 PyObject *obj;
24463 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24464 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24465 Py_INCREF(obj);
24466 return Py_BuildValue((char *)"");
24467 }
24468 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24469 PyObject *resultobj;
24470 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24471 wxWindowID arg2 = (wxWindowID) 0 ;
24472 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24473 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24474 wxHelpEvent *result;
24475 wxPoint temp3 ;
24476 PyObject * obj2 = 0 ;
24477 char *kwnames[] = {
24478 (char *) "type",(char *) "winid",(char *) "pt", NULL
24479 };
24480
24481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24482 if (obj2) {
24483 {
24484 arg3 = &temp3;
24485 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24486 }
24487 }
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24496 return resultobj;
24497 fail:
24498 return NULL;
24499 }
24500
24501
24502 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24503 PyObject *resultobj;
24504 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24505 wxPoint *result;
24506 PyObject * obj0 = 0 ;
24507 char *kwnames[] = {
24508 (char *) "self", NULL
24509 };
24510
24511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 {
24516 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24517 result = (wxPoint *) &_result_ref;
24518 }
24519
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24524 return resultobj;
24525 fail:
24526 return NULL;
24527 }
24528
24529
24530 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24531 PyObject *resultobj;
24532 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24533 wxPoint *arg2 = 0 ;
24534 wxPoint temp2 ;
24535 PyObject * obj0 = 0 ;
24536 PyObject * obj1 = 0 ;
24537 char *kwnames[] = {
24538 (char *) "self",(char *) "pos", NULL
24539 };
24540
24541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24543 {
24544 arg2 = &temp2;
24545 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24546 }
24547 {
24548 PyThreadState* __tstate = wxPyBeginAllowThreads();
24549 (arg1)->SetPosition((wxPoint const &)*arg2);
24550
24551 wxPyEndAllowThreads(__tstate);
24552 if (PyErr_Occurred()) SWIG_fail;
24553 }
24554 Py_INCREF(Py_None); resultobj = Py_None;
24555 return resultobj;
24556 fail:
24557 return NULL;
24558 }
24559
24560
24561 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24562 PyObject *resultobj;
24563 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24564 wxString *result;
24565 PyObject * obj0 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "self", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 {
24575 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24576 result = (wxString *) &_result_ref;
24577 }
24578
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24583 return resultobj;
24584 fail:
24585 return NULL;
24586 }
24587
24588
24589 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24590 PyObject *resultobj;
24591 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24592 wxString *arg2 = 0 ;
24593 bool temp2 = false ;
24594 PyObject * obj0 = 0 ;
24595 PyObject * obj1 = 0 ;
24596 char *kwnames[] = {
24597 (char *) "self",(char *) "link", NULL
24598 };
24599
24600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24602 {
24603 arg2 = wxString_in_helper(obj1);
24604 if (arg2 == NULL) SWIG_fail;
24605 temp2 = true;
24606 }
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 (arg1)->SetLink((wxString const &)*arg2);
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 Py_INCREF(Py_None); resultobj = Py_None;
24615 {
24616 if (temp2)
24617 delete arg2;
24618 }
24619 return resultobj;
24620 fail:
24621 {
24622 if (temp2)
24623 delete arg2;
24624 }
24625 return NULL;
24626 }
24627
24628
24629 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24630 PyObject *resultobj;
24631 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24632 wxString *result;
24633 PyObject * obj0 = 0 ;
24634 char *kwnames[] = {
24635 (char *) "self", NULL
24636 };
24637
24638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24640 {
24641 PyThreadState* __tstate = wxPyBeginAllowThreads();
24642 {
24643 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24644 result = (wxString *) &_result_ref;
24645 }
24646
24647 wxPyEndAllowThreads(__tstate);
24648 if (PyErr_Occurred()) SWIG_fail;
24649 }
24650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24651 return resultobj;
24652 fail:
24653 return NULL;
24654 }
24655
24656
24657 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24658 PyObject *resultobj;
24659 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24660 wxString *arg2 = 0 ;
24661 bool temp2 = false ;
24662 PyObject * obj0 = 0 ;
24663 PyObject * obj1 = 0 ;
24664 char *kwnames[] = {
24665 (char *) "self",(char *) "target", NULL
24666 };
24667
24668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24670 {
24671 arg2 = wxString_in_helper(obj1);
24672 if (arg2 == NULL) SWIG_fail;
24673 temp2 = true;
24674 }
24675 {
24676 PyThreadState* __tstate = wxPyBeginAllowThreads();
24677 (arg1)->SetTarget((wxString const &)*arg2);
24678
24679 wxPyEndAllowThreads(__tstate);
24680 if (PyErr_Occurred()) SWIG_fail;
24681 }
24682 Py_INCREF(Py_None); resultobj = Py_None;
24683 {
24684 if (temp2)
24685 delete arg2;
24686 }
24687 return resultobj;
24688 fail:
24689 {
24690 if (temp2)
24691 delete arg2;
24692 }
24693 return NULL;
24694 }
24695
24696
24697 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24698 PyObject *obj;
24699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24700 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24701 Py_INCREF(obj);
24702 return Py_BuildValue((char *)"");
24703 }
24704 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj;
24706 wxWindow *arg1 = (wxWindow *) NULL ;
24707 bool arg2 = (bool) TRUE ;
24708 wxContextHelp *result;
24709 PyObject * obj0 = 0 ;
24710 PyObject * obj1 = 0 ;
24711 char *kwnames[] = {
24712 (char *) "window",(char *) "doNow", NULL
24713 };
24714
24715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24716 if (obj0) {
24717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24718 }
24719 if (obj1) {
24720 arg2 = PyInt_AsLong(obj1) ? true : false;
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 {
24724 PyThreadState* __tstate = wxPyBeginAllowThreads();
24725 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24726
24727 wxPyEndAllowThreads(__tstate);
24728 if (PyErr_Occurred()) SWIG_fail;
24729 }
24730 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24731 return resultobj;
24732 fail:
24733 return NULL;
24734 }
24735
24736
24737 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24738 PyObject *resultobj;
24739 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24740 PyObject * obj0 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "self", NULL
24743 };
24744
24745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 delete arg1;
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 Py_INCREF(Py_None); resultobj = Py_None;
24755 return resultobj;
24756 fail:
24757 return NULL;
24758 }
24759
24760
24761 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24762 PyObject *resultobj;
24763 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24764 wxWindow *arg2 = (wxWindow *) NULL ;
24765 bool result;
24766 PyObject * obj0 = 0 ;
24767 PyObject * obj1 = 0 ;
24768 char *kwnames[] = {
24769 (char *) "self",(char *) "window", NULL
24770 };
24771
24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24774 if (obj1) {
24775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24776 }
24777 {
24778 PyThreadState* __tstate = wxPyBeginAllowThreads();
24779 result = (bool)(arg1)->BeginContextHelp(arg2);
24780
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 resultobj = PyInt_FromLong((long)result);
24785 return resultobj;
24786 fail:
24787 return NULL;
24788 }
24789
24790
24791 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24792 PyObject *resultobj;
24793 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24794 bool result;
24795 PyObject * obj0 = 0 ;
24796 char *kwnames[] = {
24797 (char *) "self", NULL
24798 };
24799
24800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24802 {
24803 PyThreadState* __tstate = wxPyBeginAllowThreads();
24804 result = (bool)(arg1)->EndContextHelp();
24805
24806 wxPyEndAllowThreads(__tstate);
24807 if (PyErr_Occurred()) SWIG_fail;
24808 }
24809 resultobj = PyInt_FromLong((long)result);
24810 return resultobj;
24811 fail:
24812 return NULL;
24813 }
24814
24815
24816 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24817 PyObject *obj;
24818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24819 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24820 Py_INCREF(obj);
24821 return Py_BuildValue((char *)"");
24822 }
24823 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24824 PyObject *resultobj;
24825 wxWindow *arg1 = (wxWindow *) 0 ;
24826 wxWindowID arg2 = (wxWindowID) wxID_CONTEXT_HELP ;
24827 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24828 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24829 wxSize const &arg4_defvalue = wxDefaultSize ;
24830 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24831 long arg5 = (long) wxBU_AUTODRAW ;
24832 wxContextHelpButton *result;
24833 wxPoint temp3 ;
24834 wxSize temp4 ;
24835 PyObject * obj0 = 0 ;
24836 PyObject * obj2 = 0 ;
24837 PyObject * obj3 = 0 ;
24838 char *kwnames[] = {
24839 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24840 };
24841
24842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24844 if (obj2) {
24845 {
24846 arg3 = &temp3;
24847 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24848 }
24849 }
24850 if (obj3) {
24851 {
24852 arg4 = &temp4;
24853 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24854 }
24855 }
24856 {
24857 PyThreadState* __tstate = wxPyBeginAllowThreads();
24858 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24859
24860 wxPyEndAllowThreads(__tstate);
24861 if (PyErr_Occurred()) SWIG_fail;
24862 }
24863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24864 return resultobj;
24865 fail:
24866 return NULL;
24867 }
24868
24869
24870 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24871 PyObject *obj;
24872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24873 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24874 Py_INCREF(obj);
24875 return Py_BuildValue((char *)"");
24876 }
24877 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24878 PyObject *resultobj;
24879 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24880 wxHelpProvider *result;
24881 PyObject * obj0 = 0 ;
24882 char *kwnames[] = {
24883 (char *) "helpProvider", NULL
24884 };
24885
24886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24888 {
24889 PyThreadState* __tstate = wxPyBeginAllowThreads();
24890 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24891
24892 wxPyEndAllowThreads(__tstate);
24893 if (PyErr_Occurred()) SWIG_fail;
24894 }
24895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24896 return resultobj;
24897 fail:
24898 return NULL;
24899 }
24900
24901
24902 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
24903 PyObject *resultobj;
24904 wxHelpProvider *result;
24905 char *kwnames[] = {
24906 NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 result = (wxHelpProvider *)wxHelpProvider::Get();
24913
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24918 return resultobj;
24919 fail:
24920 return NULL;
24921 }
24922
24923
24924 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24925 PyObject *resultobj;
24926 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24927 wxWindow *arg2 = (wxWindow *) 0 ;
24928 wxString result;
24929 PyObject * obj0 = 0 ;
24930 PyObject * obj1 = 0 ;
24931 char *kwnames[] = {
24932 (char *) "self",(char *) "window", NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
24936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24938 {
24939 PyThreadState* __tstate = wxPyBeginAllowThreads();
24940 result = (arg1)->GetHelp((wxWindow const *)arg2);
24941
24942 wxPyEndAllowThreads(__tstate);
24943 if (PyErr_Occurred()) SWIG_fail;
24944 }
24945 {
24946 #if wxUSE_UNICODE
24947 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24948 #else
24949 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24950 #endif
24951 }
24952 return resultobj;
24953 fail:
24954 return NULL;
24955 }
24956
24957
24958 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24959 PyObject *resultobj;
24960 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24961 wxWindow *arg2 = (wxWindow *) 0 ;
24962 bool result;
24963 PyObject * obj0 = 0 ;
24964 PyObject * obj1 = 0 ;
24965 char *kwnames[] = {
24966 (char *) "self",(char *) "window", NULL
24967 };
24968
24969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
24970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 result = (bool)(arg1)->ShowHelp(arg2);
24975
24976 wxPyEndAllowThreads(__tstate);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 }
24979 resultobj = PyInt_FromLong((long)result);
24980 return resultobj;
24981 fail:
24982 return NULL;
24983 }
24984
24985
24986 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24989 wxWindow *arg2 = (wxWindow *) 0 ;
24990 wxString *arg3 = 0 ;
24991 bool temp3 = false ;
24992 PyObject * obj0 = 0 ;
24993 PyObject * obj1 = 0 ;
24994 PyObject * obj2 = 0 ;
24995 char *kwnames[] = {
24996 (char *) "self",(char *) "window",(char *) "text", NULL
24997 };
24998
24999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25002 {
25003 arg3 = wxString_in_helper(obj2);
25004 if (arg3 == NULL) SWIG_fail;
25005 temp3 = true;
25006 }
25007 {
25008 PyThreadState* __tstate = wxPyBeginAllowThreads();
25009 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25010
25011 wxPyEndAllowThreads(__tstate);
25012 if (PyErr_Occurred()) SWIG_fail;
25013 }
25014 Py_INCREF(Py_None); resultobj = Py_None;
25015 {
25016 if (temp3)
25017 delete arg3;
25018 }
25019 return resultobj;
25020 fail:
25021 {
25022 if (temp3)
25023 delete arg3;
25024 }
25025 return NULL;
25026 }
25027
25028
25029 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25030 PyObject *resultobj;
25031 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25032 wxWindowID arg2 ;
25033 wxString *arg3 = 0 ;
25034 bool temp3 = false ;
25035 PyObject * obj0 = 0 ;
25036 PyObject * obj2 = 0 ;
25037 char *kwnames[] = {
25038 (char *) "self",(char *) "id",(char *) "text", NULL
25039 };
25040
25041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25043 {
25044 arg3 = wxString_in_helper(obj2);
25045 if (arg3 == NULL) SWIG_fail;
25046 temp3 = true;
25047 }
25048 {
25049 PyThreadState* __tstate = wxPyBeginAllowThreads();
25050 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25051
25052 wxPyEndAllowThreads(__tstate);
25053 if (PyErr_Occurred()) SWIG_fail;
25054 }
25055 Py_INCREF(Py_None); resultobj = Py_None;
25056 {
25057 if (temp3)
25058 delete arg3;
25059 }
25060 return resultobj;
25061 fail:
25062 {
25063 if (temp3)
25064 delete arg3;
25065 }
25066 return NULL;
25067 }
25068
25069
25070 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25071 PyObject *resultobj;
25072 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25073 PyObject * obj0 = 0 ;
25074 char *kwnames[] = {
25075 (char *) "self", NULL
25076 };
25077
25078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25080 {
25081 PyThreadState* __tstate = wxPyBeginAllowThreads();
25082 wxHelpProvider_Destroy(arg1);
25083
25084 wxPyEndAllowThreads(__tstate);
25085 if (PyErr_Occurred()) SWIG_fail;
25086 }
25087 Py_INCREF(Py_None); resultobj = Py_None;
25088 return resultobj;
25089 fail:
25090 return NULL;
25091 }
25092
25093
25094 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25095 PyObject *obj;
25096 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25097 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25098 Py_INCREF(obj);
25099 return Py_BuildValue((char *)"");
25100 }
25101 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj;
25103 wxSimpleHelpProvider *result;
25104 char *kwnames[] = {
25105 NULL
25106 };
25107
25108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25109 {
25110 PyThreadState* __tstate = wxPyBeginAllowThreads();
25111 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25112
25113 wxPyEndAllowThreads(__tstate);
25114 if (PyErr_Occurred()) SWIG_fail;
25115 }
25116 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25117 return resultobj;
25118 fail:
25119 return NULL;
25120 }
25121
25122
25123 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25124 PyObject *obj;
25125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25126 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25127 Py_INCREF(obj);
25128 return Py_BuildValue((char *)"");
25129 }
25130 static PyMethodDef SwigMethods[] = {
25131 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25132 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25133 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25134 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25135 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25136 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25137 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25138 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25139 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25140 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25141 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25142 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25143 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25144 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25145 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25146 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25147 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25148 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25149 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25150 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25151 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25152 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25153 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25154 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25155 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25156 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25157 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25158 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25159 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25160 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25161 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25162 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25163 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25164 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25165 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25166 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25167 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25168 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25169 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25170 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25171 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25172 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25173 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25174 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25175 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25176 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25177 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25178 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25179 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25180 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25181 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25182 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25183 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25184 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25185 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25186 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25187 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25188 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25189 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25190 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25191 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25192 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25193 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25194 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25195 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25196 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25197 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25198 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25199 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25200 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25201 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25202 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25203 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25204 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25205 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25206 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25207 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25208 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25209 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25210 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25211 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25212 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25213 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25214 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25215 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25216 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25217 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25218 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25219 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25220 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25221 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25222 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25223 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25224 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25225 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25226 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25227 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25228 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25229 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25230 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25231 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25232 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25233 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25234 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25235 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25236 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25237 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25238 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25239 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25240 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25241 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25242 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25243 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25244 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25245 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25246 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25247 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
25248 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25249 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25250 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25251 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25252 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25253 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25254 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25255 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25256 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25257 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25258 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25259 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25260 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25261 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25262 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25263 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25264 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25265 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25266 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25267 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25268 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25269 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25270 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25271 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25272 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25273 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25274 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25275 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25276 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25277 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25278 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25279 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25280 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25281 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25282 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25283 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25284 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25285 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25286 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25287 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25288 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25289 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25290 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25291 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25292 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25293 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25294 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25295 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25296 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25297 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25298 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25299 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25300 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25301 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25302 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25303 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25304 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25305 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25306 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25307 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25308 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25309 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25310 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25311 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25312 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25313 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25314 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25315 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25316 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25317 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25318 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25319 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
25320 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25321 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25322 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25323 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25324 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25325 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25326 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25327 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25328 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25329 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25330 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25331 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25332 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25333 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25334 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25335 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
25336 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
25337 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
25338 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
25339 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
25340 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
25341 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25342 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
25343 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25344 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
25345 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
25346 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25347 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
25348 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
25349 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
25350 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
25351 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
25352 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25353 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
25354 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
25355 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25356 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
25357 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
25358 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
25359 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
25360 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
25361 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
25362 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
25363 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25364 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25365 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25366 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
25367 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
25368 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
25369 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
25370 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25371 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
25372 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
25373 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
25374 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
25375 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25376 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25377 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25378 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25379 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
25380 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
25381 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
25382 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
25383 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
25384 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
25385 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25386 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25387 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25388 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
25389 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
25390 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
25391 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
25392 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25393 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25394 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
25395 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
25396 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
25397 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
25398 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
25399 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
25400 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
25401 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
25402 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
25403 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
25404 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
25405 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
25406 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25407 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
25408 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25409 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
25410 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
25411 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
25412 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
25413 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
25414 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
25415 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
25416 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
25417 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
25418 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
25419 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
25420 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
25421 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
25422 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
25423 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25424 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25425 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
25426 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
25427 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
25428 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
25429 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25430 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
25431 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
25432 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25433 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25434 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25435 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
25436 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
25437 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25438 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25439 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
25440 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
25441 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
25442 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
25443 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
25444 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25445 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
25446 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
25447 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
25448 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
25449 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
25450 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
25451 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
25452 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
25453 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
25454 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
25455 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
25456 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25457 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
25458 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
25459 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
25460 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25461 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
25462 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
25463 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
25464 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
25465 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
25466 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
25467 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
25468 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
25469 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
25470 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
25471 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
25472 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25473 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25474 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
25475 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
25476 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
25477 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25478 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25479 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
25480 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
25481 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
25482 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
25483 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25484 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
25485 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
25486 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
25487 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25488 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
25489 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
25490 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
25491 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
25492 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25493 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25494 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25495 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
25496 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
25497 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
25498 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
25499 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
25500 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25501 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
25502 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
25503 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25504 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25505 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
25506 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
25507 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
25508 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
25509 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
25510 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
25511 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
25512 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
25513 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
25514 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
25515 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
25516 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
25517 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
25518 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
25519 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
25520 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
25521 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
25522 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
25523 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
25524 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
25525 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25526 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
25527 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
25528 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
25529 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
25530 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
25531 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25532 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
25533 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25534 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
25535 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
25536 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
25537 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
25538 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25539 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
25540 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
25541 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
25542 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
25543 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
25544 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
25545 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
25546 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
25547 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25548 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
25549 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
25550 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25551 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
25552 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
25553 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
25554 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
25555 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
25556 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
25557 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
25558 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
25559 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25560 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25561 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25562 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25563 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25564 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25565 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25566 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25567 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25568 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
25569 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
25570 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
25571 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
25572 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
25573 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
25574 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
25575 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
25576 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
25577 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
25578 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
25579 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
25580 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
25581 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
25582 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
25583 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
25584 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25585 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25586 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
25587 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
25588 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
25589 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
25590 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
25591 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
25592 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
25593 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
25594 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
25595 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
25596 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
25597 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
25598 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25599 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25600 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
25601 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
25602 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
25603 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
25604 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
25605 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
25606 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
25607 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
25608 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
25609 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
25610 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
25611 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
25612 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
25613 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
25614 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
25615 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
25616 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
25617 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
25618 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
25622 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
25624 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
25632 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
25634 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
25639 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
25649 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
25650 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25653 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
25659 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
25671 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
25677 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25681 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25685 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
25689 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
25690 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
25692 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
25694 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
25697 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
25698 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
25700 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
25702 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
25703 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
25704 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
25708 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
25710 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
25711 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25712 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25715 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
25717 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
25718 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
25720 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
25721 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
25722 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
25723 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
25724 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
25725 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
25726 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
25727 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
25728 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
25729 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
25730 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
25731 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
25732 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
25733 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
25734 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
25735 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
25736 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
25737 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
25738 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
25739 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
25740 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
25741 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
25742 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
25743 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
25744 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
25745 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
25746 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
25747 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
25748 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
25749 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
25750 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
25751 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
25752 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
25753 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
25754 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
25755 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
25756 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
25757 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
25758 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
25759 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
25760 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
25761 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
25762 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25763 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25764 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
25765 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
25766 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
25767 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
25768 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
25769 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25770 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
25771 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25772 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
25773 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25774 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
25775 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
25776 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
25777 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
25778 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
25779 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25780 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25781 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
25782 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
25783 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
25784 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
25785 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
25786 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
25787 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
25788 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
25789 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25790 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
25791 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
25792 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
25793 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
25794 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
25795 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25799 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
25800 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
25804 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
25805 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
25806 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
25807 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
25811 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
25812 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
25814 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
25815 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
25816 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
25817 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
25818 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
25820 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
25821 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
25822 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25825 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
25826 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
25827 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
25832 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25835 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
25854 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
25859 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
25866 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
25880 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
25888 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
25893 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
25895 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
25903 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
25905 { NULL, NULL }
25906 };
25907
25908
25909 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25910
25911 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
25912 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
25913 }
25914 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
25915 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
25916 }
25917 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
25918 return (void *)((wxSizer *) ((wxBoxSizer *) x));
25919 }
25920 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
25921 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
25922 }
25923 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
25924 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
25925 }
25926 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
25927 return (void *)((wxSizer *) ((wxGridSizer *) x));
25928 }
25929 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
25930 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
25931 }
25932 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
25933 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
25934 }
25935 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
25936 return (void *)((wxSizer *) ((wxPySizer *) x));
25937 }
25938 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
25939 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
25940 }
25941 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
25942 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
25943 }
25944 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
25945 return (void *)((wxEvent *) ((wxMenuEvent *) x));
25946 }
25947 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
25948 return (void *)((wxEvent *) ((wxCloseEvent *) x));
25949 }
25950 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
25951 return (void *)((wxEvent *) ((wxMouseEvent *) x));
25952 }
25953 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
25954 return (void *)((wxEvent *) ((wxEraseEvent *) x));
25955 }
25956 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
25957 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
25958 }
25959 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
25960 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
25961 }
25962 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
25963 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
25964 }
25965 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
25966 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
25967 }
25968 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
25969 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
25970 }
25971 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
25972 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
25973 }
25974 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
25975 return (void *)((wxEvent *) ((wxPyEvent *) x));
25976 }
25977 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
25978 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
25979 }
25980 static void *_p_wxListEventTo_p_wxEvent(void *x) {
25981 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
25982 }
25983 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
25984 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
25985 }
25986 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
25987 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
25988 }
25989 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
25990 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
25991 }
25992 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
25993 return (void *)((wxEvent *) ((wxIdleEvent *) x));
25994 }
25995 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
25996 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
25997 }
25998 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
25999 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26000 }
26001 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26002 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26003 }
26004 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26005 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26006 }
26007 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26008 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26009 }
26010 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26011 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26012 }
26013 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26014 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26015 }
26016 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26017 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26018 }
26019 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26020 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26021 }
26022 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26023 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26024 }
26025 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26026 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26027 }
26028 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26029 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26030 }
26031 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26032 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26033 }
26034 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26035 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26036 }
26037 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26038 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26039 }
26040 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26041 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26042 }
26043 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26044 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26045 }
26046 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26047 return (void *)((wxEvent *) ((wxShowEvent *) x));
26048 }
26049 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26050 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26051 }
26052 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26053 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26054 }
26055 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26056 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26057 }
26058 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26059 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26060 }
26061 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26062 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26063 }
26064 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26065 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26066 }
26067 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26068 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26069 }
26070 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26071 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26072 }
26073 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26074 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26075 }
26076 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26077 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26078 }
26079 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26080 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26081 }
26082 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26083 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26084 }
26085 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26086 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26087 }
26088 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26089 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26090 }
26091 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26092 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26093 }
26094 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26095 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26096 }
26097 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26098 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26099 }
26100 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26101 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26102 }
26103 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26104 return (void *)((wxControl *) ((wxComboBox *) x));
26105 }
26106 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26107 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26108 }
26109 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26110 return (void *)((wxControl *) ((wxStaticBox *) x));
26111 }
26112 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26113 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26114 }
26115 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26116 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26117 }
26118 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26119 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26120 }
26121 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26122 return (void *)((wxControl *) ((wxScrollBar *) x));
26123 }
26124 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26125 return (void *)((wxControl *) ((wxBookCtrl *) x));
26126 }
26127 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26128 return (void *)((wxControl *) ((wxRadioButton *) x));
26129 }
26130 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26131 return (void *)((wxControl *) ((wxToggleButton *) x));
26132 }
26133 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26134 return (void *)((wxControl *) ((wxGauge *) x));
26135 }
26136 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26137 return (void *)((wxControl *) ((wxToolBarBase *) x));
26138 }
26139 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26140 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26141 }
26142 static void *_p_wxButtonTo_p_wxControl(void *x) {
26143 return (void *)((wxControl *) ((wxButton *) x));
26144 }
26145 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26146 return (void *)((wxControl *) ((wxSpinButton *) x));
26147 }
26148 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26149 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26150 }
26151 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26152 return (void *)((wxControl *) ((wxControlWithItems *) x));
26153 }
26154 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26155 return (void *)((wxControl *) ((wxRadioBox *) x));
26156 }
26157 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26158 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26159 }
26160 static void *_p_wxListbookTo_p_wxControl(void *x) {
26161 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26162 }
26163 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26164 return (void *)((wxControl *) ((wxCheckBox *) x));
26165 }
26166 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26167 return (void *)((wxControl *) ((wxTextCtrl *) x));
26168 }
26169 static void *_p_wxListViewTo_p_wxControl(void *x) {
26170 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26171 }
26172 static void *_p_wxSliderTo_p_wxControl(void *x) {
26173 return (void *)((wxControl *) ((wxSlider *) x));
26174 }
26175 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26176 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26177 }
26178 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26179 return (void *)((wxControl *) ((wxPyControl *) x));
26180 }
26181 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26182 return (void *)((wxControl *) ((wxStaticLine *) x));
26183 }
26184 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26185 return (void *)((wxControl *) ((wxStaticText *) x));
26186 }
26187 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26188 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26189 }
26190 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26191 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26192 }
26193 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26194 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26195 }
26196 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26197 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26198 }
26199 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26200 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26201 }
26202 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26203 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26204 }
26205 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26206 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26207 }
26208 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26210 }
26211 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26212 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26213 }
26214 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26215 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26216 }
26217 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26218 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26219 }
26220 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26221 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26222 }
26223 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26224 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26225 }
26226 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26228 }
26229 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26230 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26231 }
26232 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26233 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26234 }
26235 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26236 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26237 }
26238 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26239 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26240 }
26241 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26242 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26243 }
26244 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26245 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26246 }
26247 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26248 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26249 }
26250 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26251 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26252 }
26253 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26254 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26255 }
26256 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26257 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26258 }
26259 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26260 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26261 }
26262 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26263 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26264 }
26265 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26267 }
26268 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26269 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26270 }
26271 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26272 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26273 }
26274 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26275 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26276 }
26277 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26278 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26279 }
26280 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26281 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26282 }
26283 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26284 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26285 }
26286 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26287 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26288 }
26289 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26290 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26291 }
26292 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26293 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26294 }
26295 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26296 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26297 }
26298 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26299 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26300 }
26301 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26302 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26303 }
26304 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26305 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26306 }
26307 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26308 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26309 }
26310 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26311 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26312 }
26313 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26314 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26315 }
26316 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26317 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
26318 }
26319 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
26320 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26321 }
26322 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
26323 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26324 }
26325 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
26326 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26327 }
26328 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
26329 return (void *)((wxListBox *) ((wxCheckListBox *) x));
26330 }
26331 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
26332 return (void *)((wxBookCtrl *) ((wxListbook *) x));
26333 }
26334 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
26335 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
26336 }
26337 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
26338 return (void *)((wxButton *) ((wxBitmapButton *) x));
26339 }
26340 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
26341 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
26342 }
26343 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
26344 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
26345 }
26346 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
26347 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
26348 }
26349 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26350 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26351 }
26352 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26353 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26354 }
26355 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26356 return (void *)((wxObject *) ((wxSizerItem *) x));
26357 }
26358 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26359 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26360 }
26361 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26362 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26363 }
26364 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
26365 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
26366 }
26367 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
26368 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26369 }
26370 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26371 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26372 }
26373 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26374 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26375 }
26376 static void *_p_wxSizerTo_p_wxObject(void *x) {
26377 return (void *)((wxObject *) ((wxSizer *) x));
26378 }
26379 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26380 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26381 }
26382 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
26383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
26384 }
26385 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
26386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26387 }
26388 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26390 }
26391 static void *_p_wxEventTo_p_wxObject(void *x) {
26392 return (void *)((wxObject *) ((wxEvent *) x));
26393 }
26394 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26395 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26396 }
26397 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26398 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26399 }
26400 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26401 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26402 }
26403 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
26404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26405 }
26406 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
26407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26408 }
26409 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
26410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26411 }
26412 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26413 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26414 }
26415 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26416 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26417 }
26418 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26419 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26420 }
26421 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26422 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26423 }
26424 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26425 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26426 }
26427 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26428 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26429 }
26430 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
26431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
26432 }
26433 static void *_p_wxControlTo_p_wxObject(void *x) {
26434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26435 }
26436 static void *_p_wxPyControlTo_p_wxObject(void *x) {
26437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
26438 }
26439 static void *_p_wxGaugeTo_p_wxObject(void *x) {
26440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
26441 }
26442 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
26443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
26444 }
26445 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
26446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
26447 }
26448 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
26449 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26450 }
26451 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26452 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26453 }
26454 static void *_p_wxChoiceTo_p_wxObject(void *x) {
26455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26456 }
26457 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26458 return (void *)((wxObject *) ((wxFSFile *) x));
26459 }
26460 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26461 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26462 }
26463 static void *_p_wxListViewTo_p_wxObject(void *x) {
26464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26465 }
26466 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
26467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26468 }
26469 static void *_p_wxNotebookTo_p_wxObject(void *x) {
26470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26471 }
26472 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26473 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26474 }
26475 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26476 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26477 }
26478 static void *_p_wxListbookTo_p_wxObject(void *x) {
26479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26480 }
26481 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26482 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26483 }
26484 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
26485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26486 }
26487 static void *_p_wxSliderTo_p_wxObject(void *x) {
26488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
26489 }
26490 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26491 return (void *)((wxObject *) ((wxMenuItem *) x));
26492 }
26493 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26494 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26495 }
26496 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
26498 }
26499 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
26500 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
26501 }
26502 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
26503 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
26504 }
26505 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
26506 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
26507 }
26508 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
26509 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
26510 }
26511 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
26512 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
26513 }
26514 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
26515 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
26516 }
26517 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
26518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
26519 }
26520 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
26521 return (void *)((wxObject *) ((wxContextHelp *) x));
26522 }
26523 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
26524 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
26525 }
26526 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
26527 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
26528 }
26529 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
26530 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
26531 }
26532 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
26533 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
26534 }
26535 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
26536 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
26537 }
26538 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
26539 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
26540 }
26541 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
26542 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
26543 }
26544 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
26545 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
26546 }
26547 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
26548 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
26549 }
26550 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
26551 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
26552 }
26553 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
26554 return (void *)((wxObject *) ((wxImageHandler *) x));
26555 }
26556 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
26557 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
26558 }
26559 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
26560 return (void *)((wxObject *) ((wxEvtHandler *) x));
26561 }
26562 static void *_p_wxListEventTo_p_wxObject(void *x) {
26563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26564 }
26565 static void *_p_wxListBoxTo_p_wxObject(void *x) {
26566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26567 }
26568 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
26569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26570 }
26571 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
26572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26573 }
26574 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
26575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26576 }
26577 static void *_p_wxButtonTo_p_wxObject(void *x) {
26578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
26579 }
26580 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
26581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
26582 }
26583 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
26584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26585 }
26586 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
26587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
26588 }
26589 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
26590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
26591 }
26592 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
26593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
26594 }
26595 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
26596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
26597 }
26598 static void *_p_wxListItemTo_p_wxObject(void *x) {
26599 return (void *)((wxObject *) ((wxListItem *) x));
26600 }
26601 static void *_p_wxImageTo_p_wxObject(void *x) {
26602 return (void *)((wxObject *) ((wxImage *) x));
26603 }
26604 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
26605 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
26606 }
26607 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
26608 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
26609 }
26610 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
26611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26612 }
26613 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
26614 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26615 }
26616 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
26617 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26618 }
26619 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
26620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26621 }
26622 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
26623 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
26624 }
26625 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
26626 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
26627 }
26628 static void *_p_wxWindowTo_p_wxObject(void *x) {
26629 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
26630 }
26631 static void *_p_wxMenuTo_p_wxObject(void *x) {
26632 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
26633 }
26634 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
26635 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
26636 }
26637 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
26638 return (void *)((wxObject *) ((wxFileSystem *) x));
26639 }
26640 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
26641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
26642 }
26643 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
26644 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
26645 }
26646 static void *_p_wxPyAppTo_p_wxObject(void *x) {
26647 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
26648 }
26649 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
26650 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
26651 }
26652 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
26653 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
26654 }
26655 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
26656 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
26657 }
26658 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
26659 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26660 }
26661 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
26662 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
26663 }
26664 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
26665 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
26666 }
26667 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
26668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
26669 }
26670 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
26671 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
26672 }
26673 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
26674 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
26675 }
26676 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
26677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
26678 }
26679 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
26680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26681 }
26682 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
26683 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
26684 }
26685 static void *_p_wxToolBarTo_p_wxObject(void *x) {
26686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26687 }
26688 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
26689 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
26690 }
26691 static void *_p_wxValidatorTo_p_wxObject(void *x) {
26692 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
26693 }
26694 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
26695 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
26696 }
26697 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
26698 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
26699 }
26700 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
26701 return (void *)((wxWindow *) ((wxMenuBar *) x));
26702 }
26703 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
26704 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26705 }
26706 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
26707 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
26708 }
26709 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
26710 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
26711 }
26712 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
26713 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
26714 }
26715 static void *_p_wxControlTo_p_wxWindow(void *x) {
26716 return (void *)((wxWindow *) ((wxControl *) x));
26717 }
26718 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
26719 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
26720 }
26721 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
26722 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26723 }
26724 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
26725 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
26726 }
26727 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
26728 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
26729 }
26730 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
26731 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
26732 }
26733 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
26734 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
26735 }
26736 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
26737 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
26738 }
26739 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
26740 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
26741 }
26742 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
26743 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
26744 }
26745 static void *_p_wxListbookTo_p_wxWindow(void *x) {
26746 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26747 }
26748 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
26749 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
26750 }
26751 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
26752 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
26753 }
26754 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
26755 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
26756 }
26757 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
26758 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26759 }
26760 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
26761 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26762 }
26763 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
26764 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26765 }
26766 static void *_p_wxListViewTo_p_wxWindow(void *x) {
26767 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26768 }
26769 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
26770 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26771 }
26772 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
26773 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
26774 }
26775 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
26776 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
26777 }
26778 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
26779 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
26780 }
26781 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
26782 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
26783 }
26784 static void *_p_wxSliderTo_p_wxWindow(void *x) {
26785 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
26786 }
26787 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
26788 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
26789 }
26790 static void *_p_wxButtonTo_p_wxWindow(void *x) {
26791 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
26792 }
26793 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
26794 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
26795 }
26796 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
26797 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26798 }
26799 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
26800 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
26801 }
26802 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
26803 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26804 }
26805 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
26806 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26807 }
26808 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
26809 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
26810 }
26811 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
26812 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
26813 }
26814 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
26815 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
26816 }
26817 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
26818 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
26819 }
26820 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
26821 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
26822 }
26823 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
26824 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26825 }
26826 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
26827 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26828 }
26829 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
26830 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
26831 }
26832 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
26833 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
26834 }
26835 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
26836 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
26837 }
26838 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
26839 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
26840 }
26841 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
26842 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
26843 }
26844 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
26845 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
26846 }
26847 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
26848 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
26849 }
26850 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
26851 return (void *)((wxControlWithItems *) ((wxChoice *) x));
26852 }
26853 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
26854 return (void *)((wxControlWithItems *) ((wxListBox *) x));
26855 }
26856 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
26857 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
26858 }
26859 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
26860 return (void *)((wxValidator *) ((wxPyValidator *) x));
26861 }
26862 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
26863 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}};
26864 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}};
26865 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
26866 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
26867 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
26868 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
26869 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}};
26870 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
26871 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
26872 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
26873 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}};
26874 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
26875 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
26876 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
26877 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}};
26878 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
26879 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
26880 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
26881 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
26882 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
26883 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
26884 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
26885 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
26886 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
26887 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
26888 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
26889 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
26890 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
26891 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
26892 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}};
26893 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
26894 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
26895 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
26896 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
26897 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
26898 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
26899 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
26900 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
26901 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}};
26902 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
26903 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
26904 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
26905 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}};
26906 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
26907 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}};
26908 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
26909 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
26910 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
26911 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
26912 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
26913 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
26914 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
26915 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
26916 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
26917 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
26918 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
26919 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
26920 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
26921 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
26922 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
26923 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
26924 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
26925 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
26926 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}};
26927 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
26928 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}};
26929 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
26930 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
26931 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
26932 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
26933 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}};
26934 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
26935 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}};
26936 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
26937 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
26938 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
26939 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
26940 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
26941
26942 static swig_type_info *swig_types_initial[] = {
26943 _swigt__p_wxTextUrlEvent,
26944 _swigt__p_wxBookCtrlEvent,
26945 _swigt__p_wxSizer,
26946 _swigt__p_wxTreeItemIdValue,
26947 _swigt__wxTreeItemIdValue,
26948 _swigt__p_wxCheckBox,
26949 _swigt__p_wxPyTreeCtrl,
26950 _swigt__p_wxEvent,
26951 _swigt__p_wxGenericDirCtrl,
26952 _swigt__p_bool,
26953 _swigt__p_wxPyTreeItemData,
26954 _swigt__p_wxItemContainer,
26955 _swigt__p_wxDirFilterListCtrl,
26956 _swigt__p_wxPyListCtrl,
26957 _swigt__p_wxStaticLine,
26958 _swigt__p_wxControl,
26959 _swigt__p_wxPyControl,
26960 _swigt__p_wxGauge,
26961 _swigt__p_wxToolBarBase,
26962 _swigt__p_wxFont,
26963 _swigt__p_wxToggleButton,
26964 _swigt__p_wxRadioButton,
26965 _swigt__p_wxChoice,
26966 _swigt__p_wxListItemAttr,
26967 _swigt__p_int,
26968 _swigt__p_wxSize,
26969 _swigt__p_wxListView,
26970 _swigt__p_wxIcon,
26971 _swigt__p_wxTextCtrl,
26972 _swigt__p_wxNotebook,
26973 _swigt__p_wxNotifyEvent,
26974 _swigt__p_wxArrayString,
26975 _swigt__p_wxListbook,
26976 _swigt__p_wxStaticBitmap,
26977 _swigt__p_wxSlider,
26978 _swigt__p_wxStaticBox,
26979 _swigt__p_wxArrayInt,
26980 _swigt__p_wxContextHelp,
26981 _swigt__p_long,
26982 _swigt__p_wxEvtHandler,
26983 _swigt__p_wxListEvent,
26984 _swigt__p_wxListBox,
26985 _swigt__p_wxCheckListBox,
26986 _swigt__p_wxBookCtrl,
26987 _swigt__p_wxSpinButton,
26988 _swigt__p_wxButton,
26989 _swigt__p_wxBitmapButton,
26990 _swigt__p_wxRect,
26991 _swigt__p_wxContextHelpButton,
26992 _swigt__p_wxRadioBox,
26993 _swigt__p_wxScrollBar,
26994 _swigt__p_wxTreeItemId,
26995 _swigt__p_wxComboBox,
26996 _swigt__p_wxHelpEvent,
26997 _swigt__p_wxListItem,
26998 _swigt__p_wxNotebookSizer,
26999 _swigt__p_wxSpinCtrl,
27000 _swigt__p_wxImageList,
27001 _swigt__p_wxHelpProvider,
27002 _swigt__p_wxTextAttr,
27003 _swigt__p_wxSimpleHelpProvider,
27004 _swigt__p_wxPoint,
27005 _swigt__p_wxListbookEvent,
27006 _swigt__p_wxNotebookEvent,
27007 _swigt__p_wxObject,
27008 _swigt__p_wxKeyEvent,
27009 _swigt__p_wxWindow,
27010 _swigt__p_wxString,
27011 _swigt__p_wxBitmap,
27012 _swigt__p_wxTreeEvent,
27013 _swigt__p_wxMouseEvent,
27014 _swigt__p_wxCommandEvent,
27015 _swigt__p_wxStaticText,
27016 _swigt__p_wxControlWithItems,
27017 _swigt__p_wxToolBarToolBase,
27018 _swigt__p_wxColour,
27019 _swigt__p_wxToolBar,
27020 _swigt__p_wxBookCtrlSizer,
27021 _swigt__p_wxValidator,
27022 0
27023 };
27024
27025
27026 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27027
27028 static swig_const_info swig_const_table[] = {
27029 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27030 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27031 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27032 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27033 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27034 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27035 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27036 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27037 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27038 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27039 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27040 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27041 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27042 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27043 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27044 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27045 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27046 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27047 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27048 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27049 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27050 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27051 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27052 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27053 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27054 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27055 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27056 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27057 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27058 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27059 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27060 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27061 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27062 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27063 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27064 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27065 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27066 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27067 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27068 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27069 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27070 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27071 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27072 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27073 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27074 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27075 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27076 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27077 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27078 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27079 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27080 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27081 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27082 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27083 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27084 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27085 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27086 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27087 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27088 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27089 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27090 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27091 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27092 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27093 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27094 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27095 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27096 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27097 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27098 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27099 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27100 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27101 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27102 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27103 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27104 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27105 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27106 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27107 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27108 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27109 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27110 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27111 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27112 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27113 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27114 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27115 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27116 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27117 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27118 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27119 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27120 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27121 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27122 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27123 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27124 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27125 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27126 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27127 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27128 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27129 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27130 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27131 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27132 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27133 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27134 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27135 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27136 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27137 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27138 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27139 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27140 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27141 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27142 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27143 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27144 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27145 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27146 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27147 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27148 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27149 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27150 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27151 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27152 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27153 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27154 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27155 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27156 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27157 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27158 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27159 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27160 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27161 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27162 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27163 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27164 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27165 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27166 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27167 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27168 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27169 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27170 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27171 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27172 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27173 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27174 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27175 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27176 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27177 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27178 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27179 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27180 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27181 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27182 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27183 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27184 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27185 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27186 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27187 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27188 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27189 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27190 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27191 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27192 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27193 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27194 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27195 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27196 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27197 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27198 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27199 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27200 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27201 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27202 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27203 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27204 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27205 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27206 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27207 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27208 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27209 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27210 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27211 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27212 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27213 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27214 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27215 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27216 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27217 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27218 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27219 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27220 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27221 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27222 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27223 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27224 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27225 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27226 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27227 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27228 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27229 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27230 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27231 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27232 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27233 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27234 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27235 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27236 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27237 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27238 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27239 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27240 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27241 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27242 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27243 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27244 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27245 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27246 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27247 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27248 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27249 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27250 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27251 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27252 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27253 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27254 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27255 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27256 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27257 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27258 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27259 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27260 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27261 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27262 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27263 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27264 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27265 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27266 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27267 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27268 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27269 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27270 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27271 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27272 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27273 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27274 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27275 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27276 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27277 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27278 {0}};
27279
27280 #ifdef __cplusplus
27281 }
27282 #endif
27283
27284 #ifdef __cplusplus
27285 extern "C"
27286 #endif
27287 SWIGEXPORT(void) SWIG_init(void) {
27288 static PyObject *SWIG_globals = 0;
27289 static int typeinit = 0;
27290 PyObject *m, *d;
27291 int i;
27292 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27293 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27294 d = PyModule_GetDict(m);
27295
27296 if (!typeinit) {
27297 for (i = 0; swig_types_initial[i]; i++) {
27298 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27299 }
27300 typeinit = 1;
27301 }
27302 SWIG_InstallConstants(d,swig_const_table);
27303
27304 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
27305 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
27306 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
27307 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
27308 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
27309 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
27310 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
27311 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
27312 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
27313 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
27314 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
27315 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
27316 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
27317 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
27318 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
27319 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
27320 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
27321 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
27322 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
27323 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
27324 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
27325 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
27326 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
27327 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
27328 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
27329 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
27330 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
27331 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
27332 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
27333 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
27334 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
27335 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
27336
27337 // Map renamed classes back to their common name for OOR
27338 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27339
27340 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
27341 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
27342 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
27343 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
27344 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
27345 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
27346 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
27347 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
27348 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
27349 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
27350 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
27351 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
27352 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
27353 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
27354 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
27355 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
27356 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
27357 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
27358 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
27359
27360 // Map renamed classes back to their common name for OOR
27361 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27362 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27363
27364 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
27365 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
27366 }
27367