]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
reSWIGged
[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 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214 #define SWIGTYPE_p_wxSizer swig_types[2]
215 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217 #define SWIGTYPE_p_wxCheckBox swig_types[5]
218 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221 #define SWIGTYPE_p_bool swig_types[9]
222 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223 #define SWIGTYPE_p_wxItemContainer swig_types[11]
224 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226 #define SWIGTYPE_p_wxStaticLine swig_types[14]
227 #define SWIGTYPE_p_wxControl swig_types[15]
228 #define SWIGTYPE_p_wxPyControl swig_types[16]
229 #define SWIGTYPE_p_wxGauge swig_types[17]
230 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
231 #define SWIGTYPE_p_wxFont swig_types[19]
232 #define SWIGTYPE_p_wxToggleButton swig_types[20]
233 #define SWIGTYPE_p_wxRadioButton swig_types[21]
234 #define SWIGTYPE_p_wxChoice swig_types[22]
235 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
236 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
237 #define SWIGTYPE_p_int swig_types[25]
238 #define SWIGTYPE_p_wxSize swig_types[26]
239 #define SWIGTYPE_p_wxDC swig_types[27]
240 #define SWIGTYPE_p_wxListView swig_types[28]
241 #define SWIGTYPE_p_wxIcon swig_types[29]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
243 #define SWIGTYPE_p_wxNotebook swig_types[31]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245 #define SWIGTYPE_p_wxArrayString swig_types[33]
246 #define SWIGTYPE_p_wxListbook swig_types[34]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248 #define SWIGTYPE_p_wxSlider swig_types[36]
249 #define SWIGTYPE_p_wxStaticBox swig_types[37]
250 #define SWIGTYPE_p_wxArrayInt swig_types[38]
251 #define SWIGTYPE_p_wxContextHelp swig_types[39]
252 #define SWIGTYPE_p_long swig_types[40]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
254 #define SWIGTYPE_p_wxListEvent swig_types[42]
255 #define SWIGTYPE_p_wxListBox swig_types[43]
256 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
258 #define SWIGTYPE_p_wxSpinButton swig_types[46]
259 #define SWIGTYPE_p_wxButton swig_types[47]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
261 #define SWIGTYPE_p_wxRect swig_types[49]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263 #define SWIGTYPE_p_wxRadioBox swig_types[51]
264 #define SWIGTYPE_p_wxScrollBar swig_types[52]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
266 #define SWIGTYPE_p_wxComboBox swig_types[54]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
268 #define SWIGTYPE_p_wxListItem swig_types[56]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
271 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
272 #define SWIGTYPE_p_wxImageList swig_types[60]
273 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
274 #define SWIGTYPE_p_wxTextAttr swig_types[62]
275 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
276 #define SWIGTYPE_p_wxPoint swig_types[64]
277 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
278 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
279 #define SWIGTYPE_p_wxObject swig_types[67]
280 #define SWIGTYPE_p_wxCursor swig_types[68]
281 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
282 #define SWIGTYPE_p_wxWindow swig_types[70]
283 #define SWIGTYPE_p_wxString swig_types[71]
284 #define SWIGTYPE_p_wxBitmap swig_types[72]
285 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
286 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxStaticText swig_types[76]
289 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
290 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
294 #define SWIGTYPE_p_wxValidator swig_types[82]
295 static swig_type_info *swig_types[84];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _controls.so
302 ------------------------------------------------*/
303 #define SWIG_init init_controls
304
305 #define SWIG_name "_controls"
306
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309
310 DECLARE_DEF_STRING(PanelNameStr);
311 DECLARE_DEF_STRING(EmptyString);
312 DECLARE_DEF_STRING(ControlNameStr);
313
314
315
316 DECLARE_DEF_STRING(ButtonNameStr);
317
318
319 DECLARE_DEF_STRING(CheckBoxNameStr);
320
321
322 DECLARE_DEF_STRING(ChoiceNameStr);
323
324
325 DECLARE_DEF_STRING(ComboBoxNameStr);
326
327
328 DECLARE_DEF_STRING(GaugeNameStr);
329
330
331 DECLARE_DEF_STRING(StaticBitmapNameStr);
332 DECLARE_DEF_STRING(StaticBoxNameStr);
333 DECLARE_DEF_STRING(StaticTextNameStr);
334
335
336 #include <wx/checklst.h>
337
338 DECLARE_DEF_STRING(ListBoxNameStr);
339
340 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
341 if (clientData) {
342 wxPyClientData* data = new wxPyClientData(clientData);
343 self->Insert(item, pos, data);
344 } else
345 self->Insert(item, pos);
346 }
347 PyObject *wxListBox_GetSelections(wxListBox *self){
348 wxArrayInt lst;
349 self->GetSelections(lst);
350 PyObject *tup = PyTuple_New(lst.GetCount());
351 for(size_t i=0; i<lst.GetCount(); i++) {
352 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
353 }
354 return tup;
355 }
356
357 DECLARE_DEF_STRING(TextCtrlNameStr);
358
359
360 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
361 PyObject* o2;
362 PyObject* o3;
363
364 if (!target) {
365 target = o;
366 } else if (target == Py_None) {
367 Py_DECREF(Py_None);
368 target = o;
369 } else {
370 if (!PyTuple_Check(target)) {
371 o2 = target;
372 target = PyTuple_New(1);
373 PyTuple_SetItem(target, 0, o2);
374 }
375 o3 = PyTuple_New(1);
376 PyTuple_SetItem(o3, 0, o);
377
378 o2 = target;
379 target = PySequence_Concat(o2, o3);
380 Py_DECREF(o2);
381 Py_DECREF(o3);
382 }
383 return target;
384 }
385
386 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
387 self->AppendText(text);
388 }
389 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
390 return self->GetValue().Mid(from, to - from);
391 }
392
393 DECLARE_DEF_STRING(ScrollBarNameStr);
394
395
396 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
397 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
398 DECLARE_DEF_STRING(SpinCtrlNameStr);
399
400 void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
401 }
402
403 DECLARE_DEF_STRING(RadioBoxNameStr);
404 DECLARE_DEF_STRING(RadioButtonNameStr);
405
406 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
407 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
408 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
409
410 #include <wx/slider.h>
411
412 DECLARE_DEF_STRING(SliderNameStr);
413
414
415 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
416 DECLARE_DEF_STRING(ToggleButtonNameStr);
417
418
419 #ifdef __WXMAC__
420 // implement dummy classes and such for wxMac
421
422 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
423
424 class wxToggleButton : public wxControl
425 {
426 public:
427 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
428 const wxPoint&, const wxSize&, long,
429 const wxValidator&, const wxString&)
430 { PyErr_SetNone(PyExc_NotImplementedError); }
431
432 wxToggleButton()
433 { PyErr_SetNone(PyExc_NotImplementedError); }
434 };
435 #endif
436
437
438 DECLARE_DEF_STRING(NOTEBOOK_NAME);
439
440
441 DECLARE_DEF_STRING(ToolBarNameStr);
442
443 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
444 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
445 if (udata) {
446 Py_INCREF(udata->m_obj);
447 return udata->m_obj;
448 } else {
449 Py_INCREF(Py_None);
450 return Py_None;
451 }
452 }
453 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
454 self->SetClientData(new wxPyUserData(clientData));
455 }
456 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){
457 wxPyUserData* udata = NULL;
458 if (clientData && clientData != Py_None)
459 udata = new wxPyUserData(clientData);
460 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
461 shortHelp, longHelp, udata);
462 }
463 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){
464 wxPyUserData* udata = NULL;
465 if (clientData && clientData != Py_None)
466 udata = new wxPyUserData(clientData);
467 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
468 shortHelp, longHelp, udata);
469 }
470 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
471 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
472 if (udata) {
473 Py_INCREF(udata->m_obj);
474 return udata->m_obj;
475 } else {
476 Py_INCREF(Py_None);
477 return Py_None;
478 }
479 }
480 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
481 self->SetToolClientData(id, new wxPyUserData(clientData));
482 }
483
484 #include <wx/listctrl.h>
485
486 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
487 DECLARE_DEF_STRING(ListCtrlNameStr);
488
489 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
490 // Python aware sorting function for wxPyListCtrl
491 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
492 int retval = 0;
493 PyObject* func = (PyObject*)funcPtr;
494 wxPyBeginBlockThreads();
495
496 PyObject* args = Py_BuildValue("(ii)", item1, item2);
497 PyObject* result = PyEval_CallObject(func, args);
498 Py_DECREF(args);
499 if (result) {
500 retval = PyInt_AsLong(result);
501 Py_DECREF(result);
502 }
503
504 wxPyEndBlockThreads();
505 return retval;
506 }
507
508 // C++ Version of a Python aware class
509 class wxPyListCtrl : public wxListCtrl {
510 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
511 public:
512 wxPyListCtrl() : wxListCtrl() {}
513 wxPyListCtrl(wxWindow* parent, wxWindowID id,
514 const wxPoint& pos,
515 const wxSize& size,
516 long style,
517 const wxValidator& validator,
518 const wxString& name) :
519 wxListCtrl(parent, id, pos, size, style, validator, name) {}
520
521 bool Create(wxWindow* parent, wxWindowID id,
522 const wxPoint& pos,
523 const wxSize& size,
524 long style,
525 const wxValidator& validator,
526 const wxString& name) {
527 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
528 }
529
530 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
531 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
532 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
533
534 PYPRIVATE;
535 };
536
537 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
538
539 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
540 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
541 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
542
543 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
544 wxListItem item;
545 item.SetMask( wxLIST_MASK_STATE |
546 wxLIST_MASK_TEXT |
547 wxLIST_MASK_IMAGE |
548 wxLIST_MASK_DATA |
549 wxLIST_SET_ITEM |
550 wxLIST_MASK_WIDTH |
551 wxLIST_MASK_FORMAT
552 );
553 if (self->GetColumn(col, item))
554 return new wxListItem(item);
555 else
556 return NULL;
557 }
558 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
559 wxListItem* info = new wxListItem;
560 info->m_itemId = itemId;
561 info->m_col = col;
562 info->m_mask = 0xFFFF;
563 self->GetItem(*info);
564 return info;
565 }
566 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
567 wxPoint pos;
568 self->GetItemPosition(item, pos);
569 return pos;
570 }
571 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
572 wxRect rect;
573 self->GetItemRect(item, rect, code);
574 return rect;
575 }
576 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
577 if (!PyCallable_Check(func))
578 return False;
579 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
580 }
581 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
582
583
584
585 return (wxWindow*)self->m_mainWin;
586
587 }
588
589 #include <wx/treectrl.h>
590 #include "wx/wxPython/pytree.h"
591
592 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
593 DECLARE_DEF_STRING(_TreeCtrlNameStr);
594
595 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
596 if (!other) return False;
597 return *self == *other;
598 }
599 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
600 if (!other) return True;
601 return *self != *other;
602 }
603 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
604 // C++ version of Python aware wxTreeCtrl
605 class wxPyTreeCtrl : public wxTreeCtrl {
606 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
607 public:
608 wxPyTreeCtrl() : wxTreeCtrl() {}
609 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
610 const wxPoint& pos,
611 const wxSize& size,
612 long style,
613 const wxValidator& validator,
614 const wxString& name) :
615 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
616
617 bool Create(wxWindow *parent, wxWindowID id,
618 const wxPoint& pos,
619 const wxSize& size,
620 long style,
621 const wxValidator& validator,
622 const wxString& name) {
623 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
624 }
625
626
627 int OnCompareItems(const wxTreeItemId& item1,
628 const wxTreeItemId& item2) {
629 int rval = 0;
630 bool found;
631 wxPyBeginBlockThreads();
632 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
633 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
634 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
636 Py_DECREF(o1);
637 Py_DECREF(o2);
638 }
639 wxPyEndBlockThreads();
640 if (! found)
641 rval = wxTreeCtrl::OnCompareItems(item1, item2);
642 return rval;
643 }
644 PYPRIVATE;
645 };
646
647 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
648
649
650 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
651 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
652 if (data == NULL) {
653 data = new wxPyTreeItemData();
654 data->SetId(item); // set the id
655 self->SetItemData(item, data);
656 }
657 return data;
658 }
659 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
660 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
661 if (data == NULL) {
662 data = new wxPyTreeItemData();
663 data->SetId(item); // set the id
664 self->SetItemData(item, data);
665 }
666 return data->GetData();
667 }
668 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
669 data->SetId(item); // set the id
670 self->SetItemData(item, data);
671 }
672 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
673 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
674 if (data == NULL) {
675 data = new wxPyTreeItemData(obj);
676 data->SetId(item); // set the id
677 self->SetItemData(item, data);
678 } else
679 data->SetData(obj);
680 }
681 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
682 wxPyBeginBlockThreads();
683 PyObject* rval = PyList_New(0);
684 wxArrayTreeItemIds array;
685 size_t num, x;
686 num = self->GetSelections(array);
687 for (x=0; x < num; x++) {
688 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
689 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
690 PyList_Append(rval, item);
691 }
692 wxPyEndBlockThreads();
693 return rval;
694 }
695 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
696 wxTreeItemIdValue cookie = 0;
697 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
698 wxPyBeginBlockThreads();
699 PyObject* tup = PyTuple_New(2);
700 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
701 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
702 wxPyEndBlockThreads();
703 return tup;
704 }
705 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
706 wxTreeItemId ritem = self->GetNextChild(item, cookie);
707 wxPyBeginBlockThreads();
708 PyObject* tup = PyTuple_New(2);
709 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
710 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
711 wxPyEndBlockThreads();
712 return tup;
713 }
714 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
715 wxRect rect;
716 if (self->GetBoundingRect(item, rect, textOnly)) {
717 wxPyBeginBlockThreads();
718 wxRect* r = new wxRect(rect);
719 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
720 wxPyEndBlockThreads();
721 return val;
722 }
723 else
724 RETURN_NONE();
725 }
726
727 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
728
729 // C++ version of Python aware wxControl
730 class wxPyControl : public wxControl
731 {
732 DECLARE_DYNAMIC_CLASS(wxPyControl)
733 public:
734 wxPyControl() : wxControl() {}
735 wxPyControl(wxWindow* parent, const wxWindowID id,
736 const wxPoint& pos = wxDefaultPosition,
737 const wxSize& size = wxDefaultSize,
738 long style = 0,
739 const wxValidator& validator=wxDefaultValidator,
740 const wxString& name = wxPyControlNameStr)
741 : wxControl(parent, id, pos, size, style, validator, name) {}
742
743
744 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
745 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
747 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
748
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
751 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
752
753 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
754 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
755
756 DEC_PYCALLBACK__(InitDialog);
757 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
758 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
759 DEC_PYCALLBACK_BOOL_(Validate);
760
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
762 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
763 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
764
765 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
766 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
767
768 PYPRIVATE;
769 };
770
771 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
772
773 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
774 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
775 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
776 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
777
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
780 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
781
782 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
783 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
784
785 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
786 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
787 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
788 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
789
790 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
791 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
792 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
793
794 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
795 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
796
797
798
799
800 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
801
802 #include <wx/generic/dragimgg.h>
803
804 #ifdef __cplusplus
805 extern "C" {
806 #endif
807 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
808 PyObject *resultobj;
809 wxWindow *arg1 = (wxWindow *) 0 ;
810 int arg2 ;
811 wxString *arg3 = 0 ;
812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
814 wxSize const &arg5_defvalue = wxDefaultSize ;
815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
816 long arg6 = (long) 0 ;
817 wxValidator const &arg7_defvalue = wxDefaultValidator ;
818 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
819 wxString const &arg8_defvalue = wxPyButtonNameStr ;
820 wxString *arg8 = (wxString *) &arg8_defvalue ;
821 wxButton *result;
822 bool temp3 = False ;
823 wxPoint temp4 ;
824 wxSize temp5 ;
825 bool temp8 = False ;
826 PyObject * obj0 = 0 ;
827 PyObject * obj2 = 0 ;
828 PyObject * obj3 = 0 ;
829 PyObject * obj4 = 0 ;
830 PyObject * obj6 = 0 ;
831 PyObject * obj7 = 0 ;
832 char *kwnames[] = {
833 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
834 };
835
836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
838 {
839 arg3 = wxString_in_helper(obj2);
840 if (arg3 == NULL) SWIG_fail;
841 temp3 = True;
842 }
843 if (obj3) {
844 {
845 arg4 = &temp4;
846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
847 }
848 }
849 if (obj4) {
850 {
851 arg5 = &temp5;
852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
853 }
854 }
855 if (obj6) {
856 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
857 if (arg7 == NULL) {
858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
859 }
860 }
861 if (obj7) {
862 {
863 arg8 = wxString_in_helper(obj7);
864 if (arg8 == NULL) SWIG_fail;
865 temp8 = True;
866 }
867 }
868 {
869 PyThreadState* __tstate = wxPyBeginAllowThreads();
870 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
871
872 wxPyEndAllowThreads(__tstate);
873 if (PyErr_Occurred()) SWIG_fail;
874 }
875 {
876 resultobj = wxPyMake_wxObject(result);
877 }
878 {
879 if (temp3)
880 delete arg3;
881 }
882 {
883 if (temp8)
884 delete arg8;
885 }
886 return resultobj;
887 fail:
888 {
889 if (temp3)
890 delete arg3;
891 }
892 {
893 if (temp8)
894 delete arg8;
895 }
896 return NULL;
897 }
898
899
900 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject *resultobj;
902 wxButton *result;
903 char *kwnames[] = {
904 NULL
905 };
906
907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
908 {
909 PyThreadState* __tstate = wxPyBeginAllowThreads();
910 result = (wxButton *)new wxButton();
911
912 wxPyEndAllowThreads(__tstate);
913 if (PyErr_Occurred()) SWIG_fail;
914 }
915 {
916 resultobj = wxPyMake_wxObject(result);
917 }
918 return resultobj;
919 fail:
920 return NULL;
921 }
922
923
924 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
925 PyObject *resultobj;
926 wxButton *arg1 = (wxButton *) 0 ;
927 wxWindow *arg2 = (wxWindow *) 0 ;
928 int arg3 ;
929 wxString *arg4 = 0 ;
930 wxPoint const &arg5_defvalue = wxDefaultPosition ;
931 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
932 wxSize const &arg6_defvalue = wxDefaultSize ;
933 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
934 long arg7 = (long) 0 ;
935 wxValidator const &arg8_defvalue = wxDefaultValidator ;
936 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
937 wxString const &arg9_defvalue = wxPyButtonNameStr ;
938 wxString *arg9 = (wxString *) &arg9_defvalue ;
939 bool result;
940 bool temp4 = False ;
941 wxPoint temp5 ;
942 wxSize temp6 ;
943 bool temp9 = False ;
944 PyObject * obj0 = 0 ;
945 PyObject * obj1 = 0 ;
946 PyObject * obj3 = 0 ;
947 PyObject * obj4 = 0 ;
948 PyObject * obj5 = 0 ;
949 PyObject * obj7 = 0 ;
950 PyObject * obj8 = 0 ;
951 char *kwnames[] = {
952 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
953 };
954
955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
958 {
959 arg4 = wxString_in_helper(obj3);
960 if (arg4 == NULL) SWIG_fail;
961 temp4 = True;
962 }
963 if (obj4) {
964 {
965 arg5 = &temp5;
966 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
967 }
968 }
969 if (obj5) {
970 {
971 arg6 = &temp6;
972 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
973 }
974 }
975 if (obj7) {
976 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
977 if (arg8 == NULL) {
978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
979 }
980 }
981 if (obj8) {
982 {
983 arg9 = wxString_in_helper(obj8);
984 if (arg9 == NULL) SWIG_fail;
985 temp9 = True;
986 }
987 }
988 {
989 PyThreadState* __tstate = wxPyBeginAllowThreads();
990 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
991
992 wxPyEndAllowThreads(__tstate);
993 if (PyErr_Occurred()) SWIG_fail;
994 }
995 resultobj = PyInt_FromLong((long)result);
996 {
997 if (temp4)
998 delete arg4;
999 }
1000 {
1001 if (temp9)
1002 delete arg9;
1003 }
1004 return resultobj;
1005 fail:
1006 {
1007 if (temp4)
1008 delete arg4;
1009 }
1010 {
1011 if (temp9)
1012 delete arg9;
1013 }
1014 return NULL;
1015 }
1016
1017
1018 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1019 PyObject *resultobj;
1020 wxButton *arg1 = (wxButton *) 0 ;
1021 PyObject * obj0 = 0 ;
1022 char *kwnames[] = {
1023 (char *) "self", NULL
1024 };
1025
1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1028 {
1029 PyThreadState* __tstate = wxPyBeginAllowThreads();
1030 (arg1)->SetDefault();
1031
1032 wxPyEndAllowThreads(__tstate);
1033 if (PyErr_Occurred()) SWIG_fail;
1034 }
1035 Py_INCREF(Py_None); resultobj = Py_None;
1036 return resultobj;
1037 fail:
1038 return NULL;
1039 }
1040
1041
1042 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject *resultobj;
1044 wxSize result;
1045 char *kwnames[] = {
1046 NULL
1047 };
1048
1049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1050 {
1051 PyThreadState* __tstate = wxPyBeginAllowThreads();
1052 result = wxButton::GetDefaultSize();
1053
1054 wxPyEndAllowThreads(__tstate);
1055 if (PyErr_Occurred()) SWIG_fail;
1056 }
1057 {
1058 wxSize * resultptr;
1059 resultptr = new wxSize((wxSize &) result);
1060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1061 }
1062 return resultobj;
1063 fail:
1064 return NULL;
1065 }
1066
1067
1068 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1069 PyObject *obj;
1070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1071 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1072 Py_INCREF(obj);
1073 return Py_BuildValue((char *)"");
1074 }
1075 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1076 PyObject *resultobj;
1077 wxWindow *arg1 = (wxWindow *) 0 ;
1078 int arg2 ;
1079 wxBitmap *arg3 = 0 ;
1080 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1081 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1082 wxSize const &arg5_defvalue = wxDefaultSize ;
1083 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1084 long arg6 = (long) wxBU_AUTODRAW ;
1085 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1086 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1087 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1088 wxString *arg8 = (wxString *) &arg8_defvalue ;
1089 wxBitmapButton *result;
1090 wxPoint temp4 ;
1091 wxSize temp5 ;
1092 bool temp8 = False ;
1093 PyObject * obj0 = 0 ;
1094 PyObject * obj2 = 0 ;
1095 PyObject * obj3 = 0 ;
1096 PyObject * obj4 = 0 ;
1097 PyObject * obj6 = 0 ;
1098 PyObject * obj7 = 0 ;
1099 char *kwnames[] = {
1100 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1101 };
1102
1103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1105 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1106 if (arg3 == NULL) {
1107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1108 }
1109 if (obj3) {
1110 {
1111 arg4 = &temp4;
1112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1113 }
1114 }
1115 if (obj4) {
1116 {
1117 arg5 = &temp5;
1118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1119 }
1120 }
1121 if (obj6) {
1122 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1123 if (arg7 == NULL) {
1124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1125 }
1126 }
1127 if (obj7) {
1128 {
1129 arg8 = wxString_in_helper(obj7);
1130 if (arg8 == NULL) SWIG_fail;
1131 temp8 = True;
1132 }
1133 }
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 {
1142 resultobj = wxPyMake_wxObject(result);
1143 }
1144 {
1145 if (temp8)
1146 delete arg8;
1147 }
1148 return resultobj;
1149 fail:
1150 {
1151 if (temp8)
1152 delete arg8;
1153 }
1154 return NULL;
1155 }
1156
1157
1158 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1159 PyObject *resultobj;
1160 wxBitmapButton *result;
1161 char *kwnames[] = {
1162 NULL
1163 };
1164
1165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 result = (wxBitmapButton *)new wxBitmapButton();
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) SWIG_fail;
1172 }
1173 {
1174 resultobj = wxPyMake_wxObject(result);
1175 }
1176 return resultobj;
1177 fail:
1178 return NULL;
1179 }
1180
1181
1182 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1183 PyObject *resultobj;
1184 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1185 wxWindow *arg2 = (wxWindow *) 0 ;
1186 int arg3 ;
1187 wxBitmap *arg4 = 0 ;
1188 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1189 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1190 wxSize const &arg6_defvalue = wxDefaultSize ;
1191 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1192 long arg7 = (long) wxBU_AUTODRAW ;
1193 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1194 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1195 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1196 wxString *arg9 = (wxString *) &arg9_defvalue ;
1197 bool result;
1198 wxPoint temp5 ;
1199 wxSize temp6 ;
1200 bool temp9 = False ;
1201 PyObject * obj0 = 0 ;
1202 PyObject * obj1 = 0 ;
1203 PyObject * obj3 = 0 ;
1204 PyObject * obj4 = 0 ;
1205 PyObject * obj5 = 0 ;
1206 PyObject * obj7 = 0 ;
1207 PyObject * obj8 = 0 ;
1208 char *kwnames[] = {
1209 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1210 };
1211
1212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1215 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1216 if (arg4 == NULL) {
1217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1218 }
1219 if (obj4) {
1220 {
1221 arg5 = &temp5;
1222 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1223 }
1224 }
1225 if (obj5) {
1226 {
1227 arg6 = &temp6;
1228 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1229 }
1230 }
1231 if (obj7) {
1232 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1233 if (arg8 == NULL) {
1234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1235 }
1236 }
1237 if (obj8) {
1238 {
1239 arg9 = wxString_in_helper(obj8);
1240 if (arg9 == NULL) SWIG_fail;
1241 temp9 = True;
1242 }
1243 }
1244 {
1245 PyThreadState* __tstate = wxPyBeginAllowThreads();
1246 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1247
1248 wxPyEndAllowThreads(__tstate);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 }
1251 resultobj = PyInt_FromLong((long)result);
1252 {
1253 if (temp9)
1254 delete arg9;
1255 }
1256 return resultobj;
1257 fail:
1258 {
1259 if (temp9)
1260 delete arg9;
1261 }
1262 return NULL;
1263 }
1264
1265
1266 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1267 PyObject *resultobj;
1268 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1269 wxBitmap result;
1270 PyObject * obj0 = 0 ;
1271 char *kwnames[] = {
1272 (char *) "self", NULL
1273 };
1274
1275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1277 {
1278 PyThreadState* __tstate = wxPyBeginAllowThreads();
1279 result = (arg1)->GetBitmapLabel();
1280
1281 wxPyEndAllowThreads(__tstate);
1282 if (PyErr_Occurred()) SWIG_fail;
1283 }
1284 {
1285 wxBitmap * resultptr;
1286 resultptr = new wxBitmap((wxBitmap &) result);
1287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1288 }
1289 return resultobj;
1290 fail:
1291 return NULL;
1292 }
1293
1294
1295 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject *resultobj;
1297 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1298 wxBitmap result;
1299 PyObject * obj0 = 0 ;
1300 char *kwnames[] = {
1301 (char *) "self", NULL
1302 };
1303
1304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 {
1307 PyThreadState* __tstate = wxPyBeginAllowThreads();
1308 result = (arg1)->GetBitmapDisabled();
1309
1310 wxPyEndAllowThreads(__tstate);
1311 if (PyErr_Occurred()) SWIG_fail;
1312 }
1313 {
1314 wxBitmap * resultptr;
1315 resultptr = new wxBitmap((wxBitmap &) result);
1316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1317 }
1318 return resultobj;
1319 fail:
1320 return NULL;
1321 }
1322
1323
1324 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1327 wxBitmap result;
1328 PyObject * obj0 = 0 ;
1329 char *kwnames[] = {
1330 (char *) "self", NULL
1331 };
1332
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1335 {
1336 PyThreadState* __tstate = wxPyBeginAllowThreads();
1337 result = (arg1)->GetBitmapFocus();
1338
1339 wxPyEndAllowThreads(__tstate);
1340 if (PyErr_Occurred()) SWIG_fail;
1341 }
1342 {
1343 wxBitmap * resultptr;
1344 resultptr = new wxBitmap((wxBitmap &) result);
1345 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1346 }
1347 return resultobj;
1348 fail:
1349 return NULL;
1350 }
1351
1352
1353 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject *resultobj;
1355 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1356 wxBitmap result;
1357 PyObject * obj0 = 0 ;
1358 char *kwnames[] = {
1359 (char *) "self", NULL
1360 };
1361
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1364 {
1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
1366 result = (arg1)->GetBitmapSelected();
1367
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 {
1372 wxBitmap * resultptr;
1373 resultptr = new wxBitmap((wxBitmap &) result);
1374 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1375 }
1376 return resultobj;
1377 fail:
1378 return NULL;
1379 }
1380
1381
1382 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1385 wxBitmap *arg2 = 0 ;
1386 PyObject * obj0 = 0 ;
1387 PyObject * obj1 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "bitmap", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1395 if (arg2 == NULL) {
1396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1397 }
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 Py_INCREF(Py_None); resultobj = Py_None;
1406 return resultobj;
1407 fail:
1408 return NULL;
1409 }
1410
1411
1412 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject *resultobj;
1414 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1415 wxBitmap *arg2 = 0 ;
1416 PyObject * obj0 = 0 ;
1417 PyObject * obj1 = 0 ;
1418 char *kwnames[] = {
1419 (char *) "self",(char *) "bitmap", NULL
1420 };
1421
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1425 if (arg2 == NULL) {
1426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1427 }
1428 {
1429 PyThreadState* __tstate = wxPyBeginAllowThreads();
1430 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1431
1432 wxPyEndAllowThreads(__tstate);
1433 if (PyErr_Occurred()) SWIG_fail;
1434 }
1435 Py_INCREF(Py_None); resultobj = Py_None;
1436 return resultobj;
1437 fail:
1438 return NULL;
1439 }
1440
1441
1442 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1443 PyObject *resultobj;
1444 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1445 wxBitmap *arg2 = 0 ;
1446 PyObject * obj0 = 0 ;
1447 PyObject * obj1 = 0 ;
1448 char *kwnames[] = {
1449 (char *) "self",(char *) "bitmap", NULL
1450 };
1451
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1455 if (arg2 == NULL) {
1456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1457 }
1458 {
1459 PyThreadState* __tstate = wxPyBeginAllowThreads();
1460 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1461
1462 wxPyEndAllowThreads(__tstate);
1463 if (PyErr_Occurred()) SWIG_fail;
1464 }
1465 Py_INCREF(Py_None); resultobj = Py_None;
1466 return resultobj;
1467 fail:
1468 return NULL;
1469 }
1470
1471
1472 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1473 PyObject *resultobj;
1474 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1475 wxBitmap *arg2 = 0 ;
1476 PyObject * obj0 = 0 ;
1477 PyObject * obj1 = 0 ;
1478 char *kwnames[] = {
1479 (char *) "self",(char *) "bitmap", NULL
1480 };
1481
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1485 if (arg2 == NULL) {
1486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1487 }
1488 {
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1491
1492 wxPyEndAllowThreads(__tstate);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 Py_INCREF(Py_None); resultobj = Py_None;
1496 return resultobj;
1497 fail:
1498 return NULL;
1499 }
1500
1501
1502 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1503 PyObject *resultobj;
1504 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1505 int arg2 ;
1506 int arg3 ;
1507 PyObject * obj0 = 0 ;
1508 char *kwnames[] = {
1509 (char *) "self",(char *) "x",(char *) "y", NULL
1510 };
1511
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 (arg1)->SetMargins(arg2,arg3);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 Py_INCREF(Py_None); resultobj = Py_None;
1522 return resultobj;
1523 fail:
1524 return NULL;
1525 }
1526
1527
1528 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1531 int result;
1532 PyObject * obj0 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "self", NULL
1535 };
1536
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 resultobj = PyInt_FromLong((long)result);
1547 return resultobj;
1548 fail:
1549 return NULL;
1550 }
1551
1552
1553 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1556 int result;
1557 PyObject * obj0 = 0 ;
1558 char *kwnames[] = {
1559 (char *) "self", NULL
1560 };
1561
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 resultobj = PyInt_FromLong((long)result);
1572 return resultobj;
1573 fail:
1574 return NULL;
1575 }
1576
1577
1578 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1579 PyObject *obj;
1580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1581 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1582 Py_INCREF(obj);
1583 return Py_BuildValue((char *)"");
1584 }
1585 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxWindow *arg1 = (wxWindow *) 0 ;
1588 int arg2 ;
1589 wxString *arg3 = 0 ;
1590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1592 wxSize const &arg5_defvalue = wxDefaultSize ;
1593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1594 long arg6 = (long) 0 ;
1595 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1596 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1597 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1598 wxString *arg8 = (wxString *) &arg8_defvalue ;
1599 wxCheckBox *result;
1600 bool temp3 = False ;
1601 wxPoint temp4 ;
1602 wxSize temp5 ;
1603 bool temp8 = False ;
1604 PyObject * obj0 = 0 ;
1605 PyObject * obj2 = 0 ;
1606 PyObject * obj3 = 0 ;
1607 PyObject * obj4 = 0 ;
1608 PyObject * obj6 = 0 ;
1609 PyObject * obj7 = 0 ;
1610 char *kwnames[] = {
1611 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1616 {
1617 arg3 = wxString_in_helper(obj2);
1618 if (arg3 == NULL) SWIG_fail;
1619 temp3 = True;
1620 }
1621 if (obj3) {
1622 {
1623 arg4 = &temp4;
1624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1625 }
1626 }
1627 if (obj4) {
1628 {
1629 arg5 = &temp5;
1630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1631 }
1632 }
1633 if (obj6) {
1634 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 if (arg7 == NULL) {
1636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1637 }
1638 }
1639 if (obj7) {
1640 {
1641 arg8 = wxString_in_helper(obj7);
1642 if (arg8 == NULL) SWIG_fail;
1643 temp8 = True;
1644 }
1645 }
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1654 {
1655 if (temp3)
1656 delete arg3;
1657 }
1658 {
1659 if (temp8)
1660 delete arg8;
1661 }
1662 return resultobj;
1663 fail:
1664 {
1665 if (temp3)
1666 delete arg3;
1667 }
1668 {
1669 if (temp8)
1670 delete arg8;
1671 }
1672 return NULL;
1673 }
1674
1675
1676 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 wxCheckBox *result;
1679 char *kwnames[] = {
1680 NULL
1681 };
1682
1683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
1686 result = (wxCheckBox *)new wxCheckBox();
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1692 return resultobj;
1693 fail:
1694 return NULL;
1695 }
1696
1697
1698 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject *resultobj;
1700 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1701 wxWindow *arg2 = (wxWindow *) 0 ;
1702 int arg3 ;
1703 wxString *arg4 = 0 ;
1704 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1705 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1706 wxSize const &arg6_defvalue = wxDefaultSize ;
1707 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1708 long arg7 = (long) 0 ;
1709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1711 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1712 wxString *arg9 = (wxString *) &arg9_defvalue ;
1713 bool result;
1714 bool temp4 = False ;
1715 wxPoint temp5 ;
1716 wxSize temp6 ;
1717 bool temp9 = False ;
1718 PyObject * obj0 = 0 ;
1719 PyObject * obj1 = 0 ;
1720 PyObject * obj3 = 0 ;
1721 PyObject * obj4 = 0 ;
1722 PyObject * obj5 = 0 ;
1723 PyObject * obj7 = 0 ;
1724 PyObject * obj8 = 0 ;
1725 char *kwnames[] = {
1726 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1727 };
1728
1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1732 {
1733 arg4 = wxString_in_helper(obj3);
1734 if (arg4 == NULL) SWIG_fail;
1735 temp4 = True;
1736 }
1737 if (obj4) {
1738 {
1739 arg5 = &temp5;
1740 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1741 }
1742 }
1743 if (obj5) {
1744 {
1745 arg6 = &temp6;
1746 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1747 }
1748 }
1749 if (obj7) {
1750 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1751 if (arg8 == NULL) {
1752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1753 }
1754 }
1755 if (obj8) {
1756 {
1757 arg9 = wxString_in_helper(obj8);
1758 if (arg9 == NULL) SWIG_fail;
1759 temp9 = True;
1760 }
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 resultobj = PyInt_FromLong((long)result);
1770 {
1771 if (temp4)
1772 delete arg4;
1773 }
1774 {
1775 if (temp9)
1776 delete arg9;
1777 }
1778 return resultobj;
1779 fail:
1780 {
1781 if (temp4)
1782 delete arg4;
1783 }
1784 {
1785 if (temp9)
1786 delete arg9;
1787 }
1788 return NULL;
1789 }
1790
1791
1792 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1795 bool result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 result = (bool)(arg1)->GetValue();
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 resultobj = PyInt_FromLong((long)result);
1811 return resultobj;
1812 fail:
1813 return NULL;
1814 }
1815
1816
1817 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1820 bool result;
1821 PyObject * obj0 = 0 ;
1822 char *kwnames[] = {
1823 (char *) "self", NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 result = (bool)(arg1)->IsChecked();
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 resultobj = PyInt_FromLong((long)result);
1836 return resultobj;
1837 fail:
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1845 bool arg2 ;
1846 PyObject * obj0 = 0 ;
1847 PyObject * obj1 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self",(char *) "state", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 arg2 = PyInt_AsLong(obj1) ? true : false;
1855 if (PyErr_Occurred()) SWIG_fail;
1856 {
1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
1858 (arg1)->SetValue(arg2);
1859
1860 wxPyEndAllowThreads(__tstate);
1861 if (PyErr_Occurred()) SWIG_fail;
1862 }
1863 Py_INCREF(Py_None); resultobj = Py_None;
1864 return resultobj;
1865 fail:
1866 return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1873 int result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) SWIG_fail;
1887 }
1888 resultobj = PyInt_FromLong((long)result);
1889 return resultobj;
1890 fail:
1891 return NULL;
1892 }
1893
1894
1895 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject *resultobj;
1897 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1898 int arg2 ;
1899 PyObject * obj0 = 0 ;
1900 char *kwnames[] = {
1901 (char *) "self",(char *) "state", NULL
1902 };
1903
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 return resultobj;
1915 fail:
1916 return NULL;
1917 }
1918
1919
1920 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1923 bool result;
1924 PyObject * obj0 = 0 ;
1925 char *kwnames[] = {
1926 (char *) "self", NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 resultobj = PyInt_FromLong((long)result);
1939 return resultobj;
1940 fail:
1941 return NULL;
1942 }
1943
1944
1945 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1948 bool result;
1949 PyObject * obj0 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "self", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1956 {
1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
1958 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1959
1960 wxPyEndAllowThreads(__tstate);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 }
1963 resultobj = PyInt_FromLong((long)result);
1964 return resultobj;
1965 fail:
1966 return NULL;
1967 }
1968
1969
1970 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1971 PyObject *obj;
1972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1973 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1974 Py_INCREF(obj);
1975 return Py_BuildValue((char *)"");
1976 }
1977 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxWindow *arg1 = (wxWindow *) 0 ;
1980 int arg2 ;
1981 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1982 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1983 wxSize const &arg4_defvalue = wxDefaultSize ;
1984 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1985 int arg5 = (int) 0 ;
1986 wxString *arg6 = (wxString *) NULL ;
1987 long arg7 = (long) 0 ;
1988 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1989 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1990 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
1991 wxString *arg9 = (wxString *) &arg9_defvalue ;
1992 wxChoice *result;
1993 wxPoint temp3 ;
1994 wxSize temp4 ;
1995 bool temp8 = False ;
1996 PyObject * obj0 = 0 ;
1997 PyObject * obj2 = 0 ;
1998 PyObject * obj3 = 0 ;
1999 PyObject * obj4 = 0 ;
2000 PyObject * obj6 = 0 ;
2001 PyObject * obj7 = 0 ;
2002 char *kwnames[] = {
2003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2008 if (obj2) {
2009 {
2010 arg3 = &temp3;
2011 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2012 }
2013 }
2014 if (obj3) {
2015 {
2016 arg4 = &temp4;
2017 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2018 }
2019 }
2020 if (obj4) {
2021 {
2022 arg5 = PyList_Size(obj4);
2023 arg6 = wxString_LIST_helper(obj4);
2024 if (arg6 == NULL) SWIG_fail;
2025 }
2026 }
2027 if (obj6) {
2028 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2029 if (arg8 == NULL) {
2030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2031 }
2032 }
2033 if (obj7) {
2034 {
2035 arg9 = wxString_in_helper(obj7);
2036 if (arg9 == NULL) SWIG_fail;
2037 temp8 = True;
2038 }
2039 }
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2048 {
2049 if (arg6) delete [] arg6;
2050 }
2051 {
2052 if (temp8)
2053 delete arg9;
2054 }
2055 return resultobj;
2056 fail:
2057 {
2058 if (arg6) delete [] arg6;
2059 }
2060 {
2061 if (temp8)
2062 delete arg9;
2063 }
2064 return NULL;
2065 }
2066
2067
2068 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxChoice *result;
2071 char *kwnames[] = {
2072 NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 result = (wxChoice *)new wxChoice();
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 }
2083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2084 return resultobj;
2085 fail:
2086 return NULL;
2087 }
2088
2089
2090 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject *resultobj;
2092 wxChoice *arg1 = (wxChoice *) 0 ;
2093 wxWindow *arg2 = (wxWindow *) 0 ;
2094 int arg3 ;
2095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2097 wxSize const &arg5_defvalue = wxDefaultSize ;
2098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2099 int arg6 = (int) 0 ;
2100 wxString *arg7 = (wxString *) NULL ;
2101 long arg8 = (long) 0 ;
2102 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2103 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2104 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2105 wxString *arg10 = (wxString *) &arg10_defvalue ;
2106 bool result;
2107 wxPoint temp4 ;
2108 wxSize temp5 ;
2109 bool temp9 = False ;
2110 PyObject * obj0 = 0 ;
2111 PyObject * obj1 = 0 ;
2112 PyObject * obj3 = 0 ;
2113 PyObject * obj4 = 0 ;
2114 PyObject * obj5 = 0 ;
2115 PyObject * obj7 = 0 ;
2116 PyObject * obj8 = 0 ;
2117 char *kwnames[] = {
2118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2119 };
2120
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2124 if (obj3) {
2125 {
2126 arg4 = &temp4;
2127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2128 }
2129 }
2130 if (obj4) {
2131 {
2132 arg5 = &temp5;
2133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2134 }
2135 }
2136 if (obj5) {
2137 {
2138 arg6 = PyList_Size(obj5);
2139 arg7 = wxString_LIST_helper(obj5);
2140 if (arg7 == NULL) SWIG_fail;
2141 }
2142 }
2143 if (obj7) {
2144 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2145 if (arg9 == NULL) {
2146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2147 }
2148 }
2149 if (obj8) {
2150 {
2151 arg10 = wxString_in_helper(obj8);
2152 if (arg10 == NULL) SWIG_fail;
2153 temp9 = True;
2154 }
2155 }
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 resultobj = PyInt_FromLong((long)result);
2164 {
2165 if (arg7) delete [] arg7;
2166 }
2167 {
2168 if (temp9)
2169 delete arg10;
2170 }
2171 return resultobj;
2172 fail:
2173 {
2174 if (arg7) delete [] arg7;
2175 }
2176 {
2177 if (temp9)
2178 delete arg10;
2179 }
2180 return NULL;
2181 }
2182
2183
2184 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject *resultobj;
2186 wxChoice *arg1 = (wxChoice *) 0 ;
2187 int result;
2188 PyObject * obj0 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (int)(arg1)->GetColumns();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 resultobj = PyInt_FromLong((long)result);
2203 return resultobj;
2204 fail:
2205 return NULL;
2206 }
2207
2208
2209 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxChoice *arg1 = (wxChoice *) 0 ;
2212 int arg2 = (int) (int)1 ;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self",(char *) "n", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 (arg1)->SetColumns(arg2);
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 Py_INCREF(Py_None); resultobj = Py_None;
2228 return resultobj;
2229 fail:
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxChoice *arg1 = (wxChoice *) 0 ;
2237 int arg2 ;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "n", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->SetSelection(arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxChoice *arg1 = (wxChoice *) 0 ;
2262 wxString *arg2 = 0 ;
2263 bool temp2 = False ;
2264 PyObject * obj0 = 0 ;
2265 PyObject * obj1 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self",(char *) "string", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2272 {
2273 arg2 = wxString_in_helper(obj1);
2274 if (arg2 == NULL) SWIG_fail;
2275 temp2 = True;
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 (arg1)->SetStringSelection((wxString const &)*arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 Py_INCREF(Py_None); resultobj = Py_None;
2285 {
2286 if (temp2)
2287 delete arg2;
2288 }
2289 return resultobj;
2290 fail:
2291 {
2292 if (temp2)
2293 delete arg2;
2294 }
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxChoice *arg1 = (wxChoice *) 0 ;
2302 int arg2 ;
2303 wxString *arg3 = 0 ;
2304 bool temp3 = False ;
2305 PyObject * obj0 = 0 ;
2306 PyObject * obj2 = 0 ;
2307 char *kwnames[] = {
2308 (char *) "self",(char *) "n",(char *) "s", NULL
2309 };
2310
2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2313 {
2314 arg3 = wxString_in_helper(obj2);
2315 if (arg3 == NULL) SWIG_fail;
2316 temp3 = True;
2317 }
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
2320 (arg1)->SetString(arg2,(wxString const &)*arg3);
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 }
2325 Py_INCREF(Py_None); resultobj = Py_None;
2326 {
2327 if (temp3)
2328 delete arg3;
2329 }
2330 return resultobj;
2331 fail:
2332 {
2333 if (temp3)
2334 delete arg3;
2335 }
2336 return NULL;
2337 }
2338
2339
2340 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2341 PyObject *obj;
2342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2343 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2344 Py_INCREF(obj);
2345 return Py_BuildValue((char *)"");
2346 }
2347 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2348 PyObject *resultobj;
2349 wxWindow *arg1 = (wxWindow *) 0 ;
2350 int arg2 ;
2351 wxString const &arg3_defvalue = wxPyEmptyString ;
2352 wxString *arg3 = (wxString *) &arg3_defvalue ;
2353 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2354 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2355 wxSize const &arg5_defvalue = wxDefaultSize ;
2356 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2357 int arg6 = (int) 0 ;
2358 wxString *arg7 = (wxString *) NULL ;
2359 long arg8 = (long) 0 ;
2360 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2361 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2362 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2363 wxString *arg10 = (wxString *) &arg10_defvalue ;
2364 wxComboBox *result;
2365 bool temp3 = False ;
2366 wxPoint temp4 ;
2367 wxSize temp5 ;
2368 bool temp9 = False ;
2369 PyObject * obj0 = 0 ;
2370 PyObject * obj2 = 0 ;
2371 PyObject * obj3 = 0 ;
2372 PyObject * obj4 = 0 ;
2373 PyObject * obj5 = 0 ;
2374 PyObject * obj7 = 0 ;
2375 PyObject * obj8 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2382 if (obj2) {
2383 {
2384 arg3 = wxString_in_helper(obj2);
2385 if (arg3 == NULL) SWIG_fail;
2386 temp3 = True;
2387 }
2388 }
2389 if (obj3) {
2390 {
2391 arg4 = &temp4;
2392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2393 }
2394 }
2395 if (obj4) {
2396 {
2397 arg5 = &temp5;
2398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2399 }
2400 }
2401 if (obj5) {
2402 {
2403 arg6 = PyList_Size(obj5);
2404 arg7 = wxString_LIST_helper(obj5);
2405 if (arg7 == NULL) SWIG_fail;
2406 }
2407 }
2408 if (obj7) {
2409 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2410 if (arg9 == NULL) {
2411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2412 }
2413 }
2414 if (obj8) {
2415 {
2416 arg10 = wxString_in_helper(obj8);
2417 if (arg10 == NULL) SWIG_fail;
2418 temp9 = True;
2419 }
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2429 {
2430 if (temp3)
2431 delete arg3;
2432 }
2433 {
2434 if (arg7) delete [] arg7;
2435 }
2436 {
2437 if (temp9)
2438 delete arg10;
2439 }
2440 return resultobj;
2441 fail:
2442 {
2443 if (temp3)
2444 delete arg3;
2445 }
2446 {
2447 if (arg7) delete [] arg7;
2448 }
2449 {
2450 if (temp9)
2451 delete arg10;
2452 }
2453 return NULL;
2454 }
2455
2456
2457 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 wxComboBox *result;
2460 char *kwnames[] = {
2461 NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 result = (wxComboBox *)new wxComboBox();
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2473 return resultobj;
2474 fail:
2475 return NULL;
2476 }
2477
2478
2479 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxComboBox *arg1 = (wxComboBox *) 0 ;
2482 wxWindow *arg2 = (wxWindow *) 0 ;
2483 int arg3 ;
2484 wxString const &arg4_defvalue = wxPyEmptyString ;
2485 wxString *arg4 = (wxString *) &arg4_defvalue ;
2486 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2487 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2488 wxSize const &arg6_defvalue = wxDefaultSize ;
2489 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2490 int arg7 = (int) 0 ;
2491 wxString *arg8 = (wxString *) NULL ;
2492 long arg9 = (long) 0 ;
2493 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2494 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2495 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2496 wxString *arg11 = (wxString *) &arg11_defvalue ;
2497 bool result;
2498 bool temp4 = False ;
2499 wxPoint temp5 ;
2500 wxSize temp6 ;
2501 bool temp10 = False ;
2502 PyObject * obj0 = 0 ;
2503 PyObject * obj1 = 0 ;
2504 PyObject * obj3 = 0 ;
2505 PyObject * obj4 = 0 ;
2506 PyObject * obj5 = 0 ;
2507 PyObject * obj6 = 0 ;
2508 PyObject * obj8 = 0 ;
2509 PyObject * obj9 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2517 if (obj3) {
2518 {
2519 arg4 = wxString_in_helper(obj3);
2520 if (arg4 == NULL) SWIG_fail;
2521 temp4 = True;
2522 }
2523 }
2524 if (obj4) {
2525 {
2526 arg5 = &temp5;
2527 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2528 }
2529 }
2530 if (obj5) {
2531 {
2532 arg6 = &temp6;
2533 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2534 }
2535 }
2536 if (obj6) {
2537 {
2538 arg7 = PyList_Size(obj6);
2539 arg8 = wxString_LIST_helper(obj6);
2540 if (arg8 == NULL) SWIG_fail;
2541 }
2542 }
2543 if (obj8) {
2544 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2545 if (arg10 == NULL) {
2546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2547 }
2548 }
2549 if (obj9) {
2550 {
2551 arg11 = wxString_in_helper(obj9);
2552 if (arg11 == NULL) SWIG_fail;
2553 temp10 = True;
2554 }
2555 }
2556 {
2557 PyThreadState* __tstate = wxPyBeginAllowThreads();
2558 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2559
2560 wxPyEndAllowThreads(__tstate);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 }
2563 resultobj = PyInt_FromLong((long)result);
2564 {
2565 if (temp4)
2566 delete arg4;
2567 }
2568 {
2569 if (arg8) delete [] arg8;
2570 }
2571 {
2572 if (temp10)
2573 delete arg11;
2574 }
2575 return resultobj;
2576 fail:
2577 {
2578 if (temp4)
2579 delete arg4;
2580 }
2581 {
2582 if (arg8) delete [] arg8;
2583 }
2584 {
2585 if (temp10)
2586 delete arg11;
2587 }
2588 return NULL;
2589 }
2590
2591
2592 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject *resultobj;
2594 wxComboBox *arg1 = (wxComboBox *) 0 ;
2595 wxString result;
2596 PyObject * obj0 = 0 ;
2597 char *kwnames[] = {
2598 (char *) "self", NULL
2599 };
2600
2601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 result = ((wxComboBox const *)arg1)->GetValue();
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 {
2611 #if wxUSE_UNICODE
2612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2613 #else
2614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2615 #endif
2616 }
2617 return resultobj;
2618 fail:
2619 return NULL;
2620 }
2621
2622
2623 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxComboBox *arg1 = (wxComboBox *) 0 ;
2626 wxString *arg2 = 0 ;
2627 bool temp2 = False ;
2628 PyObject * obj0 = 0 ;
2629 PyObject * obj1 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "self",(char *) "value", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2636 {
2637 arg2 = wxString_in_helper(obj1);
2638 if (arg2 == NULL) SWIG_fail;
2639 temp2 = True;
2640 }
2641 {
2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
2643 (arg1)->SetValue((wxString const &)*arg2);
2644
2645 wxPyEndAllowThreads(__tstate);
2646 if (PyErr_Occurred()) SWIG_fail;
2647 }
2648 Py_INCREF(Py_None); resultobj = Py_None;
2649 {
2650 if (temp2)
2651 delete arg2;
2652 }
2653 return resultobj;
2654 fail:
2655 {
2656 if (temp2)
2657 delete arg2;
2658 }
2659 return NULL;
2660 }
2661
2662
2663 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxComboBox *arg1 = (wxComboBox *) 0 ;
2666 PyObject * obj0 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 (arg1)->Copy();
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 Py_INCREF(Py_None); resultobj = Py_None;
2681 return resultobj;
2682 fail:
2683 return NULL;
2684 }
2685
2686
2687 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject *resultobj;
2689 wxComboBox *arg1 = (wxComboBox *) 0 ;
2690 PyObject * obj0 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 (arg1)->Cut();
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 Py_INCREF(Py_None); resultobj = Py_None;
2705 return resultobj;
2706 fail:
2707 return NULL;
2708 }
2709
2710
2711 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2712 PyObject *resultobj;
2713 wxComboBox *arg1 = (wxComboBox *) 0 ;
2714 PyObject * obj0 = 0 ;
2715 char *kwnames[] = {
2716 (char *) "self", NULL
2717 };
2718
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2721 {
2722 PyThreadState* __tstate = wxPyBeginAllowThreads();
2723 (arg1)->Paste();
2724
2725 wxPyEndAllowThreads(__tstate);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 Py_INCREF(Py_None); resultobj = Py_None;
2729 return resultobj;
2730 fail:
2731 return NULL;
2732 }
2733
2734
2735 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxComboBox *arg1 = (wxComboBox *) 0 ;
2738 long arg2 ;
2739 PyObject * obj0 = 0 ;
2740 char *kwnames[] = {
2741 (char *) "self",(char *) "pos", NULL
2742 };
2743
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->SetInsertionPoint(arg2);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxComboBox *arg1 = (wxComboBox *) 0 ;
2763 long result;
2764 PyObject * obj0 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 resultobj = PyInt_FromLong((long)result);
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 wxComboBox *arg1 = (wxComboBox *) 0 ;
2788 long result;
2789 PyObject * obj0 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 resultobj = PyInt_FromLong((long)result);
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxComboBox *arg1 = (wxComboBox *) 0 ;
2813 long arg2 ;
2814 long arg3 ;
2815 wxString *arg4 = 0 ;
2816 bool temp4 = False ;
2817 PyObject * obj0 = 0 ;
2818 PyObject * obj3 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 {
2826 arg4 = wxString_in_helper(obj3);
2827 if (arg4 == NULL) SWIG_fail;
2828 temp4 = True;
2829 }
2830 {
2831 PyThreadState* __tstate = wxPyBeginAllowThreads();
2832 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2833
2834 wxPyEndAllowThreads(__tstate);
2835 if (PyErr_Occurred()) SWIG_fail;
2836 }
2837 Py_INCREF(Py_None); resultobj = Py_None;
2838 {
2839 if (temp4)
2840 delete arg4;
2841 }
2842 return resultobj;
2843 fail:
2844 {
2845 if (temp4)
2846 delete arg4;
2847 }
2848 return NULL;
2849 }
2850
2851
2852 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxComboBox *arg1 = (wxComboBox *) 0 ;
2855 int arg2 ;
2856 PyObject * obj0 = 0 ;
2857 char *kwnames[] = {
2858 (char *) "self",(char *) "n", NULL
2859 };
2860
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2863 {
2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
2865 (arg1)->SetSelection(arg2);
2866
2867 wxPyEndAllowThreads(__tstate);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 Py_INCREF(Py_None); resultobj = Py_None;
2871 return resultobj;
2872 fail:
2873 return NULL;
2874 }
2875
2876
2877 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2878 PyObject *resultobj;
2879 wxComboBox *arg1 = (wxComboBox *) 0 ;
2880 long arg2 ;
2881 long arg3 ;
2882 PyObject * obj0 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self",(char *) "from",(char *) "to", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2889 {
2890 PyThreadState* __tstate = wxPyBeginAllowThreads();
2891 (arg1)->SetSelection(arg2,arg3);
2892
2893 wxPyEndAllowThreads(__tstate);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 }
2896 Py_INCREF(Py_None); resultobj = Py_None;
2897 return resultobj;
2898 fail:
2899 return NULL;
2900 }
2901
2902
2903 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2904 PyObject *resultobj;
2905 wxComboBox *arg1 = (wxComboBox *) 0 ;
2906 bool arg2 ;
2907 PyObject * obj0 = 0 ;
2908 PyObject * obj1 = 0 ;
2909 char *kwnames[] = {
2910 (char *) "self",(char *) "editable", NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2915 arg2 = PyInt_AsLong(obj1) ? true : false;
2916 if (PyErr_Occurred()) SWIG_fail;
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 (arg1)->SetEditable(arg2);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 Py_INCREF(Py_None); resultobj = Py_None;
2925 return resultobj;
2926 fail:
2927 return NULL;
2928 }
2929
2930
2931 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj;
2933 wxComboBox *arg1 = (wxComboBox *) 0 ;
2934 PyObject * obj0 = 0 ;
2935 char *kwnames[] = {
2936 (char *) "self", NULL
2937 };
2938
2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2941 {
2942 PyThreadState* __tstate = wxPyBeginAllowThreads();
2943 (arg1)->SetInsertionPointEnd();
2944
2945 wxPyEndAllowThreads(__tstate);
2946 if (PyErr_Occurred()) SWIG_fail;
2947 }
2948 Py_INCREF(Py_None); resultobj = Py_None;
2949 return resultobj;
2950 fail:
2951 return NULL;
2952 }
2953
2954
2955 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2956 PyObject *resultobj;
2957 wxComboBox *arg1 = (wxComboBox *) 0 ;
2958 long arg2 ;
2959 long arg3 ;
2960 PyObject * obj0 = 0 ;
2961 char *kwnames[] = {
2962 (char *) "self",(char *) "from",(char *) "to", NULL
2963 };
2964
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 (arg1)->Remove(arg2,arg3);
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
2974 Py_INCREF(Py_None); resultobj = Py_None;
2975 return resultobj;
2976 fail:
2977 return NULL;
2978 }
2979
2980
2981 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2982 PyObject *obj;
2983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2984 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2985 Py_INCREF(obj);
2986 return Py_BuildValue((char *)"");
2987 }
2988 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxWindow *arg1 = (wxWindow *) 0 ;
2991 int arg2 ;
2992 int arg3 ;
2993 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2994 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2995 wxSize const &arg5_defvalue = wxDefaultSize ;
2996 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2997 long arg6 = (long) wxGA_HORIZONTAL ;
2998 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2999 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3000 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3001 wxString *arg8 = (wxString *) &arg8_defvalue ;
3002 wxGauge *result;
3003 wxPoint temp4 ;
3004 wxSize temp5 ;
3005 bool temp8 = False ;
3006 PyObject * obj0 = 0 ;
3007 PyObject * obj3 = 0 ;
3008 PyObject * obj4 = 0 ;
3009 PyObject * obj6 = 0 ;
3010 PyObject * obj7 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3017 if (obj3) {
3018 {
3019 arg4 = &temp4;
3020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3021 }
3022 }
3023 if (obj4) {
3024 {
3025 arg5 = &temp5;
3026 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3027 }
3028 }
3029 if (obj6) {
3030 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3031 if (arg7 == NULL) {
3032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3033 }
3034 }
3035 if (obj7) {
3036 {
3037 arg8 = wxString_in_helper(obj7);
3038 if (arg8 == NULL) SWIG_fail;
3039 temp8 = True;
3040 }
3041 }
3042 {
3043 PyThreadState* __tstate = wxPyBeginAllowThreads();
3044 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3045
3046 wxPyEndAllowThreads(__tstate);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 }
3049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3050 {
3051 if (temp8)
3052 delete arg8;
3053 }
3054 return resultobj;
3055 fail:
3056 {
3057 if (temp8)
3058 delete arg8;
3059 }
3060 return NULL;
3061 }
3062
3063
3064 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxGauge *result;
3067 char *kwnames[] = {
3068 NULL
3069 };
3070
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 result = (wxGauge *)new wxGauge();
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3080 return resultobj;
3081 fail:
3082 return NULL;
3083 }
3084
3085
3086 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3087 PyObject *resultobj;
3088 wxGauge *arg1 = (wxGauge *) 0 ;
3089 wxWindow *arg2 = (wxWindow *) 0 ;
3090 int arg3 ;
3091 int arg4 ;
3092 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3093 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3094 wxSize const &arg6_defvalue = wxDefaultSize ;
3095 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3096 long arg7 = (long) wxGA_HORIZONTAL ;
3097 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3098 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3099 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3100 wxString *arg9 = (wxString *) &arg9_defvalue ;
3101 bool result;
3102 wxPoint temp5 ;
3103 wxSize temp6 ;
3104 bool temp9 = False ;
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 PyObject * obj4 = 0 ;
3108 PyObject * obj5 = 0 ;
3109 PyObject * obj7 = 0 ;
3110 PyObject * obj8 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3118 if (obj4) {
3119 {
3120 arg5 = &temp5;
3121 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3122 }
3123 }
3124 if (obj5) {
3125 {
3126 arg6 = &temp6;
3127 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3128 }
3129 }
3130 if (obj7) {
3131 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 if (arg8 == NULL) {
3133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3134 }
3135 }
3136 if (obj8) {
3137 {
3138 arg9 = wxString_in_helper(obj8);
3139 if (arg9 == NULL) SWIG_fail;
3140 temp9 = True;
3141 }
3142 }
3143 {
3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
3145 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3146
3147 wxPyEndAllowThreads(__tstate);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 resultobj = PyInt_FromLong((long)result);
3151 {
3152 if (temp9)
3153 delete arg9;
3154 }
3155 return resultobj;
3156 fail:
3157 {
3158 if (temp9)
3159 delete arg9;
3160 }
3161 return NULL;
3162 }
3163
3164
3165 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxGauge *arg1 = (wxGauge *) 0 ;
3168 int arg2 ;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self",(char *) "range", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
3178 (arg1)->SetRange(arg2);
3179
3180 wxPyEndAllowThreads(__tstate);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 Py_INCREF(Py_None); resultobj = Py_None;
3184 return resultobj;
3185 fail:
3186 return NULL;
3187 }
3188
3189
3190 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3191 PyObject *resultobj;
3192 wxGauge *arg1 = (wxGauge *) 0 ;
3193 int result;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 result = (int)((wxGauge const *)arg1)->GetRange();
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 resultobj = PyInt_FromLong((long)result);
3209 return resultobj;
3210 fail:
3211 return NULL;
3212 }
3213
3214
3215 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3216 PyObject *resultobj;
3217 wxGauge *arg1 = (wxGauge *) 0 ;
3218 int arg2 ;
3219 PyObject * obj0 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self",(char *) "pos", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3226 {
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 (arg1)->SetValue(arg2);
3229
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 Py_INCREF(Py_None); resultobj = Py_None;
3234 return resultobj;
3235 fail:
3236 return NULL;
3237 }
3238
3239
3240 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject *resultobj;
3242 wxGauge *arg1 = (wxGauge *) 0 ;
3243 int result;
3244 PyObject * obj0 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "self", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (int)((wxGauge const *)arg1)->GetValue();
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 resultobj = PyInt_FromLong((long)result);
3259 return resultobj;
3260 fail:
3261 return NULL;
3262 }
3263
3264
3265 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxGauge *arg1 = (wxGauge *) 0 ;
3268 bool result;
3269 PyObject * obj0 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 result = (bool)((wxGauge const *)arg1)->IsVertical();
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 resultobj = PyInt_FromLong((long)result);
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxGauge *arg1 = (wxGauge *) 0 ;
3293 int arg2 ;
3294 PyObject * obj0 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self",(char *) "w", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->SetShadowWidth(arg2);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxGauge *arg1 = (wxGauge *) 0 ;
3318 int result;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 resultobj = PyInt_FromLong((long)result);
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxGauge *arg1 = (wxGauge *) 0 ;
3343 int arg2 ;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self",(char *) "w", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 (arg1)->SetBezelFace(arg2);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxGauge *arg1 = (wxGauge *) 0 ;
3368 int result;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 resultobj = PyInt_FromLong((long)result);
3384 return resultobj;
3385 fail:
3386 return NULL;
3387 }
3388
3389
3390 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3391 PyObject *obj;
3392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3393 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3394 Py_INCREF(obj);
3395 return Py_BuildValue((char *)"");
3396 }
3397 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxWindow *arg1 = (wxWindow *) 0 ;
3400 int arg2 ;
3401 wxString *arg3 = 0 ;
3402 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3403 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3404 wxSize const &arg5_defvalue = wxDefaultSize ;
3405 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3406 long arg6 = (long) 0 ;
3407 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3408 wxString *arg7 = (wxString *) &arg7_defvalue ;
3409 wxStaticBox *result;
3410 bool temp3 = False ;
3411 wxPoint temp4 ;
3412 wxSize temp5 ;
3413 bool temp7 = False ;
3414 PyObject * obj0 = 0 ;
3415 PyObject * obj2 = 0 ;
3416 PyObject * obj3 = 0 ;
3417 PyObject * obj4 = 0 ;
3418 PyObject * obj6 = 0 ;
3419 char *kwnames[] = {
3420 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3421 };
3422
3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3425 {
3426 arg3 = wxString_in_helper(obj2);
3427 if (arg3 == NULL) SWIG_fail;
3428 temp3 = True;
3429 }
3430 if (obj3) {
3431 {
3432 arg4 = &temp4;
3433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3434 }
3435 }
3436 if (obj4) {
3437 {
3438 arg5 = &temp5;
3439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3440 }
3441 }
3442 if (obj6) {
3443 {
3444 arg7 = wxString_in_helper(obj6);
3445 if (arg7 == NULL) SWIG_fail;
3446 temp7 = True;
3447 }
3448 }
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 {
3457 resultobj = wxPyMake_wxObject(result);
3458 }
3459 {
3460 if (temp3)
3461 delete arg3;
3462 }
3463 {
3464 if (temp7)
3465 delete arg7;
3466 }
3467 return resultobj;
3468 fail:
3469 {
3470 if (temp3)
3471 delete arg3;
3472 }
3473 {
3474 if (temp7)
3475 delete arg7;
3476 }
3477 return NULL;
3478 }
3479
3480
3481 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxStaticBox *result;
3484 char *kwnames[] = {
3485 NULL
3486 };
3487
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3489 {
3490 PyThreadState* __tstate = wxPyBeginAllowThreads();
3491 result = (wxStaticBox *)new wxStaticBox();
3492
3493 wxPyEndAllowThreads(__tstate);
3494 if (PyErr_Occurred()) SWIG_fail;
3495 }
3496 {
3497 resultobj = wxPyMake_wxObject(result);
3498 }
3499 return resultobj;
3500 fail:
3501 return NULL;
3502 }
3503
3504
3505 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3506 PyObject *resultobj;
3507 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3508 wxWindow *arg2 = (wxWindow *) 0 ;
3509 int arg3 ;
3510 wxString *arg4 = 0 ;
3511 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3512 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3513 wxSize const &arg6_defvalue = wxDefaultSize ;
3514 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3515 long arg7 = (long) 0 ;
3516 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3517 wxString *arg8 = (wxString *) &arg8_defvalue ;
3518 bool result;
3519 bool temp4 = False ;
3520 wxPoint temp5 ;
3521 wxSize temp6 ;
3522 bool temp8 = False ;
3523 PyObject * obj0 = 0 ;
3524 PyObject * obj1 = 0 ;
3525 PyObject * obj3 = 0 ;
3526 PyObject * obj4 = 0 ;
3527 PyObject * obj5 = 0 ;
3528 PyObject * obj7 = 0 ;
3529 char *kwnames[] = {
3530 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3531 };
3532
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3536 {
3537 arg4 = wxString_in_helper(obj3);
3538 if (arg4 == NULL) SWIG_fail;
3539 temp4 = True;
3540 }
3541 if (obj4) {
3542 {
3543 arg5 = &temp5;
3544 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3545 }
3546 }
3547 if (obj5) {
3548 {
3549 arg6 = &temp6;
3550 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3551 }
3552 }
3553 if (obj7) {
3554 {
3555 arg8 = wxString_in_helper(obj7);
3556 if (arg8 == NULL) SWIG_fail;
3557 temp8 = True;
3558 }
3559 }
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 resultobj = PyInt_FromLong((long)result);
3568 {
3569 if (temp4)
3570 delete arg4;
3571 }
3572 {
3573 if (temp8)
3574 delete arg8;
3575 }
3576 return resultobj;
3577 fail:
3578 {
3579 if (temp4)
3580 delete arg4;
3581 }
3582 {
3583 if (temp8)
3584 delete arg8;
3585 }
3586 return NULL;
3587 }
3588
3589
3590 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3591 PyObject *obj;
3592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3593 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3594 Py_INCREF(obj);
3595 return Py_BuildValue((char *)"");
3596 }
3597 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxWindow *arg1 = (wxWindow *) 0 ;
3600 int arg2 ;
3601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3603 wxSize const &arg4_defvalue = wxDefaultSize ;
3604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3605 long arg5 = (long) wxLI_HORIZONTAL ;
3606 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3607 wxString *arg6 = (wxString *) &arg6_defvalue ;
3608 wxStaticLine *result;
3609 wxPoint temp3 ;
3610 wxSize temp4 ;
3611 bool temp6 = False ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj2 = 0 ;
3614 PyObject * obj3 = 0 ;
3615 PyObject * obj5 = 0 ;
3616 char *kwnames[] = {
3617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3622 if (obj2) {
3623 {
3624 arg3 = &temp3;
3625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3626 }
3627 }
3628 if (obj3) {
3629 {
3630 arg4 = &temp4;
3631 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3632 }
3633 }
3634 if (obj5) {
3635 {
3636 arg6 = wxString_in_helper(obj5);
3637 if (arg6 == NULL) SWIG_fail;
3638 temp6 = True;
3639 }
3640 }
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3649 {
3650 if (temp6)
3651 delete arg6;
3652 }
3653 return resultobj;
3654 fail:
3655 {
3656 if (temp6)
3657 delete arg6;
3658 }
3659 return NULL;
3660 }
3661
3662
3663 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxStaticLine *result;
3666 char *kwnames[] = {
3667 NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 result = (wxStaticLine *)new wxStaticLine();
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3679 return resultobj;
3680 fail:
3681 return NULL;
3682 }
3683
3684
3685 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3686 PyObject *resultobj;
3687 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3688 wxWindow *arg2 = (wxWindow *) 0 ;
3689 int arg3 ;
3690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3692 wxSize const &arg5_defvalue = wxDefaultSize ;
3693 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3694 long arg6 = (long) wxLI_HORIZONTAL ;
3695 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3696 wxString *arg7 = (wxString *) &arg7_defvalue ;
3697 bool result;
3698 wxPoint temp4 ;
3699 wxSize temp5 ;
3700 bool temp7 = False ;
3701 PyObject * obj0 = 0 ;
3702 PyObject * obj1 = 0 ;
3703 PyObject * obj3 = 0 ;
3704 PyObject * obj4 = 0 ;
3705 PyObject * obj6 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3713 if (obj3) {
3714 {
3715 arg4 = &temp4;
3716 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3717 }
3718 }
3719 if (obj4) {
3720 {
3721 arg5 = &temp5;
3722 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3723 }
3724 }
3725 if (obj6) {
3726 {
3727 arg7 = wxString_in_helper(obj6);
3728 if (arg7 == NULL) SWIG_fail;
3729 temp7 = True;
3730 }
3731 }
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 resultobj = PyInt_FromLong((long)result);
3740 {
3741 if (temp7)
3742 delete arg7;
3743 }
3744 return resultobj;
3745 fail:
3746 {
3747 if (temp7)
3748 delete arg7;
3749 }
3750 return NULL;
3751 }
3752
3753
3754 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject *resultobj;
3756 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3757 bool result;
3758 PyObject * obj0 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "self", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 resultobj = PyInt_FromLong((long)result);
3773 return resultobj;
3774 fail:
3775 return NULL;
3776 }
3777
3778
3779 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 int result;
3782 char *kwnames[] = {
3783 NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3787 {
3788 PyThreadState* __tstate = wxPyBeginAllowThreads();
3789 result = (int)wxStaticLine::GetDefaultSize();
3790
3791 wxPyEndAllowThreads(__tstate);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 resultobj = PyInt_FromLong((long)result);
3795 return resultobj;
3796 fail:
3797 return NULL;
3798 }
3799
3800
3801 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3802 PyObject *obj;
3803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3804 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3805 Py_INCREF(obj);
3806 return Py_BuildValue((char *)"");
3807 }
3808 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3809 PyObject *resultobj;
3810 wxWindow *arg1 = (wxWindow *) 0 ;
3811 int arg2 ;
3812 wxString *arg3 = 0 ;
3813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3815 wxSize const &arg5_defvalue = wxDefaultSize ;
3816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3817 long arg6 = (long) 0 ;
3818 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3819 wxString *arg7 = (wxString *) &arg7_defvalue ;
3820 wxStaticText *result;
3821 bool temp3 = False ;
3822 wxPoint temp4 ;
3823 wxSize temp5 ;
3824 bool temp7 = False ;
3825 PyObject * obj0 = 0 ;
3826 PyObject * obj2 = 0 ;
3827 PyObject * obj3 = 0 ;
3828 PyObject * obj4 = 0 ;
3829 PyObject * obj6 = 0 ;
3830 char *kwnames[] = {
3831 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3832 };
3833
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3836 {
3837 arg3 = wxString_in_helper(obj2);
3838 if (arg3 == NULL) SWIG_fail;
3839 temp3 = True;
3840 }
3841 if (obj3) {
3842 {
3843 arg4 = &temp4;
3844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3845 }
3846 }
3847 if (obj4) {
3848 {
3849 arg5 = &temp5;
3850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3851 }
3852 }
3853 if (obj6) {
3854 {
3855 arg7 = wxString_in_helper(obj6);
3856 if (arg7 == NULL) SWIG_fail;
3857 temp7 = True;
3858 }
3859 }
3860 {
3861 PyThreadState* __tstate = wxPyBeginAllowThreads();
3862 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3863
3864 wxPyEndAllowThreads(__tstate);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3868 {
3869 if (temp3)
3870 delete arg3;
3871 }
3872 {
3873 if (temp7)
3874 delete arg7;
3875 }
3876 return resultobj;
3877 fail:
3878 {
3879 if (temp3)
3880 delete arg3;
3881 }
3882 {
3883 if (temp7)
3884 delete arg7;
3885 }
3886 return NULL;
3887 }
3888
3889
3890 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj;
3892 wxStaticText *result;
3893 char *kwnames[] = {
3894 NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 result = (wxStaticText *)new wxStaticText();
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3906 return resultobj;
3907 fail:
3908 return NULL;
3909 }
3910
3911
3912 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxStaticText *arg1 = (wxStaticText *) 0 ;
3915 wxWindow *arg2 = (wxWindow *) 0 ;
3916 int arg3 ;
3917 wxString *arg4 = 0 ;
3918 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3919 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3920 wxSize const &arg6_defvalue = wxDefaultSize ;
3921 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3922 long arg7 = (long) 0 ;
3923 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3924 wxString *arg8 = (wxString *) &arg8_defvalue ;
3925 bool result;
3926 bool temp4 = False ;
3927 wxPoint temp5 ;
3928 wxSize temp6 ;
3929 bool temp8 = False ;
3930 PyObject * obj0 = 0 ;
3931 PyObject * obj1 = 0 ;
3932 PyObject * obj3 = 0 ;
3933 PyObject * obj4 = 0 ;
3934 PyObject * obj5 = 0 ;
3935 PyObject * obj7 = 0 ;
3936 char *kwnames[] = {
3937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3938 };
3939
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3943 {
3944 arg4 = wxString_in_helper(obj3);
3945 if (arg4 == NULL) SWIG_fail;
3946 temp4 = True;
3947 }
3948 if (obj4) {
3949 {
3950 arg5 = &temp5;
3951 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3952 }
3953 }
3954 if (obj5) {
3955 {
3956 arg6 = &temp6;
3957 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3958 }
3959 }
3960 if (obj7) {
3961 {
3962 arg8 = wxString_in_helper(obj7);
3963 if (arg8 == NULL) SWIG_fail;
3964 temp8 = True;
3965 }
3966 }
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 resultobj = PyInt_FromLong((long)result);
3975 {
3976 if (temp4)
3977 delete arg4;
3978 }
3979 {
3980 if (temp8)
3981 delete arg8;
3982 }
3983 return resultobj;
3984 fail:
3985 {
3986 if (temp4)
3987 delete arg4;
3988 }
3989 {
3990 if (temp8)
3991 delete arg8;
3992 }
3993 return NULL;
3994 }
3995
3996
3997 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3998 PyObject *obj;
3999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4000 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4001 Py_INCREF(obj);
4002 return Py_BuildValue((char *)"");
4003 }
4004 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj;
4006 wxWindow *arg1 = (wxWindow *) 0 ;
4007 int arg2 ;
4008 wxBitmap *arg3 = 0 ;
4009 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4010 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4011 wxSize const &arg5_defvalue = wxDefaultSize ;
4012 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4013 long arg6 = (long) 0 ;
4014 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4015 wxString *arg7 = (wxString *) &arg7_defvalue ;
4016 wxStaticBitmap *result;
4017 wxPoint temp4 ;
4018 wxSize temp5 ;
4019 bool temp7 = False ;
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj2 = 0 ;
4022 PyObject * obj3 = 0 ;
4023 PyObject * obj4 = 0 ;
4024 PyObject * obj6 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4031 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 if (arg3 == NULL) {
4033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4034 }
4035 if (obj3) {
4036 {
4037 arg4 = &temp4;
4038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4039 }
4040 }
4041 if (obj4) {
4042 {
4043 arg5 = &temp5;
4044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4045 }
4046 }
4047 if (obj6) {
4048 {
4049 arg7 = wxString_in_helper(obj6);
4050 if (arg7 == NULL) SWIG_fail;
4051 temp7 = True;
4052 }
4053 }
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4062 {
4063 if (temp7)
4064 delete arg7;
4065 }
4066 return resultobj;
4067 fail:
4068 {
4069 if (temp7)
4070 delete arg7;
4071 }
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxStaticBitmap *result;
4079 char *kwnames[] = {
4080 NULL
4081 };
4082
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (wxStaticBitmap *)new wxStaticBitmap();
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4092 return resultobj;
4093 fail:
4094 return NULL;
4095 }
4096
4097
4098 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4099 PyObject *resultobj;
4100 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4101 wxWindow *arg2 = (wxWindow *) 0 ;
4102 int arg3 ;
4103 wxBitmap *arg4 = 0 ;
4104 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4105 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4106 wxSize const &arg6_defvalue = wxDefaultSize ;
4107 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4108 long arg7 = (long) 0 ;
4109 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4110 wxString *arg8 = (wxString *) &arg8_defvalue ;
4111 bool result;
4112 wxPoint temp5 ;
4113 wxSize temp6 ;
4114 bool temp8 = False ;
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 PyObject * obj3 = 0 ;
4118 PyObject * obj4 = 0 ;
4119 PyObject * obj5 = 0 ;
4120 PyObject * obj7 = 0 ;
4121 char *kwnames[] = {
4122 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4123 };
4124
4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129 if (arg4 == NULL) {
4130 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4131 }
4132 if (obj4) {
4133 {
4134 arg5 = &temp5;
4135 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4136 }
4137 }
4138 if (obj5) {
4139 {
4140 arg6 = &temp6;
4141 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4142 }
4143 }
4144 if (obj7) {
4145 {
4146 arg8 = wxString_in_helper(obj7);
4147 if (arg8 == NULL) SWIG_fail;
4148 temp8 = True;
4149 }
4150 }
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 resultobj = PyInt_FromLong((long)result);
4159 {
4160 if (temp8)
4161 delete arg8;
4162 }
4163 return resultobj;
4164 fail:
4165 {
4166 if (temp8)
4167 delete arg8;
4168 }
4169 return NULL;
4170 }
4171
4172
4173 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4176 wxBitmap result;
4177 PyObject * obj0 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 result = (arg1)->GetBitmap();
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 {
4192 wxBitmap * resultptr;
4193 resultptr = new wxBitmap((wxBitmap &) result);
4194 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4195 }
4196 return resultobj;
4197 fail:
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4205 wxBitmap *arg2 = 0 ;
4206 PyObject * obj0 = 0 ;
4207 PyObject * obj1 = 0 ;
4208 char *kwnames[] = {
4209 (char *) "self",(char *) "bitmap", NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4215 if (arg2 == NULL) {
4216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4217 }
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 Py_INCREF(Py_None); resultobj = Py_None;
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj;
4234 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4235 wxIcon *arg2 = 0 ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 char *kwnames[] = {
4239 (char *) "self",(char *) "icon", NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4245 if (arg2 == NULL) {
4246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4247 }
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 (arg1)->SetIcon((wxIcon const &)*arg2);
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 Py_INCREF(Py_None); resultobj = Py_None;
4256 return resultobj;
4257 fail:
4258 return NULL;
4259 }
4260
4261
4262 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4263 PyObject *obj;
4264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4265 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4266 Py_INCREF(obj);
4267 return Py_BuildValue((char *)"");
4268 }
4269 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxWindow *arg1 = (wxWindow *) 0 ;
4272 int arg2 ;
4273 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4274 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4275 wxSize const &arg4_defvalue = wxDefaultSize ;
4276 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4277 int arg5 = (int) 0 ;
4278 wxString *arg6 = (wxString *) NULL ;
4279 long arg7 = (long) 0 ;
4280 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4281 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4282 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4283 wxString *arg9 = (wxString *) &arg9_defvalue ;
4284 wxListBox *result;
4285 wxPoint temp3 ;
4286 wxSize temp4 ;
4287 bool temp8 = False ;
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj2 = 0 ;
4290 PyObject * obj3 = 0 ;
4291 PyObject * obj4 = 0 ;
4292 PyObject * obj6 = 0 ;
4293 PyObject * obj7 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4300 if (obj2) {
4301 {
4302 arg3 = &temp3;
4303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4304 }
4305 }
4306 if (obj3) {
4307 {
4308 arg4 = &temp4;
4309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4310 }
4311 }
4312 if (obj4) {
4313 {
4314 arg5 = PyList_Size(obj4);
4315 arg6 = wxString_LIST_helper(obj4);
4316 if (arg6 == NULL) SWIG_fail;
4317 }
4318 }
4319 if (obj6) {
4320 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4321 if (arg8 == NULL) {
4322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4323 }
4324 }
4325 if (obj7) {
4326 {
4327 arg9 = wxString_in_helper(obj7);
4328 if (arg9 == NULL) SWIG_fail;
4329 temp8 = True;
4330 }
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4340 {
4341 if (arg6) delete [] arg6;
4342 }
4343 {
4344 if (temp8)
4345 delete arg9;
4346 }
4347 return resultobj;
4348 fail:
4349 {
4350 if (arg6) delete [] arg6;
4351 }
4352 {
4353 if (temp8)
4354 delete arg9;
4355 }
4356 return NULL;
4357 }
4358
4359
4360 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj;
4362 wxListBox *result;
4363 char *kwnames[] = {
4364 NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 result = (wxListBox *)new wxListBox();
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4376 return resultobj;
4377 fail:
4378 return NULL;
4379 }
4380
4381
4382 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj;
4384 wxListBox *arg1 = (wxListBox *) 0 ;
4385 wxWindow *arg2 = (wxWindow *) 0 ;
4386 int arg3 ;
4387 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4388 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4389 wxSize const &arg5_defvalue = wxDefaultSize ;
4390 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4391 int arg6 = (int) 0 ;
4392 wxString *arg7 = (wxString *) NULL ;
4393 long arg8 = (long) 0 ;
4394 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4395 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4396 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4397 wxString *arg10 = (wxString *) &arg10_defvalue ;
4398 bool result;
4399 wxPoint temp4 ;
4400 wxSize temp5 ;
4401 bool temp9 = False ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 PyObject * obj3 = 0 ;
4405 PyObject * obj4 = 0 ;
4406 PyObject * obj5 = 0 ;
4407 PyObject * obj7 = 0 ;
4408 PyObject * obj8 = 0 ;
4409 char *kwnames[] = {
4410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4411 };
4412
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4416 if (obj3) {
4417 {
4418 arg4 = &temp4;
4419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4420 }
4421 }
4422 if (obj4) {
4423 {
4424 arg5 = &temp5;
4425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4426 }
4427 }
4428 if (obj5) {
4429 {
4430 arg6 = PyList_Size(obj5);
4431 arg7 = wxString_LIST_helper(obj5);
4432 if (arg7 == NULL) SWIG_fail;
4433 }
4434 }
4435 if (obj7) {
4436 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4437 if (arg9 == NULL) {
4438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4439 }
4440 }
4441 if (obj8) {
4442 {
4443 arg10 = wxString_in_helper(obj8);
4444 if (arg10 == NULL) SWIG_fail;
4445 temp9 = True;
4446 }
4447 }
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4451
4452 wxPyEndAllowThreads(__tstate);
4453 if (PyErr_Occurred()) SWIG_fail;
4454 }
4455 resultobj = PyInt_FromLong((long)result);
4456 {
4457 if (arg7) delete [] arg7;
4458 }
4459 {
4460 if (temp9)
4461 delete arg10;
4462 }
4463 return resultobj;
4464 fail:
4465 {
4466 if (arg7) delete [] arg7;
4467 }
4468 {
4469 if (temp9)
4470 delete arg10;
4471 }
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxListBox *arg1 = (wxListBox *) 0 ;
4479 wxString *arg2 = 0 ;
4480 int arg3 ;
4481 PyObject *arg4 = (PyObject *) NULL ;
4482 bool temp2 = False ;
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 PyObject * obj3 = 0 ;
4486 char *kwnames[] = {
4487 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4488 };
4489
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4492 {
4493 arg2 = wxString_in_helper(obj1);
4494 if (arg2 == NULL) SWIG_fail;
4495 temp2 = True;
4496 }
4497 if (obj3) {
4498 arg4 = obj3;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 Py_INCREF(Py_None); resultobj = Py_None;
4508 {
4509 if (temp2)
4510 delete arg2;
4511 }
4512 return resultobj;
4513 fail:
4514 {
4515 if (temp2)
4516 delete arg2;
4517 }
4518 return NULL;
4519 }
4520
4521
4522 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxListBox *arg1 = (wxListBox *) 0 ;
4525 wxArrayString *arg2 = 0 ;
4526 int arg3 ;
4527 PyObject * obj0 = 0 ;
4528 PyObject * obj1 = 0 ;
4529 char *kwnames[] = {
4530 (char *) "self",(char *) "items",(char *) "pos", NULL
4531 };
4532
4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4535 {
4536 if (! PySequence_Check(obj1)) {
4537 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4538 SWIG_fail;
4539 }
4540 arg2 = new wxArrayString;
4541 int i, len=PySequence_Length(obj1);
4542 for (i=0; i<len; i++) {
4543 PyObject* item = PySequence_GetItem(obj1, i);
4544 #if wxUSE_UNICODE
4545 PyObject* str = PyObject_Unicode(item);
4546 #else
4547 PyObject* str = PyObject_Str(item);
4548 #endif
4549 arg2->Add(Py2wxString(str));
4550 Py_DECREF(item);
4551 Py_DECREF(str);
4552 }
4553 }
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 Py_INCREF(Py_None); resultobj = Py_None;
4562 {
4563 if (arg2) delete arg2;
4564 }
4565 return resultobj;
4566 fail:
4567 {
4568 if (arg2) delete arg2;
4569 }
4570 return NULL;
4571 }
4572
4573
4574 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj;
4576 wxListBox *arg1 = (wxListBox *) 0 ;
4577 wxArrayString *arg2 = 0 ;
4578 PyObject * obj0 = 0 ;
4579 PyObject * obj1 = 0 ;
4580 char *kwnames[] = {
4581 (char *) "self",(char *) "items", NULL
4582 };
4583
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4586 {
4587 if (! PySequence_Check(obj1)) {
4588 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4589 SWIG_fail;
4590 }
4591 arg2 = new wxArrayString;
4592 int i, len=PySequence_Length(obj1);
4593 for (i=0; i<len; i++) {
4594 PyObject* item = PySequence_GetItem(obj1, i);
4595 #if wxUSE_UNICODE
4596 PyObject* str = PyObject_Unicode(item);
4597 #else
4598 PyObject* str = PyObject_Str(item);
4599 #endif
4600 arg2->Add(Py2wxString(str));
4601 Py_DECREF(item);
4602 Py_DECREF(str);
4603 }
4604 }
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->Set((wxArrayString const &)*arg2);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 Py_INCREF(Py_None); resultobj = Py_None;
4613 {
4614 if (arg2) delete arg2;
4615 }
4616 return resultobj;
4617 fail:
4618 {
4619 if (arg2) delete arg2;
4620 }
4621 return NULL;
4622 }
4623
4624
4625 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4626 PyObject *resultobj;
4627 wxListBox *arg1 = (wxListBox *) 0 ;
4628 int arg2 ;
4629 bool result;
4630 PyObject * obj0 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self",(char *) "n", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4637 {
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 resultobj = PyInt_FromLong((long)result);
4645 return resultobj;
4646 fail:
4647 return NULL;
4648 }
4649
4650
4651 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4652 PyObject *resultobj;
4653 wxListBox *arg1 = (wxListBox *) 0 ;
4654 int arg2 ;
4655 bool arg3 = (bool) True ;
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj2 = 0 ;
4658 char *kwnames[] = {
4659 (char *) "self",(char *) "n",(char *) "select", NULL
4660 };
4661
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4664 if (obj2) {
4665 arg3 = PyInt_AsLong(obj2) ? true : false;
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 (arg1)->SetSelection(arg2,arg3);
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 Py_INCREF(Py_None); resultobj = Py_None;
4676 return resultobj;
4677 fail:
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxListBox *arg1 = (wxListBox *) 0 ;
4685 int arg2 ;
4686 PyObject * obj0 = 0 ;
4687 char *kwnames[] = {
4688 (char *) "self",(char *) "n", NULL
4689 };
4690
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 (arg1)->Select(arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 Py_INCREF(Py_None); resultobj = Py_None;
4701 return resultobj;
4702 fail:
4703 return NULL;
4704 }
4705
4706
4707 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 wxListBox *arg1 = (wxListBox *) 0 ;
4710 int arg2 ;
4711 PyObject * obj0 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "self",(char *) "n", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 (arg1)->Deselect(arg2);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxListBox *arg1 = (wxListBox *) 0 ;
4735 int arg2 = (int) -1 ;
4736 PyObject * obj0 = 0 ;
4737 char *kwnames[] = {
4738 (char *) "self",(char *) "itemToLeaveSelected", NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 (arg1)->DeselectAll(arg2);
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 Py_INCREF(Py_None); resultobj = Py_None;
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxListBox *arg1 = (wxListBox *) 0 ;
4760 wxString *arg2 = 0 ;
4761 bool arg3 = (bool) True ;
4762 bool result;
4763 bool temp2 = False ;
4764 PyObject * obj0 = 0 ;
4765 PyObject * obj1 = 0 ;
4766 PyObject * obj2 = 0 ;
4767 char *kwnames[] = {
4768 (char *) "self",(char *) "s",(char *) "select", NULL
4769 };
4770
4771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4773 {
4774 arg2 = wxString_in_helper(obj1);
4775 if (arg2 == NULL) SWIG_fail;
4776 temp2 = True;
4777 }
4778 if (obj2) {
4779 arg3 = PyInt_AsLong(obj2) ? true : false;
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 resultobj = PyInt_FromLong((long)result);
4790 {
4791 if (temp2)
4792 delete arg2;
4793 }
4794 return resultobj;
4795 fail:
4796 {
4797 if (temp2)
4798 delete arg2;
4799 }
4800 return NULL;
4801 }
4802
4803
4804 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 wxListBox *arg1 = (wxListBox *) 0 ;
4807 PyObject *result;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (PyObject *)wxListBox_GetSelections(arg1);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 resultobj = result;
4823 return resultobj;
4824 fail:
4825 return NULL;
4826 }
4827
4828
4829 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxListBox *arg1 = (wxListBox *) 0 ;
4832 int arg2 ;
4833 PyObject * obj0 = 0 ;
4834 char *kwnames[] = {
4835 (char *) "self",(char *) "n", NULL
4836 };
4837
4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 (arg1)->SetFirstItem(arg2);
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 Py_INCREF(Py_None); resultobj = Py_None;
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxListBox *arg1 = (wxListBox *) 0 ;
4857 wxString *arg2 = 0 ;
4858 bool temp2 = False ;
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 char *kwnames[] = {
4862 (char *) "self",(char *) "s", NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4867 {
4868 arg2 = wxString_in_helper(obj1);
4869 if (arg2 == NULL) SWIG_fail;
4870 temp2 = True;
4871 }
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 (arg1)->SetFirstItem((wxString const &)*arg2);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 Py_INCREF(Py_None); resultobj = Py_None;
4880 {
4881 if (temp2)
4882 delete arg2;
4883 }
4884 return resultobj;
4885 fail:
4886 {
4887 if (temp2)
4888 delete arg2;
4889 }
4890 return NULL;
4891 }
4892
4893
4894 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj;
4896 wxListBox *arg1 = (wxListBox *) 0 ;
4897 int arg2 ;
4898 PyObject * obj0 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self",(char *) "n", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 (arg1)->EnsureVisible(arg2);
4908
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 Py_INCREF(Py_None); resultobj = Py_None;
4913 return resultobj;
4914 fail:
4915 return NULL;
4916 }
4917
4918
4919 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject *resultobj;
4921 wxListBox *arg1 = (wxListBox *) 0 ;
4922 wxString *arg2 = 0 ;
4923 bool temp2 = False ;
4924 PyObject * obj0 = 0 ;
4925 PyObject * obj1 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self",(char *) "s", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4932 {
4933 arg2 = wxString_in_helper(obj1);
4934 if (arg2 == NULL) SWIG_fail;
4935 temp2 = True;
4936 }
4937 {
4938 PyThreadState* __tstate = wxPyBeginAllowThreads();
4939 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 Py_INCREF(Py_None); resultobj = Py_None;
4945 {
4946 if (temp2)
4947 delete arg2;
4948 }
4949 return resultobj;
4950 fail:
4951 {
4952 if (temp2)
4953 delete arg2;
4954 }
4955 return NULL;
4956 }
4957
4958
4959 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxListBox *arg1 = (wxListBox *) 0 ;
4962 bool result;
4963 PyObject * obj0 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 result = (bool)((wxListBox const *)arg1)->IsSorted();
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 resultobj = PyInt_FromLong((long)result);
4978 return resultobj;
4979 fail:
4980 return NULL;
4981 }
4982
4983
4984 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4985 PyObject *obj;
4986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4987 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4988 Py_INCREF(obj);
4989 return Py_BuildValue((char *)"");
4990 }
4991 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxWindow *arg1 = (wxWindow *) 0 ;
4994 int arg2 ;
4995 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4996 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4997 wxSize const &arg4_defvalue = wxDefaultSize ;
4998 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4999 int arg5 = (int) 0 ;
5000 wxString *arg6 = (wxString *) NULL ;
5001 long arg7 = (long) 0 ;
5002 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5003 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5004 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5005 wxString *arg9 = (wxString *) &arg9_defvalue ;
5006 wxCheckListBox *result;
5007 wxPoint temp3 ;
5008 wxSize temp4 ;
5009 bool temp8 = False ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj2 = 0 ;
5012 PyObject * obj3 = 0 ;
5013 PyObject * obj4 = 0 ;
5014 PyObject * obj6 = 0 ;
5015 PyObject * obj7 = 0 ;
5016 char *kwnames[] = {
5017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5018 };
5019
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 if (obj2) {
5023 {
5024 arg3 = &temp3;
5025 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5026 }
5027 }
5028 if (obj3) {
5029 {
5030 arg4 = &temp4;
5031 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5032 }
5033 }
5034 if (obj4) {
5035 {
5036 arg5 = PyList_Size(obj4);
5037 arg6 = wxString_LIST_helper(obj4);
5038 if (arg6 == NULL) SWIG_fail;
5039 }
5040 }
5041 if (obj6) {
5042 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5043 if (arg8 == NULL) {
5044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5045 }
5046 }
5047 if (obj7) {
5048 {
5049 arg9 = wxString_in_helper(obj7);
5050 if (arg9 == NULL) SWIG_fail;
5051 temp8 = True;
5052 }
5053 }
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
5056 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5062 {
5063 if (arg6) delete [] arg6;
5064 }
5065 {
5066 if (temp8)
5067 delete arg9;
5068 }
5069 return resultobj;
5070 fail:
5071 {
5072 if (arg6) delete [] arg6;
5073 }
5074 {
5075 if (temp8)
5076 delete arg9;
5077 }
5078 return NULL;
5079 }
5080
5081
5082 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj;
5084 wxCheckListBox *result;
5085 char *kwnames[] = {
5086 NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 result = (wxCheckListBox *)new wxCheckListBox();
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5098 return resultobj;
5099 fail:
5100 return NULL;
5101 }
5102
5103
5104 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5107 wxWindow *arg2 = (wxWindow *) 0 ;
5108 int arg3 ;
5109 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5110 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5111 wxSize const &arg5_defvalue = wxDefaultSize ;
5112 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5113 int arg6 = (int) 0 ;
5114 wxString *arg7 = (wxString *) NULL ;
5115 long arg8 = (long) 0 ;
5116 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5117 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5118 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5119 wxString *arg10 = (wxString *) &arg10_defvalue ;
5120 bool result;
5121 wxPoint temp4 ;
5122 wxSize temp5 ;
5123 bool temp9 = False ;
5124 PyObject * obj0 = 0 ;
5125 PyObject * obj1 = 0 ;
5126 PyObject * obj3 = 0 ;
5127 PyObject * obj4 = 0 ;
5128 PyObject * obj5 = 0 ;
5129 PyObject * obj7 = 0 ;
5130 PyObject * obj8 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 if (obj3) {
5139 {
5140 arg4 = &temp4;
5141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5142 }
5143 }
5144 if (obj4) {
5145 {
5146 arg5 = &temp5;
5147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5148 }
5149 }
5150 if (obj5) {
5151 {
5152 arg6 = PyList_Size(obj5);
5153 arg7 = wxString_LIST_helper(obj5);
5154 if (arg7 == NULL) SWIG_fail;
5155 }
5156 }
5157 if (obj7) {
5158 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5159 if (arg9 == NULL) {
5160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5161 }
5162 }
5163 if (obj8) {
5164 {
5165 arg10 = wxString_in_helper(obj8);
5166 if (arg10 == NULL) SWIG_fail;
5167 temp9 = True;
5168 }
5169 }
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = PyInt_FromLong((long)result);
5178 {
5179 if (arg7) delete [] arg7;
5180 }
5181 {
5182 if (temp9)
5183 delete arg10;
5184 }
5185 return resultobj;
5186 fail:
5187 {
5188 if (arg7) delete [] arg7;
5189 }
5190 {
5191 if (temp9)
5192 delete arg10;
5193 }
5194 return NULL;
5195 }
5196
5197
5198 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5201 int arg2 ;
5202 bool result;
5203 PyObject * obj0 = 0 ;
5204 char *kwnames[] = {
5205 (char *) "self",(char *) "index", NULL
5206 };
5207
5208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (bool)(arg1)->IsChecked(arg2);
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = PyInt_FromLong((long)result);
5218 return resultobj;
5219 fail:
5220 return NULL;
5221 }
5222
5223
5224 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5227 int arg2 ;
5228 int arg3 = (int) True ;
5229 PyObject * obj0 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "index",(char *) "check", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 (arg1)->Check(arg2,arg3);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 Py_INCREF(Py_None); resultobj = Py_None;
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5253 int result;
5254 PyObject * obj0 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "self", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5261 {
5262 PyThreadState* __tstate = wxPyBeginAllowThreads();
5263 result = (int)(arg1)->GetItemHeight();
5264
5265 wxPyEndAllowThreads(__tstate);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 resultobj = PyInt_FromLong((long)result);
5269 return resultobj;
5270 fail:
5271 return NULL;
5272 }
5273
5274
5275 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5278 wxPoint *arg2 = 0 ;
5279 int result;
5280 wxPoint temp2 ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self",(char *) "pt", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5289 {
5290 arg2 = &temp2;
5291 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5292 }
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 resultobj = PyInt_FromLong((long)result);
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5310 int arg2 ;
5311 int arg3 ;
5312 int result;
5313 PyObject * obj0 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self",(char *) "x",(char *) "y", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 resultobj = PyInt_FromLong((long)result);
5328 return resultobj;
5329 fail:
5330 return NULL;
5331 }
5332
5333
5334 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5335 PyObject *obj;
5336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5337 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5338 Py_INCREF(obj);
5339 return Py_BuildValue((char *)"");
5340 }
5341 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5342 PyObject *resultobj;
5343 wxTextAttr *result;
5344
5345 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (wxTextAttr *)new wxTextAttr();
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5361 PyObject *resultobj;
5362 wxColour *arg1 = 0 ;
5363 wxColour const &arg2_defvalue = wxNullColour ;
5364 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5365 wxFont const &arg3_defvalue = wxNullFont ;
5366 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5367 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5368 wxTextAttr *result;
5369 wxColour temp1 ;
5370 wxColour temp2 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 PyObject * obj2 = 0 ;
5374
5375 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5376 {
5377 arg1 = &temp1;
5378 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5379 }
5380 if (obj1) {
5381 {
5382 arg2 = &temp2;
5383 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5384 }
5385 }
5386 if (obj2) {
5387 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5388 if (arg3 == NULL) {
5389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5390 }
5391 }
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5395
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5400 return resultobj;
5401 fail:
5402 return NULL;
5403 }
5404
5405
5406 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5407 int argc;
5408 PyObject *argv[5];
5409 int ii;
5410
5411 argc = PyObject_Length(args);
5412 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5413 argv[ii] = PyTuple_GetItem(args,ii);
5414 }
5415 if (argc == 0) {
5416 return _wrap_new_TextAttr__SWIG_0(self,args);
5417 }
5418 if ((argc >= 1) && (argc <= 4)) {
5419 int _v;
5420 {
5421 _v = wxColour_typecheck(argv[0]);
5422 }
5423 if (_v) {
5424 if (argc <= 1) {
5425 return _wrap_new_TextAttr__SWIG_1(self,args);
5426 }
5427 {
5428 _v = wxColour_typecheck(argv[1]);
5429 }
5430 if (_v) {
5431 if (argc <= 2) {
5432 return _wrap_new_TextAttr__SWIG_1(self,args);
5433 }
5434 {
5435 void *ptr;
5436 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5437 _v = 0;
5438 PyErr_Clear();
5439 } else {
5440 _v = 1;
5441 }
5442 }
5443 if (_v) {
5444 if (argc <= 3) {
5445 return _wrap_new_TextAttr__SWIG_1(self,args);
5446 }
5447 {
5448 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5449 }
5450 if (_v) {
5451 return _wrap_new_TextAttr__SWIG_1(self,args);
5452 }
5453 }
5454 }
5455 }
5456 }
5457
5458 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5459 return NULL;
5460 }
5461
5462
5463 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject *resultobj;
5465 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5466 PyObject * obj0 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "self", NULL
5469 };
5470
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->Init();
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 Py_INCREF(Py_None); resultobj = Py_None;
5481 return resultobj;
5482 fail:
5483 return NULL;
5484 }
5485
5486
5487 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5490 wxColour *arg2 = 0 ;
5491 wxColour temp2 ;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self",(char *) "colText", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5500 {
5501 arg2 = &temp2;
5502 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 (arg1)->SetTextColour((wxColour const &)*arg2);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 Py_INCREF(Py_None); resultobj = Py_None;
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5521 wxColour *arg2 = 0 ;
5522 wxColour temp2 ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self",(char *) "colBack", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5531 {
5532 arg2 = &temp2;
5533 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5534 }
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
5542 Py_INCREF(Py_None); resultobj = Py_None;
5543 return resultobj;
5544 fail:
5545 return NULL;
5546 }
5547
5548
5549 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5550 PyObject *resultobj;
5551 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5552 wxFont *arg2 = 0 ;
5553 long arg3 = (long) wxTEXT_ATTR_FONT ;
5554 PyObject * obj0 = 0 ;
5555 PyObject * obj1 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self",(char *) "font",(char *) "flags", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5563 if (arg2 == NULL) {
5564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5565 }
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5583 int arg2 ;
5584 PyObject * obj0 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "alignment", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 Py_INCREF(Py_None); resultobj = Py_None;
5599 return resultobj;
5600 fail:
5601 return NULL;
5602 }
5603
5604
5605 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5606 PyObject *resultobj;
5607 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5608 wxArrayInt *arg2 = 0 ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "tabs", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5617 {
5618 if (! PySequence_Check(obj1)) {
5619 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5620 SWIG_fail;
5621 }
5622 arg2 = new wxArrayInt;
5623 int i, len=PySequence_Length(obj1);
5624 for (i=0; i<len; i++) {
5625 PyObject* item = PySequence_GetItem(obj1, i);
5626 PyObject* number = PyNumber_Int(item);
5627 arg2->Add(PyInt_AS_LONG(number));
5628 Py_DECREF(item);
5629 Py_DECREF(number);
5630 }
5631 }
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 Py_INCREF(Py_None); resultobj = Py_None;
5640 {
5641 if (arg2) delete arg2;
5642 }
5643 return resultobj;
5644 fail:
5645 {
5646 if (arg2) delete arg2;
5647 }
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5655 int arg2 ;
5656 PyObject * obj0 = 0 ;
5657 char *kwnames[] = {
5658 (char *) "self",(char *) "indent", NULL
5659 };
5660
5661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 (arg1)->SetLeftIndent(arg2);
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 Py_INCREF(Py_None); resultobj = Py_None;
5671 return resultobj;
5672 fail:
5673 return NULL;
5674 }
5675
5676
5677 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5678 PyObject *resultobj;
5679 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5680 int arg2 ;
5681 PyObject * obj0 = 0 ;
5682 char *kwnames[] = {
5683 (char *) "self",(char *) "indent", NULL
5684 };
5685
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5688 {
5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
5690 (arg1)->SetRightIndent(arg2);
5691
5692 wxPyEndAllowThreads(__tstate);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
5695 Py_INCREF(Py_None); resultobj = Py_None;
5696 return resultobj;
5697 fail:
5698 return NULL;
5699 }
5700
5701
5702 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject *resultobj;
5704 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5705 long arg2 ;
5706 PyObject * obj0 = 0 ;
5707 char *kwnames[] = {
5708 (char *) "self",(char *) "flags", NULL
5709 };
5710
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetFlags(arg2);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5730 bool result;
5731 PyObject * obj0 = 0 ;
5732 char *kwnames[] = {
5733 (char *) "self", NULL
5734 };
5735
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = PyInt_FromLong((long)result);
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5755 bool result;
5756 PyObject * obj0 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 resultobj = PyInt_FromLong((long)result);
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5780 bool result;
5781 PyObject * obj0 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = PyInt_FromLong((long)result);
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5805 bool result;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 resultobj = PyInt_FromLong((long)result);
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5830 bool result;
5831 PyObject * obj0 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 resultobj = PyInt_FromLong((long)result);
5846 return resultobj;
5847 fail:
5848 return NULL;
5849 }
5850
5851
5852 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5855 bool result;
5856 PyObject * obj0 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 resultobj = PyInt_FromLong((long)result);
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj;
5879 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5880 bool result;
5881 PyObject * obj0 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5891
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 resultobj = PyInt_FromLong((long)result);
5896 return resultobj;
5897 fail:
5898 return NULL;
5899 }
5900
5901
5902 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5903 PyObject *resultobj;
5904 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5905 long arg2 ;
5906 bool result;
5907 PyObject * obj0 = 0 ;
5908 char *kwnames[] = {
5909 (char *) "self",(char *) "flag", NULL
5910 };
5911
5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 resultobj = PyInt_FromLong((long)result);
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject *resultobj;
5930 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5931 wxColour *result;
5932 PyObject * obj0 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 {
5942 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5943 result = (wxColour *) &_result_ref;
5944 }
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5950 return resultobj;
5951 fail:
5952 return NULL;
5953 }
5954
5955
5956 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5959 wxColour *result;
5960 PyObject * obj0 = 0 ;
5961 char *kwnames[] = {
5962 (char *) "self", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 {
5970 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5971 result = (wxColour *) &_result_ref;
5972 }
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5978 return resultobj;
5979 fail:
5980 return NULL;
5981 }
5982
5983
5984 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5987 wxFont *result;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 {
5998 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5999 result = (wxFont *) &_result_ref;
6000 }
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6006 return resultobj;
6007 fail:
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6015 int result;
6016 PyObject * obj0 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 resultobj = PyInt_FromLong((long)result);
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6040 wxArrayInt *result;
6041 PyObject * obj0 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6048 {
6049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6050 {
6051 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6052 result = (wxArrayInt *) &_result_ref;
6053 }
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 {
6059 resultobj = PyList_New(0);
6060 size_t idx;
6061 for (idx = 0; idx < result->GetCount(); idx += 1) {
6062 PyObject* val = PyInt_FromLong( result->Item(idx) );
6063 PyList_Append(resultobj, val);
6064 Py_DECREF(val);
6065 }
6066 }
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6076 long result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 resultobj = PyInt_FromLong((long)result);
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6101 long result;
6102 PyObject * obj0 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 resultobj = PyInt_FromLong((long)result);
6117 return resultobj;
6118 fail:
6119 return NULL;
6120 }
6121
6122
6123 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6126 long result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 resultobj = PyInt_FromLong((long)result);
6142 return resultobj;
6143 fail:
6144 return NULL;
6145 }
6146
6147
6148 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6149 PyObject *resultobj;
6150 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6151 bool result;
6152 PyObject * obj0 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 resultobj = PyInt_FromLong((long)result);
6167 return resultobj;
6168 fail:
6169 return NULL;
6170 }
6171
6172
6173 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj;
6175 wxTextAttr *arg1 = 0 ;
6176 wxTextAttr *arg2 = 0 ;
6177 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6178 wxTextAttr result;
6179 PyObject * obj0 = 0 ;
6180 PyObject * obj1 = 0 ;
6181 PyObject * obj2 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6188 if (arg1 == NULL) {
6189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6190 }
6191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6192 if (arg2 == NULL) {
6193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6194 }
6195 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 {
6204 wxTextAttr * resultptr;
6205 resultptr = new wxTextAttr((wxTextAttr &) result);
6206 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6207 }
6208 return resultobj;
6209 fail:
6210 return NULL;
6211 }
6212
6213
6214 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6215 PyObject *obj;
6216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6217 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6218 Py_INCREF(obj);
6219 return Py_BuildValue((char *)"");
6220 }
6221 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxWindow *arg1 = (wxWindow *) 0 ;
6224 int arg2 ;
6225 wxString const &arg3_defvalue = wxPyEmptyString ;
6226 wxString *arg3 = (wxString *) &arg3_defvalue ;
6227 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6228 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6229 wxSize const &arg5_defvalue = wxDefaultSize ;
6230 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6231 long arg6 = (long) 0 ;
6232 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6233 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6234 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6235 wxString *arg8 = (wxString *) &arg8_defvalue ;
6236 wxTextCtrl *result;
6237 bool temp3 = False ;
6238 wxPoint temp4 ;
6239 wxSize temp5 ;
6240 bool temp8 = False ;
6241 PyObject * obj0 = 0 ;
6242 PyObject * obj2 = 0 ;
6243 PyObject * obj3 = 0 ;
6244 PyObject * obj4 = 0 ;
6245 PyObject * obj6 = 0 ;
6246 PyObject * obj7 = 0 ;
6247 char *kwnames[] = {
6248 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6249 };
6250
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6253 if (obj2) {
6254 {
6255 arg3 = wxString_in_helper(obj2);
6256 if (arg3 == NULL) SWIG_fail;
6257 temp3 = True;
6258 }
6259 }
6260 if (obj3) {
6261 {
6262 arg4 = &temp4;
6263 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6264 }
6265 }
6266 if (obj4) {
6267 {
6268 arg5 = &temp5;
6269 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6270 }
6271 }
6272 if (obj6) {
6273 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6274 if (arg7 == NULL) {
6275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6276 }
6277 }
6278 if (obj7) {
6279 {
6280 arg8 = wxString_in_helper(obj7);
6281 if (arg8 == NULL) SWIG_fail;
6282 temp8 = True;
6283 }
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 {
6293 resultobj = wxPyMake_wxObject(result);
6294 }
6295 {
6296 if (temp3)
6297 delete arg3;
6298 }
6299 {
6300 if (temp8)
6301 delete arg8;
6302 }
6303 return resultobj;
6304 fail:
6305 {
6306 if (temp3)
6307 delete arg3;
6308 }
6309 {
6310 if (temp8)
6311 delete arg8;
6312 }
6313 return NULL;
6314 }
6315
6316
6317 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxTextCtrl *result;
6320 char *kwnames[] = {
6321 NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 result = (wxTextCtrl *)new wxTextCtrl();
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 {
6333 resultobj = wxPyMake_wxObject(result);
6334 }
6335 return resultobj;
6336 fail:
6337 return NULL;
6338 }
6339
6340
6341 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj;
6343 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6344 wxWindow *arg2 = (wxWindow *) 0 ;
6345 int arg3 ;
6346 wxString const &arg4_defvalue = wxPyEmptyString ;
6347 wxString *arg4 = (wxString *) &arg4_defvalue ;
6348 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6349 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6350 wxSize const &arg6_defvalue = wxDefaultSize ;
6351 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6352 long arg7 = (long) 0 ;
6353 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6354 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6355 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6356 wxString *arg9 = (wxString *) &arg9_defvalue ;
6357 bool result;
6358 bool temp4 = False ;
6359 wxPoint temp5 ;
6360 wxSize temp6 ;
6361 bool temp9 = False ;
6362 PyObject * obj0 = 0 ;
6363 PyObject * obj1 = 0 ;
6364 PyObject * obj3 = 0 ;
6365 PyObject * obj4 = 0 ;
6366 PyObject * obj5 = 0 ;
6367 PyObject * obj7 = 0 ;
6368 PyObject * obj8 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6376 if (obj3) {
6377 {
6378 arg4 = wxString_in_helper(obj3);
6379 if (arg4 == NULL) SWIG_fail;
6380 temp4 = True;
6381 }
6382 }
6383 if (obj4) {
6384 {
6385 arg5 = &temp5;
6386 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6387 }
6388 }
6389 if (obj5) {
6390 {
6391 arg6 = &temp6;
6392 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6393 }
6394 }
6395 if (obj7) {
6396 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6397 if (arg8 == NULL) {
6398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6399 }
6400 }
6401 if (obj8) {
6402 {
6403 arg9 = wxString_in_helper(obj8);
6404 if (arg9 == NULL) SWIG_fail;
6405 temp9 = True;
6406 }
6407 }
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 resultobj = PyInt_FromLong((long)result);
6416 {
6417 if (temp4)
6418 delete arg4;
6419 }
6420 {
6421 if (temp9)
6422 delete arg9;
6423 }
6424 return resultobj;
6425 fail:
6426 {
6427 if (temp4)
6428 delete arg4;
6429 }
6430 {
6431 if (temp9)
6432 delete arg9;
6433 }
6434 return NULL;
6435 }
6436
6437
6438 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6441 wxString result;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = ((wxTextCtrl const *)arg1)->GetValue();
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 {
6457 #if wxUSE_UNICODE
6458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6459 #else
6460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6461 #endif
6462 }
6463 return resultobj;
6464 fail:
6465 return NULL;
6466 }
6467
6468
6469 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject *resultobj;
6471 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6472 wxString *arg2 = 0 ;
6473 bool temp2 = False ;
6474 PyObject * obj0 = 0 ;
6475 PyObject * obj1 = 0 ;
6476 char *kwnames[] = {
6477 (char *) "self",(char *) "value", NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6482 {
6483 arg2 = wxString_in_helper(obj1);
6484 if (arg2 == NULL) SWIG_fail;
6485 temp2 = True;
6486 }
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 (arg1)->SetValue((wxString const &)*arg2);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 Py_INCREF(Py_None); resultobj = Py_None;
6495 {
6496 if (temp2)
6497 delete arg2;
6498 }
6499 return resultobj;
6500 fail:
6501 {
6502 if (temp2)
6503 delete arg2;
6504 }
6505 return NULL;
6506 }
6507
6508
6509 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6512 long arg2 ;
6513 long arg3 ;
6514 wxString result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "self",(char *) "from",(char *) "to", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 {
6530 #if wxUSE_UNICODE
6531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6532 #else
6533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6534 #endif
6535 }
6536 return resultobj;
6537 fail:
6538 return NULL;
6539 }
6540
6541
6542 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6543 PyObject *resultobj;
6544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6545 long arg2 ;
6546 int result;
6547 PyObject * obj0 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self",(char *) "lineNo", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 resultobj = PyInt_FromLong((long)result);
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj;
6570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6571 long arg2 ;
6572 wxString result;
6573 PyObject * obj0 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self",(char *) "lineNo", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 {
6588 #if wxUSE_UNICODE
6589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6590 #else
6591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6592 #endif
6593 }
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6603 int result;
6604 PyObject * obj0 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 resultobj = PyInt_FromLong((long)result);
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6628 bool result;
6629 PyObject * obj0 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "self", NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6639
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 }
6643 resultobj = PyInt_FromLong((long)result);
6644 return resultobj;
6645 fail:
6646 return NULL;
6647 }
6648
6649
6650 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj;
6652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6653 bool result;
6654 PyObject * obj0 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 }
6668 resultobj = PyInt_FromLong((long)result);
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj;
6677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6678 bool result;
6679 PyObject * obj0 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 resultobj = PyInt_FromLong((long)result);
6694 return resultobj;
6695 fail:
6696 return NULL;
6697 }
6698
6699
6700 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6703 bool result;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = PyInt_FromLong((long)result);
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6728 long *arg2 = (long *) 0 ;
6729 long *arg3 = (long *) 0 ;
6730 long temp2 ;
6731 long temp3 ;
6732 PyObject * obj0 = 0 ;
6733 char *kwnames[] = {
6734 (char *) "self", NULL
6735 };
6736
6737 arg2 = &temp2;
6738 arg3 = &temp3;
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 Py_INCREF(Py_None); resultobj = Py_None;
6749 {
6750 PyObject *o = PyInt_FromLong((long) (*arg2));
6751 resultobj = t_output_helper(resultobj,o);
6752 }
6753 {
6754 PyObject *o = PyInt_FromLong((long) (*arg3));
6755 resultobj = t_output_helper(resultobj,o);
6756 }
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6766 wxString result;
6767 PyObject * obj0 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 {
6782 #if wxUSE_UNICODE
6783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6784 #else
6785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6786 #endif
6787 }
6788 return resultobj;
6789 fail:
6790 return NULL;
6791 }
6792
6793
6794 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject *resultobj;
6796 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6797 PyObject * obj0 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 (arg1)->Clear();
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 Py_INCREF(Py_None); resultobj = Py_None;
6812 return resultobj;
6813 fail:
6814 return NULL;
6815 }
6816
6817
6818 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6821 long arg2 ;
6822 long arg3 ;
6823 wxString *arg4 = 0 ;
6824 bool temp4 = False ;
6825 PyObject * obj0 = 0 ;
6826 PyObject * obj3 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6833 {
6834 arg4 = wxString_in_helper(obj3);
6835 if (arg4 == NULL) SWIG_fail;
6836 temp4 = True;
6837 }
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 Py_INCREF(Py_None); resultobj = Py_None;
6846 {
6847 if (temp4)
6848 delete arg4;
6849 }
6850 return resultobj;
6851 fail:
6852 {
6853 if (temp4)
6854 delete arg4;
6855 }
6856 return NULL;
6857 }
6858
6859
6860 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6863 long arg2 ;
6864 long arg3 ;
6865 PyObject * obj0 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "self",(char *) "from",(char *) "to", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6872 {
6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
6874 (arg1)->Remove(arg2,arg3);
6875
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 Py_INCREF(Py_None); resultobj = Py_None;
6880 return resultobj;
6881 fail:
6882 return NULL;
6883 }
6884
6885
6886 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6887 PyObject *resultobj;
6888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6889 wxString *arg2 = 0 ;
6890 bool result;
6891 bool temp2 = False ;
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self",(char *) "file", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6900 {
6901 arg2 = wxString_in_helper(obj1);
6902 if (arg2 == NULL) SWIG_fail;
6903 temp2 = True;
6904 }
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 resultobj = PyInt_FromLong((long)result);
6913 {
6914 if (temp2)
6915 delete arg2;
6916 }
6917 return resultobj;
6918 fail:
6919 {
6920 if (temp2)
6921 delete arg2;
6922 }
6923 return NULL;
6924 }
6925
6926
6927 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6930 wxString const &arg2_defvalue = wxPyEmptyString ;
6931 wxString *arg2 = (wxString *) &arg2_defvalue ;
6932 bool result;
6933 bool temp2 = False ;
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
6936 char *kwnames[] = {
6937 (char *) "self",(char *) "file", NULL
6938 };
6939
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6942 if (obj1) {
6943 {
6944 arg2 = wxString_in_helper(obj1);
6945 if (arg2 == NULL) SWIG_fail;
6946 temp2 = True;
6947 }
6948 }
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 resultobj = PyInt_FromLong((long)result);
6957 {
6958 if (temp2)
6959 delete arg2;
6960 }
6961 return resultobj;
6962 fail:
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return NULL;
6968 }
6969
6970
6971 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj;
6973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 (arg1)->MarkDirty();
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 Py_INCREF(Py_None); resultobj = Py_None;
6989 return resultobj;
6990 fail:
6991 return NULL;
6992 }
6993
6994
6995 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6998 PyObject * obj0 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 (arg1)->DiscardEdits();
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 Py_INCREF(Py_None); resultobj = Py_None;
7013 return resultobj;
7014 fail:
7015 return NULL;
7016 }
7017
7018
7019 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7020 PyObject *resultobj;
7021 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7022 unsigned long arg2 ;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self",(char *) "len", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7031 arg2 = (unsigned long) PyInt_AsLong(obj1);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 (arg1)->SetMaxLength(arg2);
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 Py_INCREF(Py_None); resultobj = Py_None;
7041 return resultobj;
7042 fail:
7043 return NULL;
7044 }
7045
7046
7047 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7050 wxString *arg2 = 0 ;
7051 bool temp2 = False ;
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "text", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7060 {
7061 arg2 = wxString_in_helper(obj1);
7062 if (arg2 == NULL) SWIG_fail;
7063 temp2 = True;
7064 }
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 (arg1)->WriteText((wxString const &)*arg2);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 Py_INCREF(Py_None); resultobj = Py_None;
7073 {
7074 if (temp2)
7075 delete arg2;
7076 }
7077 return resultobj;
7078 fail:
7079 {
7080 if (temp2)
7081 delete arg2;
7082 }
7083 return NULL;
7084 }
7085
7086
7087 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj;
7089 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7090 wxString *arg2 = 0 ;
7091 bool temp2 = False ;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self",(char *) "text", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7100 {
7101 arg2 = wxString_in_helper(obj1);
7102 if (arg2 == NULL) SWIG_fail;
7103 temp2 = True;
7104 }
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->AppendText((wxString const &)*arg2);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 {
7114 if (temp2)
7115 delete arg2;
7116 }
7117 return resultobj;
7118 fail:
7119 {
7120 if (temp2)
7121 delete arg2;
7122 }
7123 return NULL;
7124 }
7125
7126
7127 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7130 wxKeyEvent *arg2 = 0 ;
7131 bool result;
7132 PyObject * obj0 = 0 ;
7133 PyObject * obj1 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "event", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7141 if (arg2 == NULL) {
7142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7143 }
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 resultobj = PyInt_FromLong((long)result);
7152 return resultobj;
7153 fail:
7154 return NULL;
7155 }
7156
7157
7158 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj;
7160 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7161 long arg2 ;
7162 long arg3 ;
7163 wxTextAttr *arg4 = 0 ;
7164 bool result;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj3 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7174 if (arg4 == NULL) {
7175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7176 }
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 resultobj = PyInt_FromLong((long)result);
7185 return resultobj;
7186 fail:
7187 return NULL;
7188 }
7189
7190
7191 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7194 long arg2 ;
7195 wxTextAttr *arg3 = 0 ;
7196 bool result;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj2 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "position",(char *) "style", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 if (arg3 == NULL) {
7207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = PyInt_FromLong((long)result);
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7226 wxTextAttr *arg2 = 0 ;
7227 bool result;
7228 PyObject * obj0 = 0 ;
7229 PyObject * obj1 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self",(char *) "style", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7237 if (arg2 == NULL) {
7238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 resultobj = PyInt_FromLong((long)result);
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7257 wxTextAttr *result;
7258 PyObject * obj0 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 {
7268 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7269 result = (wxTextAttr *) &_result_ref;
7270 }
7271
7272 wxPyEndAllowThreads(__tstate);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 }
7275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7276 return resultobj;
7277 fail:
7278 return NULL;
7279 }
7280
7281
7282 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7283 PyObject *resultobj;
7284 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7285 long arg2 ;
7286 long arg3 ;
7287 long result;
7288 PyObject * obj0 = 0 ;
7289 char *kwnames[] = {
7290 (char *) "self",(char *) "x",(char *) "y", NULL
7291 };
7292
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = PyInt_FromLong((long)result);
7303 return resultobj;
7304 fail:
7305 return NULL;
7306 }
7307
7308
7309 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7312 long arg2 ;
7313 long *arg3 = (long *) 0 ;
7314 long *arg4 = (long *) 0 ;
7315 long temp3 ;
7316 long temp4 ;
7317 PyObject * obj0 = 0 ;
7318 char *kwnames[] = {
7319 (char *) "self",(char *) "pos", NULL
7320 };
7321
7322 arg3 = &temp3;
7323 arg4 = &temp4;
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 Py_INCREF(Py_None); resultobj = Py_None;
7334 {
7335 PyObject *o = PyInt_FromLong((long) (*arg3));
7336 resultobj = t_output_helper(resultobj,o);
7337 }
7338 {
7339 PyObject *o = PyInt_FromLong((long) (*arg4));
7340 resultobj = t_output_helper(resultobj,o);
7341 }
7342 return resultobj;
7343 fail:
7344 return NULL;
7345 }
7346
7347
7348 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7349 PyObject *resultobj;
7350 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7351 long arg2 ;
7352 PyObject * obj0 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self",(char *) "pos", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 (arg1)->ShowPosition(arg2);
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 Py_INCREF(Py_None); resultobj = Py_None;
7367 return resultobj;
7368 fail:
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7376 PyObject * obj0 = 0 ;
7377 char *kwnames[] = {
7378 (char *) "self", NULL
7379 };
7380
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 (arg1)->Copy();
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 Py_INCREF(Py_None); resultobj = Py_None;
7391 return resultobj;
7392 fail:
7393 return NULL;
7394 }
7395
7396
7397 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7398 PyObject *resultobj;
7399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7400 PyObject * obj0 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 (arg1)->Cut();
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 Py_INCREF(Py_None); resultobj = Py_None;
7415 return resultobj;
7416 fail:
7417 return NULL;
7418 }
7419
7420
7421 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7424 PyObject * obj0 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "self", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 (arg1)->Paste();
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 Py_INCREF(Py_None); resultobj = Py_None;
7439 return resultobj;
7440 fail:
7441 return NULL;
7442 }
7443
7444
7445 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7448 bool result;
7449 PyObject * obj0 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "self", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = PyInt_FromLong((long)result);
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7473 bool result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 resultobj = PyInt_FromLong((long)result);
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7498 bool result;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 resultobj = PyInt_FromLong((long)result);
7514 return resultobj;
7515 fail:
7516 return NULL;
7517 }
7518
7519
7520 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7523 PyObject * obj0 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 (arg1)->Undo();
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 Py_INCREF(Py_None); resultobj = Py_None;
7538 return resultobj;
7539 fail:
7540 return NULL;
7541 }
7542
7543
7544 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj;
7546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7547 PyObject * obj0 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 (arg1)->Redo();
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 Py_INCREF(Py_None); resultobj = Py_None;
7562 return resultobj;
7563 fail:
7564 return NULL;
7565 }
7566
7567
7568 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj;
7570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7571 bool result;
7572 PyObject * obj0 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "self", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 resultobj = PyInt_FromLong((long)result);
7587 return resultobj;
7588 fail:
7589 return NULL;
7590 }
7591
7592
7593 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj;
7595 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7596 bool result;
7597 PyObject * obj0 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 resultobj = PyInt_FromLong((long)result);
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7621 long arg2 ;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self",(char *) "pos", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 (arg1)->SetInsertionPoint(arg2);
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 Py_INCREF(Py_None); resultobj = Py_None;
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7646 PyObject * obj0 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 (arg1)->SetInsertionPointEnd();
7656
7657 wxPyEndAllowThreads(__tstate);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
7660 Py_INCREF(Py_None); resultobj = Py_None;
7661 return resultobj;
7662 fail:
7663 return NULL;
7664 }
7665
7666
7667 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj;
7669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7670 long result;
7671 PyObject * obj0 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 resultobj = PyInt_FromLong((long)result);
7686 return resultobj;
7687 fail:
7688 return NULL;
7689 }
7690
7691
7692 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7693 PyObject *resultobj;
7694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7695 long result;
7696 PyObject * obj0 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 resultobj = PyInt_FromLong((long)result);
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7720 long arg2 ;
7721 long arg3 ;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self",(char *) "from",(char *) "to", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 (arg1)->SetSelection(arg2,arg3);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 Py_INCREF(Py_None); resultobj = Py_None;
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7746 PyObject * obj0 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 (arg1)->SelectAll();
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 Py_INCREF(Py_None); resultobj = Py_None;
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7770 bool arg2 ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "editable", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7779 arg2 = PyInt_AsLong(obj1) ? true : false;
7780 if (PyErr_Occurred()) SWIG_fail;
7781 {
7782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7783 (arg1)->SetEditable(arg2);
7784
7785 wxPyEndAllowThreads(__tstate);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
7788 Py_INCREF(Py_None); resultobj = Py_None;
7789 return resultobj;
7790 fail:
7791 return NULL;
7792 }
7793
7794
7795 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7798 wxString *arg2 = 0 ;
7799 bool temp2 = False ;
7800 PyObject * obj0 = 0 ;
7801 PyObject * obj1 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "text", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7808 {
7809 arg2 = wxString_in_helper(obj1);
7810 if (arg2 == NULL) SWIG_fail;
7811 temp2 = True;
7812 }
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 {
7822 if (temp2)
7823 delete arg2;
7824 }
7825 return resultobj;
7826 fail:
7827 {
7828 if (temp2)
7829 delete arg2;
7830 }
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7838 long arg2 ;
7839 long arg3 ;
7840 wxString result;
7841 PyObject * obj0 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self",(char *) "from",(char *) "to", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 {
7856 #if wxUSE_UNICODE
7857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7858 #else
7859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7860 #endif
7861 }
7862 return resultobj;
7863 fail:
7864 return NULL;
7865 }
7866
7867
7868 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7869 PyObject *obj;
7870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7871 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7872 Py_INCREF(obj);
7873 return Py_BuildValue((char *)"");
7874 }
7875 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 int arg1 ;
7878 wxMouseEvent *arg2 = 0 ;
7879 long arg3 ;
7880 long arg4 ;
7881 wxTextUrlEvent *result;
7882 PyObject * obj1 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7889 if (arg2 == NULL) {
7890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7891 }
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7900 return resultobj;
7901 fail:
7902 return NULL;
7903 }
7904
7905
7906 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7909 wxMouseEvent *result;
7910 PyObject * obj0 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 {
7920 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7921 result = (wxMouseEvent *) &_result_ref;
7922 }
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931 }
7932
7933
7934 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7937 long result;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 resultobj = PyInt_FromLong((long)result);
7953 return resultobj;
7954 fail:
7955 return NULL;
7956 }
7957
7958
7959 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7962 long result;
7963 PyObject * obj0 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 resultobj = PyInt_FromLong((long)result);
7978 return resultobj;
7979 fail:
7980 return NULL;
7981 }
7982
7983
7984 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7985 PyObject *obj;
7986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7987 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7988 Py_INCREF(obj);
7989 return Py_BuildValue((char *)"");
7990 }
7991 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxWindow *arg1 = (wxWindow *) 0 ;
7994 int arg2 = (int) -1 ;
7995 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7996 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7997 wxSize const &arg4_defvalue = wxDefaultSize ;
7998 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7999 long arg5 = (long) wxSB_HORIZONTAL ;
8000 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8001 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8002 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8003 wxString *arg7 = (wxString *) &arg7_defvalue ;
8004 wxScrollBar *result;
8005 wxPoint temp3 ;
8006 wxSize temp4 ;
8007 bool temp7 = False ;
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj2 = 0 ;
8010 PyObject * obj3 = 0 ;
8011 PyObject * obj5 = 0 ;
8012 PyObject * obj6 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8019 if (obj2) {
8020 {
8021 arg3 = &temp3;
8022 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8023 }
8024 }
8025 if (obj3) {
8026 {
8027 arg4 = &temp4;
8028 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8029 }
8030 }
8031 if (obj5) {
8032 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8033 if (arg6 == NULL) {
8034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8035 }
8036 }
8037 if (obj6) {
8038 {
8039 arg7 = wxString_in_helper(obj6);
8040 if (arg7 == NULL) SWIG_fail;
8041 temp7 = True;
8042 }
8043 }
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
8046 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
8051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8052 {
8053 if (temp7)
8054 delete arg7;
8055 }
8056 return resultobj;
8057 fail:
8058 {
8059 if (temp7)
8060 delete arg7;
8061 }
8062 return NULL;
8063 }
8064
8065
8066 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj;
8068 wxScrollBar *result;
8069 char *kwnames[] = {
8070 NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 result = (wxScrollBar *)new wxScrollBar();
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8082 return resultobj;
8083 fail:
8084 return NULL;
8085 }
8086
8087
8088 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8091 wxWindow *arg2 = (wxWindow *) 0 ;
8092 int arg3 = (int) -1 ;
8093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8095 wxSize const &arg5_defvalue = wxDefaultSize ;
8096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8097 long arg6 = (long) wxSB_HORIZONTAL ;
8098 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8099 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8100 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8101 wxString *arg8 = (wxString *) &arg8_defvalue ;
8102 bool result;
8103 wxPoint temp4 ;
8104 wxSize temp5 ;
8105 bool temp8 = False ;
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 PyObject * obj3 = 0 ;
8109 PyObject * obj4 = 0 ;
8110 PyObject * obj6 = 0 ;
8111 PyObject * obj7 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8119 if (obj3) {
8120 {
8121 arg4 = &temp4;
8122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8123 }
8124 }
8125 if (obj4) {
8126 {
8127 arg5 = &temp5;
8128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8129 }
8130 }
8131 if (obj6) {
8132 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8133 if (arg7 == NULL) {
8134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8135 }
8136 }
8137 if (obj7) {
8138 {
8139 arg8 = wxString_in_helper(obj7);
8140 if (arg8 == NULL) SWIG_fail;
8141 temp8 = True;
8142 }
8143 }
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 resultobj = PyInt_FromLong((long)result);
8152 {
8153 if (temp8)
8154 delete arg8;
8155 }
8156 return resultobj;
8157 fail:
8158 {
8159 if (temp8)
8160 delete arg8;
8161 }
8162 return NULL;
8163 }
8164
8165
8166 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8167 PyObject *resultobj;
8168 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8169 int result;
8170 PyObject * obj0 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = PyInt_FromLong((long)result);
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8194 int result;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 resultobj = PyInt_FromLong((long)result);
8210 return resultobj;
8211 fail:
8212 return NULL;
8213 }
8214
8215
8216 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8219 int result;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 resultobj = PyInt_FromLong((long)result);
8235 return resultobj;
8236 fail:
8237 return NULL;
8238 }
8239
8240
8241 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject *resultobj;
8243 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8244 int result;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (int)((wxScrollBar const *)arg1)->GetRange();
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 resultobj = PyInt_FromLong((long)result);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263 }
8264
8265
8266 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8269 bool result;
8270 PyObject * obj0 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "self", NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 resultobj = PyInt_FromLong((long)result);
8285 return resultobj;
8286 fail:
8287 return NULL;
8288 }
8289
8290
8291 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8292 PyObject *resultobj;
8293 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8294 int arg2 ;
8295 PyObject * obj0 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self",(char *) "viewStart", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 (arg1)->SetThumbPosition(arg2);
8305
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 Py_INCREF(Py_None); resultobj = Py_None;
8310 return resultobj;
8311 fail:
8312 return NULL;
8313 }
8314
8315
8316 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject *resultobj;
8318 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8319 int arg2 ;
8320 int arg3 ;
8321 int arg4 ;
8322 int arg5 ;
8323 bool arg6 = (bool) True ;
8324 PyObject * obj0 = 0 ;
8325 PyObject * obj5 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8332 if (obj5) {
8333 arg6 = PyInt_AsLong(obj5) ? true : false;
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 return resultobj;
8345 fail:
8346 return NULL;
8347 }
8348
8349
8350 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8351 PyObject *obj;
8352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8353 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8354 Py_INCREF(obj);
8355 return Py_BuildValue((char *)"");
8356 }
8357 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8358 PyObject *resultobj;
8359 wxWindow *arg1 = (wxWindow *) 0 ;
8360 int arg2 = (int) -1 ;
8361 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8362 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8363 wxSize const &arg4_defvalue = wxDefaultSize ;
8364 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8365 long arg5 = (long) wxSP_HORIZONTAL ;
8366 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8367 wxString *arg6 = (wxString *) &arg6_defvalue ;
8368 wxSpinButton *result;
8369 wxPoint temp3 ;
8370 wxSize temp4 ;
8371 bool temp6 = False ;
8372 PyObject * obj0 = 0 ;
8373 PyObject * obj2 = 0 ;
8374 PyObject * obj3 = 0 ;
8375 PyObject * obj5 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8382 if (obj2) {
8383 {
8384 arg3 = &temp3;
8385 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8386 }
8387 }
8388 if (obj3) {
8389 {
8390 arg4 = &temp4;
8391 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8392 }
8393 }
8394 if (obj5) {
8395 {
8396 arg6 = wxString_in_helper(obj5);
8397 if (arg6 == NULL) SWIG_fail;
8398 temp6 = True;
8399 }
8400 }
8401 {
8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8403 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8404
8405 wxPyEndAllowThreads(__tstate);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8409 {
8410 if (temp6)
8411 delete arg6;
8412 }
8413 return resultobj;
8414 fail:
8415 {
8416 if (temp6)
8417 delete arg6;
8418 }
8419 return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxSpinButton *result;
8426 char *kwnames[] = {
8427 NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 result = (wxSpinButton *)new wxSpinButton();
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
8438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8439 return resultobj;
8440 fail:
8441 return NULL;
8442 }
8443
8444
8445 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8448 wxWindow *arg2 = (wxWindow *) 0 ;
8449 int arg3 = (int) -1 ;
8450 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8451 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8452 wxSize const &arg5_defvalue = wxDefaultSize ;
8453 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8454 long arg6 = (long) wxSP_HORIZONTAL ;
8455 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8456 wxString *arg7 = (wxString *) &arg7_defvalue ;
8457 bool result;
8458 wxPoint temp4 ;
8459 wxSize temp5 ;
8460 bool temp7 = False ;
8461 PyObject * obj0 = 0 ;
8462 PyObject * obj1 = 0 ;
8463 PyObject * obj3 = 0 ;
8464 PyObject * obj4 = 0 ;
8465 PyObject * obj6 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8473 if (obj3) {
8474 {
8475 arg4 = &temp4;
8476 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8477 }
8478 }
8479 if (obj4) {
8480 {
8481 arg5 = &temp5;
8482 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8483 }
8484 }
8485 if (obj6) {
8486 {
8487 arg7 = wxString_in_helper(obj6);
8488 if (arg7 == NULL) SWIG_fail;
8489 temp7 = True;
8490 }
8491 }
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
8499 resultobj = PyInt_FromLong((long)result);
8500 {
8501 if (temp7)
8502 delete arg7;
8503 }
8504 return resultobj;
8505 fail:
8506 {
8507 if (temp7)
8508 delete arg7;
8509 }
8510 return NULL;
8511 }
8512
8513
8514 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8517 int result;
8518 PyObject * obj0 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (int)((wxSpinButton const *)arg1)->GetValue();
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 resultobj = PyInt_FromLong((long)result);
8533 return resultobj;
8534 fail:
8535 return NULL;
8536 }
8537
8538
8539 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8542 int result;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 result = (int)((wxSpinButton const *)arg1)->GetMin();
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 resultobj = PyInt_FromLong((long)result);
8558 return resultobj;
8559 fail:
8560 return NULL;
8561 }
8562
8563
8564 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8565 PyObject *resultobj;
8566 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8567 int result;
8568 PyObject * obj0 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 result = (int)((wxSpinButton const *)arg1)->GetMax();
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 resultobj = PyInt_FromLong((long)result);
8583 return resultobj;
8584 fail:
8585 return NULL;
8586 }
8587
8588
8589 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8592 int arg2 ;
8593 PyObject * obj0 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self",(char *) "val", NULL
8596 };
8597
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 (arg1)->SetValue(arg2);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 Py_INCREF(Py_None); resultobj = Py_None;
8608 return resultobj;
8609 fail:
8610 return NULL;
8611 }
8612
8613
8614 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8617 int arg2 ;
8618 PyObject * obj0 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self",(char *) "minVal", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8625 {
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 (arg1)->SetMin(arg2);
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) SWIG_fail;
8631 }
8632 Py_INCREF(Py_None); resultobj = Py_None;
8633 return resultobj;
8634 fail:
8635 return NULL;
8636 }
8637
8638
8639 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8642 int arg2 ;
8643 PyObject * obj0 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "maxVal", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 (arg1)->SetMax(arg2);
8653
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 Py_INCREF(Py_None); resultobj = Py_None;
8658 return resultobj;
8659 fail:
8660 return NULL;
8661 }
8662
8663
8664 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8665 PyObject *resultobj;
8666 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8667 int arg2 ;
8668 int arg3 ;
8669 PyObject * obj0 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 (arg1)->SetRange(arg2,arg3);
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 Py_INCREF(Py_None); resultobj = Py_None;
8684 return resultobj;
8685 fail:
8686 return NULL;
8687 }
8688
8689
8690 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8693 bool result;
8694 PyObject * obj0 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 resultobj = PyInt_FromLong((long)result);
8709 return resultobj;
8710 fail:
8711 return NULL;
8712 }
8713
8714
8715 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8716 PyObject *obj;
8717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8718 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8719 Py_INCREF(obj);
8720 return Py_BuildValue((char *)"");
8721 }
8722 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxWindow *arg1 = (wxWindow *) 0 ;
8725 int arg2 = (int) -1 ;
8726 wxString const &arg3_defvalue = wxPyEmptyString ;
8727 wxString *arg3 = (wxString *) &arg3_defvalue ;
8728 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8729 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8730 wxSize const &arg5_defvalue = wxDefaultSize ;
8731 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8732 long arg6 = (long) wxSP_ARROW_KEYS ;
8733 int arg7 = (int) 0 ;
8734 int arg8 = (int) 100 ;
8735 int arg9 = (int) 0 ;
8736 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8737 wxString *arg10 = (wxString *) &arg10_defvalue ;
8738 wxSpinCtrl *result;
8739 bool temp3 = False ;
8740 wxPoint temp4 ;
8741 wxSize temp5 ;
8742 bool temp10 = False ;
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj2 = 0 ;
8745 PyObject * obj3 = 0 ;
8746 PyObject * obj4 = 0 ;
8747 PyObject * obj9 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8754 if (obj2) {
8755 {
8756 arg3 = wxString_in_helper(obj2);
8757 if (arg3 == NULL) SWIG_fail;
8758 temp3 = True;
8759 }
8760 }
8761 if (obj3) {
8762 {
8763 arg4 = &temp4;
8764 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8765 }
8766 }
8767 if (obj4) {
8768 {
8769 arg5 = &temp5;
8770 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8771 }
8772 }
8773 if (obj9) {
8774 {
8775 arg10 = wxString_in_helper(obj9);
8776 if (arg10 == NULL) SWIG_fail;
8777 temp10 = True;
8778 }
8779 }
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8788 {
8789 if (temp3)
8790 delete arg3;
8791 }
8792 {
8793 if (temp10)
8794 delete arg10;
8795 }
8796 return resultobj;
8797 fail:
8798 {
8799 if (temp3)
8800 delete arg3;
8801 }
8802 {
8803 if (temp10)
8804 delete arg10;
8805 }
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxSpinCtrl *result;
8813 char *kwnames[] = {
8814 NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = (wxSpinCtrl *)new wxSpinCtrl();
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8826 return resultobj;
8827 fail:
8828 return NULL;
8829 }
8830
8831
8832 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8835 wxWindow *arg2 = (wxWindow *) 0 ;
8836 int arg3 = (int) -1 ;
8837 wxString const &arg4_defvalue = wxPyEmptyString ;
8838 wxString *arg4 = (wxString *) &arg4_defvalue ;
8839 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8840 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8841 wxSize const &arg6_defvalue = wxDefaultSize ;
8842 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8843 long arg7 = (long) wxSP_ARROW_KEYS ;
8844 int arg8 = (int) 0 ;
8845 int arg9 = (int) 100 ;
8846 int arg10 = (int) 0 ;
8847 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8848 wxString *arg11 = (wxString *) &arg11_defvalue ;
8849 bool result;
8850 bool temp4 = False ;
8851 wxPoint temp5 ;
8852 wxSize temp6 ;
8853 bool temp11 = False ;
8854 PyObject * obj0 = 0 ;
8855 PyObject * obj1 = 0 ;
8856 PyObject * obj3 = 0 ;
8857 PyObject * obj4 = 0 ;
8858 PyObject * obj5 = 0 ;
8859 PyObject * obj10 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8867 if (obj3) {
8868 {
8869 arg4 = wxString_in_helper(obj3);
8870 if (arg4 == NULL) SWIG_fail;
8871 temp4 = True;
8872 }
8873 }
8874 if (obj4) {
8875 {
8876 arg5 = &temp5;
8877 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8878 }
8879 }
8880 if (obj5) {
8881 {
8882 arg6 = &temp6;
8883 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8884 }
8885 }
8886 if (obj10) {
8887 {
8888 arg11 = wxString_in_helper(obj10);
8889 if (arg11 == NULL) SWIG_fail;
8890 temp11 = True;
8891 }
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 resultobj = PyInt_FromLong((long)result);
8901 {
8902 if (temp4)
8903 delete arg4;
8904 }
8905 {
8906 if (temp11)
8907 delete arg11;
8908 }
8909 return resultobj;
8910 fail:
8911 {
8912 if (temp4)
8913 delete arg4;
8914 }
8915 {
8916 if (temp11)
8917 delete arg11;
8918 }
8919 return NULL;
8920 }
8921
8922
8923 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8926 int result;
8927 PyObject * obj0 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 resultobj = PyInt_FromLong((long)result);
8942 return resultobj;
8943 fail:
8944 return NULL;
8945 }
8946
8947
8948 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8951 int arg2 ;
8952 PyObject * obj0 = 0 ;
8953 char *kwnames[] = {
8954 (char *) "self",(char *) "value", NULL
8955 };
8956
8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->SetValue(arg2);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970 }
8971
8972
8973 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8976 wxString *arg2 = 0 ;
8977 bool temp2 = False ;
8978 PyObject * obj0 = 0 ;
8979 PyObject * obj1 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self",(char *) "text", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8986 {
8987 arg2 = wxString_in_helper(obj1);
8988 if (arg2 == NULL) SWIG_fail;
8989 temp2 = True;
8990 }
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 (arg1)->SetValue((wxString const &)*arg2);
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 Py_INCREF(Py_None); resultobj = Py_None;
8999 {
9000 if (temp2)
9001 delete arg2;
9002 }
9003 return resultobj;
9004 fail:
9005 {
9006 if (temp2)
9007 delete arg2;
9008 }
9009 return NULL;
9010 }
9011
9012
9013 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9016 int arg2 ;
9017 int arg3 ;
9018 PyObject * obj0 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 (arg1)->SetRange(arg2,arg3);
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 Py_INCREF(Py_None); resultobj = Py_None;
9033 return resultobj;
9034 fail:
9035 return NULL;
9036 }
9037
9038
9039 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9042 int result;
9043 PyObject * obj0 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 resultobj = PyInt_FromLong((long)result);
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9067 int result;
9068 PyObject * obj0 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 resultobj = PyInt_FromLong((long)result);
9083 return resultobj;
9084 fail:
9085 return NULL;
9086 }
9087
9088
9089 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9092 long arg2 ;
9093 long arg3 ;
9094 PyObject * obj0 = 0 ;
9095 char *kwnames[] = {
9096 (char *) "self",(char *) "from",(char *) "to", NULL
9097 };
9098
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 wxSpinCtrl_SetSelection(arg1,arg2,arg3);
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112 }
9113
9114
9115 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9116 PyObject *obj;
9117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9118 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9119 Py_INCREF(obj);
9120 return Py_BuildValue((char *)"");
9121 }
9122 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxWindow *arg1 = (wxWindow *) 0 ;
9125 int arg2 ;
9126 wxString *arg3 = 0 ;
9127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9129 wxSize const &arg5_defvalue = wxDefaultSize ;
9130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9131 int arg6 = (int) 0 ;
9132 wxString *arg7 = (wxString *) NULL ;
9133 int arg8 = (int) 0 ;
9134 long arg9 = (long) wxRA_HORIZONTAL ;
9135 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9136 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9137 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9138 wxString *arg11 = (wxString *) &arg11_defvalue ;
9139 wxRadioBox *result;
9140 bool temp3 = False ;
9141 wxPoint temp4 ;
9142 wxSize temp5 ;
9143 bool temp10 = False ;
9144 PyObject * obj0 = 0 ;
9145 PyObject * obj2 = 0 ;
9146 PyObject * obj3 = 0 ;
9147 PyObject * obj4 = 0 ;
9148 PyObject * obj5 = 0 ;
9149 PyObject * obj8 = 0 ;
9150 PyObject * obj9 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9157 {
9158 arg3 = wxString_in_helper(obj2);
9159 if (arg3 == NULL) SWIG_fail;
9160 temp3 = True;
9161 }
9162 if (obj3) {
9163 {
9164 arg4 = &temp4;
9165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9166 }
9167 }
9168 if (obj4) {
9169 {
9170 arg5 = &temp5;
9171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9172 }
9173 }
9174 if (obj5) {
9175 {
9176 arg6 = PyList_Size(obj5);
9177 arg7 = wxString_LIST_helper(obj5);
9178 if (arg7 == NULL) SWIG_fail;
9179 }
9180 }
9181 if (obj8) {
9182 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9183 if (arg10 == NULL) {
9184 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9185 }
9186 }
9187 if (obj9) {
9188 {
9189 arg11 = wxString_in_helper(obj9);
9190 if (arg11 == NULL) SWIG_fail;
9191 temp10 = True;
9192 }
9193 }
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 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);
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9202 {
9203 if (temp3)
9204 delete arg3;
9205 }
9206 {
9207 if (arg7) delete [] arg7;
9208 }
9209 {
9210 if (temp10)
9211 delete arg11;
9212 }
9213 return resultobj;
9214 fail:
9215 {
9216 if (temp3)
9217 delete arg3;
9218 }
9219 {
9220 if (arg7) delete [] arg7;
9221 }
9222 {
9223 if (temp10)
9224 delete arg11;
9225 }
9226 return NULL;
9227 }
9228
9229
9230 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxRadioBox *result;
9233 char *kwnames[] = {
9234 NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 result = (wxRadioBox *)new wxRadioBox();
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9255 wxWindow *arg2 = (wxWindow *) 0 ;
9256 int arg3 ;
9257 wxString *arg4 = 0 ;
9258 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9259 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9260 wxSize const &arg6_defvalue = wxDefaultSize ;
9261 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9262 int arg7 = (int) 0 ;
9263 wxString *arg8 = (wxString *) NULL ;
9264 int arg9 = (int) 0 ;
9265 long arg10 = (long) wxRA_HORIZONTAL ;
9266 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9267 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9268 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9269 wxString *arg12 = (wxString *) &arg12_defvalue ;
9270 bool result;
9271 bool temp4 = False ;
9272 wxPoint temp5 ;
9273 wxSize temp6 ;
9274 bool temp11 = False ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 PyObject * obj3 = 0 ;
9278 PyObject * obj4 = 0 ;
9279 PyObject * obj5 = 0 ;
9280 PyObject * obj6 = 0 ;
9281 PyObject * obj9 = 0 ;
9282 PyObject * obj10 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9290 {
9291 arg4 = wxString_in_helper(obj3);
9292 if (arg4 == NULL) SWIG_fail;
9293 temp4 = True;
9294 }
9295 if (obj4) {
9296 {
9297 arg5 = &temp5;
9298 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9299 }
9300 }
9301 if (obj5) {
9302 {
9303 arg6 = &temp6;
9304 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9305 }
9306 }
9307 if (obj6) {
9308 {
9309 arg7 = PyList_Size(obj6);
9310 arg8 = wxString_LIST_helper(obj6);
9311 if (arg8 == NULL) SWIG_fail;
9312 }
9313 }
9314 if (obj9) {
9315 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9316 if (arg11 == NULL) {
9317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9318 }
9319 }
9320 if (obj10) {
9321 {
9322 arg12 = wxString_in_helper(obj10);
9323 if (arg12 == NULL) SWIG_fail;
9324 temp11 = True;
9325 }
9326 }
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 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);
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 resultobj = PyInt_FromLong((long)result);
9335 {
9336 if (temp4)
9337 delete arg4;
9338 }
9339 {
9340 if (arg8) delete [] arg8;
9341 }
9342 {
9343 if (temp11)
9344 delete arg12;
9345 }
9346 return resultobj;
9347 fail:
9348 {
9349 if (temp4)
9350 delete arg4;
9351 }
9352 {
9353 if (arg8) delete [] arg8;
9354 }
9355 {
9356 if (temp11)
9357 delete arg12;
9358 }
9359 return NULL;
9360 }
9361
9362
9363 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9366 int arg2 ;
9367 PyObject * obj0 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self",(char *) "n", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 (arg1)->SetSelection(arg2);
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 Py_INCREF(Py_None); resultobj = Py_None;
9382 return resultobj;
9383 fail:
9384 return NULL;
9385 }
9386
9387
9388 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9391 int result;
9392 PyObject * obj0 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 resultobj = PyInt_FromLong((long)result);
9407 return resultobj;
9408 fail:
9409 return NULL;
9410 }
9411
9412
9413 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9416 wxString result;
9417 PyObject * obj0 = 0 ;
9418 char *kwnames[] = {
9419 (char *) "self", NULL
9420 };
9421
9422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 {
9432 #if wxUSE_UNICODE
9433 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9434 #else
9435 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9436 #endif
9437 }
9438 return resultobj;
9439 fail:
9440 return NULL;
9441 }
9442
9443
9444 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9445 PyObject *resultobj;
9446 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9447 wxString *arg2 = 0 ;
9448 bool result;
9449 bool temp2 = False ;
9450 PyObject * obj0 = 0 ;
9451 PyObject * obj1 = 0 ;
9452 char *kwnames[] = {
9453 (char *) "self",(char *) "s", NULL
9454 };
9455
9456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9458 {
9459 arg2 = wxString_in_helper(obj1);
9460 if (arg2 == NULL) SWIG_fail;
9461 temp2 = True;
9462 }
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 resultobj = PyInt_FromLong((long)result);
9471 {
9472 if (temp2)
9473 delete arg2;
9474 }
9475 return resultobj;
9476 fail:
9477 {
9478 if (temp2)
9479 delete arg2;
9480 }
9481 return NULL;
9482 }
9483
9484
9485 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9488 int result;
9489 PyObject * obj0 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "self", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (int)((wxRadioBox const *)arg1)->GetCount();
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 resultobj = PyInt_FromLong((long)result);
9504 return resultobj;
9505 fail:
9506 return NULL;
9507 }
9508
9509
9510 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9513 wxString *arg2 = 0 ;
9514 int result;
9515 bool temp2 = False ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518 char *kwnames[] = {
9519 (char *) "self",(char *) "s", NULL
9520 };
9521
9522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9524 {
9525 arg2 = wxString_in_helper(obj1);
9526 if (arg2 == NULL) SWIG_fail;
9527 temp2 = True;
9528 }
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 resultobj = PyInt_FromLong((long)result);
9537 {
9538 if (temp2)
9539 delete arg2;
9540 }
9541 return resultobj;
9542 fail:
9543 {
9544 if (temp2)
9545 delete arg2;
9546 }
9547 return NULL;
9548 }
9549
9550
9551 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9554 int arg2 ;
9555 wxString result;
9556 PyObject * obj0 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self",(char *) "n", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 {
9571 #if wxUSE_UNICODE
9572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9573 #else
9574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9575 #endif
9576 }
9577 return resultobj;
9578 fail:
9579 return NULL;
9580 }
9581
9582
9583 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9586 int arg2 ;
9587 wxString *arg3 = 0 ;
9588 bool temp3 = False ;
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj2 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self",(char *) "n",(char *) "label", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9597 {
9598 arg3 = wxString_in_helper(obj2);
9599 if (arg3 == NULL) SWIG_fail;
9600 temp3 = True;
9601 }
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 (arg1)->SetString(arg2,(wxString const &)*arg3);
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 Py_INCREF(Py_None); resultobj = Py_None;
9610 {
9611 if (temp3)
9612 delete arg3;
9613 }
9614 return resultobj;
9615 fail:
9616 {
9617 if (temp3)
9618 delete arg3;
9619 }
9620 return NULL;
9621 }
9622
9623
9624 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9625 PyObject *resultobj;
9626 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9627 int arg2 ;
9628 bool arg3 = (bool) True ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj2 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self",(char *) "n",(char *) "enable", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 if (obj2) {
9638 arg3 = PyInt_AsLong(obj2) ? true : false;
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 (arg1)->Enable(arg2,arg3);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 Py_INCREF(Py_None); resultobj = Py_None;
9649 return resultobj;
9650 fail:
9651 return NULL;
9652 }
9653
9654
9655 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj;
9657 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9658 int arg2 ;
9659 bool arg3 = (bool) True ;
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj2 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "n",(char *) "show", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668 if (obj2) {
9669 arg3 = PyInt_AsLong(obj2) ? true : false;
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 (arg1)->Show(arg2,arg3);
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 Py_INCREF(Py_None); resultobj = Py_None;
9680 return resultobj;
9681 fail:
9682 return NULL;
9683 }
9684
9685
9686 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9689 int result;
9690 PyObject * obj0 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 resultobj = PyInt_FromLong((long)result);
9705 return resultobj;
9706 fail:
9707 return NULL;
9708 }
9709
9710
9711 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9714 int result;
9715 PyObject * obj0 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "self", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 resultobj = PyInt_FromLong((long)result);
9730 return resultobj;
9731 fail:
9732 return NULL;
9733 }
9734
9735
9736 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9739 int arg2 ;
9740 int arg3 ;
9741 long arg4 ;
9742 int result;
9743 PyObject * obj0 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 resultobj = PyInt_FromLong((long)result);
9758 return resultobj;
9759 fail:
9760 return NULL;
9761 }
9762
9763
9764 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9765 PyObject *obj;
9766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9767 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9768 Py_INCREF(obj);
9769 return Py_BuildValue((char *)"");
9770 }
9771 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxWindow *arg1 = (wxWindow *) 0 ;
9774 int arg2 ;
9775 wxString *arg3 = 0 ;
9776 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9777 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9778 wxSize const &arg5_defvalue = wxDefaultSize ;
9779 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9780 long arg6 = (long) 0 ;
9781 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9782 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9783 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9784 wxString *arg8 = (wxString *) &arg8_defvalue ;
9785 wxRadioButton *result;
9786 bool temp3 = False ;
9787 wxPoint temp4 ;
9788 wxSize temp5 ;
9789 bool temp8 = False ;
9790 PyObject * obj0 = 0 ;
9791 PyObject * obj2 = 0 ;
9792 PyObject * obj3 = 0 ;
9793 PyObject * obj4 = 0 ;
9794 PyObject * obj6 = 0 ;
9795 PyObject * obj7 = 0 ;
9796 char *kwnames[] = {
9797 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9798 };
9799
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9802 {
9803 arg3 = wxString_in_helper(obj2);
9804 if (arg3 == NULL) SWIG_fail;
9805 temp3 = True;
9806 }
9807 if (obj3) {
9808 {
9809 arg4 = &temp4;
9810 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9811 }
9812 }
9813 if (obj4) {
9814 {
9815 arg5 = &temp5;
9816 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9817 }
9818 }
9819 if (obj6) {
9820 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9821 if (arg7 == NULL) {
9822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9823 }
9824 }
9825 if (obj7) {
9826 {
9827 arg8 = wxString_in_helper(obj7);
9828 if (arg8 == NULL) SWIG_fail;
9829 temp8 = True;
9830 }
9831 }
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9840 {
9841 if (temp3)
9842 delete arg3;
9843 }
9844 {
9845 if (temp8)
9846 delete arg8;
9847 }
9848 return resultobj;
9849 fail:
9850 {
9851 if (temp3)
9852 delete arg3;
9853 }
9854 {
9855 if (temp8)
9856 delete arg8;
9857 }
9858 return NULL;
9859 }
9860
9861
9862 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj;
9864 wxRadioButton *result;
9865 char *kwnames[] = {
9866 NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (wxRadioButton *)new wxRadioButton();
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9878 return resultobj;
9879 fail:
9880 return NULL;
9881 }
9882
9883
9884 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9885 PyObject *resultobj;
9886 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9887 wxWindow *arg2 = (wxWindow *) 0 ;
9888 int arg3 ;
9889 wxString *arg4 = 0 ;
9890 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9891 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9892 wxSize const &arg6_defvalue = wxDefaultSize ;
9893 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9894 long arg7 = (long) 0 ;
9895 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9896 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9897 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9898 wxString *arg9 = (wxString *) &arg9_defvalue ;
9899 bool result;
9900 bool temp4 = False ;
9901 wxPoint temp5 ;
9902 wxSize temp6 ;
9903 bool temp9 = False ;
9904 PyObject * obj0 = 0 ;
9905 PyObject * obj1 = 0 ;
9906 PyObject * obj3 = 0 ;
9907 PyObject * obj4 = 0 ;
9908 PyObject * obj5 = 0 ;
9909 PyObject * obj7 = 0 ;
9910 PyObject * obj8 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9913 };
9914
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9918 {
9919 arg4 = wxString_in_helper(obj3);
9920 if (arg4 == NULL) SWIG_fail;
9921 temp4 = True;
9922 }
9923 if (obj4) {
9924 {
9925 arg5 = &temp5;
9926 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9927 }
9928 }
9929 if (obj5) {
9930 {
9931 arg6 = &temp6;
9932 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9933 }
9934 }
9935 if (obj7) {
9936 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9937 if (arg8 == NULL) {
9938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9939 }
9940 }
9941 if (obj8) {
9942 {
9943 arg9 = wxString_in_helper(obj8);
9944 if (arg9 == NULL) SWIG_fail;
9945 temp9 = True;
9946 }
9947 }
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 resultobj = PyInt_FromLong((long)result);
9956 {
9957 if (temp4)
9958 delete arg4;
9959 }
9960 {
9961 if (temp9)
9962 delete arg9;
9963 }
9964 return resultobj;
9965 fail:
9966 {
9967 if (temp4)
9968 delete arg4;
9969 }
9970 {
9971 if (temp9)
9972 delete arg9;
9973 }
9974 return NULL;
9975 }
9976
9977
9978 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9981 bool result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (bool)(arg1)->GetValue();
9992
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 resultobj = PyInt_FromLong((long)result);
9997 return resultobj;
9998 fail:
9999 return NULL;
10000 }
10001
10002
10003 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10004 PyObject *resultobj;
10005 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10006 bool arg2 ;
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "value", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10015 arg2 = PyInt_AsLong(obj1) ? true : false;
10016 if (PyErr_Occurred()) SWIG_fail;
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 (arg1)->SetValue(arg2);
10020
10021 wxPyEndAllowThreads(__tstate);
10022 if (PyErr_Occurred()) SWIG_fail;
10023 }
10024 Py_INCREF(Py_None); resultobj = Py_None;
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10032 PyObject *obj;
10033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10034 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10035 Py_INCREF(obj);
10036 return Py_BuildValue((char *)"");
10037 }
10038 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxWindow *arg1 = (wxWindow *) 0 ;
10041 int arg2 ;
10042 int arg3 ;
10043 int arg4 ;
10044 int arg5 ;
10045 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10046 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10047 wxSize const &arg7_defvalue = wxDefaultSize ;
10048 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10049 long arg8 = (long) wxSL_HORIZONTAL ;
10050 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10051 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10052 wxString const &arg10_defvalue = wxPySliderNameStr ;
10053 wxString *arg10 = (wxString *) &arg10_defvalue ;
10054 wxSlider *result;
10055 wxPoint temp6 ;
10056 wxSize temp7 ;
10057 bool temp10 = False ;
10058 PyObject * obj0 = 0 ;
10059 PyObject * obj5 = 0 ;
10060 PyObject * obj6 = 0 ;
10061 PyObject * obj8 = 0 ;
10062 PyObject * obj9 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10069 if (obj5) {
10070 {
10071 arg6 = &temp6;
10072 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10073 }
10074 }
10075 if (obj6) {
10076 {
10077 arg7 = &temp7;
10078 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10079 }
10080 }
10081 if (obj8) {
10082 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10083 if (arg9 == NULL) {
10084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10085 }
10086 }
10087 if (obj9) {
10088 {
10089 arg10 = wxString_in_helper(obj9);
10090 if (arg10 == NULL) SWIG_fail;
10091 temp10 = True;
10092 }
10093 }
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10102 {
10103 if (temp10)
10104 delete arg10;
10105 }
10106 return resultobj;
10107 fail:
10108 {
10109 if (temp10)
10110 delete arg10;
10111 }
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxSlider *result;
10119 char *kwnames[] = {
10120 NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (wxSlider *)new wxSlider();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxSlider *arg1 = (wxSlider *) 0 ;
10141 wxWindow *arg2 = (wxWindow *) 0 ;
10142 int arg3 ;
10143 int arg4 ;
10144 int arg5 ;
10145 int arg6 ;
10146 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10147 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10148 wxSize const &arg8_defvalue = wxDefaultSize ;
10149 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10150 long arg9 = (long) wxSL_HORIZONTAL ;
10151 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10152 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10153 wxString const &arg11_defvalue = wxPySliderNameStr ;
10154 wxString *arg11 = (wxString *) &arg11_defvalue ;
10155 bool result;
10156 wxPoint temp7 ;
10157 wxSize temp8 ;
10158 bool temp11 = False ;
10159 PyObject * obj0 = 0 ;
10160 PyObject * obj1 = 0 ;
10161 PyObject * obj6 = 0 ;
10162 PyObject * obj7 = 0 ;
10163 PyObject * obj9 = 0 ;
10164 PyObject * obj10 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172 if (obj6) {
10173 {
10174 arg7 = &temp7;
10175 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10176 }
10177 }
10178 if (obj7) {
10179 {
10180 arg8 = &temp8;
10181 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10182 }
10183 }
10184 if (obj9) {
10185 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10186 if (arg10 == NULL) {
10187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10188 }
10189 }
10190 if (obj10) {
10191 {
10192 arg11 = wxString_in_helper(obj10);
10193 if (arg11 == NULL) SWIG_fail;
10194 temp11 = True;
10195 }
10196 }
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10200
10201 wxPyEndAllowThreads(__tstate);
10202 if (PyErr_Occurred()) SWIG_fail;
10203 }
10204 resultobj = PyInt_FromLong((long)result);
10205 {
10206 if (temp11)
10207 delete arg11;
10208 }
10209 return resultobj;
10210 fail:
10211 {
10212 if (temp11)
10213 delete arg11;
10214 }
10215 return NULL;
10216 }
10217
10218
10219 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxSlider *arg1 = (wxSlider *) 0 ;
10222 int result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (int)((wxSlider const *)arg1)->GetValue();
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 resultobj = PyInt_FromLong((long)result);
10238 return resultobj;
10239 fail:
10240 return NULL;
10241 }
10242
10243
10244 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxSlider *arg1 = (wxSlider *) 0 ;
10247 int arg2 ;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self",(char *) "value", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetValue(arg2);
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 return resultobj;
10264 fail:
10265 return NULL;
10266 }
10267
10268
10269 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxSlider *arg1 = (wxSlider *) 0 ;
10272 int arg2 ;
10273 int arg3 ;
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 (arg1)->SetRange(arg2,arg3);
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 Py_INCREF(Py_None); resultobj = Py_None;
10289 return resultobj;
10290 fail:
10291 return NULL;
10292 }
10293
10294
10295 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj;
10297 wxSlider *arg1 = (wxSlider *) 0 ;
10298 int result;
10299 PyObject * obj0 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 result = (int)((wxSlider const *)arg1)->GetMin();
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 resultobj = PyInt_FromLong((long)result);
10314 return resultobj;
10315 fail:
10316 return NULL;
10317 }
10318
10319
10320 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj;
10322 wxSlider *arg1 = (wxSlider *) 0 ;
10323 int result;
10324 PyObject * obj0 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 result = (int)((wxSlider const *)arg1)->GetMax();
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 resultobj = PyInt_FromLong((long)result);
10339 return resultobj;
10340 fail:
10341 return NULL;
10342 }
10343
10344
10345 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj;
10347 wxSlider *arg1 = (wxSlider *) 0 ;
10348 int arg2 ;
10349 PyObject * obj0 = 0 ;
10350 char *kwnames[] = {
10351 (char *) "self",(char *) "minValue", NULL
10352 };
10353
10354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->SetMin(arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 Py_INCREF(Py_None); resultobj = Py_None;
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj;
10372 wxSlider *arg1 = (wxSlider *) 0 ;
10373 int arg2 ;
10374 PyObject * obj0 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self",(char *) "maxValue", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->SetMax(arg2);
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 Py_INCREF(Py_None); resultobj = Py_None;
10389 return resultobj;
10390 fail:
10391 return NULL;
10392 }
10393
10394
10395 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10396 PyObject *resultobj;
10397 wxSlider *arg1 = (wxSlider *) 0 ;
10398 int arg2 ;
10399 PyObject * obj0 = 0 ;
10400 char *kwnames[] = {
10401 (char *) "self",(char *) "lineSize", NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->SetLineSize(arg2);
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 Py_INCREF(Py_None); resultobj = Py_None;
10414 return resultobj;
10415 fail:
10416 return NULL;
10417 }
10418
10419
10420 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxSlider *arg1 = (wxSlider *) 0 ;
10423 int arg2 ;
10424 PyObject * obj0 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self",(char *) "pageSize", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 (arg1)->SetPageSize(arg2);
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 Py_INCREF(Py_None); resultobj = Py_None;
10439 return resultobj;
10440 fail:
10441 return NULL;
10442 }
10443
10444
10445 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxSlider *arg1 = (wxSlider *) 0 ;
10448 int result;
10449 PyObject * obj0 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 result = (int)((wxSlider const *)arg1)->GetLineSize();
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 resultobj = PyInt_FromLong((long)result);
10464 return resultobj;
10465 fail:
10466 return NULL;
10467 }
10468
10469
10470 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj;
10472 wxSlider *arg1 = (wxSlider *) 0 ;
10473 int result;
10474 PyObject * obj0 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "self", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 result = (int)((wxSlider const *)arg1)->GetPageSize();
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = PyInt_FromLong((long)result);
10489 return resultobj;
10490 fail:
10491 return NULL;
10492 }
10493
10494
10495 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10496 PyObject *resultobj;
10497 wxSlider *arg1 = (wxSlider *) 0 ;
10498 int arg2 ;
10499 PyObject * obj0 = 0 ;
10500 char *kwnames[] = {
10501 (char *) "self",(char *) "lenPixels", NULL
10502 };
10503
10504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10506 {
10507 PyThreadState* __tstate = wxPyBeginAllowThreads();
10508 (arg1)->SetThumbLength(arg2);
10509
10510 wxPyEndAllowThreads(__tstate);
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
10513 Py_INCREF(Py_None); resultobj = Py_None;
10514 return resultobj;
10515 fail:
10516 return NULL;
10517 }
10518
10519
10520 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10521 PyObject *resultobj;
10522 wxSlider *arg1 = (wxSlider *) 0 ;
10523 int result;
10524 PyObject * obj0 = 0 ;
10525 char *kwnames[] = {
10526 (char *) "self", NULL
10527 };
10528
10529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10534
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = PyInt_FromLong((long)result);
10539 return resultobj;
10540 fail:
10541 return NULL;
10542 }
10543
10544
10545 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxSlider *arg1 = (wxSlider *) 0 ;
10548 int arg2 ;
10549 int arg3 ;
10550 PyObject * obj0 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "n",(char *) "pos", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->SetTickFreq(arg2,arg3);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 return resultobj;
10566 fail:
10567 return NULL;
10568 }
10569
10570
10571 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxSlider *arg1 = (wxSlider *) 0 ;
10574 int result;
10575 PyObject * obj0 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 resultobj = PyInt_FromLong((long)result);
10590 return resultobj;
10591 fail:
10592 return NULL;
10593 }
10594
10595
10596 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxSlider *arg1 = (wxSlider *) 0 ;
10599 PyObject * obj0 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 (arg1)->ClearTicks();
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 Py_INCREF(Py_None); resultobj = Py_None;
10614 return resultobj;
10615 fail:
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxSlider *arg1 = (wxSlider *) 0 ;
10623 int arg2 ;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self",(char *) "tickPos", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10631 {
10632 PyThreadState* __tstate = wxPyBeginAllowThreads();
10633 (arg1)->SetTick(arg2);
10634
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 Py_INCREF(Py_None); resultobj = Py_None;
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj;
10647 wxSlider *arg1 = (wxSlider *) 0 ;
10648 PyObject * obj0 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "self", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 (arg1)->ClearSel();
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 Py_INCREF(Py_None); resultobj = Py_None;
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj;
10671 wxSlider *arg1 = (wxSlider *) 0 ;
10672 int result;
10673 PyObject * obj0 = 0 ;
10674 char *kwnames[] = {
10675 (char *) "self", NULL
10676 };
10677
10678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 resultobj = PyInt_FromLong((long)result);
10688 return resultobj;
10689 fail:
10690 return NULL;
10691 }
10692
10693
10694 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10695 PyObject *resultobj;
10696 wxSlider *arg1 = (wxSlider *) 0 ;
10697 int result;
10698 PyObject * obj0 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 result = (int)((wxSlider const *)arg1)->GetSelStart();
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 resultobj = PyInt_FromLong((long)result);
10713 return resultobj;
10714 fail:
10715 return NULL;
10716 }
10717
10718
10719 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj;
10721 wxSlider *arg1 = (wxSlider *) 0 ;
10722 int arg2 ;
10723 int arg3 ;
10724 PyObject * obj0 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "self",(char *) "min",(char *) "max", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 (arg1)->SetSelection(arg2,arg3);
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 Py_INCREF(Py_None); resultobj = Py_None;
10739 return resultobj;
10740 fail:
10741 return NULL;
10742 }
10743
10744
10745 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10746 PyObject *obj;
10747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10748 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10749 Py_INCREF(obj);
10750 return Py_BuildValue((char *)"");
10751 }
10752 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxWindow *arg1 = (wxWindow *) 0 ;
10755 int arg2 ;
10756 wxString *arg3 = 0 ;
10757 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10758 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10759 wxSize const &arg5_defvalue = wxDefaultSize ;
10760 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10761 long arg6 = (long) 0 ;
10762 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10763 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10764 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10765 wxString *arg8 = (wxString *) &arg8_defvalue ;
10766 wxToggleButton *result;
10767 bool temp3 = False ;
10768 wxPoint temp4 ;
10769 wxSize temp5 ;
10770 bool temp8 = False ;
10771 PyObject * obj0 = 0 ;
10772 PyObject * obj2 = 0 ;
10773 PyObject * obj3 = 0 ;
10774 PyObject * obj4 = 0 ;
10775 PyObject * obj6 = 0 ;
10776 PyObject * obj7 = 0 ;
10777 char *kwnames[] = {
10778 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10779 };
10780
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10783 {
10784 arg3 = wxString_in_helper(obj2);
10785 if (arg3 == NULL) SWIG_fail;
10786 temp3 = True;
10787 }
10788 if (obj3) {
10789 {
10790 arg4 = &temp4;
10791 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10792 }
10793 }
10794 if (obj4) {
10795 {
10796 arg5 = &temp5;
10797 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10798 }
10799 }
10800 if (obj6) {
10801 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10802 if (arg7 == NULL) {
10803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10804 }
10805 }
10806 if (obj7) {
10807 {
10808 arg8 = wxString_in_helper(obj7);
10809 if (arg8 == NULL) SWIG_fail;
10810 temp8 = True;
10811 }
10812 }
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10816
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10821 {
10822 if (temp3)
10823 delete arg3;
10824 }
10825 {
10826 if (temp8)
10827 delete arg8;
10828 }
10829 return resultobj;
10830 fail:
10831 {
10832 if (temp3)
10833 delete arg3;
10834 }
10835 {
10836 if (temp8)
10837 delete arg8;
10838 }
10839 return NULL;
10840 }
10841
10842
10843 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxToggleButton *result;
10846 char *kwnames[] = {
10847 NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = (wxToggleButton *)new wxToggleButton();
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10859 return resultobj;
10860 fail:
10861 return NULL;
10862 }
10863
10864
10865 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10868 wxWindow *arg2 = (wxWindow *) 0 ;
10869 int arg3 ;
10870 wxString *arg4 = 0 ;
10871 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10872 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10873 wxSize const &arg6_defvalue = wxDefaultSize ;
10874 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10875 long arg7 = (long) 0 ;
10876 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10877 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10878 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10879 wxString *arg9 = (wxString *) &arg9_defvalue ;
10880 bool result;
10881 bool temp4 = False ;
10882 wxPoint temp5 ;
10883 wxSize temp6 ;
10884 bool temp9 = False ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 PyObject * obj3 = 0 ;
10888 PyObject * obj4 = 0 ;
10889 PyObject * obj5 = 0 ;
10890 PyObject * obj7 = 0 ;
10891 PyObject * obj8 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10899 {
10900 arg4 = wxString_in_helper(obj3);
10901 if (arg4 == NULL) SWIG_fail;
10902 temp4 = True;
10903 }
10904 if (obj4) {
10905 {
10906 arg5 = &temp5;
10907 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10908 }
10909 }
10910 if (obj5) {
10911 {
10912 arg6 = &temp6;
10913 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10914 }
10915 }
10916 if (obj7) {
10917 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10918 if (arg8 == NULL) {
10919 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10920 }
10921 }
10922 if (obj8) {
10923 {
10924 arg9 = wxString_in_helper(obj8);
10925 if (arg9 == NULL) SWIG_fail;
10926 temp9 = True;
10927 }
10928 }
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 resultobj = PyInt_FromLong((long)result);
10937 {
10938 if (temp4)
10939 delete arg4;
10940 }
10941 {
10942 if (temp9)
10943 delete arg9;
10944 }
10945 return resultobj;
10946 fail:
10947 {
10948 if (temp4)
10949 delete arg4;
10950 }
10951 {
10952 if (temp9)
10953 delete arg9;
10954 }
10955 return NULL;
10956 }
10957
10958
10959 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj;
10961 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10962 bool arg2 ;
10963 PyObject * obj0 = 0 ;
10964 PyObject * obj1 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self",(char *) "value", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10971 arg2 = PyInt_AsLong(obj1) ? true : false;
10972 if (PyErr_Occurred()) SWIG_fail;
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 (arg1)->SetValue(arg2);
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 Py_INCREF(Py_None); resultobj = Py_None;
10981 return resultobj;
10982 fail:
10983 return NULL;
10984 }
10985
10986
10987 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10990 bool result;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "self", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
10997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 resultobj = PyInt_FromLong((long)result);
11006 return resultobj;
11007 fail:
11008 return NULL;
11009 }
11010
11011
11012 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11015 wxString *arg2 = 0 ;
11016 bool temp2 = False ;
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self",(char *) "label", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025 {
11026 arg2 = wxString_in_helper(obj1);
11027 if (arg2 == NULL) SWIG_fail;
11028 temp2 = True;
11029 }
11030 {
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 (arg1)->SetLabel((wxString const &)*arg2);
11033
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 Py_INCREF(Py_None); resultobj = Py_None;
11038 {
11039 if (temp2)
11040 delete arg2;
11041 }
11042 return resultobj;
11043 fail:
11044 {
11045 if (temp2)
11046 delete arg2;
11047 }
11048 return NULL;
11049 }
11050
11051
11052 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11053 PyObject *obj;
11054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11055 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11056 Py_INCREF(obj);
11057 return Py_BuildValue((char *)"");
11058 }
11059 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj;
11061 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11062 size_t result;
11063 PyObject * obj0 = 0 ;
11064 char *kwnames[] = {
11065 (char *) "self", NULL
11066 };
11067
11068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11070 {
11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
11072 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11073
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 resultobj = PyInt_FromLong((long)result);
11078 return resultobj;
11079 fail:
11080 return NULL;
11081 }
11082
11083
11084 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11087 size_t arg2 ;
11088 wxWindow *result;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self",(char *) "n", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097 arg2 = (size_t) PyInt_AsLong(obj1);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 result = (wxWindow *)(arg1)->GetPage(arg2);
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 {
11107 resultobj = wxPyMake_wxObject(result);
11108 }
11109 return resultobj;
11110 fail:
11111 return NULL;
11112 }
11113
11114
11115 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11118 int result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 resultobj = PyInt_FromLong((long)result);
11134 return resultobj;
11135 fail:
11136 return NULL;
11137 }
11138
11139
11140 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11141 PyObject *resultobj;
11142 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11143 size_t arg2 ;
11144 wxString *arg3 = 0 ;
11145 bool result;
11146 bool temp3 = False ;
11147 PyObject * obj0 = 0 ;
11148 PyObject * obj1 = 0 ;
11149 PyObject * obj2 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "self",(char *) "n",(char *) "strText", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11156 arg2 = (size_t) PyInt_AsLong(obj1);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 {
11159 arg3 = wxString_in_helper(obj2);
11160 if (arg3 == NULL) SWIG_fail;
11161 temp3 = True;
11162 }
11163 {
11164 PyThreadState* __tstate = wxPyBeginAllowThreads();
11165 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11166
11167 wxPyEndAllowThreads(__tstate);
11168 if (PyErr_Occurred()) SWIG_fail;
11169 }
11170 resultobj = PyInt_FromLong((long)result);
11171 {
11172 if (temp3)
11173 delete arg3;
11174 }
11175 return resultobj;
11176 fail:
11177 {
11178 if (temp3)
11179 delete arg3;
11180 }
11181 return NULL;
11182 }
11183
11184
11185 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj;
11187 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11188 size_t arg2 ;
11189 wxString result;
11190 PyObject * obj0 = 0 ;
11191 PyObject * obj1 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self",(char *) "n", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11198 arg2 = (size_t) PyInt_AsLong(obj1);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 {
11208 #if wxUSE_UNICODE
11209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11210 #else
11211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11212 #endif
11213 }
11214 return resultobj;
11215 fail:
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11223 wxImageList *arg2 = (wxImageList *) 0 ;
11224 PyObject * obj0 = 0 ;
11225 PyObject * obj1 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self",(char *) "imageList", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 (arg1)->SetImageList(arg2);
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 Py_INCREF(Py_None); resultobj = Py_None;
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11250 wxImageList *arg2 = (wxImageList *) 0 ;
11251 PyObject * obj0 = 0 ;
11252 PyObject * obj1 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self",(char *) "imageList", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 (arg1)->AssignImageList(arg2);
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 Py_INCREF(Py_None); resultobj = Py_None;
11268 return resultobj;
11269 fail:
11270 return NULL;
11271 }
11272
11273
11274 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11277 wxImageList *result;
11278 PyObject * obj0 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 {
11293 resultobj = wxPyMake_wxObject(result);
11294 }
11295 return resultobj;
11296 fail:
11297 return NULL;
11298 }
11299
11300
11301 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11302 PyObject *resultobj;
11303 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11304 size_t arg2 ;
11305 int result;
11306 PyObject * obj0 = 0 ;
11307 PyObject * obj1 = 0 ;
11308 char *kwnames[] = {
11309 (char *) "self",(char *) "n", NULL
11310 };
11311
11312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11314 arg2 = (size_t) PyInt_AsLong(obj1);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11319
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 resultobj = PyInt_FromLong((long)result);
11324 return resultobj;
11325 fail:
11326 return NULL;
11327 }
11328
11329
11330 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11331 PyObject *resultobj;
11332 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11333 size_t arg2 ;
11334 int arg3 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self",(char *) "n",(char *) "imageId", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11344 arg2 = (size_t) PyInt_AsLong(obj1);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 resultobj = PyInt_FromLong((long)result);
11354 return resultobj;
11355 fail:
11356 return NULL;
11357 }
11358
11359
11360 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11363 wxSize *arg2 = 0 ;
11364 wxSize temp2 ;
11365 PyObject * obj0 = 0 ;
11366 PyObject * obj1 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self",(char *) "size", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 {
11374 arg2 = &temp2;
11375 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11376 }
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 (arg1)->SetPageSize((wxSize const &)*arg2);
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 Py_INCREF(Py_None); resultobj = Py_None;
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj;
11393 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11394 wxSize *arg2 = 0 ;
11395 wxSize result;
11396 wxSize temp2 ;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 char *kwnames[] = {
11400 (char *) "self",(char *) "sizePage", NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11405 {
11406 arg2 = &temp2;
11407 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11408 }
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 {
11417 wxSize * resultptr;
11418 resultptr = new wxSize((wxSize &) result);
11419 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11420 }
11421 return resultobj;
11422 fail:
11423 return NULL;
11424 }
11425
11426
11427 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj;
11429 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11430 size_t arg2 ;
11431 bool result;
11432 PyObject * obj0 = 0 ;
11433 PyObject * obj1 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self",(char *) "n", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 arg2 = (size_t) PyInt_AsLong(obj1);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (bool)(arg1)->DeletePage(arg2);
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = PyInt_FromLong((long)result);
11450 return resultobj;
11451 fail:
11452 return NULL;
11453 }
11454
11455
11456 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11459 size_t arg2 ;
11460 bool result;
11461 PyObject * obj0 = 0 ;
11462 PyObject * obj1 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self",(char *) "n", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11469 arg2 = (size_t) PyInt_AsLong(obj1);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (bool)(arg1)->RemovePage(arg2);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = PyInt_FromLong((long)result);
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11488 bool result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 result = (bool)(arg1)->DeleteAllPages();
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = PyInt_FromLong((long)result);
11504 return resultobj;
11505 fail:
11506 return NULL;
11507 }
11508
11509
11510 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11513 wxWindow *arg2 = (wxWindow *) 0 ;
11514 wxString *arg3 = 0 ;
11515 bool arg4 = (bool) False ;
11516 int arg5 = (int) -1 ;
11517 bool result;
11518 bool temp3 = False ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 PyObject * obj2 = 0 ;
11522 PyObject * obj3 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11530 {
11531 arg3 = wxString_in_helper(obj2);
11532 if (arg3 == NULL) SWIG_fail;
11533 temp3 = True;
11534 }
11535 if (obj3) {
11536 arg4 = PyInt_AsLong(obj3) ? true : false;
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11542
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 resultobj = PyInt_FromLong((long)result);
11547 {
11548 if (temp3)
11549 delete arg3;
11550 }
11551 return resultobj;
11552 fail:
11553 {
11554 if (temp3)
11555 delete arg3;
11556 }
11557 return NULL;
11558 }
11559
11560
11561 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11562 PyObject *resultobj;
11563 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11564 size_t arg2 ;
11565 wxWindow *arg3 = (wxWindow *) 0 ;
11566 wxString *arg4 = 0 ;
11567 bool arg5 = (bool) False ;
11568 int arg6 = (int) -1 ;
11569 bool result;
11570 bool temp4 = False ;
11571 PyObject * obj0 = 0 ;
11572 PyObject * obj1 = 0 ;
11573 PyObject * obj2 = 0 ;
11574 PyObject * obj3 = 0 ;
11575 PyObject * obj4 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11582 arg2 = (size_t) PyInt_AsLong(obj1);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 {
11586 arg4 = wxString_in_helper(obj3);
11587 if (arg4 == NULL) SWIG_fail;
11588 temp4 = True;
11589 }
11590 if (obj4) {
11591 arg5 = PyInt_AsLong(obj4) ? true : false;
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 resultobj = PyInt_FromLong((long)result);
11602 {
11603 if (temp4)
11604 delete arg4;
11605 }
11606 return resultobj;
11607 fail:
11608 {
11609 if (temp4)
11610 delete arg4;
11611 }
11612 return NULL;
11613 }
11614
11615
11616 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11619 size_t arg2 ;
11620 int result;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "self",(char *) "n", NULL
11625 };
11626
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11629 arg2 = (size_t) PyInt_AsLong(obj1);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 {
11632 PyThreadState* __tstate = wxPyBeginAllowThreads();
11633 result = (int)(arg1)->SetSelection(arg2);
11634
11635 wxPyEndAllowThreads(__tstate);
11636 if (PyErr_Occurred()) SWIG_fail;
11637 }
11638 resultobj = PyInt_FromLong((long)result);
11639 return resultobj;
11640 fail:
11641 return NULL;
11642 }
11643
11644
11645 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11646 PyObject *resultobj;
11647 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11648 bool arg2 = (bool) True ;
11649 PyObject * obj0 = 0 ;
11650 PyObject * obj1 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self",(char *) "forward", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11657 if (obj1) {
11658 arg2 = PyInt_AsLong(obj1) ? true : false;
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 (arg1)->AdvanceSelection(arg2);
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 Py_INCREF(Py_None); resultobj = Py_None;
11669 return resultobj;
11670 fail:
11671 return NULL;
11672 }
11673
11674
11675 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11676 PyObject *obj;
11677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11679 Py_INCREF(obj);
11680 return Py_BuildValue((char *)"");
11681 }
11682 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11685 int arg2 = (int) 0 ;
11686 int arg3 = (int) -1 ;
11687 int arg4 = (int) -1 ;
11688 wxBookCtrlEvent *result;
11689 char *kwnames[] = {
11690 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11711 int result;
11712 PyObject * obj0 = 0 ;
11713 char *kwnames[] = {
11714 (char *) "self", NULL
11715 };
11716
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 resultobj = PyInt_FromLong((long)result);
11727 return resultobj;
11728 fail:
11729 return NULL;
11730 }
11731
11732
11733 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11736 int arg2 ;
11737 PyObject * obj0 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "self",(char *) "nSel", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 (arg1)->SetSelection(arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 Py_INCREF(Py_None); resultobj = Py_None;
11752 return resultobj;
11753 fail:
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11761 int result;
11762 PyObject * obj0 = 0 ;
11763 char *kwnames[] = {
11764 (char *) "self", NULL
11765 };
11766
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 resultobj = PyInt_FromLong((long)result);
11777 return resultobj;
11778 fail:
11779 return NULL;
11780 }
11781
11782
11783 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11786 int arg2 ;
11787 PyObject * obj0 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self",(char *) "nOldSel", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 (arg1)->SetOldSelection(arg2);
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 Py_INCREF(Py_None); resultobj = Py_None;
11802 return resultobj;
11803 fail:
11804 return NULL;
11805 }
11806
11807
11808 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11809 PyObject *obj;
11810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11811 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11812 Py_INCREF(obj);
11813 return Py_BuildValue((char *)"");
11814 }
11815 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11816 PyObject *resultobj;
11817 wxWindow *arg1 = (wxWindow *) 0 ;
11818 int arg2 ;
11819 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11820 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11821 wxSize const &arg4_defvalue = wxDefaultSize ;
11822 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11823 long arg5 = (long) 0 ;
11824 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11825 wxString *arg6 = (wxString *) &arg6_defvalue ;
11826 wxNotebook *result;
11827 wxPoint temp3 ;
11828 wxSize temp4 ;
11829 bool temp6 = False ;
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj2 = 0 ;
11832 PyObject * obj3 = 0 ;
11833 PyObject * obj5 = 0 ;
11834 char *kwnames[] = {
11835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11836 };
11837
11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11840 if (obj2) {
11841 {
11842 arg3 = &temp3;
11843 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11844 }
11845 }
11846 if (obj3) {
11847 {
11848 arg4 = &temp4;
11849 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11850 }
11851 }
11852 if (obj5) {
11853 {
11854 arg6 = wxString_in_helper(obj5);
11855 if (arg6 == NULL) SWIG_fail;
11856 temp6 = True;
11857 }
11858 }
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 resultobj = wxPyMake_wxObject(result);
11868 }
11869 {
11870 if (temp6)
11871 delete arg6;
11872 }
11873 return resultobj;
11874 fail:
11875 {
11876 if (temp6)
11877 delete arg6;
11878 }
11879 return NULL;
11880 }
11881
11882
11883 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxNotebook *result;
11886 char *kwnames[] = {
11887 NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (wxNotebook *)new wxNotebook();
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 {
11899 resultobj = wxPyMake_wxObject(result);
11900 }
11901 return resultobj;
11902 fail:
11903 return NULL;
11904 }
11905
11906
11907 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxNotebook *arg1 = (wxNotebook *) 0 ;
11910 wxWindow *arg2 = (wxWindow *) 0 ;
11911 int arg3 ;
11912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11914 wxSize const &arg5_defvalue = wxDefaultSize ;
11915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11916 long arg6 = (long) 0 ;
11917 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11918 wxString *arg7 = (wxString *) &arg7_defvalue ;
11919 bool result;
11920 wxPoint temp4 ;
11921 wxSize temp5 ;
11922 bool temp7 = False ;
11923 PyObject * obj0 = 0 ;
11924 PyObject * obj1 = 0 ;
11925 PyObject * obj3 = 0 ;
11926 PyObject * obj4 = 0 ;
11927 PyObject * obj6 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11935 if (obj3) {
11936 {
11937 arg4 = &temp4;
11938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11939 }
11940 }
11941 if (obj4) {
11942 {
11943 arg5 = &temp5;
11944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11945 }
11946 }
11947 if (obj6) {
11948 {
11949 arg7 = wxString_in_helper(obj6);
11950 if (arg7 == NULL) SWIG_fail;
11951 temp7 = True;
11952 }
11953 }
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11957
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 resultobj = PyInt_FromLong((long)result);
11962 {
11963 if (temp7)
11964 delete arg7;
11965 }
11966 return resultobj;
11967 fail:
11968 {
11969 if (temp7)
11970 delete arg7;
11971 }
11972 return NULL;
11973 }
11974
11975
11976 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11977 PyObject *resultobj;
11978 wxNotebook *arg1 = (wxNotebook *) 0 ;
11979 int result;
11980 PyObject * obj0 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "self", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 resultobj = PyInt_FromLong((long)result);
11995 return resultobj;
11996 fail:
11997 return NULL;
11998 }
11999
12000
12001 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12002 PyObject *resultobj;
12003 wxNotebook *arg1 = (wxNotebook *) 0 ;
12004 wxSize *arg2 = 0 ;
12005 wxSize temp2 ;
12006 PyObject * obj0 = 0 ;
12007 PyObject * obj1 = 0 ;
12008 char *kwnames[] = {
12009 (char *) "self",(char *) "padding", NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12014 {
12015 arg2 = &temp2;
12016 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12017 }
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 (arg1)->SetPadding((wxSize const &)*arg2);
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 Py_INCREF(Py_None); resultobj = Py_None;
12026 return resultobj;
12027 fail:
12028 return NULL;
12029 }
12030
12031
12032 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj;
12034 wxNotebook *arg1 = (wxNotebook *) 0 ;
12035 wxSize *arg2 = 0 ;
12036 wxSize temp2 ;
12037 PyObject * obj0 = 0 ;
12038 PyObject * obj1 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self",(char *) "sz", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12045 {
12046 arg2 = &temp2;
12047 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 (arg1)->SetTabSize((wxSize const &)*arg2);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 Py_INCREF(Py_None); resultobj = Py_None;
12057 return resultobj;
12058 fail:
12059 return NULL;
12060 }
12061
12062
12063 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxNotebook *arg1 = (wxNotebook *) 0 ;
12066 wxPoint *arg2 = 0 ;
12067 long *arg3 = (long *) 0 ;
12068 int result;
12069 wxPoint temp2 ;
12070 long temp3 ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self",(char *) "pt", NULL
12075 };
12076
12077 arg3 = &temp3;
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12080 {
12081 arg2 = &temp2;
12082 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12083 }
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12087
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 resultobj = PyInt_FromLong((long)result);
12092 {
12093 PyObject *o = PyInt_FromLong((long) (*arg3));
12094 resultobj = t_output_helper(resultobj,o);
12095 }
12096 return resultobj;
12097 fail:
12098 return NULL;
12099 }
12100
12101
12102 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxNotebook *arg1 = (wxNotebook *) 0 ;
12105 wxSize *arg2 = 0 ;
12106 wxSize result;
12107 wxSize temp2 ;
12108 PyObject * obj0 = 0 ;
12109 PyObject * obj1 = 0 ;
12110 char *kwnames[] = {
12111 (char *) "self",(char *) "sizePage", NULL
12112 };
12113
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12116 {
12117 arg2 = &temp2;
12118 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12119 }
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 {
12128 wxSize * resultptr;
12129 resultptr = new wxSize((wxSize &) result);
12130 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12131 }
12132 return resultobj;
12133 fail:
12134 return NULL;
12135 }
12136
12137
12138 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12139 PyObject *obj;
12140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12141 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12142 Py_INCREF(obj);
12143 return Py_BuildValue((char *)"");
12144 }
12145 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12146 PyObject *resultobj;
12147 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12148 int arg2 = (int) 0 ;
12149 int arg3 = (int) -1 ;
12150 int arg4 = (int) -1 ;
12151 wxNotebookEvent *result;
12152 char *kwnames[] = {
12153 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12172 PyObject *obj;
12173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12174 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12175 Py_INCREF(obj);
12176 return Py_BuildValue((char *)"");
12177 }
12178 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12179 PyObject *resultobj;
12180 wxWindow *arg1 = (wxWindow *) 0 ;
12181 int arg2 ;
12182 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12183 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12184 wxSize const &arg4_defvalue = wxDefaultSize ;
12185 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12186 long arg5 = (long) 0 ;
12187 wxString const &arg6_defvalue = wxPyEmptyString ;
12188 wxString *arg6 = (wxString *) &arg6_defvalue ;
12189 wxListbook *result;
12190 wxPoint temp3 ;
12191 wxSize temp4 ;
12192 bool temp6 = False ;
12193 PyObject * obj0 = 0 ;
12194 PyObject * obj2 = 0 ;
12195 PyObject * obj3 = 0 ;
12196 PyObject * obj5 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12203 if (obj2) {
12204 {
12205 arg3 = &temp3;
12206 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12207 }
12208 }
12209 if (obj3) {
12210 {
12211 arg4 = &temp4;
12212 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12213 }
12214 }
12215 if (obj5) {
12216 {
12217 arg6 = wxString_in_helper(obj5);
12218 if (arg6 == NULL) SWIG_fail;
12219 temp6 = True;
12220 }
12221 }
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12230 {
12231 if (temp6)
12232 delete arg6;
12233 }
12234 return resultobj;
12235 fail:
12236 {
12237 if (temp6)
12238 delete arg6;
12239 }
12240 return NULL;
12241 }
12242
12243
12244 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12245 PyObject *resultobj;
12246 wxListbook *result;
12247 char *kwnames[] = {
12248 NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (wxListbook *)new wxListbook();
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12260 return resultobj;
12261 fail:
12262 return NULL;
12263 }
12264
12265
12266 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxListbook *arg1 = (wxListbook *) 0 ;
12269 wxWindow *arg2 = (wxWindow *) 0 ;
12270 int arg3 ;
12271 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12272 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12273 wxSize const &arg5_defvalue = wxDefaultSize ;
12274 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12275 long arg6 = (long) 0 ;
12276 wxString const &arg7_defvalue = wxPyEmptyString ;
12277 wxString *arg7 = (wxString *) &arg7_defvalue ;
12278 bool result;
12279 wxPoint temp4 ;
12280 wxSize temp5 ;
12281 bool temp7 = False ;
12282 PyObject * obj0 = 0 ;
12283 PyObject * obj1 = 0 ;
12284 PyObject * obj3 = 0 ;
12285 PyObject * obj4 = 0 ;
12286 PyObject * obj6 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12294 if (obj3) {
12295 {
12296 arg4 = &temp4;
12297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12298 }
12299 }
12300 if (obj4) {
12301 {
12302 arg5 = &temp5;
12303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12304 }
12305 }
12306 if (obj6) {
12307 {
12308 arg7 = wxString_in_helper(obj6);
12309 if (arg7 == NULL) SWIG_fail;
12310 temp7 = True;
12311 }
12312 }
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = PyInt_FromLong((long)result);
12321 {
12322 if (temp7)
12323 delete arg7;
12324 }
12325 return resultobj;
12326 fail:
12327 {
12328 if (temp7)
12329 delete arg7;
12330 }
12331 return NULL;
12332 }
12333
12334
12335 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj;
12337 wxListbook *arg1 = (wxListbook *) 0 ;
12338 bool result;
12339 PyObject * obj0 = 0 ;
12340 char *kwnames[] = {
12341 (char *) "self", NULL
12342 };
12343
12344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 result = (bool)((wxListbook const *)arg1)->IsVertical();
12349
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 resultobj = PyInt_FromLong((long)result);
12354 return resultobj;
12355 fail:
12356 return NULL;
12357 }
12358
12359
12360 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12361 PyObject *obj;
12362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12363 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12364 Py_INCREF(obj);
12365 return Py_BuildValue((char *)"");
12366 }
12367 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj;
12369 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12370 int arg2 = (int) 0 ;
12371 int arg3 = (int) -1 ;
12372 int arg4 = (int) -1 ;
12373 wxListbookEvent *result;
12374 char *kwnames[] = {
12375 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12376 };
12377
12378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12382
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12387 return resultobj;
12388 fail:
12389 return NULL;
12390 }
12391
12392
12393 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12394 PyObject *obj;
12395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12396 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12397 Py_INCREF(obj);
12398 return Py_BuildValue((char *)"");
12399 }
12400 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12401 PyObject *resultobj;
12402 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12403 wxBookCtrlSizer *result;
12404 PyObject * obj0 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "nb", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12411 {
12412 PyThreadState* __tstate = wxPyBeginAllowThreads();
12413 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12414
12415 wxPyEndAllowThreads(__tstate);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
12418 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12419 return resultobj;
12420 fail:
12421 return NULL;
12422 }
12423
12424
12425 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12426 PyObject *resultobj;
12427 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12428 PyObject * obj0 = 0 ;
12429 char *kwnames[] = {
12430 (char *) "self", NULL
12431 };
12432
12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 (arg1)->RecalcSizes();
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 Py_INCREF(Py_None); resultobj = Py_None;
12443 return resultobj;
12444 fail:
12445 return NULL;
12446 }
12447
12448
12449 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12450 PyObject *resultobj;
12451 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12452 wxSize result;
12453 PyObject * obj0 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (arg1)->CalcMin();
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 {
12468 wxSize * resultptr;
12469 resultptr = new wxSize((wxSize &) result);
12470 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12471 }
12472 return resultobj;
12473 fail:
12474 return NULL;
12475 }
12476
12477
12478 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12479 PyObject *resultobj;
12480 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12481 wxBookCtrl *result;
12482 PyObject * obj0 = 0 ;
12483 char *kwnames[] = {
12484 (char *) "self", NULL
12485 };
12486
12487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 result = (wxBookCtrl *)(arg1)->GetControl();
12492
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
12496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12497 return resultobj;
12498 fail:
12499 return NULL;
12500 }
12501
12502
12503 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12504 PyObject *obj;
12505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12506 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12507 Py_INCREF(obj);
12508 return Py_BuildValue((char *)"");
12509 }
12510 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxNotebook *arg1 = (wxNotebook *) 0 ;
12513 wxNotebookSizer *result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "nb", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12529 return resultobj;
12530 fail:
12531 return NULL;
12532 }
12533
12534
12535 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj;
12537 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12538 PyObject * obj0 = 0 ;
12539 char *kwnames[] = {
12540 (char *) "self", NULL
12541 };
12542
12543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12545 {
12546 PyThreadState* __tstate = wxPyBeginAllowThreads();
12547 (arg1)->RecalcSizes();
12548
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 Py_INCREF(Py_None); resultobj = Py_None;
12553 return resultobj;
12554 fail:
12555 return NULL;
12556 }
12557
12558
12559 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12562 wxSize result;
12563 PyObject * obj0 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 result = (arg1)->CalcMin();
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 {
12578 wxSize * resultptr;
12579 resultptr = new wxSize((wxSize &) result);
12580 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12581 }
12582 return resultobj;
12583 fail:
12584 return NULL;
12585 }
12586
12587
12588 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12589 PyObject *resultobj;
12590 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12591 wxNotebook *result;
12592 PyObject * obj0 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 result = (wxNotebook *)(arg1)->GetNotebook();
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 {
12607 resultobj = wxPyMake_wxObject(result);
12608 }
12609 return resultobj;
12610 fail:
12611 return NULL;
12612 }
12613
12614
12615 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12616 PyObject *obj;
12617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12618 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12619 Py_INCREF(obj);
12620 return Py_BuildValue((char *)"");
12621 }
12622 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12625 int result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (int)(arg1)->GetId();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 resultobj = PyInt_FromLong((long)result);
12641 return resultobj;
12642 fail:
12643 return NULL;
12644 }
12645
12646
12647 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12650 wxControl *result;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 result = (wxControl *)(arg1)->GetControl();
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 {
12666 resultobj = wxPyMake_wxObject(result);
12667 }
12668 return resultobj;
12669 fail:
12670 return NULL;
12671 }
12672
12673
12674 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12675 PyObject *resultobj;
12676 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12677 wxToolBarBase *result;
12678 PyObject * obj0 = 0 ;
12679 char *kwnames[] = {
12680 (char *) "self", NULL
12681 };
12682
12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 result = (wxToolBarBase *)(arg1)->GetToolBar();
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 {
12693 resultobj = wxPyMake_wxObject(result);
12694 }
12695 return resultobj;
12696 fail:
12697 return NULL;
12698 }
12699
12700
12701 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12702 PyObject *resultobj;
12703 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12704 int result;
12705 PyObject * obj0 = 0 ;
12706 char *kwnames[] = {
12707 (char *) "self", NULL
12708 };
12709
12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12712 {
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 result = (int)(arg1)->IsButton();
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 resultobj = PyInt_FromLong((long)result);
12720 return resultobj;
12721 fail:
12722 return NULL;
12723 }
12724
12725
12726 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12729 int result;
12730 PyObject * obj0 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "self", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12737 {
12738 PyThreadState* __tstate = wxPyBeginAllowThreads();
12739 result = (int)(arg1)->IsControl();
12740
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 resultobj = PyInt_FromLong((long)result);
12745 return resultobj;
12746 fail:
12747 return NULL;
12748 }
12749
12750
12751 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12752 PyObject *resultobj;
12753 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12754 int result;
12755 PyObject * obj0 = 0 ;
12756 char *kwnames[] = {
12757 (char *) "self", NULL
12758 };
12759
12760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (int)(arg1)->IsSeparator();
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 resultobj = PyInt_FromLong((long)result);
12770 return resultobj;
12771 fail:
12772 return NULL;
12773 }
12774
12775
12776 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12777 PyObject *resultobj;
12778 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12779 int result;
12780 PyObject * obj0 = 0 ;
12781 char *kwnames[] = {
12782 (char *) "self", NULL
12783 };
12784
12785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (int)(arg1)->GetStyle();
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 resultobj = PyInt_FromLong((long)result);
12795 return resultobj;
12796 fail:
12797 return NULL;
12798 }
12799
12800
12801 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12804 int result;
12805 PyObject * obj0 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (int)(arg1)->GetKind();
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = PyInt_FromLong((long)result);
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj;
12828 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12829 bool result;
12830 PyObject * obj0 = 0 ;
12831 char *kwnames[] = {
12832 (char *) "self", NULL
12833 };
12834
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 result = (bool)(arg1)->IsEnabled();
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 resultobj = PyInt_FromLong((long)result);
12845 return resultobj;
12846 fail:
12847 return NULL;
12848 }
12849
12850
12851 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj;
12853 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12854 bool result;
12855 PyObject * obj0 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "self", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12862 {
12863 PyThreadState* __tstate = wxPyBeginAllowThreads();
12864 result = (bool)(arg1)->IsToggled();
12865
12866 wxPyEndAllowThreads(__tstate);
12867 if (PyErr_Occurred()) SWIG_fail;
12868 }
12869 resultobj = PyInt_FromLong((long)result);
12870 return resultobj;
12871 fail:
12872 return NULL;
12873 }
12874
12875
12876 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj;
12878 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12879 bool result;
12880 PyObject * obj0 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 result = (bool)(arg1)->CanBeToggled();
12890
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 resultobj = PyInt_FromLong((long)result);
12895 return resultobj;
12896 fail:
12897 return NULL;
12898 }
12899
12900
12901 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12902 PyObject *resultobj;
12903 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12904 wxBitmap *result;
12905 PyObject * obj0 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 {
12915 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12916 result = (wxBitmap *) &_result_ref;
12917 }
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12923 return resultobj;
12924 fail:
12925 return NULL;
12926 }
12927
12928
12929 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj;
12931 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12932 wxBitmap *result;
12933 PyObject * obj0 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 {
12943 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12944 result = (wxBitmap *) &_result_ref;
12945 }
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12951 return resultobj;
12952 fail:
12953 return NULL;
12954 }
12955
12956
12957 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12960 wxBitmap result;
12961 PyObject * obj0 = 0 ;
12962 char *kwnames[] = {
12963 (char *) "self", NULL
12964 };
12965
12966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (arg1)->GetBitmap();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 {
12976 wxBitmap * resultptr;
12977 resultptr = new wxBitmap((wxBitmap &) result);
12978 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12979 }
12980 return resultobj;
12981 fail:
12982 return NULL;
12983 }
12984
12985
12986 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj;
12988 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12989 wxString result;
12990 PyObject * obj0 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 result = (arg1)->GetLabel();
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 {
13005 #if wxUSE_UNICODE
13006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13007 #else
13008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13009 #endif
13010 }
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13020 wxString result;
13021 PyObject * obj0 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (arg1)->GetShortHelp();
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036 #if wxUSE_UNICODE
13037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13038 #else
13039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13040 #endif
13041 }
13042 return resultobj;
13043 fail:
13044 return NULL;
13045 }
13046
13047
13048 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13051 wxString result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (arg1)->GetLongHelp();
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067 #if wxUSE_UNICODE
13068 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13069 #else
13070 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13071 #endif
13072 }
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13082 bool arg2 ;
13083 bool result;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self",(char *) "enable", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13092 arg2 = PyInt_AsLong(obj1) ? true : false;
13093 if (PyErr_Occurred()) SWIG_fail;
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (bool)(arg1)->Enable(arg2);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 resultobj = PyInt_FromLong((long)result);
13102 return resultobj;
13103 fail:
13104 return NULL;
13105 }
13106
13107
13108 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj;
13110 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13111 PyObject * obj0 = 0 ;
13112 char *kwnames[] = {
13113 (char *) "self", NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 (arg1)->Toggle();
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 Py_INCREF(Py_None); resultobj = Py_None;
13126 return resultobj;
13127 fail:
13128 return NULL;
13129 }
13130
13131
13132 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13135 bool arg2 ;
13136 bool result;
13137 PyObject * obj0 = 0 ;
13138 PyObject * obj1 = 0 ;
13139 char *kwnames[] = {
13140 (char *) "self",(char *) "toggle", NULL
13141 };
13142
13143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13145 arg2 = PyInt_AsLong(obj1) ? true : false;
13146 if (PyErr_Occurred()) SWIG_fail;
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (bool)(arg1)->SetToggle(arg2);
13150
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 resultobj = PyInt_FromLong((long)result);
13155 return resultobj;
13156 fail:
13157 return NULL;
13158 }
13159
13160
13161 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13164 wxString *arg2 = 0 ;
13165 bool result;
13166 bool temp2 = False ;
13167 PyObject * obj0 = 0 ;
13168 PyObject * obj1 = 0 ;
13169 char *kwnames[] = {
13170 (char *) "self",(char *) "help", NULL
13171 };
13172
13173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13175 {
13176 arg2 = wxString_in_helper(obj1);
13177 if (arg2 == NULL) SWIG_fail;
13178 temp2 = True;
13179 }
13180 {
13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
13182 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13183
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 resultobj = PyInt_FromLong((long)result);
13188 {
13189 if (temp2)
13190 delete arg2;
13191 }
13192 return resultobj;
13193 fail:
13194 {
13195 if (temp2)
13196 delete arg2;
13197 }
13198 return NULL;
13199 }
13200
13201
13202 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13205 wxString *arg2 = 0 ;
13206 bool result;
13207 bool temp2 = False ;
13208 PyObject * obj0 = 0 ;
13209 PyObject * obj1 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self",(char *) "help", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13216 {
13217 arg2 = wxString_in_helper(obj1);
13218 if (arg2 == NULL) SWIG_fail;
13219 temp2 = True;
13220 }
13221 {
13222 PyThreadState* __tstate = wxPyBeginAllowThreads();
13223 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13224
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 resultobj = PyInt_FromLong((long)result);
13229 {
13230 if (temp2)
13231 delete arg2;
13232 }
13233 return resultobj;
13234 fail:
13235 {
13236 if (temp2)
13237 delete arg2;
13238 }
13239 return NULL;
13240 }
13241
13242
13243 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj;
13245 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13246 wxBitmap *arg2 = 0 ;
13247 PyObject * obj0 = 0 ;
13248 PyObject * obj1 = 0 ;
13249 char *kwnames[] = {
13250 (char *) "self",(char *) "bmp", NULL
13251 };
13252
13253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13256 if (arg2 == NULL) {
13257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13258 }
13259 {
13260 PyThreadState* __tstate = wxPyBeginAllowThreads();
13261 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13262
13263 wxPyEndAllowThreads(__tstate);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 }
13266 Py_INCREF(Py_None); resultobj = Py_None;
13267 return resultobj;
13268 fail:
13269 return NULL;
13270 }
13271
13272
13273 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13276 wxBitmap *arg2 = 0 ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 char *kwnames[] = {
13280 (char *) "self",(char *) "bmp", NULL
13281 };
13282
13283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13286 if (arg2 == NULL) {
13287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13288 }
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 Py_INCREF(Py_None); resultobj = Py_None;
13297 return resultobj;
13298 fail:
13299 return NULL;
13300 }
13301
13302
13303 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13306 wxString *arg2 = 0 ;
13307 bool temp2 = False ;
13308 PyObject * obj0 = 0 ;
13309 PyObject * obj1 = 0 ;
13310 char *kwnames[] = {
13311 (char *) "self",(char *) "label", NULL
13312 };
13313
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13316 {
13317 arg2 = wxString_in_helper(obj1);
13318 if (arg2 == NULL) SWIG_fail;
13319 temp2 = True;
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 (arg1)->SetLabel((wxString const &)*arg2);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 Py_INCREF(Py_None); resultobj = Py_None;
13329 {
13330 if (temp2)
13331 delete arg2;
13332 }
13333 return resultobj;
13334 fail:
13335 {
13336 if (temp2)
13337 delete arg2;
13338 }
13339 return NULL;
13340 }
13341
13342
13343 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13346 PyObject * obj0 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 (arg1)->Detach();
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 Py_INCREF(Py_None); resultobj = Py_None;
13361 return resultobj;
13362 fail:
13363 return NULL;
13364 }
13365
13366
13367 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13370 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13371 PyObject * obj0 = 0 ;
13372 PyObject * obj1 = 0 ;
13373 char *kwnames[] = {
13374 (char *) "self",(char *) "tbar", NULL
13375 };
13376
13377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13380 {
13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
13382 (arg1)->Attach(arg2);
13383
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 Py_INCREF(Py_None); resultobj = Py_None;
13388 return resultobj;
13389 fail:
13390 return NULL;
13391 }
13392
13393
13394 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13397 PyObject *result;
13398 PyObject * obj0 = 0 ;
13399 char *kwnames[] = {
13400 (char *) "self", NULL
13401 };
13402
13403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 resultobj = result;
13413 return resultobj;
13414 fail:
13415 return NULL;
13416 }
13417
13418
13419 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13422 PyObject *arg2 = (PyObject *) 0 ;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self",(char *) "clientData", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 arg2 = obj1;
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 wxToolBarToolBase_SetClientData(arg1,arg2);
13435
13436 wxPyEndAllowThreads(__tstate);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
13439 Py_INCREF(Py_None); resultobj = Py_None;
13440 return resultobj;
13441 fail:
13442 return NULL;
13443 }
13444
13445
13446 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13447 PyObject *obj;
13448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13449 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13450 Py_INCREF(obj);
13451 return Py_BuildValue((char *)"");
13452 }
13453 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13454 PyObject *resultobj;
13455 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13456 int arg2 ;
13457 wxString *arg3 = 0 ;
13458 wxBitmap *arg4 = 0 ;
13459 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13460 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13461 int arg6 = (int) wxITEM_NORMAL ;
13462 wxString const &arg7_defvalue = wxPyEmptyString ;
13463 wxString *arg7 = (wxString *) &arg7_defvalue ;
13464 wxString const &arg8_defvalue = wxPyEmptyString ;
13465 wxString *arg8 = (wxString *) &arg8_defvalue ;
13466 PyObject *arg9 = (PyObject *) NULL ;
13467 wxToolBarToolBase *result;
13468 bool temp3 = False ;
13469 bool temp7 = False ;
13470 bool temp8 = False ;
13471 PyObject * obj0 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 PyObject * obj3 = 0 ;
13474 PyObject * obj4 = 0 ;
13475 PyObject * obj6 = 0 ;
13476 PyObject * obj7 = 0 ;
13477 PyObject * obj8 = 0 ;
13478 char *kwnames[] = {
13479 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13480 };
13481
13482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13484 {
13485 arg3 = wxString_in_helper(obj2);
13486 if (arg3 == NULL) SWIG_fail;
13487 temp3 = True;
13488 }
13489 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13490 if (arg4 == NULL) {
13491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13492 }
13493 if (obj4) {
13494 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13495 if (arg5 == NULL) {
13496 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13497 }
13498 }
13499 if (obj6) {
13500 {
13501 arg7 = wxString_in_helper(obj6);
13502 if (arg7 == NULL) SWIG_fail;
13503 temp7 = True;
13504 }
13505 }
13506 if (obj7) {
13507 {
13508 arg8 = wxString_in_helper(obj7);
13509 if (arg8 == NULL) SWIG_fail;
13510 temp8 = True;
13511 }
13512 }
13513 if (obj8) {
13514 arg9 = obj8;
13515 }
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524 resultobj = wxPyMake_wxObject(result);
13525 }
13526 {
13527 if (temp3)
13528 delete arg3;
13529 }
13530 {
13531 if (temp7)
13532 delete arg7;
13533 }
13534 {
13535 if (temp8)
13536 delete arg8;
13537 }
13538 return resultobj;
13539 fail:
13540 {
13541 if (temp3)
13542 delete arg3;
13543 }
13544 {
13545 if (temp7)
13546 delete arg7;
13547 }
13548 {
13549 if (temp8)
13550 delete arg8;
13551 }
13552 return NULL;
13553 }
13554
13555
13556 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj;
13558 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13559 size_t arg2 ;
13560 int arg3 ;
13561 wxString *arg4 = 0 ;
13562 wxBitmap *arg5 = 0 ;
13563 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13564 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13565 int arg7 = (int) wxITEM_NORMAL ;
13566 wxString const &arg8_defvalue = wxPyEmptyString ;
13567 wxString *arg8 = (wxString *) &arg8_defvalue ;
13568 wxString const &arg9_defvalue = wxPyEmptyString ;
13569 wxString *arg9 = (wxString *) &arg9_defvalue ;
13570 PyObject *arg10 = (PyObject *) NULL ;
13571 wxToolBarToolBase *result;
13572 bool temp4 = False ;
13573 bool temp8 = False ;
13574 bool temp9 = False ;
13575 PyObject * obj0 = 0 ;
13576 PyObject * obj1 = 0 ;
13577 PyObject * obj3 = 0 ;
13578 PyObject * obj4 = 0 ;
13579 PyObject * obj5 = 0 ;
13580 PyObject * obj7 = 0 ;
13581 PyObject * obj8 = 0 ;
13582 PyObject * obj9 = 0 ;
13583 char *kwnames[] = {
13584 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13585 };
13586
13587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13589 arg2 = (size_t) PyInt_AsLong(obj1);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 {
13592 arg4 = wxString_in_helper(obj3);
13593 if (arg4 == NULL) SWIG_fail;
13594 temp4 = True;
13595 }
13596 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13597 if (arg5 == NULL) {
13598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13599 }
13600 if (obj5) {
13601 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13602 if (arg6 == NULL) {
13603 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13604 }
13605 }
13606 if (obj7) {
13607 {
13608 arg8 = wxString_in_helper(obj7);
13609 if (arg8 == NULL) SWIG_fail;
13610 temp8 = True;
13611 }
13612 }
13613 if (obj8) {
13614 {
13615 arg9 = wxString_in_helper(obj8);
13616 if (arg9 == NULL) SWIG_fail;
13617 temp9 = True;
13618 }
13619 }
13620 if (obj9) {
13621 arg10 = obj9;
13622 }
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 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);
13626
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 {
13631 resultobj = wxPyMake_wxObject(result);
13632 }
13633 {
13634 if (temp4)
13635 delete arg4;
13636 }
13637 {
13638 if (temp8)
13639 delete arg8;
13640 }
13641 {
13642 if (temp9)
13643 delete arg9;
13644 }
13645 return resultobj;
13646 fail:
13647 {
13648 if (temp4)
13649 delete arg4;
13650 }
13651 {
13652 if (temp8)
13653 delete arg8;
13654 }
13655 {
13656 if (temp9)
13657 delete arg9;
13658 }
13659 return NULL;
13660 }
13661
13662
13663 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13666 wxControl *arg2 = (wxControl *) 0 ;
13667 wxToolBarToolBase *result;
13668 PyObject * obj0 = 0 ;
13669 PyObject * obj1 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "self",(char *) "control", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 {
13685 resultobj = wxPyMake_wxObject(result);
13686 }
13687 return resultobj;
13688 fail:
13689 return NULL;
13690 }
13691
13692
13693 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13696 size_t arg2 ;
13697 wxControl *arg3 = (wxControl *) 0 ;
13698 wxToolBarToolBase *result;
13699 PyObject * obj0 = 0 ;
13700 PyObject * obj1 = 0 ;
13701 PyObject * obj2 = 0 ;
13702 char *kwnames[] = {
13703 (char *) "self",(char *) "pos",(char *) "control", NULL
13704 };
13705
13706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13708 arg2 = (size_t) PyInt_AsLong(obj1);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 {
13719 resultobj = wxPyMake_wxObject(result);
13720 }
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13730 int arg2 ;
13731 wxControl *result;
13732 PyObject * obj0 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "self",(char *) "id", NULL
13735 };
13736
13737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13739 {
13740 PyThreadState* __tstate = wxPyBeginAllowThreads();
13741 result = (wxControl *)(arg1)->FindControl(arg2);
13742
13743 wxPyEndAllowThreads(__tstate);
13744 if (PyErr_Occurred()) SWIG_fail;
13745 }
13746 {
13747 resultobj = wxPyMake_wxObject(result);
13748 }
13749 return resultobj;
13750 fail:
13751 return NULL;
13752 }
13753
13754
13755 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13756 PyObject *resultobj;
13757 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13758 wxToolBarToolBase *result;
13759 PyObject * obj0 = 0 ;
13760 char *kwnames[] = {
13761 (char *) "self", NULL
13762 };
13763
13764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13766 {
13767 PyThreadState* __tstate = wxPyBeginAllowThreads();
13768 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
13773 {
13774 resultobj = wxPyMake_wxObject(result);
13775 }
13776 return resultobj;
13777 fail:
13778 return NULL;
13779 }
13780
13781
13782 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13785 size_t arg2 ;
13786 wxToolBarToolBase *result;
13787 PyObject * obj0 = 0 ;
13788 PyObject * obj1 = 0 ;
13789 char *kwnames[] = {
13790 (char *) "self",(char *) "pos", NULL
13791 };
13792
13793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13795 arg2 = (size_t) PyInt_AsLong(obj1);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13800
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 {
13805 resultobj = wxPyMake_wxObject(result);
13806 }
13807 return resultobj;
13808 fail:
13809 return NULL;
13810 }
13811
13812
13813 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj;
13815 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13816 int arg2 ;
13817 wxToolBarToolBase *result;
13818 PyObject * obj0 = 0 ;
13819 char *kwnames[] = {
13820 (char *) "self",(char *) "id", NULL
13821 };
13822
13823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13825 {
13826 PyThreadState* __tstate = wxPyBeginAllowThreads();
13827 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13828
13829 wxPyEndAllowThreads(__tstate);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 {
13833 resultobj = wxPyMake_wxObject(result);
13834 }
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13844 size_t arg2 ;
13845 bool result;
13846 PyObject * obj0 = 0 ;
13847 PyObject * obj1 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self",(char *) "pos", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13854 arg2 = (size_t) PyInt_AsLong(obj1);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 result = (bool)(arg1)->DeleteToolByPos(arg2);
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
13863 resultobj = PyInt_FromLong((long)result);
13864 return resultobj;
13865 fail:
13866 return NULL;
13867 }
13868
13869
13870 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13871 PyObject *resultobj;
13872 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13873 int arg2 ;
13874 bool result;
13875 PyObject * obj0 = 0 ;
13876 char *kwnames[] = {
13877 (char *) "self",(char *) "id", NULL
13878 };
13879
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (bool)(arg1)->DeleteTool(arg2);
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 resultobj = PyInt_FromLong((long)result);
13890 return resultobj;
13891 fail:
13892 return NULL;
13893 }
13894
13895
13896 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj;
13898 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13899 PyObject * obj0 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 (arg1)->ClearTools();
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 Py_INCREF(Py_None); resultobj = Py_None;
13914 return resultobj;
13915 fail:
13916 return NULL;
13917 }
13918
13919
13920 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13923 bool result;
13924 PyObject * obj0 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "self", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13931 {
13932 PyThreadState* __tstate = wxPyBeginAllowThreads();
13933 result = (bool)(arg1)->Realize();
13934
13935 wxPyEndAllowThreads(__tstate);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 }
13938 resultobj = PyInt_FromLong((long)result);
13939 return resultobj;
13940 fail:
13941 return NULL;
13942 }
13943
13944
13945 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13946 PyObject *resultobj;
13947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13948 int arg2 ;
13949 bool arg3 ;
13950 PyObject * obj0 = 0 ;
13951 PyObject * obj2 = 0 ;
13952 char *kwnames[] = {
13953 (char *) "self",(char *) "id",(char *) "enable", NULL
13954 };
13955
13956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13958 arg3 = PyInt_AsLong(obj2) ? true : false;
13959 if (PyErr_Occurred()) SWIG_fail;
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 (arg1)->EnableTool(arg2,arg3);
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
13967 Py_INCREF(Py_None); resultobj = Py_None;
13968 return resultobj;
13969 fail:
13970 return NULL;
13971 }
13972
13973
13974 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13975 PyObject *resultobj;
13976 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13977 int arg2 ;
13978 bool arg3 ;
13979 PyObject * obj0 = 0 ;
13980 PyObject * obj2 = 0 ;
13981 char *kwnames[] = {
13982 (char *) "self",(char *) "id",(char *) "toggle", NULL
13983 };
13984
13985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13987 arg3 = PyInt_AsLong(obj2) ? true : false;
13988 if (PyErr_Occurred()) SWIG_fail;
13989 {
13990 PyThreadState* __tstate = wxPyBeginAllowThreads();
13991 (arg1)->ToggleTool(arg2,arg3);
13992
13993 wxPyEndAllowThreads(__tstate);
13994 if (PyErr_Occurred()) SWIG_fail;
13995 }
13996 Py_INCREF(Py_None); resultobj = Py_None;
13997 return resultobj;
13998 fail:
13999 return NULL;
14000 }
14001
14002
14003 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14004 PyObject *resultobj;
14005 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14006 int arg2 ;
14007 bool arg3 ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj2 = 0 ;
14010 char *kwnames[] = {
14011 (char *) "self",(char *) "id",(char *) "toggle", NULL
14012 };
14013
14014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14016 arg3 = PyInt_AsLong(obj2) ? true : false;
14017 if (PyErr_Occurred()) SWIG_fail;
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 (arg1)->SetToggle(arg2,arg3);
14021
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 Py_INCREF(Py_None); resultobj = Py_None;
14026 return resultobj;
14027 fail:
14028 return NULL;
14029 }
14030
14031
14032 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14033 PyObject *resultobj;
14034 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14035 int arg2 ;
14036 PyObject *result;
14037 PyObject * obj0 = 0 ;
14038 char *kwnames[] = {
14039 (char *) "self",(char *) "id", NULL
14040 };
14041
14042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 resultobj = result;
14052 return resultobj;
14053 fail:
14054 return NULL;
14055 }
14056
14057
14058 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14059 PyObject *resultobj;
14060 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14061 int arg2 ;
14062 PyObject *arg3 = (PyObject *) 0 ;
14063 PyObject * obj0 = 0 ;
14064 PyObject * obj2 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self",(char *) "id",(char *) "clientData", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14071 arg3 = obj2;
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 Py_INCREF(Py_None); resultobj = Py_None;
14080 return resultobj;
14081 fail:
14082 return NULL;
14083 }
14084
14085
14086 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj;
14088 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14089 int arg2 ;
14090 int result;
14091 PyObject * obj0 = 0 ;
14092 char *kwnames[] = {
14093 (char *) "self",(char *) "id", NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14098 {
14099 PyThreadState* __tstate = wxPyBeginAllowThreads();
14100 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14101
14102 wxPyEndAllowThreads(__tstate);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 }
14105 resultobj = PyInt_FromLong((long)result);
14106 return resultobj;
14107 fail:
14108 return NULL;
14109 }
14110
14111
14112 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14113 PyObject *resultobj;
14114 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14115 int arg2 ;
14116 bool result;
14117 PyObject * obj0 = 0 ;
14118 char *kwnames[] = {
14119 (char *) "self",(char *) "id", NULL
14120 };
14121
14122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 result = (bool)(arg1)->GetToolState(arg2);
14127
14128 wxPyEndAllowThreads(__tstate);
14129 if (PyErr_Occurred()) SWIG_fail;
14130 }
14131 resultobj = PyInt_FromLong((long)result);
14132 return resultobj;
14133 fail:
14134 return NULL;
14135 }
14136
14137
14138 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14139 PyObject *resultobj;
14140 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14141 int arg2 ;
14142 bool result;
14143 PyObject * obj0 = 0 ;
14144 char *kwnames[] = {
14145 (char *) "self",(char *) "id", NULL
14146 };
14147
14148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 result = (bool)(arg1)->GetToolEnabled(arg2);
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 resultobj = PyInt_FromLong((long)result);
14158 return resultobj;
14159 fail:
14160 return NULL;
14161 }
14162
14163
14164 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14165 PyObject *resultobj;
14166 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14167 int arg2 ;
14168 wxString *arg3 = 0 ;
14169 bool temp3 = False ;
14170 PyObject * obj0 = 0 ;
14171 PyObject * obj2 = 0 ;
14172 char *kwnames[] = {
14173 (char *) "self",(char *) "id",(char *) "helpString", NULL
14174 };
14175
14176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14178 {
14179 arg3 = wxString_in_helper(obj2);
14180 if (arg3 == NULL) SWIG_fail;
14181 temp3 = True;
14182 }
14183 {
14184 PyThreadState* __tstate = wxPyBeginAllowThreads();
14185 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14186
14187 wxPyEndAllowThreads(__tstate);
14188 if (PyErr_Occurred()) SWIG_fail;
14189 }
14190 Py_INCREF(Py_None); resultobj = Py_None;
14191 {
14192 if (temp3)
14193 delete arg3;
14194 }
14195 return resultobj;
14196 fail:
14197 {
14198 if (temp3)
14199 delete arg3;
14200 }
14201 return NULL;
14202 }
14203
14204
14205 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14206 PyObject *resultobj;
14207 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14208 int arg2 ;
14209 wxString result;
14210 PyObject * obj0 = 0 ;
14211 char *kwnames[] = {
14212 (char *) "self",(char *) "id", NULL
14213 };
14214
14215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14217 {
14218 PyThreadState* __tstate = wxPyBeginAllowThreads();
14219 result = (arg1)->GetToolShortHelp(arg2);
14220
14221 wxPyEndAllowThreads(__tstate);
14222 if (PyErr_Occurred()) SWIG_fail;
14223 }
14224 {
14225 #if wxUSE_UNICODE
14226 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14227 #else
14228 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14229 #endif
14230 }
14231 return resultobj;
14232 fail:
14233 return NULL;
14234 }
14235
14236
14237 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14238 PyObject *resultobj;
14239 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14240 int arg2 ;
14241 wxString *arg3 = 0 ;
14242 bool temp3 = False ;
14243 PyObject * obj0 = 0 ;
14244 PyObject * obj2 = 0 ;
14245 char *kwnames[] = {
14246 (char *) "self",(char *) "id",(char *) "helpString", NULL
14247 };
14248
14249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14251 {
14252 arg3 = wxString_in_helper(obj2);
14253 if (arg3 == NULL) SWIG_fail;
14254 temp3 = True;
14255 }
14256 {
14257 PyThreadState* __tstate = wxPyBeginAllowThreads();
14258 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14259
14260 wxPyEndAllowThreads(__tstate);
14261 if (PyErr_Occurred()) SWIG_fail;
14262 }
14263 Py_INCREF(Py_None); resultobj = Py_None;
14264 {
14265 if (temp3)
14266 delete arg3;
14267 }
14268 return resultobj;
14269 fail:
14270 {
14271 if (temp3)
14272 delete arg3;
14273 }
14274 return NULL;
14275 }
14276
14277
14278 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14279 PyObject *resultobj;
14280 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14281 int arg2 ;
14282 wxString result;
14283 PyObject * obj0 = 0 ;
14284 char *kwnames[] = {
14285 (char *) "self",(char *) "id", NULL
14286 };
14287
14288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14290 {
14291 PyThreadState* __tstate = wxPyBeginAllowThreads();
14292 result = (arg1)->GetToolLongHelp(arg2);
14293
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 {
14298 #if wxUSE_UNICODE
14299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14300 #else
14301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14302 #endif
14303 }
14304 return resultobj;
14305 fail:
14306 return NULL;
14307 }
14308
14309
14310 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14311 PyObject *resultobj;
14312 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14313 int arg2 ;
14314 int arg3 ;
14315 PyObject * obj0 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "x",(char *) "y", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14322 {
14323 PyThreadState* __tstate = wxPyBeginAllowThreads();
14324 (arg1)->SetMargins(arg2,arg3);
14325
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 Py_INCREF(Py_None); resultobj = Py_None;
14330 return resultobj;
14331 fail:
14332 return NULL;
14333 }
14334
14335
14336 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj;
14338 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14339 wxSize *arg2 = 0 ;
14340 wxSize temp2 ;
14341 PyObject * obj0 = 0 ;
14342 PyObject * obj1 = 0 ;
14343 char *kwnames[] = {
14344 (char *) "self",(char *) "size", NULL
14345 };
14346
14347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14349 {
14350 arg2 = &temp2;
14351 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14352 }
14353 {
14354 PyThreadState* __tstate = wxPyBeginAllowThreads();
14355 (arg1)->SetMargins((wxSize const &)*arg2);
14356
14357 wxPyEndAllowThreads(__tstate);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 Py_INCREF(Py_None); resultobj = Py_None;
14361 return resultobj;
14362 fail:
14363 return NULL;
14364 }
14365
14366
14367 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14368 PyObject *resultobj;
14369 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14370 int arg2 ;
14371 PyObject * obj0 = 0 ;
14372 char *kwnames[] = {
14373 (char *) "self",(char *) "packing", NULL
14374 };
14375
14376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 (arg1)->SetToolPacking(arg2);
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 Py_INCREF(Py_None); resultobj = Py_None;
14386 return resultobj;
14387 fail:
14388 return NULL;
14389 }
14390
14391
14392 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14393 PyObject *resultobj;
14394 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14395 int arg2 ;
14396 PyObject * obj0 = 0 ;
14397 char *kwnames[] = {
14398 (char *) "self",(char *) "separation", NULL
14399 };
14400
14401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14403 {
14404 PyThreadState* __tstate = wxPyBeginAllowThreads();
14405 (arg1)->SetToolSeparation(arg2);
14406
14407 wxPyEndAllowThreads(__tstate);
14408 if (PyErr_Occurred()) SWIG_fail;
14409 }
14410 Py_INCREF(Py_None); resultobj = Py_None;
14411 return resultobj;
14412 fail:
14413 return NULL;
14414 }
14415
14416
14417 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14418 PyObject *resultobj;
14419 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14420 wxSize result;
14421 PyObject * obj0 = 0 ;
14422 char *kwnames[] = {
14423 (char *) "self", NULL
14424 };
14425
14426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14428 {
14429 PyThreadState* __tstate = wxPyBeginAllowThreads();
14430 result = (arg1)->GetToolMargins();
14431
14432 wxPyEndAllowThreads(__tstate);
14433 if (PyErr_Occurred()) SWIG_fail;
14434 }
14435 {
14436 wxSize * resultptr;
14437 resultptr = new wxSize((wxSize &) result);
14438 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14439 }
14440 return resultobj;
14441 fail:
14442 return NULL;
14443 }
14444
14445
14446 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14449 wxSize result;
14450 PyObject * obj0 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14457 {
14458 PyThreadState* __tstate = wxPyBeginAllowThreads();
14459 result = (arg1)->GetMargins();
14460
14461 wxPyEndAllowThreads(__tstate);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 {
14465 wxSize * resultptr;
14466 resultptr = new wxSize((wxSize &) result);
14467 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14468 }
14469 return resultobj;
14470 fail:
14471 return NULL;
14472 }
14473
14474
14475 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14476 PyObject *resultobj;
14477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14478 int result;
14479 PyObject * obj0 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "self", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14486 {
14487 PyThreadState* __tstate = wxPyBeginAllowThreads();
14488 result = (int)(arg1)->GetToolPacking();
14489
14490 wxPyEndAllowThreads(__tstate);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 }
14493 resultobj = PyInt_FromLong((long)result);
14494 return resultobj;
14495 fail:
14496 return NULL;
14497 }
14498
14499
14500 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14501 PyObject *resultobj;
14502 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14503 int result;
14504 PyObject * obj0 = 0 ;
14505 char *kwnames[] = {
14506 (char *) "self", NULL
14507 };
14508
14509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 result = (int)(arg1)->GetToolSeparation();
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 resultobj = PyInt_FromLong((long)result);
14519 return resultobj;
14520 fail:
14521 return NULL;
14522 }
14523
14524
14525 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14526 PyObject *resultobj;
14527 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14528 int arg2 ;
14529 PyObject * obj0 = 0 ;
14530 char *kwnames[] = {
14531 (char *) "self",(char *) "nRows", NULL
14532 };
14533
14534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14536 {
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 (arg1)->SetRows(arg2);
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 Py_INCREF(Py_None); resultobj = Py_None;
14544 return resultobj;
14545 fail:
14546 return NULL;
14547 }
14548
14549
14550 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14551 PyObject *resultobj;
14552 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14553 int arg2 ;
14554 int arg3 ;
14555 PyObject * obj0 = 0 ;
14556 char *kwnames[] = {
14557 (char *) "self",(char *) "rows",(char *) "cols", NULL
14558 };
14559
14560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 (arg1)->SetMaxRowsCols(arg2,arg3);
14565
14566 wxPyEndAllowThreads(__tstate);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 }
14569 Py_INCREF(Py_None); resultobj = Py_None;
14570 return resultobj;
14571 fail:
14572 return NULL;
14573 }
14574
14575
14576 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14577 PyObject *resultobj;
14578 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14579 int result;
14580 PyObject * obj0 = 0 ;
14581 char *kwnames[] = {
14582 (char *) "self", NULL
14583 };
14584
14585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 result = (int)(arg1)->GetMaxRows();
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
14594 resultobj = PyInt_FromLong((long)result);
14595 return resultobj;
14596 fail:
14597 return NULL;
14598 }
14599
14600
14601 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14602 PyObject *resultobj;
14603 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14604 int result;
14605 PyObject * obj0 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14612 {
14613 PyThreadState* __tstate = wxPyBeginAllowThreads();
14614 result = (int)(arg1)->GetMaxCols();
14615
14616 wxPyEndAllowThreads(__tstate);
14617 if (PyErr_Occurred()) SWIG_fail;
14618 }
14619 resultobj = PyInt_FromLong((long)result);
14620 return resultobj;
14621 fail:
14622 return NULL;
14623 }
14624
14625
14626 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14629 wxSize *arg2 = 0 ;
14630 wxSize temp2 ;
14631 PyObject * obj0 = 0 ;
14632 PyObject * obj1 = 0 ;
14633 char *kwnames[] = {
14634 (char *) "self",(char *) "size", NULL
14635 };
14636
14637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14639 {
14640 arg2 = &temp2;
14641 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14642 }
14643 {
14644 PyThreadState* __tstate = wxPyBeginAllowThreads();
14645 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14646
14647 wxPyEndAllowThreads(__tstate);
14648 if (PyErr_Occurred()) SWIG_fail;
14649 }
14650 Py_INCREF(Py_None); resultobj = Py_None;
14651 return resultobj;
14652 fail:
14653 return NULL;
14654 }
14655
14656
14657 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj;
14659 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14660 wxSize result;
14661 PyObject * obj0 = 0 ;
14662 char *kwnames[] = {
14663 (char *) "self", NULL
14664 };
14665
14666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 result = (arg1)->GetToolBitmapSize();
14671
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 {
14676 wxSize * resultptr;
14677 resultptr = new wxSize((wxSize &) result);
14678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14679 }
14680 return resultobj;
14681 fail:
14682 return NULL;
14683 }
14684
14685
14686 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14687 PyObject *resultobj;
14688 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14689 wxSize result;
14690 PyObject * obj0 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 result = (arg1)->GetToolSize();
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 {
14705 wxSize * resultptr;
14706 resultptr = new wxSize((wxSize &) result);
14707 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14708 }
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14716 PyObject *resultobj;
14717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14718 int arg2 ;
14719 int arg3 ;
14720 wxToolBarToolBase *result;
14721 PyObject * obj0 = 0 ;
14722 char *kwnames[] = {
14723 (char *) "self",(char *) "x",(char *) "y", NULL
14724 };
14725
14726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 {
14736 resultobj = wxPyMake_wxObject(result);
14737 }
14738 return resultobj;
14739 fail:
14740 return NULL;
14741 }
14742
14743
14744 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14745 PyObject *resultobj;
14746 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14747 bool result;
14748 PyObject * obj0 = 0 ;
14749 char *kwnames[] = {
14750 (char *) "self", NULL
14751 };
14752
14753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14755 {
14756 PyThreadState* __tstate = wxPyBeginAllowThreads();
14757 result = (bool)(arg1)->IsVertical();
14758
14759 wxPyEndAllowThreads(__tstate);
14760 if (PyErr_Occurred()) SWIG_fail;
14761 }
14762 resultobj = PyInt_FromLong((long)result);
14763 return resultobj;
14764 fail:
14765 return NULL;
14766 }
14767
14768
14769 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14770 PyObject *obj;
14771 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14772 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14773 Py_INCREF(obj);
14774 return Py_BuildValue((char *)"");
14775 }
14776 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxWindow *arg1 = (wxWindow *) 0 ;
14779 int arg2 ;
14780 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14781 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14782 wxSize const &arg4_defvalue = wxDefaultSize ;
14783 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14784 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14785 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14786 wxString *arg6 = (wxString *) &arg6_defvalue ;
14787 wxToolBar *result;
14788 wxPoint temp3 ;
14789 wxSize temp4 ;
14790 bool temp6 = False ;
14791 PyObject * obj0 = 0 ;
14792 PyObject * obj2 = 0 ;
14793 PyObject * obj3 = 0 ;
14794 PyObject * obj5 = 0 ;
14795 char *kwnames[] = {
14796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14797 };
14798
14799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14801 if (obj2) {
14802 {
14803 arg3 = &temp3;
14804 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14805 }
14806 }
14807 if (obj3) {
14808 {
14809 arg4 = &temp4;
14810 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14811 }
14812 }
14813 if (obj5) {
14814 {
14815 arg6 = wxString_in_helper(obj5);
14816 if (arg6 == NULL) SWIG_fail;
14817 temp6 = True;
14818 }
14819 }
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 {
14828 resultobj = wxPyMake_wxObject(result);
14829 }
14830 {
14831 if (temp6)
14832 delete arg6;
14833 }
14834 return resultobj;
14835 fail:
14836 {
14837 if (temp6)
14838 delete arg6;
14839 }
14840 return NULL;
14841 }
14842
14843
14844 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14845 PyObject *resultobj;
14846 wxToolBar *result;
14847 char *kwnames[] = {
14848 NULL
14849 };
14850
14851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 result = (wxToolBar *)new wxToolBar();
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 {
14860 resultobj = wxPyMake_wxObject(result);
14861 }
14862 return resultobj;
14863 fail:
14864 return NULL;
14865 }
14866
14867
14868 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxToolBar *arg1 = (wxToolBar *) 0 ;
14871 wxWindow *arg2 = (wxWindow *) 0 ;
14872 int arg3 ;
14873 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14874 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14875 wxSize const &arg5_defvalue = wxDefaultSize ;
14876 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14877 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14878 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14879 wxString *arg7 = (wxString *) &arg7_defvalue ;
14880 bool result;
14881 wxPoint temp4 ;
14882 wxSize temp5 ;
14883 bool temp7 = False ;
14884 PyObject * obj0 = 0 ;
14885 PyObject * obj1 = 0 ;
14886 PyObject * obj3 = 0 ;
14887 PyObject * obj4 = 0 ;
14888 PyObject * obj6 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14896 if (obj3) {
14897 {
14898 arg4 = &temp4;
14899 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14900 }
14901 }
14902 if (obj4) {
14903 {
14904 arg5 = &temp5;
14905 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14906 }
14907 }
14908 if (obj6) {
14909 {
14910 arg7 = wxString_in_helper(obj6);
14911 if (arg7 == NULL) SWIG_fail;
14912 temp7 = True;
14913 }
14914 }
14915 {
14916 PyThreadState* __tstate = wxPyBeginAllowThreads();
14917 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14918
14919 wxPyEndAllowThreads(__tstate);
14920 if (PyErr_Occurred()) SWIG_fail;
14921 }
14922 resultobj = PyInt_FromLong((long)result);
14923 {
14924 if (temp7)
14925 delete arg7;
14926 }
14927 return resultobj;
14928 fail:
14929 {
14930 if (temp7)
14931 delete arg7;
14932 }
14933 return NULL;
14934 }
14935
14936
14937 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14938 PyObject *resultobj;
14939 wxToolBar *arg1 = (wxToolBar *) 0 ;
14940 int arg2 ;
14941 int arg3 ;
14942 wxToolBarToolBase *result;
14943 PyObject * obj0 = 0 ;
14944 char *kwnames[] = {
14945 (char *) "self",(char *) "x",(char *) "y", NULL
14946 };
14947
14948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14953
14954 wxPyEndAllowThreads(__tstate);
14955 if (PyErr_Occurred()) SWIG_fail;
14956 }
14957 {
14958 resultobj = wxPyMake_wxObject(result);
14959 }
14960 return resultobj;
14961 fail:
14962 return NULL;
14963 }
14964
14965
14966 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14967 PyObject *obj;
14968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14969 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14970 Py_INCREF(obj);
14971 return Py_BuildValue((char *)"");
14972 }
14973 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14974 PyObject *resultobj;
14975 wxColour const &arg1_defvalue = wxNullColour ;
14976 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14977 wxColour const &arg2_defvalue = wxNullColour ;
14978 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14979 wxFont const &arg3_defvalue = wxNullFont ;
14980 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14981 wxListItemAttr *result;
14982 wxColour temp1 ;
14983 wxColour temp2 ;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 PyObject * obj2 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14992 if (obj0) {
14993 {
14994 arg1 = &temp1;
14995 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14996 }
14997 }
14998 if (obj1) {
14999 {
15000 arg2 = &temp2;
15001 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15002 }
15003 }
15004 if (obj2) {
15005 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15006 if (arg3 == NULL) {
15007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15008 }
15009 }
15010 {
15011 PyThreadState* __tstate = wxPyBeginAllowThreads();
15012 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15013
15014 wxPyEndAllowThreads(__tstate);
15015 if (PyErr_Occurred()) SWIG_fail;
15016 }
15017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj;
15026 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15027 wxColour *arg2 = 0 ;
15028 wxColour temp2 ;
15029 PyObject * obj0 = 0 ;
15030 PyObject * obj1 = 0 ;
15031 char *kwnames[] = {
15032 (char *) "self",(char *) "colText", NULL
15033 };
15034
15035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15037 {
15038 arg2 = &temp2;
15039 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15040 }
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->SetTextColour((wxColour const &)*arg2);
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 Py_INCREF(Py_None); resultobj = Py_None;
15049 return resultobj;
15050 fail:
15051 return NULL;
15052 }
15053
15054
15055 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15058 wxColour *arg2 = 0 ;
15059 wxColour temp2 ;
15060 PyObject * obj0 = 0 ;
15061 PyObject * obj1 = 0 ;
15062 char *kwnames[] = {
15063 (char *) "self",(char *) "colBack", NULL
15064 };
15065
15066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15068 {
15069 arg2 = &temp2;
15070 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15071 }
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 Py_INCREF(Py_None); resultobj = Py_None;
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15087 PyObject *resultobj;
15088 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15089 wxFont *arg2 = 0 ;
15090 PyObject * obj0 = 0 ;
15091 PyObject * obj1 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self",(char *) "font", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15099 if (arg2 == NULL) {
15100 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15101 }
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 (arg1)->SetFont((wxFont const &)*arg2);
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 Py_INCREF(Py_None); resultobj = Py_None;
15110 return resultobj;
15111 fail:
15112 return NULL;
15113 }
15114
15115
15116 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15117 PyObject *resultobj;
15118 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15119 bool result;
15120 PyObject * obj0 = 0 ;
15121 char *kwnames[] = {
15122 (char *) "self", NULL
15123 };
15124
15125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 result = (bool)(arg1)->HasTextColour();
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 resultobj = PyInt_FromLong((long)result);
15135 return resultobj;
15136 fail:
15137 return NULL;
15138 }
15139
15140
15141 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15144 bool result;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 result = (bool)(arg1)->HasBackgroundColour();
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 resultobj = PyInt_FromLong((long)result);
15160 return resultobj;
15161 fail:
15162 return NULL;
15163 }
15164
15165
15166 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj;
15168 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15169 bool result;
15170 PyObject * obj0 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15177 {
15178 PyThreadState* __tstate = wxPyBeginAllowThreads();
15179 result = (bool)(arg1)->HasFont();
15180
15181 wxPyEndAllowThreads(__tstate);
15182 if (PyErr_Occurred()) SWIG_fail;
15183 }
15184 resultobj = PyInt_FromLong((long)result);
15185 return resultobj;
15186 fail:
15187 return NULL;
15188 }
15189
15190
15191 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15192 PyObject *resultobj;
15193 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15194 wxColour result;
15195 PyObject * obj0 = 0 ;
15196 char *kwnames[] = {
15197 (char *) "self", NULL
15198 };
15199
15200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15202 {
15203 PyThreadState* __tstate = wxPyBeginAllowThreads();
15204 result = (arg1)->GetTextColour();
15205
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 {
15210 wxColour * resultptr;
15211 resultptr = new wxColour((wxColour &) result);
15212 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15213 }
15214 return resultobj;
15215 fail:
15216 return NULL;
15217 }
15218
15219
15220 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj;
15222 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15223 wxColour result;
15224 PyObject * obj0 = 0 ;
15225 char *kwnames[] = {
15226 (char *) "self", NULL
15227 };
15228
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (arg1)->GetBackgroundColour();
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 {
15239 wxColour * resultptr;
15240 resultptr = new wxColour((wxColour &) result);
15241 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15242 }
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15252 wxFont result;
15253 PyObject * obj0 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15260 {
15261 PyThreadState* __tstate = wxPyBeginAllowThreads();
15262 result = (arg1)->GetFont();
15263
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 {
15268 wxFont * resultptr;
15269 resultptr = new wxFont((wxFont &) result);
15270 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15271 }
15272 return resultobj;
15273 fail:
15274 return NULL;
15275 }
15276
15277
15278 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj;
15280 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15281 PyObject * obj0 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15288 {
15289 PyThreadState* __tstate = wxPyBeginAllowThreads();
15290 wxListItemAttr_Destroy(arg1);
15291
15292 wxPyEndAllowThreads(__tstate);
15293 if (PyErr_Occurred()) SWIG_fail;
15294 }
15295 Py_INCREF(Py_None); resultobj = Py_None;
15296 return resultobj;
15297 fail:
15298 return NULL;
15299 }
15300
15301
15302 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15303 PyObject *obj;
15304 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15305 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15306 Py_INCREF(obj);
15307 return Py_BuildValue((char *)"");
15308 }
15309 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj;
15311 wxListItem *result;
15312 char *kwnames[] = {
15313 NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (wxListItem *)new wxListItem();
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 {
15325 resultobj = wxPyMake_wxObject(result);
15326 }
15327 return resultobj;
15328 fail:
15329 return NULL;
15330 }
15331
15332
15333 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15334 PyObject *resultobj;
15335 wxListItem *arg1 = (wxListItem *) 0 ;
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15343 {
15344 PyThreadState* __tstate = wxPyBeginAllowThreads();
15345 delete arg1;
15346
15347 wxPyEndAllowThreads(__tstate);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 Py_INCREF(Py_None); resultobj = Py_None;
15351 return resultobj;
15352 fail:
15353 return NULL;
15354 }
15355
15356
15357 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15358 PyObject *resultobj;
15359 wxListItem *arg1 = (wxListItem *) 0 ;
15360 PyObject * obj0 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 (arg1)->Clear();
15370
15371 wxPyEndAllowThreads(__tstate);
15372 if (PyErr_Occurred()) SWIG_fail;
15373 }
15374 Py_INCREF(Py_None); resultobj = Py_None;
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxListItem *arg1 = (wxListItem *) 0 ;
15384 PyObject * obj0 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 (arg1)->ClearAttributes();
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 Py_INCREF(Py_None); resultobj = Py_None;
15399 return resultobj;
15400 fail:
15401 return NULL;
15402 }
15403
15404
15405 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15406 PyObject *resultobj;
15407 wxListItem *arg1 = (wxListItem *) 0 ;
15408 long arg2 ;
15409 PyObject * obj0 = 0 ;
15410 char *kwnames[] = {
15411 (char *) "self",(char *) "mask", NULL
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 (arg1)->SetMask(arg2);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 Py_INCREF(Py_None); resultobj = Py_None;
15424 return resultobj;
15425 fail:
15426 return NULL;
15427 }
15428
15429
15430 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxListItem *arg1 = (wxListItem *) 0 ;
15433 long arg2 ;
15434 PyObject * obj0 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self",(char *) "id", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 (arg1)->SetId(arg2);
15444
15445 wxPyEndAllowThreads(__tstate);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 Py_INCREF(Py_None); resultobj = Py_None;
15449 return resultobj;
15450 fail:
15451 return NULL;
15452 }
15453
15454
15455 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj;
15457 wxListItem *arg1 = (wxListItem *) 0 ;
15458 int arg2 ;
15459 PyObject * obj0 = 0 ;
15460 char *kwnames[] = {
15461 (char *) "self",(char *) "col", NULL
15462 };
15463
15464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15466 {
15467 PyThreadState* __tstate = wxPyBeginAllowThreads();
15468 (arg1)->SetColumn(arg2);
15469
15470 wxPyEndAllowThreads(__tstate);
15471 if (PyErr_Occurred()) SWIG_fail;
15472 }
15473 Py_INCREF(Py_None); resultobj = Py_None;
15474 return resultobj;
15475 fail:
15476 return NULL;
15477 }
15478
15479
15480 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 wxListItem *arg1 = (wxListItem *) 0 ;
15483 long arg2 ;
15484 PyObject * obj0 = 0 ;
15485 char *kwnames[] = {
15486 (char *) "self",(char *) "state", NULL
15487 };
15488
15489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15491 {
15492 PyThreadState* __tstate = wxPyBeginAllowThreads();
15493 (arg1)->SetState(arg2);
15494
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 Py_INCREF(Py_None); resultobj = Py_None;
15499 return resultobj;
15500 fail:
15501 return NULL;
15502 }
15503
15504
15505 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxListItem *arg1 = (wxListItem *) 0 ;
15508 long arg2 ;
15509 PyObject * obj0 = 0 ;
15510 char *kwnames[] = {
15511 (char *) "self",(char *) "stateMask", NULL
15512 };
15513
15514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
15518 (arg1)->SetStateMask(arg2);
15519
15520 wxPyEndAllowThreads(__tstate);
15521 if (PyErr_Occurred()) SWIG_fail;
15522 }
15523 Py_INCREF(Py_None); resultobj = Py_None;
15524 return resultobj;
15525 fail:
15526 return NULL;
15527 }
15528
15529
15530 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15531 PyObject *resultobj;
15532 wxListItem *arg1 = (wxListItem *) 0 ;
15533 wxString *arg2 = 0 ;
15534 bool temp2 = False ;
15535 PyObject * obj0 = 0 ;
15536 PyObject * obj1 = 0 ;
15537 char *kwnames[] = {
15538 (char *) "self",(char *) "text", NULL
15539 };
15540
15541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15543 {
15544 arg2 = wxString_in_helper(obj1);
15545 if (arg2 == NULL) SWIG_fail;
15546 temp2 = True;
15547 }
15548 {
15549 PyThreadState* __tstate = wxPyBeginAllowThreads();
15550 (arg1)->SetText((wxString const &)*arg2);
15551
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 Py_INCREF(Py_None); resultobj = Py_None;
15556 {
15557 if (temp2)
15558 delete arg2;
15559 }
15560 return resultobj;
15561 fail:
15562 {
15563 if (temp2)
15564 delete arg2;
15565 }
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxListItem *arg1 = (wxListItem *) 0 ;
15573 int arg2 ;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self",(char *) "image", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 (arg1)->SetImage(arg2);
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 Py_INCREF(Py_None); resultobj = Py_None;
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxListItem *arg1 = (wxListItem *) 0 ;
15598 long arg2 ;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self",(char *) "data", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15606 {
15607 PyThreadState* __tstate = wxPyBeginAllowThreads();
15608 (arg1)->SetData(arg2);
15609
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 Py_INCREF(Py_None); resultobj = Py_None;
15614 return resultobj;
15615 fail:
15616 return NULL;
15617 }
15618
15619
15620 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxListItem *arg1 = (wxListItem *) 0 ;
15623 int arg2 ;
15624 PyObject * obj0 = 0 ;
15625 char *kwnames[] = {
15626 (char *) "self",(char *) "width", NULL
15627 };
15628
15629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 (arg1)->SetWidth(arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 Py_INCREF(Py_None); resultobj = Py_None;
15639 return resultobj;
15640 fail:
15641 return NULL;
15642 }
15643
15644
15645 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15646 PyObject *resultobj;
15647 wxListItem *arg1 = (wxListItem *) 0 ;
15648 int arg2 ;
15649 PyObject * obj0 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self",(char *) "align", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 (arg1)->SetAlign((wxListColumnFormat )arg2);
15659
15660 wxPyEndAllowThreads(__tstate);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 Py_INCREF(Py_None); resultobj = Py_None;
15664 return resultobj;
15665 fail:
15666 return NULL;
15667 }
15668
15669
15670 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj;
15672 wxListItem *arg1 = (wxListItem *) 0 ;
15673 wxColour *arg2 = 0 ;
15674 wxColour temp2 ;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 char *kwnames[] = {
15678 (char *) "self",(char *) "colText", NULL
15679 };
15680
15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15683 {
15684 arg2 = &temp2;
15685 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15686 }
15687 {
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 (arg1)->SetTextColour((wxColour const &)*arg2);
15690
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 Py_INCREF(Py_None); resultobj = Py_None;
15695 return resultobj;
15696 fail:
15697 return NULL;
15698 }
15699
15700
15701 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj;
15703 wxListItem *arg1 = (wxListItem *) 0 ;
15704 wxColour *arg2 = 0 ;
15705 wxColour temp2 ;
15706 PyObject * obj0 = 0 ;
15707 PyObject * obj1 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "self",(char *) "colBack", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15714 {
15715 arg2 = &temp2;
15716 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15717 }
15718 {
15719 PyThreadState* __tstate = wxPyBeginAllowThreads();
15720 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15721
15722 wxPyEndAllowThreads(__tstate);
15723 if (PyErr_Occurred()) SWIG_fail;
15724 }
15725 Py_INCREF(Py_None); resultobj = Py_None;
15726 return resultobj;
15727 fail:
15728 return NULL;
15729 }
15730
15731
15732 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15733 PyObject *resultobj;
15734 wxListItem *arg1 = (wxListItem *) 0 ;
15735 wxFont *arg2 = 0 ;
15736 PyObject * obj0 = 0 ;
15737 PyObject * obj1 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self",(char *) "font", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15745 if (arg2 == NULL) {
15746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15747 }
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 (arg1)->SetFont((wxFont const &)*arg2);
15751
15752 wxPyEndAllowThreads(__tstate);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 Py_INCREF(Py_None); resultobj = Py_None;
15756 return resultobj;
15757 fail:
15758 return NULL;
15759 }
15760
15761
15762 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj;
15764 wxListItem *arg1 = (wxListItem *) 0 ;
15765 long result;
15766 PyObject * obj0 = 0 ;
15767 char *kwnames[] = {
15768 (char *) "self", NULL
15769 };
15770
15771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = (long)(arg1)->GetMask();
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 resultobj = PyInt_FromLong((long)result);
15781 return resultobj;
15782 fail:
15783 return NULL;
15784 }
15785
15786
15787 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15788 PyObject *resultobj;
15789 wxListItem *arg1 = (wxListItem *) 0 ;
15790 long result;
15791 PyObject * obj0 = 0 ;
15792 char *kwnames[] = {
15793 (char *) "self", NULL
15794 };
15795
15796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15798 {
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 result = (long)(arg1)->GetId();
15801
15802 wxPyEndAllowThreads(__tstate);
15803 if (PyErr_Occurred()) SWIG_fail;
15804 }
15805 resultobj = PyInt_FromLong((long)result);
15806 return resultobj;
15807 fail:
15808 return NULL;
15809 }
15810
15811
15812 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15813 PyObject *resultobj;
15814 wxListItem *arg1 = (wxListItem *) 0 ;
15815 int result;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "self", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15823 {
15824 PyThreadState* __tstate = wxPyBeginAllowThreads();
15825 result = (int)(arg1)->GetColumn();
15826
15827 wxPyEndAllowThreads(__tstate);
15828 if (PyErr_Occurred()) SWIG_fail;
15829 }
15830 resultobj = PyInt_FromLong((long)result);
15831 return resultobj;
15832 fail:
15833 return NULL;
15834 }
15835
15836
15837 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15838 PyObject *resultobj;
15839 wxListItem *arg1 = (wxListItem *) 0 ;
15840 long result;
15841 PyObject * obj0 = 0 ;
15842 char *kwnames[] = {
15843 (char *) "self", NULL
15844 };
15845
15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15848 {
15849 PyThreadState* __tstate = wxPyBeginAllowThreads();
15850 result = (long)(arg1)->GetState();
15851
15852 wxPyEndAllowThreads(__tstate);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 resultobj = PyInt_FromLong((long)result);
15856 return resultobj;
15857 fail:
15858 return NULL;
15859 }
15860
15861
15862 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15863 PyObject *resultobj;
15864 wxListItem *arg1 = (wxListItem *) 0 ;
15865 wxString *result;
15866 PyObject * obj0 = 0 ;
15867 char *kwnames[] = {
15868 (char *) "self", NULL
15869 };
15870
15871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15873 {
15874 PyThreadState* __tstate = wxPyBeginAllowThreads();
15875 {
15876 wxString const &_result_ref = (arg1)->GetText();
15877 result = (wxString *) &_result_ref;
15878 }
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 {
15884 #if wxUSE_UNICODE
15885 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15886 #else
15887 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15888 #endif
15889 }
15890 return resultobj;
15891 fail:
15892 return NULL;
15893 }
15894
15895
15896 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15897 PyObject *resultobj;
15898 wxListItem *arg1 = (wxListItem *) 0 ;
15899 int result;
15900 PyObject * obj0 = 0 ;
15901 char *kwnames[] = {
15902 (char *) "self", NULL
15903 };
15904
15905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15907 {
15908 PyThreadState* __tstate = wxPyBeginAllowThreads();
15909 result = (int)(arg1)->GetImage();
15910
15911 wxPyEndAllowThreads(__tstate);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 }
15914 resultobj = PyInt_FromLong((long)result);
15915 return resultobj;
15916 fail:
15917 return NULL;
15918 }
15919
15920
15921 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15922 PyObject *resultobj;
15923 wxListItem *arg1 = (wxListItem *) 0 ;
15924 long result;
15925 PyObject * obj0 = 0 ;
15926 char *kwnames[] = {
15927 (char *) "self", NULL
15928 };
15929
15930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15932 {
15933 PyThreadState* __tstate = wxPyBeginAllowThreads();
15934 result = (long)(arg1)->GetData();
15935
15936 wxPyEndAllowThreads(__tstate);
15937 if (PyErr_Occurred()) SWIG_fail;
15938 }
15939 resultobj = PyInt_FromLong((long)result);
15940 return resultobj;
15941 fail:
15942 return NULL;
15943 }
15944
15945
15946 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15947 PyObject *resultobj;
15948 wxListItem *arg1 = (wxListItem *) 0 ;
15949 int result;
15950 PyObject * obj0 = 0 ;
15951 char *kwnames[] = {
15952 (char *) "self", NULL
15953 };
15954
15955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 result = (int)(arg1)->GetWidth();
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 resultobj = PyInt_FromLong((long)result);
15965 return resultobj;
15966 fail:
15967 return NULL;
15968 }
15969
15970
15971 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxListItem *arg1 = (wxListItem *) 0 ;
15974 int result;
15975 PyObject * obj0 = 0 ;
15976 char *kwnames[] = {
15977 (char *) "self", NULL
15978 };
15979
15980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15982 {
15983 PyThreadState* __tstate = wxPyBeginAllowThreads();
15984 result = (int)(arg1)->GetAlign();
15985
15986 wxPyEndAllowThreads(__tstate);
15987 if (PyErr_Occurred()) SWIG_fail;
15988 }
15989 resultobj = PyInt_FromLong((long)result);
15990 return resultobj;
15991 fail:
15992 return NULL;
15993 }
15994
15995
15996 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj;
15998 wxListItem *arg1 = (wxListItem *) 0 ;
15999 wxListItemAttr *result;
16000 PyObject * obj0 = 0 ;
16001 char *kwnames[] = {
16002 (char *) "self", NULL
16003 };
16004
16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 result = (wxListItemAttr *)(arg1)->GetAttributes();
16010
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16015 return resultobj;
16016 fail:
16017 return NULL;
16018 }
16019
16020
16021 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16022 PyObject *resultobj;
16023 wxListItem *arg1 = (wxListItem *) 0 ;
16024 bool result;
16025 PyObject * obj0 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16032 {
16033 PyThreadState* __tstate = wxPyBeginAllowThreads();
16034 result = (bool)(arg1)->HasAttributes();
16035
16036 wxPyEndAllowThreads(__tstate);
16037 if (PyErr_Occurred()) SWIG_fail;
16038 }
16039 resultobj = PyInt_FromLong((long)result);
16040 return resultobj;
16041 fail:
16042 return NULL;
16043 }
16044
16045
16046 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxListItem *arg1 = (wxListItem *) 0 ;
16049 wxColour result;
16050 PyObject * obj0 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16057 {
16058 PyThreadState* __tstate = wxPyBeginAllowThreads();
16059 result = ((wxListItem const *)arg1)->GetTextColour();
16060
16061 wxPyEndAllowThreads(__tstate);
16062 if (PyErr_Occurred()) SWIG_fail;
16063 }
16064 {
16065 wxColour * resultptr;
16066 resultptr = new wxColour((wxColour &) result);
16067 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16068 }
16069 return resultobj;
16070 fail:
16071 return NULL;
16072 }
16073
16074
16075 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxListItem *arg1 = (wxListItem *) 0 ;
16078 wxColour result;
16079 PyObject * obj0 = 0 ;
16080 char *kwnames[] = {
16081 (char *) "self", NULL
16082 };
16083
16084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16089
16090 wxPyEndAllowThreads(__tstate);
16091 if (PyErr_Occurred()) SWIG_fail;
16092 }
16093 {
16094 wxColour * resultptr;
16095 resultptr = new wxColour((wxColour &) result);
16096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16097 }
16098 return resultobj;
16099 fail:
16100 return NULL;
16101 }
16102
16103
16104 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16105 PyObject *resultobj;
16106 wxListItem *arg1 = (wxListItem *) 0 ;
16107 wxFont result;
16108 PyObject * obj0 = 0 ;
16109 char *kwnames[] = {
16110 (char *) "self", NULL
16111 };
16112
16113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = ((wxListItem const *)arg1)->GetFont();
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 {
16123 wxFont * resultptr;
16124 resultptr = new wxFont((wxFont &) result);
16125 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16126 }
16127 return resultobj;
16128 fail:
16129 return NULL;
16130 }
16131
16132
16133 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16134 PyObject *resultobj;
16135 wxListItem *arg1 = (wxListItem *) 0 ;
16136 long arg2 ;
16137 PyObject * obj0 = 0 ;
16138 char *kwnames[] = {
16139 (char *) "self",(char *) "m_mask", NULL
16140 };
16141
16142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16144 if (arg1) (arg1)->m_mask = arg2;
16145
16146 Py_INCREF(Py_None); resultobj = Py_None;
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxListItem *arg1 = (wxListItem *) 0 ;
16156 long result;
16157 PyObject * obj0 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16164 result = (long) ((arg1)->m_mask);
16165
16166 resultobj = PyInt_FromLong((long)result);
16167 return resultobj;
16168 fail:
16169 return NULL;
16170 }
16171
16172
16173 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxListItem *arg1 = (wxListItem *) 0 ;
16176 long arg2 ;
16177 PyObject * obj0 = 0 ;
16178 char *kwnames[] = {
16179 (char *) "self",(char *) "m_itemId", NULL
16180 };
16181
16182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16184 if (arg1) (arg1)->m_itemId = arg2;
16185
16186 Py_INCREF(Py_None); resultobj = Py_None;
16187 return resultobj;
16188 fail:
16189 return NULL;
16190 }
16191
16192
16193 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16194 PyObject *resultobj;
16195 wxListItem *arg1 = (wxListItem *) 0 ;
16196 long result;
16197 PyObject * obj0 = 0 ;
16198 char *kwnames[] = {
16199 (char *) "self", NULL
16200 };
16201
16202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16204 result = (long) ((arg1)->m_itemId);
16205
16206 resultobj = PyInt_FromLong((long)result);
16207 return resultobj;
16208 fail:
16209 return NULL;
16210 }
16211
16212
16213 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16214 PyObject *resultobj;
16215 wxListItem *arg1 = (wxListItem *) 0 ;
16216 int arg2 ;
16217 PyObject * obj0 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "self",(char *) "m_col", NULL
16220 };
16221
16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16224 if (arg1) (arg1)->m_col = arg2;
16225
16226 Py_INCREF(Py_None); resultobj = Py_None;
16227 return resultobj;
16228 fail:
16229 return NULL;
16230 }
16231
16232
16233 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16234 PyObject *resultobj;
16235 wxListItem *arg1 = (wxListItem *) 0 ;
16236 int result;
16237 PyObject * obj0 = 0 ;
16238 char *kwnames[] = {
16239 (char *) "self", NULL
16240 };
16241
16242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16244 result = (int) ((arg1)->m_col);
16245
16246 resultobj = PyInt_FromLong((long)result);
16247 return resultobj;
16248 fail:
16249 return NULL;
16250 }
16251
16252
16253 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16254 PyObject *resultobj;
16255 wxListItem *arg1 = (wxListItem *) 0 ;
16256 long arg2 ;
16257 PyObject * obj0 = 0 ;
16258 char *kwnames[] = {
16259 (char *) "self",(char *) "m_state", NULL
16260 };
16261
16262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16264 if (arg1) (arg1)->m_state = arg2;
16265
16266 Py_INCREF(Py_None); resultobj = Py_None;
16267 return resultobj;
16268 fail:
16269 return NULL;
16270 }
16271
16272
16273 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16274 PyObject *resultobj;
16275 wxListItem *arg1 = (wxListItem *) 0 ;
16276 long result;
16277 PyObject * obj0 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16284 result = (long) ((arg1)->m_state);
16285
16286 resultobj = PyInt_FromLong((long)result);
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxListItem *arg1 = (wxListItem *) 0 ;
16296 long arg2 ;
16297 PyObject * obj0 = 0 ;
16298 char *kwnames[] = {
16299 (char *) "self",(char *) "m_stateMask", NULL
16300 };
16301
16302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16304 if (arg1) (arg1)->m_stateMask = arg2;
16305
16306 Py_INCREF(Py_None); resultobj = Py_None;
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxListItem *arg1 = (wxListItem *) 0 ;
16316 long result;
16317 PyObject * obj0 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16324 result = (long) ((arg1)->m_stateMask);
16325
16326 resultobj = PyInt_FromLong((long)result);
16327 return resultobj;
16328 fail:
16329 return NULL;
16330 }
16331
16332
16333 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxListItem *arg1 = (wxListItem *) 0 ;
16336 wxString arg2 ;
16337 PyObject * obj0 = 0 ;
16338 PyObject * obj1 = 0 ;
16339 char *kwnames[] = {
16340 (char *) "self",(char *) "m_text", NULL
16341 };
16342
16343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16345 {
16346 wxString* sptr = wxString_in_helper(obj1);
16347 if (sptr == NULL) SWIG_fail;
16348 arg2 = *sptr;
16349 delete sptr;
16350 }
16351 if (arg1) (arg1)->m_text = arg2;
16352
16353 Py_INCREF(Py_None); resultobj = Py_None;
16354 return resultobj;
16355 fail:
16356 return NULL;
16357 }
16358
16359
16360 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxListItem *arg1 = (wxListItem *) 0 ;
16363 wxString result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16371 result = ((arg1)->m_text);
16372
16373 {
16374 #if wxUSE_UNICODE
16375 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16376 #else
16377 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16378 #endif
16379 }
16380 return resultobj;
16381 fail:
16382 return NULL;
16383 }
16384
16385
16386 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj;
16388 wxListItem *arg1 = (wxListItem *) 0 ;
16389 int arg2 ;
16390 PyObject * obj0 = 0 ;
16391 char *kwnames[] = {
16392 (char *) "self",(char *) "m_image", NULL
16393 };
16394
16395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16397 if (arg1) (arg1)->m_image = arg2;
16398
16399 Py_INCREF(Py_None); resultobj = Py_None;
16400 return resultobj;
16401 fail:
16402 return NULL;
16403 }
16404
16405
16406 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16407 PyObject *resultobj;
16408 wxListItem *arg1 = (wxListItem *) 0 ;
16409 int result;
16410 PyObject * obj0 = 0 ;
16411 char *kwnames[] = {
16412 (char *) "self", NULL
16413 };
16414
16415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16417 result = (int) ((arg1)->m_image);
16418
16419 resultobj = PyInt_FromLong((long)result);
16420 return resultobj;
16421 fail:
16422 return NULL;
16423 }
16424
16425
16426 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16427 PyObject *resultobj;
16428 wxListItem *arg1 = (wxListItem *) 0 ;
16429 long arg2 ;
16430 PyObject * obj0 = 0 ;
16431 char *kwnames[] = {
16432 (char *) "self",(char *) "m_data", NULL
16433 };
16434
16435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16437 if (arg1) (arg1)->m_data = arg2;
16438
16439 Py_INCREF(Py_None); resultobj = Py_None;
16440 return resultobj;
16441 fail:
16442 return NULL;
16443 }
16444
16445
16446 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16447 PyObject *resultobj;
16448 wxListItem *arg1 = (wxListItem *) 0 ;
16449 long result;
16450 PyObject * obj0 = 0 ;
16451 char *kwnames[] = {
16452 (char *) "self", NULL
16453 };
16454
16455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16457 result = (long) ((arg1)->m_data);
16458
16459 resultobj = PyInt_FromLong((long)result);
16460 return resultobj;
16461 fail:
16462 return NULL;
16463 }
16464
16465
16466 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 wxListItem *arg1 = (wxListItem *) 0 ;
16469 int arg2 ;
16470 PyObject * obj0 = 0 ;
16471 char *kwnames[] = {
16472 (char *) "self",(char *) "m_format", NULL
16473 };
16474
16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16477 if (arg1) (arg1)->m_format = arg2;
16478
16479 Py_INCREF(Py_None); resultobj = Py_None;
16480 return resultobj;
16481 fail:
16482 return NULL;
16483 }
16484
16485
16486 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj;
16488 wxListItem *arg1 = (wxListItem *) 0 ;
16489 int result;
16490 PyObject * obj0 = 0 ;
16491 char *kwnames[] = {
16492 (char *) "self", NULL
16493 };
16494
16495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16497 result = (int) ((arg1)->m_format);
16498
16499 resultobj = PyInt_FromLong((long)result);
16500 return resultobj;
16501 fail:
16502 return NULL;
16503 }
16504
16505
16506 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16507 PyObject *resultobj;
16508 wxListItem *arg1 = (wxListItem *) 0 ;
16509 int arg2 ;
16510 PyObject * obj0 = 0 ;
16511 char *kwnames[] = {
16512 (char *) "self",(char *) "m_width", NULL
16513 };
16514
16515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16517 if (arg1) (arg1)->m_width = arg2;
16518
16519 Py_INCREF(Py_None); resultobj = Py_None;
16520 return resultobj;
16521 fail:
16522 return NULL;
16523 }
16524
16525
16526 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj;
16528 wxListItem *arg1 = (wxListItem *) 0 ;
16529 int result;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16537 result = (int) ((arg1)->m_width);
16538
16539 resultobj = PyInt_FromLong((long)result);
16540 return resultobj;
16541 fail:
16542 return NULL;
16543 }
16544
16545
16546 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16547 PyObject *obj;
16548 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16549 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16550 Py_INCREF(obj);
16551 return Py_BuildValue((char *)"");
16552 }
16553 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16556 int arg2 = (int) 0 ;
16557 wxListEvent *result;
16558 char *kwnames[] = {
16559 (char *) "commandType",(char *) "id", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16563 {
16564 PyThreadState* __tstate = wxPyBeginAllowThreads();
16565 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16566
16567 wxPyEndAllowThreads(__tstate);
16568 if (PyErr_Occurred()) SWIG_fail;
16569 }
16570 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16571 return resultobj;
16572 fail:
16573 return NULL;
16574 }
16575
16576
16577 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16578 PyObject *resultobj;
16579 wxListEvent *arg1 = (wxListEvent *) 0 ;
16580 int arg2 ;
16581 PyObject * obj0 = 0 ;
16582 char *kwnames[] = {
16583 (char *) "self",(char *) "m_code", NULL
16584 };
16585
16586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16588 if (arg1) (arg1)->m_code = arg2;
16589
16590 Py_INCREF(Py_None); resultobj = Py_None;
16591 return resultobj;
16592 fail:
16593 return NULL;
16594 }
16595
16596
16597 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16598 PyObject *resultobj;
16599 wxListEvent *arg1 = (wxListEvent *) 0 ;
16600 int result;
16601 PyObject * obj0 = 0 ;
16602 char *kwnames[] = {
16603 (char *) "self", NULL
16604 };
16605
16606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16608 result = (int) ((arg1)->m_code);
16609
16610 resultobj = PyInt_FromLong((long)result);
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxListEvent *arg1 = (wxListEvent *) 0 ;
16620 long arg2 ;
16621 PyObject * obj0 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self",(char *) "m_oldItemIndex", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16628 if (arg1) (arg1)->m_oldItemIndex = arg2;
16629
16630 Py_INCREF(Py_None); resultobj = Py_None;
16631 return resultobj;
16632 fail:
16633 return NULL;
16634 }
16635
16636
16637 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxListEvent *arg1 = (wxListEvent *) 0 ;
16640 long result;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16648 result = (long) ((arg1)->m_oldItemIndex);
16649
16650 resultobj = PyInt_FromLong((long)result);
16651 return resultobj;
16652 fail:
16653 return NULL;
16654 }
16655
16656
16657 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxListEvent *arg1 = (wxListEvent *) 0 ;
16660 long arg2 ;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self",(char *) "m_itemIndex", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16668 if (arg1) (arg1)->m_itemIndex = arg2;
16669
16670 Py_INCREF(Py_None); resultobj = Py_None;
16671 return resultobj;
16672 fail:
16673 return NULL;
16674 }
16675
16676
16677 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16678 PyObject *resultobj;
16679 wxListEvent *arg1 = (wxListEvent *) 0 ;
16680 long result;
16681 PyObject * obj0 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self", NULL
16684 };
16685
16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16688 result = (long) ((arg1)->m_itemIndex);
16689
16690 resultobj = PyInt_FromLong((long)result);
16691 return resultobj;
16692 fail:
16693 return NULL;
16694 }
16695
16696
16697 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj;
16699 wxListEvent *arg1 = (wxListEvent *) 0 ;
16700 int arg2 ;
16701 PyObject * obj0 = 0 ;
16702 char *kwnames[] = {
16703 (char *) "self",(char *) "m_col", NULL
16704 };
16705
16706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16708 if (arg1) (arg1)->m_col = arg2;
16709
16710 Py_INCREF(Py_None); resultobj = Py_None;
16711 return resultobj;
16712 fail:
16713 return NULL;
16714 }
16715
16716
16717 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16718 PyObject *resultobj;
16719 wxListEvent *arg1 = (wxListEvent *) 0 ;
16720 int result;
16721 PyObject * obj0 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16728 result = (int) ((arg1)->m_col);
16729
16730 resultobj = PyInt_FromLong((long)result);
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxListEvent *arg1 = (wxListEvent *) 0 ;
16740 wxPoint *arg2 = (wxPoint *) 0 ;
16741 PyObject * obj0 = 0 ;
16742 PyObject * obj1 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "self",(char *) "m_pointDrag", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16750 if (arg1) (arg1)->m_pointDrag = *arg2;
16751
16752 Py_INCREF(Py_None); resultobj = Py_None;
16753 return resultobj;
16754 fail:
16755 return NULL;
16756 }
16757
16758
16759 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16760 PyObject *resultobj;
16761 wxListEvent *arg1 = (wxListEvent *) 0 ;
16762 wxPoint *result;
16763 PyObject * obj0 = 0 ;
16764 char *kwnames[] = {
16765 (char *) "self", NULL
16766 };
16767
16768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16770 result = (wxPoint *)& ((arg1)->m_pointDrag);
16771
16772 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16773 return resultobj;
16774 fail:
16775 return NULL;
16776 }
16777
16778
16779 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16780 PyObject *resultobj;
16781 wxListEvent *arg1 = (wxListEvent *) 0 ;
16782 wxListItem *result;
16783 PyObject * obj0 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16790 result = (wxListItem *)& ((arg1)->m_item);
16791
16792 {
16793 resultobj = wxPyMake_wxObject(result);
16794 }
16795 return resultobj;
16796 fail:
16797 return NULL;
16798 }
16799
16800
16801 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16802 PyObject *resultobj;
16803 wxListEvent *arg1 = (wxListEvent *) 0 ;
16804 int result;
16805 PyObject * obj0 = 0 ;
16806 char *kwnames[] = {
16807 (char *) "self", NULL
16808 };
16809
16810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16812 {
16813 PyThreadState* __tstate = wxPyBeginAllowThreads();
16814 result = (int)(arg1)->GetKeyCode();
16815
16816 wxPyEndAllowThreads(__tstate);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 resultobj = PyInt_FromLong((long)result);
16820 return resultobj;
16821 fail:
16822 return NULL;
16823 }
16824
16825
16826 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16827 PyObject *resultobj;
16828 wxListEvent *arg1 = (wxListEvent *) 0 ;
16829 long result;
16830 PyObject * obj0 = 0 ;
16831 char *kwnames[] = {
16832 (char *) "self", NULL
16833 };
16834
16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16837 {
16838 PyThreadState* __tstate = wxPyBeginAllowThreads();
16839 result = (long)(arg1)->GetIndex();
16840
16841 wxPyEndAllowThreads(__tstate);
16842 if (PyErr_Occurred()) SWIG_fail;
16843 }
16844 resultobj = PyInt_FromLong((long)result);
16845 return resultobj;
16846 fail:
16847 return NULL;
16848 }
16849
16850
16851 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16852 PyObject *resultobj;
16853 wxListEvent *arg1 = (wxListEvent *) 0 ;
16854 int result;
16855 PyObject * obj0 = 0 ;
16856 char *kwnames[] = {
16857 (char *) "self", NULL
16858 };
16859
16860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (int)(arg1)->GetColumn();
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
16869 resultobj = PyInt_FromLong((long)result);
16870 return resultobj;
16871 fail:
16872 return NULL;
16873 }
16874
16875
16876 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16877 PyObject *resultobj;
16878 wxListEvent *arg1 = (wxListEvent *) 0 ;
16879 wxPoint result;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",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 result = (arg1)->GetPoint();
16890
16891 wxPyEndAllowThreads(__tstate);
16892 if (PyErr_Occurred()) SWIG_fail;
16893 }
16894 {
16895 wxPoint * resultptr;
16896 resultptr = new wxPoint((wxPoint &) result);
16897 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16898 }
16899 return resultobj;
16900 fail:
16901 return NULL;
16902 }
16903
16904
16905 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16906 PyObject *resultobj;
16907 wxListEvent *arg1 = (wxListEvent *) 0 ;
16908 wxString *result;
16909 PyObject * obj0 = 0 ;
16910 char *kwnames[] = {
16911 (char *) "self", NULL
16912 };
16913
16914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 {
16919 wxString const &_result_ref = (arg1)->GetLabel();
16920 result = (wxString *) &_result_ref;
16921 }
16922
16923 wxPyEndAllowThreads(__tstate);
16924 if (PyErr_Occurred()) SWIG_fail;
16925 }
16926 {
16927 #if wxUSE_UNICODE
16928 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16929 #else
16930 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16931 #endif
16932 }
16933 return resultobj;
16934 fail:
16935 return NULL;
16936 }
16937
16938
16939 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16940 PyObject *resultobj;
16941 wxListEvent *arg1 = (wxListEvent *) 0 ;
16942 wxString *result;
16943 PyObject * obj0 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16950 {
16951 PyThreadState* __tstate = wxPyBeginAllowThreads();
16952 {
16953 wxString const &_result_ref = (arg1)->GetText();
16954 result = (wxString *) &_result_ref;
16955 }
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 {
16961 #if wxUSE_UNICODE
16962 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16963 #else
16964 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16965 #endif
16966 }
16967 return resultobj;
16968 fail:
16969 return NULL;
16970 }
16971
16972
16973 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16974 PyObject *resultobj;
16975 wxListEvent *arg1 = (wxListEvent *) 0 ;
16976 int result;
16977 PyObject * obj0 = 0 ;
16978 char *kwnames[] = {
16979 (char *) "self", NULL
16980 };
16981
16982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
16983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16984 {
16985 PyThreadState* __tstate = wxPyBeginAllowThreads();
16986 result = (int)(arg1)->GetImage();
16987
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 resultobj = PyInt_FromLong((long)result);
16992 return resultobj;
16993 fail:
16994 return NULL;
16995 }
16996
16997
16998 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj;
17000 wxListEvent *arg1 = (wxListEvent *) 0 ;
17001 long result;
17002 PyObject * obj0 = 0 ;
17003 char *kwnames[] = {
17004 (char *) "self", NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = (long)(arg1)->GetData();
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 resultobj = PyInt_FromLong((long)result);
17017 return resultobj;
17018 fail:
17019 return NULL;
17020 }
17021
17022
17023 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17024 PyObject *resultobj;
17025 wxListEvent *arg1 = (wxListEvent *) 0 ;
17026 long result;
17027 PyObject * obj0 = 0 ;
17028 char *kwnames[] = {
17029 (char *) "self", NULL
17030 };
17031
17032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17034 {
17035 PyThreadState* __tstate = wxPyBeginAllowThreads();
17036 result = (long)(arg1)->GetMask();
17037
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 resultobj = PyInt_FromLong((long)result);
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj;
17050 wxListEvent *arg1 = (wxListEvent *) 0 ;
17051 wxListItem *result;
17052 PyObject * obj0 = 0 ;
17053 char *kwnames[] = {
17054 (char *) "self", NULL
17055 };
17056
17057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17059 {
17060 PyThreadState* __tstate = wxPyBeginAllowThreads();
17061 {
17062 wxListItem const &_result_ref = (arg1)->GetItem();
17063 result = (wxListItem *) &_result_ref;
17064 }
17065
17066 wxPyEndAllowThreads(__tstate);
17067 if (PyErr_Occurred()) SWIG_fail;
17068 }
17069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17070 return resultobj;
17071 fail:
17072 return NULL;
17073 }
17074
17075
17076 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17077 PyObject *resultobj;
17078 wxListEvent *arg1 = (wxListEvent *) 0 ;
17079 long result;
17080 PyObject * obj0 = 0 ;
17081 char *kwnames[] = {
17082 (char *) "self", NULL
17083 };
17084
17085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
17089 result = (long)(arg1)->GetCacheFrom();
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 resultobj = PyInt_FromLong((long)result);
17095 return resultobj;
17096 fail:
17097 return NULL;
17098 }
17099
17100
17101 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj;
17103 wxListEvent *arg1 = (wxListEvent *) 0 ;
17104 long result;
17105 PyObject * obj0 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "self", NULL
17108 };
17109
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = (long)(arg1)->GetCacheTo();
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 resultobj = PyInt_FromLong((long)result);
17120 return resultobj;
17121 fail:
17122 return NULL;
17123 }
17124
17125
17126 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17127 PyObject *resultobj;
17128 wxListEvent *arg1 = (wxListEvent *) 0 ;
17129 bool result;
17130 PyObject * obj0 = 0 ;
17131 char *kwnames[] = {
17132 (char *) "self", NULL
17133 };
17134
17135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17137 {
17138 PyThreadState* __tstate = wxPyBeginAllowThreads();
17139 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17140
17141 wxPyEndAllowThreads(__tstate);
17142 if (PyErr_Occurred()) SWIG_fail;
17143 }
17144 resultobj = PyInt_FromLong((long)result);
17145 return resultobj;
17146 fail:
17147 return NULL;
17148 }
17149
17150
17151 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17152 PyObject *resultobj;
17153 wxListEvent *arg1 = (wxListEvent *) 0 ;
17154 bool arg2 ;
17155 PyObject * obj0 = 0 ;
17156 PyObject * obj1 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "self",(char *) "editCancelled", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17163 arg2 = PyInt_AsLong(obj1) ? true : false;
17164 if (PyErr_Occurred()) SWIG_fail;
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 (arg1)->SetEditCanceled(arg2);
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
17172 Py_INCREF(Py_None); resultobj = Py_None;
17173 return resultobj;
17174 fail:
17175 return NULL;
17176 }
17177
17178
17179 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17180 PyObject *obj;
17181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17182 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17183 Py_INCREF(obj);
17184 return Py_BuildValue((char *)"");
17185 }
17186 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17187 PyObject *resultobj;
17188 wxWindow *arg1 = (wxWindow *) 0 ;
17189 int arg2 = (int) -1 ;
17190 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17191 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17192 wxSize const &arg4_defvalue = wxDefaultSize ;
17193 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17194 long arg5 = (long) wxLC_ICON ;
17195 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17196 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17197 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17198 wxString *arg7 = (wxString *) &arg7_defvalue ;
17199 wxPyListCtrl *result;
17200 wxPoint temp3 ;
17201 wxSize temp4 ;
17202 bool temp7 = False ;
17203 PyObject * obj0 = 0 ;
17204 PyObject * obj2 = 0 ;
17205 PyObject * obj3 = 0 ;
17206 PyObject * obj5 = 0 ;
17207 PyObject * obj6 = 0 ;
17208 char *kwnames[] = {
17209 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17210 };
17211
17212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17214 if (obj2) {
17215 {
17216 arg3 = &temp3;
17217 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17218 }
17219 }
17220 if (obj3) {
17221 {
17222 arg4 = &temp4;
17223 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17224 }
17225 }
17226 if (obj5) {
17227 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17228 if (arg6 == NULL) {
17229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17230 }
17231 }
17232 if (obj6) {
17233 {
17234 arg7 = wxString_in_helper(obj6);
17235 if (arg7 == NULL) SWIG_fail;
17236 temp7 = True;
17237 }
17238 }
17239 {
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
17246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17247 {
17248 if (temp7)
17249 delete arg7;
17250 }
17251 return resultobj;
17252 fail:
17253 {
17254 if (temp7)
17255 delete arg7;
17256 }
17257 return NULL;
17258 }
17259
17260
17261 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxPyListCtrl *result;
17264 char *kwnames[] = {
17265 NULL
17266 };
17267
17268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 result = (wxPyListCtrl *)new wxPyListCtrl();
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17286 wxWindow *arg2 = (wxWindow *) 0 ;
17287 int arg3 = (int) -1 ;
17288 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17289 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17290 wxSize const &arg5_defvalue = wxDefaultSize ;
17291 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17292 long arg6 = (long) wxLC_ICON ;
17293 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17294 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17295 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17296 wxString *arg8 = (wxString *) &arg8_defvalue ;
17297 bool result;
17298 wxPoint temp4 ;
17299 wxSize temp5 ;
17300 bool temp8 = False ;
17301 PyObject * obj0 = 0 ;
17302 PyObject * obj1 = 0 ;
17303 PyObject * obj3 = 0 ;
17304 PyObject * obj4 = 0 ;
17305 PyObject * obj6 = 0 ;
17306 PyObject * obj7 = 0 ;
17307 char *kwnames[] = {
17308 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17309 };
17310
17311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17314 if (obj3) {
17315 {
17316 arg4 = &temp4;
17317 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17318 }
17319 }
17320 if (obj4) {
17321 {
17322 arg5 = &temp5;
17323 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17324 }
17325 }
17326 if (obj6) {
17327 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17328 if (arg7 == NULL) {
17329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17330 }
17331 }
17332 if (obj7) {
17333 {
17334 arg8 = wxString_in_helper(obj7);
17335 if (arg8 == NULL) SWIG_fail;
17336 temp8 = True;
17337 }
17338 }
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 resultobj = PyInt_FromLong((long)result);
17347 {
17348 if (temp8)
17349 delete arg8;
17350 }
17351 return resultobj;
17352 fail:
17353 {
17354 if (temp8)
17355 delete arg8;
17356 }
17357 return NULL;
17358 }
17359
17360
17361 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17362 PyObject *resultobj;
17363 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17364 PyObject *arg2 = (PyObject *) 0 ;
17365 PyObject *arg3 = (PyObject *) 0 ;
17366 PyObject * obj0 = 0 ;
17367 PyObject * obj1 = 0 ;
17368 PyObject * obj2 = 0 ;
17369 char *kwnames[] = {
17370 (char *) "self",(char *) "self",(char *) "_class", NULL
17371 };
17372
17373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17375 arg2 = obj1;
17376 arg3 = obj2;
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 (arg1)->_setCallbackInfo(arg2,arg3);
17380
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 Py_INCREF(Py_None); resultobj = Py_None;
17385 return resultobj;
17386 fail:
17387 return NULL;
17388 }
17389
17390
17391 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17392 PyObject *resultobj;
17393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17394 wxColour *arg2 = 0 ;
17395 bool result;
17396 wxColour temp2 ;
17397 PyObject * obj0 = 0 ;
17398 PyObject * obj1 = 0 ;
17399 char *kwnames[] = {
17400 (char *) "self",(char *) "col", NULL
17401 };
17402
17403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17405 {
17406 arg2 = &temp2;
17407 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17408 }
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 resultobj = PyInt_FromLong((long)result);
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17426 wxColour *arg2 = 0 ;
17427 bool result;
17428 wxColour temp2 ;
17429 PyObject * obj0 = 0 ;
17430 PyObject * obj1 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self",(char *) "col", NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17437 {
17438 arg2 = &temp2;
17439 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17440 }
17441 {
17442 PyThreadState* __tstate = wxPyBeginAllowThreads();
17443 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17444
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 resultobj = PyInt_FromLong((long)result);
17449 return resultobj;
17450 fail:
17451 return NULL;
17452 }
17453
17454
17455 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17458 int arg2 ;
17459 wxListItem *result;
17460 PyObject * obj0 = 0 ;
17461 char *kwnames[] = {
17462 (char *) "self",(char *) "col", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 {
17475 resultobj = wxPyMake_wxObject(result);
17476 }
17477 return resultobj;
17478 fail:
17479 return NULL;
17480 }
17481
17482
17483 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj;
17485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17486 int arg2 ;
17487 wxListItem *arg3 = 0 ;
17488 bool result;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj2 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self",(char *) "col",(char *) "item", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17497 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17498 if (arg3 == NULL) {
17499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17500 }
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17504
17505 wxPyEndAllowThreads(__tstate);
17506 if (PyErr_Occurred()) SWIG_fail;
17507 }
17508 resultobj = PyInt_FromLong((long)result);
17509 return resultobj;
17510 fail:
17511 return NULL;
17512 }
17513
17514
17515 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17516 PyObject *resultobj;
17517 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17518 int arg2 ;
17519 int result;
17520 PyObject * obj0 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "col", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 resultobj = PyInt_FromLong((long)result);
17535 return resultobj;
17536 fail:
17537 return NULL;
17538 }
17539
17540
17541 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17542 PyObject *resultobj;
17543 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17544 int arg2 ;
17545 int arg3 ;
17546 bool result;
17547 PyObject * obj0 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "col",(char *) "width", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 resultobj = PyInt_FromLong((long)result);
17562 return resultobj;
17563 fail:
17564 return NULL;
17565 }
17566
17567
17568 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17569 PyObject *resultobj;
17570 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17571 int result;
17572 PyObject * obj0 = 0 ;
17573 char *kwnames[] = {
17574 (char *) "self", NULL
17575 };
17576
17577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 resultobj = PyInt_FromLong((long)result);
17587 return resultobj;
17588 fail:
17589 return NULL;
17590 }
17591
17592
17593 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17594 PyObject *resultobj;
17595 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17596 wxRect result;
17597 PyObject * obj0 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17607
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 {
17612 wxRect * resultptr;
17613 resultptr = new wxRect((wxRect &) result);
17614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17615 }
17616 return resultobj;
17617 fail:
17618 return NULL;
17619 }
17620
17621
17622 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17623 PyObject *resultobj;
17624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17625 long arg2 ;
17626 int arg3 = (int) 0 ;
17627 wxListItem *result;
17628 PyObject * obj0 = 0 ;
17629 char *kwnames[] = {
17630 (char *) "self",(char *) "itemId",(char *) "col", NULL
17631 };
17632
17633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 {
17643 resultobj = wxPyMake_wxObject(result);
17644 }
17645 return resultobj;
17646 fail:
17647 return NULL;
17648 }
17649
17650
17651 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj;
17653 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17654 wxListItem *arg2 = 0 ;
17655 bool result;
17656 PyObject * obj0 = 0 ;
17657 PyObject * obj1 = 0 ;
17658 char *kwnames[] = {
17659 (char *) "self",(char *) "info", NULL
17660 };
17661
17662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17665 if (arg2 == NULL) {
17666 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17667 }
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (bool)(arg1)->SetItem(*arg2);
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 resultobj = PyInt_FromLong((long)result);
17676 return resultobj;
17677 fail:
17678 return NULL;
17679 }
17680
17681
17682 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17685 long arg2 ;
17686 int arg3 ;
17687 wxString *arg4 = 0 ;
17688 int arg5 = (int) -1 ;
17689 long result;
17690 bool temp4 = False ;
17691 PyObject * obj0 = 0 ;
17692 PyObject * obj3 = 0 ;
17693 char *kwnames[] = {
17694 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17695 };
17696
17697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17699 {
17700 arg4 = wxString_in_helper(obj3);
17701 if (arg4 == NULL) SWIG_fail;
17702 temp4 = True;
17703 }
17704 {
17705 PyThreadState* __tstate = wxPyBeginAllowThreads();
17706 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17707
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 resultobj = PyInt_FromLong((long)result);
17712 {
17713 if (temp4)
17714 delete arg4;
17715 }
17716 return resultobj;
17717 fail:
17718 {
17719 if (temp4)
17720 delete arg4;
17721 }
17722 return NULL;
17723 }
17724
17725
17726 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj;
17728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17729 long arg2 ;
17730 long arg3 ;
17731 int result;
17732 PyObject * obj0 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17739 {
17740 PyThreadState* __tstate = wxPyBeginAllowThreads();
17741 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17742
17743 wxPyEndAllowThreads(__tstate);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
17746 resultobj = PyInt_FromLong((long)result);
17747 return resultobj;
17748 fail:
17749 return NULL;
17750 }
17751
17752
17753 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj;
17755 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17756 long arg2 ;
17757 long arg3 ;
17758 long arg4 ;
17759 bool result;
17760 PyObject * obj0 = 0 ;
17761 char *kwnames[] = {
17762 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17763 };
17764
17765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17767 {
17768 PyThreadState* __tstate = wxPyBeginAllowThreads();
17769 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17770
17771 wxPyEndAllowThreads(__tstate);
17772 if (PyErr_Occurred()) SWIG_fail;
17773 }
17774 resultobj = PyInt_FromLong((long)result);
17775 return resultobj;
17776 fail:
17777 return NULL;
17778 }
17779
17780
17781 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17782 PyObject *resultobj;
17783 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17784 long arg2 ;
17785 int arg3 ;
17786 int arg4 ;
17787 bool result;
17788 PyObject * obj0 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17795 {
17796 PyThreadState* __tstate = wxPyBeginAllowThreads();
17797 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17798
17799 wxPyEndAllowThreads(__tstate);
17800 if (PyErr_Occurred()) SWIG_fail;
17801 }
17802 resultobj = PyInt_FromLong((long)result);
17803 return resultobj;
17804 fail:
17805 return NULL;
17806 }
17807
17808
17809 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17812 long arg2 ;
17813 wxString result;
17814 PyObject * obj0 = 0 ;
17815 char *kwnames[] = {
17816 (char *) "self",(char *) "item", NULL
17817 };
17818
17819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17821 {
17822 PyThreadState* __tstate = wxPyBeginAllowThreads();
17823 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 {
17829 #if wxUSE_UNICODE
17830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17831 #else
17832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17833 #endif
17834 }
17835 return resultobj;
17836 fail:
17837 return NULL;
17838 }
17839
17840
17841 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17842 PyObject *resultobj;
17843 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17844 long arg2 ;
17845 wxString *arg3 = 0 ;
17846 bool temp3 = False ;
17847 PyObject * obj0 = 0 ;
17848 PyObject * obj2 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self",(char *) "item",(char *) "str", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17855 {
17856 arg3 = wxString_in_helper(obj2);
17857 if (arg3 == NULL) SWIG_fail;
17858 temp3 = True;
17859 }
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 Py_INCREF(Py_None); resultobj = Py_None;
17868 {
17869 if (temp3)
17870 delete arg3;
17871 }
17872 return resultobj;
17873 fail:
17874 {
17875 if (temp3)
17876 delete arg3;
17877 }
17878 return NULL;
17879 }
17880
17881
17882 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17885 long arg2 ;
17886 long result;
17887 PyObject * obj0 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "item", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = PyInt_FromLong((long)result);
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17911 long arg2 ;
17912 long arg3 ;
17913 bool result;
17914 PyObject * obj0 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self",(char *) "item",(char *) "data", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17921 {
17922 PyThreadState* __tstate = wxPyBeginAllowThreads();
17923 result = (bool)(arg1)->SetItemData(arg2,arg3);
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 resultobj = PyInt_FromLong((long)result);
17929 return resultobj;
17930 fail:
17931 return NULL;
17932 }
17933
17934
17935 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17938 long arg2 ;
17939 wxPoint result;
17940 PyObject * obj0 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self",(char *) "item", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17950
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 {
17955 wxPoint * resultptr;
17956 resultptr = new wxPoint((wxPoint &) result);
17957 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17958 }
17959 return resultobj;
17960 fail:
17961 return NULL;
17962 }
17963
17964
17965 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17968 long arg2 ;
17969 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17970 wxRect result;
17971 PyObject * obj0 = 0 ;
17972 char *kwnames[] = {
17973 (char *) "self",(char *) "item",(char *) "code", NULL
17974 };
17975
17976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
17977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 {
17986 wxRect * resultptr;
17987 resultptr = new wxRect((wxRect &) result);
17988 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17989 }
17990 return resultobj;
17991 fail:
17992 return NULL;
17993 }
17994
17995
17996 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17997 PyObject *resultobj;
17998 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17999 long arg2 ;
18000 wxPoint *arg3 = 0 ;
18001 bool result;
18002 wxPoint temp3 ;
18003 PyObject * obj0 = 0 ;
18004 PyObject * obj2 = 0 ;
18005 char *kwnames[] = {
18006 (char *) "self",(char *) "item",(char *) "pos", NULL
18007 };
18008
18009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18011 {
18012 arg3 = &temp3;
18013 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18014 }
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18018
18019 wxPyEndAllowThreads(__tstate);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 resultobj = PyInt_FromLong((long)result);
18023 return resultobj;
18024 fail:
18025 return NULL;
18026 }
18027
18028
18029 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18030 PyObject *resultobj;
18031 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18032 int result;
18033 PyObject * obj0 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 resultobj = PyInt_FromLong((long)result);
18048 return resultobj;
18049 fail:
18050 return NULL;
18051 }
18052
18053
18054 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18057 int result;
18058 PyObject * obj0 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 resultobj = PyInt_FromLong((long)result);
18073 return resultobj;
18074 fail:
18075 return NULL;
18076 }
18077
18078
18079 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18080 PyObject *resultobj;
18081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18082 wxSize result;
18083 PyObject * obj0 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18090 {
18091 PyThreadState* __tstate = wxPyBeginAllowThreads();
18092 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18093
18094 wxPyEndAllowThreads(__tstate);
18095 if (PyErr_Occurred()) SWIG_fail;
18096 }
18097 {
18098 wxSize * resultptr;
18099 resultptr = new wxSize((wxSize &) result);
18100 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18101 }
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18111 int arg2 ;
18112 bool arg3 = (bool) False ;
18113 PyObject * obj0 = 0 ;
18114 PyObject * obj2 = 0 ;
18115 char *kwnames[] = {
18116 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18117 };
18118
18119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18121 if (obj2) {
18122 arg3 = PyInt_AsLong(obj2) ? true : false;
18123 if (PyErr_Occurred()) SWIG_fail;
18124 }
18125 {
18126 PyThreadState* __tstate = wxPyBeginAllowThreads();
18127 (arg1)->SetItemSpacing(arg2,arg3);
18128
18129 wxPyEndAllowThreads(__tstate);
18130 if (PyErr_Occurred()) SWIG_fail;
18131 }
18132 Py_INCREF(Py_None); resultobj = Py_None;
18133 return resultobj;
18134 fail:
18135 return NULL;
18136 }
18137
18138
18139 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18140 PyObject *resultobj;
18141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18142 int result;
18143 PyObject * obj0 = 0 ;
18144 char *kwnames[] = {
18145 (char *) "self", NULL
18146 };
18147
18148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18150 {
18151 PyThreadState* __tstate = wxPyBeginAllowThreads();
18152 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18153
18154 wxPyEndAllowThreads(__tstate);
18155 if (PyErr_Occurred()) SWIG_fail;
18156 }
18157 resultobj = PyInt_FromLong((long)result);
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18167 wxColour result;
18168 PyObject * obj0 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18175 {
18176 PyThreadState* __tstate = wxPyBeginAllowThreads();
18177 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18178
18179 wxPyEndAllowThreads(__tstate);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 {
18183 wxColour * resultptr;
18184 resultptr = new wxColour((wxColour &) result);
18185 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18186 }
18187 return resultobj;
18188 fail:
18189 return NULL;
18190 }
18191
18192
18193 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18194 PyObject *resultobj;
18195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18196 wxColour *arg2 = 0 ;
18197 wxColour temp2 ;
18198 PyObject * obj0 = 0 ;
18199 PyObject * obj1 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "self",(char *) "col", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18206 {
18207 arg2 = &temp2;
18208 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18209 }
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 (arg1)->SetTextColour((wxColour const &)*arg2);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 Py_INCREF(Py_None); resultobj = Py_None;
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18227 long result;
18228 PyObject * obj0 = 0 ;
18229 char *kwnames[] = {
18230 (char *) "self", NULL
18231 };
18232
18233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 resultobj = PyInt_FromLong((long)result);
18243 return resultobj;
18244 fail:
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18252 long arg2 ;
18253 bool arg3 = (bool) True ;
18254 PyObject * obj0 = 0 ;
18255 PyObject * obj2 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self",(char *) "style",(char *) "add", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18262 if (obj2) {
18263 arg3 = PyInt_AsLong(obj2) ? true : false;
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 (arg1)->SetSingleStyle(arg2,arg3);
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
18273 Py_INCREF(Py_None); resultobj = Py_None;
18274 return resultobj;
18275 fail:
18276 return NULL;
18277 }
18278
18279
18280 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj;
18282 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18283 long arg2 ;
18284 PyObject * obj0 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self",(char *) "style", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18291 {
18292 PyThreadState* __tstate = wxPyBeginAllowThreads();
18293 (arg1)->SetWindowStyleFlag(arg2);
18294
18295 wxPyEndAllowThreads(__tstate);
18296 if (PyErr_Occurred()) SWIG_fail;
18297 }
18298 Py_INCREF(Py_None); resultobj = Py_None;
18299 return resultobj;
18300 fail:
18301 return NULL;
18302 }
18303
18304
18305 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18306 PyObject *resultobj;
18307 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18308 long arg2 ;
18309 int arg3 = (int) wxLIST_NEXT_ALL ;
18310 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18311 long result;
18312 PyObject * obj0 = 0 ;
18313 char *kwnames[] = {
18314 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18315 };
18316
18317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 resultobj = PyInt_FromLong((long)result);
18327 return resultobj;
18328 fail:
18329 return NULL;
18330 }
18331
18332
18333 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18334 PyObject *resultobj;
18335 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18336 int arg2 ;
18337 wxImageList *result;
18338 PyObject * obj0 = 0 ;
18339 char *kwnames[] = {
18340 (char *) "self",(char *) "which", NULL
18341 };
18342
18343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 {
18353 resultobj = wxPyMake_wxObject(result);
18354 }
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18364 wxImageList *arg2 = (wxImageList *) 0 ;
18365 int arg3 ;
18366 PyObject * obj0 = 0 ;
18367 PyObject * obj1 = 0 ;
18368 char *kwnames[] = {
18369 (char *) "self",(char *) "imageList",(char *) "which", NULL
18370 };
18371
18372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18375 {
18376 PyThreadState* __tstate = wxPyBeginAllowThreads();
18377 (arg1)->SetImageList(arg2,arg3);
18378
18379 wxPyEndAllowThreads(__tstate);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 }
18382 Py_INCREF(Py_None); resultobj = Py_None;
18383 return resultobj;
18384 fail:
18385 return NULL;
18386 }
18387
18388
18389 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18390 PyObject *resultobj;
18391 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18392 wxImageList *arg2 = (wxImageList *) 0 ;
18393 int arg3 ;
18394 PyObject * obj0 = 0 ;
18395 PyObject * obj1 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self",(char *) "imageList",(char *) "which", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 (arg1)->AssignImageList(arg2,arg3);
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 Py_INCREF(Py_None); resultobj = Py_None;
18411 return resultobj;
18412 fail:
18413 return NULL;
18414 }
18415
18416
18417 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18418 PyObject *resultobj;
18419 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18420 bool result;
18421 PyObject * obj0 = 0 ;
18422 char *kwnames[] = {
18423 (char *) "self", NULL
18424 };
18425
18426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 resultobj = PyInt_FromLong((long)result);
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18443 PyObject *resultobj;
18444 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18445 long arg2 ;
18446 PyObject * obj0 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self",(char *) "item", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18453 {
18454 PyThreadState* __tstate = wxPyBeginAllowThreads();
18455 (arg1)->RefreshItem(arg2);
18456
18457 wxPyEndAllowThreads(__tstate);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 }
18460 Py_INCREF(Py_None); resultobj = Py_None;
18461 return resultobj;
18462 fail:
18463 return NULL;
18464 }
18465
18466
18467 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18468 PyObject *resultobj;
18469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18470 long arg2 ;
18471 long arg3 ;
18472 PyObject * obj0 = 0 ;
18473 char *kwnames[] = {
18474 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18475 };
18476
18477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18479 {
18480 PyThreadState* __tstate = wxPyBeginAllowThreads();
18481 (arg1)->RefreshItems(arg2,arg3);
18482
18483 wxPyEndAllowThreads(__tstate);
18484 if (PyErr_Occurred()) SWIG_fail;
18485 }
18486 Py_INCREF(Py_None); resultobj = Py_None;
18487 return resultobj;
18488 fail:
18489 return NULL;
18490 }
18491
18492
18493 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18494 PyObject *resultobj;
18495 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18496 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18497 bool result;
18498 PyObject * obj0 = 0 ;
18499 char *kwnames[] = {
18500 (char *) "self",(char *) "flag", NULL
18501 };
18502
18503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 result = (bool)(arg1)->Arrange(arg2);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 resultobj = PyInt_FromLong((long)result);
18513 return resultobj;
18514 fail:
18515 return NULL;
18516 }
18517
18518
18519 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18522 long arg2 ;
18523 bool result;
18524 PyObject * obj0 = 0 ;
18525 char *kwnames[] = {
18526 (char *) "self",(char *) "item", NULL
18527 };
18528
18529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18531 {
18532 PyThreadState* __tstate = wxPyBeginAllowThreads();
18533 result = (bool)(arg1)->DeleteItem(arg2);
18534
18535 wxPyEndAllowThreads(__tstate);
18536 if (PyErr_Occurred()) SWIG_fail;
18537 }
18538 resultobj = PyInt_FromLong((long)result);
18539 return resultobj;
18540 fail:
18541 return NULL;
18542 }
18543
18544
18545 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18546 PyObject *resultobj;
18547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18548 bool result;
18549 PyObject * obj0 = 0 ;
18550 char *kwnames[] = {
18551 (char *) "self", NULL
18552 };
18553
18554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 result = (bool)(arg1)->DeleteAllItems();
18559
18560 wxPyEndAllowThreads(__tstate);
18561 if (PyErr_Occurred()) SWIG_fail;
18562 }
18563 resultobj = PyInt_FromLong((long)result);
18564 return resultobj;
18565 fail:
18566 return NULL;
18567 }
18568
18569
18570 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18571 PyObject *resultobj;
18572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18573 int arg2 ;
18574 bool result;
18575 PyObject * obj0 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self",(char *) "col", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18582 {
18583 PyThreadState* __tstate = wxPyBeginAllowThreads();
18584 result = (bool)(arg1)->DeleteColumn(arg2);
18585
18586 wxPyEndAllowThreads(__tstate);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
18589 resultobj = PyInt_FromLong((long)result);
18590 return resultobj;
18591 fail:
18592 return NULL;
18593 }
18594
18595
18596 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18597 PyObject *resultobj;
18598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18599 bool result;
18600 PyObject * obj0 = 0 ;
18601 char *kwnames[] = {
18602 (char *) "self", NULL
18603 };
18604
18605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 result = (bool)(arg1)->DeleteAllColumns();
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 resultobj = PyInt_FromLong((long)result);
18615 return resultobj;
18616 fail:
18617 return NULL;
18618 }
18619
18620
18621 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18622 PyObject *resultobj;
18623 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18624 PyObject * obj0 = 0 ;
18625 char *kwnames[] = {
18626 (char *) "self", NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 (arg1)->ClearAll();
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 Py_INCREF(Py_None); resultobj = Py_None;
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18648 long arg2 ;
18649 PyObject * obj0 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self",(char *) "item", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18656 {
18657 PyThreadState* __tstate = wxPyBeginAllowThreads();
18658 (arg1)->EditLabel(arg2);
18659
18660 wxPyEndAllowThreads(__tstate);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 }
18663 Py_INCREF(Py_None); resultobj = Py_None;
18664 return resultobj;
18665 fail:
18666 return NULL;
18667 }
18668
18669
18670 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18671 PyObject *resultobj;
18672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18673 long arg2 ;
18674 bool result;
18675 PyObject * obj0 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "self",(char *) "item", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (bool)(arg1)->EnsureVisible(arg2);
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 resultobj = PyInt_FromLong((long)result);
18690 return resultobj;
18691 fail:
18692 return NULL;
18693 }
18694
18695
18696 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18699 long arg2 ;
18700 wxString *arg3 = 0 ;
18701 bool arg4 = (bool) False ;
18702 long result;
18703 bool temp3 = False ;
18704 PyObject * obj0 = 0 ;
18705 PyObject * obj2 = 0 ;
18706 PyObject * obj3 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18713 {
18714 arg3 = wxString_in_helper(obj2);
18715 if (arg3 == NULL) SWIG_fail;
18716 temp3 = True;
18717 }
18718 if (obj3) {
18719 arg4 = PyInt_AsLong(obj3) ? true : false;
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 {
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18725
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 resultobj = PyInt_FromLong((long)result);
18730 {
18731 if (temp3)
18732 delete arg3;
18733 }
18734 return resultobj;
18735 fail:
18736 {
18737 if (temp3)
18738 delete arg3;
18739 }
18740 return NULL;
18741 }
18742
18743
18744 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj;
18746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18747 long arg2 ;
18748 long arg3 ;
18749 long result;
18750 PyObject * obj0 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self",(char *) "start",(char *) "data", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (long)(arg1)->FindItem(arg2,arg3);
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 resultobj = PyInt_FromLong((long)result);
18765 return resultobj;
18766 fail:
18767 return NULL;
18768 }
18769
18770
18771 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18772 PyObject *resultobj;
18773 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18774 long arg2 ;
18775 wxPoint *arg3 = 0 ;
18776 int arg4 ;
18777 long result;
18778 wxPoint temp3 ;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj2 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18787 {
18788 arg3 = &temp3;
18789 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18790 }
18791 {
18792 PyThreadState* __tstate = wxPyBeginAllowThreads();
18793 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18794
18795 wxPyEndAllowThreads(__tstate);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 }
18798 resultobj = PyInt_FromLong((long)result);
18799 return resultobj;
18800 fail:
18801 return NULL;
18802 }
18803
18804
18805 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18806 PyObject *resultobj;
18807 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18808 wxPoint *arg2 = 0 ;
18809 int *arg3 = 0 ;
18810 long result;
18811 wxPoint temp2 ;
18812 int temp3 ;
18813 PyObject * obj0 = 0 ;
18814 PyObject * obj1 = 0 ;
18815 char *kwnames[] = {
18816 (char *) "self",(char *) "point", NULL
18817 };
18818
18819 arg3 = &temp3;
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18822 {
18823 arg2 = &temp2;
18824 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18825 }
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 resultobj = PyInt_FromLong((long)result);
18834 {
18835 PyObject *o = PyInt_FromLong((long) (*arg3));
18836 resultobj = t_output_helper(resultobj,o);
18837 }
18838 return resultobj;
18839 fail:
18840 return NULL;
18841 }
18842
18843
18844 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18847 wxListItem *arg2 = 0 ;
18848 long result;
18849 PyObject * obj0 = 0 ;
18850 PyObject * obj1 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self",(char *) "info", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18858 if (arg2 == NULL) {
18859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18860 }
18861 {
18862 PyThreadState* __tstate = wxPyBeginAllowThreads();
18863 result = (long)(arg1)->InsertItem(*arg2);
18864
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 resultobj = PyInt_FromLong((long)result);
18869 return resultobj;
18870 fail:
18871 return NULL;
18872 }
18873
18874
18875 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18876 PyObject *resultobj;
18877 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18878 long arg2 ;
18879 wxString *arg3 = 0 ;
18880 long result;
18881 bool temp3 = False ;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj2 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self",(char *) "index",(char *) "label", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18890 {
18891 arg3 = wxString_in_helper(obj2);
18892 if (arg3 == NULL) SWIG_fail;
18893 temp3 = True;
18894 }
18895 {
18896 PyThreadState* __tstate = wxPyBeginAllowThreads();
18897 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18898
18899 wxPyEndAllowThreads(__tstate);
18900 if (PyErr_Occurred()) SWIG_fail;
18901 }
18902 resultobj = PyInt_FromLong((long)result);
18903 {
18904 if (temp3)
18905 delete arg3;
18906 }
18907 return resultobj;
18908 fail:
18909 {
18910 if (temp3)
18911 delete arg3;
18912 }
18913 return NULL;
18914 }
18915
18916
18917 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18918 PyObject *resultobj;
18919 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18920 long arg2 ;
18921 int arg3 ;
18922 long result;
18923 PyObject * obj0 = 0 ;
18924 char *kwnames[] = {
18925 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18926 };
18927
18928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 result = (long)(arg1)->InsertItem(arg2,arg3);
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 resultobj = PyInt_FromLong((long)result);
18938 return resultobj;
18939 fail:
18940 return NULL;
18941 }
18942
18943
18944 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18947 long arg2 ;
18948 wxString *arg3 = 0 ;
18949 int arg4 ;
18950 long result;
18951 bool temp3 = False ;
18952 PyObject * obj0 = 0 ;
18953 PyObject * obj2 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18960 {
18961 arg3 = wxString_in_helper(obj2);
18962 if (arg3 == NULL) SWIG_fail;
18963 temp3 = True;
18964 }
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
18972 resultobj = PyInt_FromLong((long)result);
18973 {
18974 if (temp3)
18975 delete arg3;
18976 }
18977 return resultobj;
18978 fail:
18979 {
18980 if (temp3)
18981 delete arg3;
18982 }
18983 return NULL;
18984 }
18985
18986
18987 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18988 PyObject *resultobj;
18989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18990 long arg2 ;
18991 wxListItem *arg3 = 0 ;
18992 long result;
18993 PyObject * obj0 = 0 ;
18994 PyObject * obj2 = 0 ;
18995 char *kwnames[] = {
18996 (char *) "self",(char *) "col",(char *) "info", NULL
18997 };
18998
18999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19001 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19002 if (arg3 == NULL) {
19003 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19004 }
19005 {
19006 PyThreadState* __tstate = wxPyBeginAllowThreads();
19007 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19008
19009 wxPyEndAllowThreads(__tstate);
19010 if (PyErr_Occurred()) SWIG_fail;
19011 }
19012 resultobj = PyInt_FromLong((long)result);
19013 return resultobj;
19014 fail:
19015 return NULL;
19016 }
19017
19018
19019 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19022 long arg2 ;
19023 wxString *arg3 = 0 ;
19024 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19025 int arg5 = (int) -1 ;
19026 long result;
19027 bool temp3 = False ;
19028 PyObject * obj0 = 0 ;
19029 PyObject * obj2 = 0 ;
19030 char *kwnames[] = {
19031 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19032 };
19033
19034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19036 {
19037 arg3 = wxString_in_helper(obj2);
19038 if (arg3 == NULL) SWIG_fail;
19039 temp3 = True;
19040 }
19041 {
19042 PyThreadState* __tstate = wxPyBeginAllowThreads();
19043 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19044
19045 wxPyEndAllowThreads(__tstate);
19046 if (PyErr_Occurred()) SWIG_fail;
19047 }
19048 resultobj = PyInt_FromLong((long)result);
19049 {
19050 if (temp3)
19051 delete arg3;
19052 }
19053 return resultobj;
19054 fail:
19055 {
19056 if (temp3)
19057 delete arg3;
19058 }
19059 return NULL;
19060 }
19061
19062
19063 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19064 PyObject *resultobj;
19065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19066 long arg2 ;
19067 PyObject * obj0 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self",(char *) "count", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 (arg1)->SetItemCount(arg2);
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 Py_INCREF(Py_None); resultobj = Py_None;
19082 return resultobj;
19083 fail:
19084 return NULL;
19085 }
19086
19087
19088 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19091 int arg2 ;
19092 int arg3 ;
19093 bool result;
19094 PyObject * obj0 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self",(char *) "dx",(char *) "dy", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19101 {
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
19103 result = (bool)(arg1)->ScrollList(arg2,arg3);
19104
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 resultobj = PyInt_FromLong((long)result);
19109 return resultobj;
19110 fail:
19111 return NULL;
19112 }
19113
19114
19115 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19116 PyObject *resultobj;
19117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19118 long arg2 ;
19119 wxColour *arg3 = 0 ;
19120 wxColour temp3 ;
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj2 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self",(char *) "item",(char *) "col", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19129 {
19130 arg3 = &temp3;
19131 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19132 }
19133 {
19134 PyThreadState* __tstate = wxPyBeginAllowThreads();
19135 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19136
19137 wxPyEndAllowThreads(__tstate);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 }
19140 Py_INCREF(Py_None); resultobj = Py_None;
19141 return resultobj;
19142 fail:
19143 return NULL;
19144 }
19145
19146
19147 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19148 PyObject *resultobj;
19149 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19150 long arg2 ;
19151 wxColour result;
19152 PyObject * obj0 = 0 ;
19153 char *kwnames[] = {
19154 (char *) "self",(char *) "item", NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19162
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
19166 {
19167 wxColour * resultptr;
19168 resultptr = new wxColour((wxColour &) result);
19169 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19170 }
19171 return resultobj;
19172 fail:
19173 return NULL;
19174 }
19175
19176
19177 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19178 PyObject *resultobj;
19179 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19180 long arg2 ;
19181 wxColour *arg3 = 0 ;
19182 wxColour temp3 ;
19183 PyObject * obj0 = 0 ;
19184 PyObject * obj2 = 0 ;
19185 char *kwnames[] = {
19186 (char *) "self",(char *) "item",(char *) "col", NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19191 {
19192 arg3 = &temp3;
19193 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19194 }
19195 {
19196 PyThreadState* __tstate = wxPyBeginAllowThreads();
19197 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19198
19199 wxPyEndAllowThreads(__tstate);
19200 if (PyErr_Occurred()) SWIG_fail;
19201 }
19202 Py_INCREF(Py_None); resultobj = Py_None;
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19212 long arg2 ;
19213 wxColour result;
19214 PyObject * obj0 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self",(char *) "item", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 {
19229 wxColour * resultptr;
19230 resultptr = new wxColour((wxColour &) result);
19231 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19232 }
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19240 PyObject *resultobj;
19241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19242 PyObject *arg2 = (PyObject *) 0 ;
19243 bool result;
19244 PyObject * obj0 = 0 ;
19245 PyObject * obj1 = 0 ;
19246 char *kwnames[] = {
19247 (char *) "self",(char *) "func", NULL
19248 };
19249
19250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19252 arg2 = obj1;
19253 {
19254 PyThreadState* __tstate = wxPyBeginAllowThreads();
19255 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19256
19257 wxPyEndAllowThreads(__tstate);
19258 if (PyErr_Occurred()) SWIG_fail;
19259 }
19260 resultobj = PyInt_FromLong((long)result);
19261 return resultobj;
19262 fail:
19263 return NULL;
19264 }
19265
19266
19267 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19268 PyObject *resultobj;
19269 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19270 wxWindow *result;
19271 PyObject * obj0 = 0 ;
19272 char *kwnames[] = {
19273 (char *) "self", NULL
19274 };
19275
19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19281
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 {
19286 resultobj = wxPyMake_wxObject(result);
19287 }
19288 return resultobj;
19289 fail:
19290 return NULL;
19291 }
19292
19293
19294 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19295 PyObject *obj;
19296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19297 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19298 Py_INCREF(obj);
19299 return Py_BuildValue((char *)"");
19300 }
19301 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19302 PyObject *resultobj;
19303 wxWindow *arg1 = (wxWindow *) 0 ;
19304 int arg2 = (int) -1 ;
19305 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19306 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19307 wxSize const &arg4_defvalue = wxDefaultSize ;
19308 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19309 long arg5 = (long) wxLC_REPORT ;
19310 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19311 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19312 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19313 wxString *arg7 = (wxString *) &arg7_defvalue ;
19314 wxListView *result;
19315 wxPoint temp3 ;
19316 wxSize temp4 ;
19317 bool temp7 = False ;
19318 PyObject * obj0 = 0 ;
19319 PyObject * obj2 = 0 ;
19320 PyObject * obj3 = 0 ;
19321 PyObject * obj5 = 0 ;
19322 PyObject * obj6 = 0 ;
19323 char *kwnames[] = {
19324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19325 };
19326
19327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19329 if (obj2) {
19330 {
19331 arg3 = &temp3;
19332 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19333 }
19334 }
19335 if (obj3) {
19336 {
19337 arg4 = &temp4;
19338 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19339 }
19340 }
19341 if (obj5) {
19342 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19343 if (arg6 == NULL) {
19344 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19345 }
19346 }
19347 if (obj6) {
19348 {
19349 arg7 = wxString_in_helper(obj6);
19350 if (arg7 == NULL) SWIG_fail;
19351 temp7 = True;
19352 }
19353 }
19354 {
19355 PyThreadState* __tstate = wxPyBeginAllowThreads();
19356 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19357
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19362 {
19363 if (temp7)
19364 delete arg7;
19365 }
19366 return resultobj;
19367 fail:
19368 {
19369 if (temp7)
19370 delete arg7;
19371 }
19372 return NULL;
19373 }
19374
19375
19376 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19377 PyObject *resultobj;
19378 wxListView *result;
19379 char *kwnames[] = {
19380 NULL
19381 };
19382
19383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19384 {
19385 PyThreadState* __tstate = wxPyBeginAllowThreads();
19386 result = (wxListView *)new wxListView();
19387
19388 wxPyEndAllowThreads(__tstate);
19389 if (PyErr_Occurred()) SWIG_fail;
19390 }
19391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19392 return resultobj;
19393 fail:
19394 return NULL;
19395 }
19396
19397
19398 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19399 PyObject *resultobj;
19400 wxListView *arg1 = (wxListView *) 0 ;
19401 wxWindow *arg2 = (wxWindow *) 0 ;
19402 int arg3 = (int) -1 ;
19403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19405 wxSize const &arg5_defvalue = wxDefaultSize ;
19406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19407 long arg6 = (long) wxLC_REPORT ;
19408 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19409 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19410 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19411 wxString *arg8 = (wxString *) &arg8_defvalue ;
19412 bool result;
19413 wxPoint temp4 ;
19414 wxSize temp5 ;
19415 bool temp8 = False ;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 PyObject * obj3 = 0 ;
19419 PyObject * obj4 = 0 ;
19420 PyObject * obj6 = 0 ;
19421 PyObject * obj7 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19428 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19429 if (obj3) {
19430 {
19431 arg4 = &temp4;
19432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19433 }
19434 }
19435 if (obj4) {
19436 {
19437 arg5 = &temp5;
19438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19439 }
19440 }
19441 if (obj6) {
19442 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19443 if (arg7 == NULL) {
19444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19445 }
19446 }
19447 if (obj7) {
19448 {
19449 arg8 = wxString_in_helper(obj7);
19450 if (arg8 == NULL) SWIG_fail;
19451 temp8 = True;
19452 }
19453 }
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = PyInt_FromLong((long)result);
19462 {
19463 if (temp8)
19464 delete arg8;
19465 }
19466 return resultobj;
19467 fail:
19468 {
19469 if (temp8)
19470 delete arg8;
19471 }
19472 return NULL;
19473 }
19474
19475
19476 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj;
19478 wxListView *arg1 = (wxListView *) 0 ;
19479 long arg2 ;
19480 bool arg3 = (bool) True ;
19481 PyObject * obj0 = 0 ;
19482 PyObject * obj2 = 0 ;
19483 char *kwnames[] = {
19484 (char *) "self",(char *) "n",(char *) "on", NULL
19485 };
19486
19487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19489 if (obj2) {
19490 arg3 = PyInt_AsLong(obj2) ? true : false;
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 {
19494 PyThreadState* __tstate = wxPyBeginAllowThreads();
19495 (arg1)->Select(arg2,arg3);
19496
19497 wxPyEndAllowThreads(__tstate);
19498 if (PyErr_Occurred()) SWIG_fail;
19499 }
19500 Py_INCREF(Py_None); resultobj = Py_None;
19501 return resultobj;
19502 fail:
19503 return NULL;
19504 }
19505
19506
19507 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19508 PyObject *resultobj;
19509 wxListView *arg1 = (wxListView *) 0 ;
19510 long arg2 ;
19511 PyObject * obj0 = 0 ;
19512 char *kwnames[] = {
19513 (char *) "self",(char *) "index", NULL
19514 };
19515
19516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19518 {
19519 PyThreadState* __tstate = wxPyBeginAllowThreads();
19520 (arg1)->Focus(arg2);
19521
19522 wxPyEndAllowThreads(__tstate);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 }
19525 Py_INCREF(Py_None); resultobj = Py_None;
19526 return resultobj;
19527 fail:
19528 return NULL;
19529 }
19530
19531
19532 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19533 PyObject *resultobj;
19534 wxListView *arg1 = (wxListView *) 0 ;
19535 long result;
19536 PyObject * obj0 = 0 ;
19537 char *kwnames[] = {
19538 (char *) "self", NULL
19539 };
19540
19541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19543 {
19544 PyThreadState* __tstate = wxPyBeginAllowThreads();
19545 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19546
19547 wxPyEndAllowThreads(__tstate);
19548 if (PyErr_Occurred()) SWIG_fail;
19549 }
19550 resultobj = PyInt_FromLong((long)result);
19551 return resultobj;
19552 fail:
19553 return NULL;
19554 }
19555
19556
19557 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19558 PyObject *resultobj;
19559 wxListView *arg1 = (wxListView *) 0 ;
19560 long arg2 ;
19561 long result;
19562 PyObject * obj0 = 0 ;
19563 char *kwnames[] = {
19564 (char *) "self",(char *) "item", NULL
19565 };
19566
19567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19569 {
19570 PyThreadState* __tstate = wxPyBeginAllowThreads();
19571 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19572
19573 wxPyEndAllowThreads(__tstate);
19574 if (PyErr_Occurred()) SWIG_fail;
19575 }
19576 resultobj = PyInt_FromLong((long)result);
19577 return resultobj;
19578 fail:
19579 return NULL;
19580 }
19581
19582
19583 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19584 PyObject *resultobj;
19585 wxListView *arg1 = (wxListView *) 0 ;
19586 long result;
19587 PyObject * obj0 = 0 ;
19588 char *kwnames[] = {
19589 (char *) "self", NULL
19590 };
19591
19592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19594 {
19595 PyThreadState* __tstate = wxPyBeginAllowThreads();
19596 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19597
19598 wxPyEndAllowThreads(__tstate);
19599 if (PyErr_Occurred()) SWIG_fail;
19600 }
19601 resultobj = PyInt_FromLong((long)result);
19602 return resultobj;
19603 fail:
19604 return NULL;
19605 }
19606
19607
19608 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19609 PyObject *resultobj;
19610 wxListView *arg1 = (wxListView *) 0 ;
19611 long arg2 ;
19612 bool result;
19613 PyObject * obj0 = 0 ;
19614 char *kwnames[] = {
19615 (char *) "self",(char *) "index", NULL
19616 };
19617
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 result = (bool)(arg1)->IsSelected(arg2);
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 resultobj = PyInt_FromLong((long)result);
19628 return resultobj;
19629 fail:
19630 return NULL;
19631 }
19632
19633
19634 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj;
19636 wxListView *arg1 = (wxListView *) 0 ;
19637 int arg2 ;
19638 int arg3 ;
19639 PyObject * obj0 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self",(char *) "col",(char *) "image", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19646 {
19647 PyThreadState* __tstate = wxPyBeginAllowThreads();
19648 (arg1)->SetColumnImage(arg2,arg3);
19649
19650 wxPyEndAllowThreads(__tstate);
19651 if (PyErr_Occurred()) SWIG_fail;
19652 }
19653 Py_INCREF(Py_None); resultobj = Py_None;
19654 return resultobj;
19655 fail:
19656 return NULL;
19657 }
19658
19659
19660 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19661 PyObject *resultobj;
19662 wxListView *arg1 = (wxListView *) 0 ;
19663 int arg2 ;
19664 PyObject * obj0 = 0 ;
19665 char *kwnames[] = {
19666 (char *) "self",(char *) "col", NULL
19667 };
19668
19669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19671 {
19672 PyThreadState* __tstate = wxPyBeginAllowThreads();
19673 (arg1)->ClearColumnImage(arg2);
19674
19675 wxPyEndAllowThreads(__tstate);
19676 if (PyErr_Occurred()) SWIG_fail;
19677 }
19678 Py_INCREF(Py_None); resultobj = Py_None;
19679 return resultobj;
19680 fail:
19681 return NULL;
19682 }
19683
19684
19685 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19686 PyObject *obj;
19687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19688 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19689 Py_INCREF(obj);
19690 return Py_BuildValue((char *)"");
19691 }
19692 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19693 PyObject *resultobj;
19694 wxTreeItemId *result;
19695 char *kwnames[] = {
19696 NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 result = (wxTreeItemId *)new wxTreeItemId();
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19708 return resultobj;
19709 fail:
19710 return NULL;
19711 }
19712
19713
19714 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19715 PyObject *resultobj;
19716 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19717 PyObject * obj0 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "self", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19724 {
19725 PyThreadState* __tstate = wxPyBeginAllowThreads();
19726 delete arg1;
19727
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 Py_INCREF(Py_None); resultobj = Py_None;
19732 return resultobj;
19733 fail:
19734 return NULL;
19735 }
19736
19737
19738 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19739 PyObject *resultobj;
19740 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19741 bool result;
19742 PyObject * obj0 = 0 ;
19743 char *kwnames[] = {
19744 (char *) "self", NULL
19745 };
19746
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19749 {
19750 PyThreadState* __tstate = wxPyBeginAllowThreads();
19751 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19752
19753 wxPyEndAllowThreads(__tstate);
19754 if (PyErr_Occurred()) SWIG_fail;
19755 }
19756 resultobj = PyInt_FromLong((long)result);
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19766 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19767 bool result;
19768 PyObject * obj0 = 0 ;
19769 PyObject * obj1 = 0 ;
19770 char *kwnames[] = {
19771 (char *) "self",(char *) "other", NULL
19772 };
19773
19774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19777 {
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 resultobj = PyInt_FromLong((long)result);
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19794 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19795 bool result;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char *kwnames[] = {
19799 (char *) "self",(char *) "other", NULL
19800 };
19801
19802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 {
19806 PyThreadState* __tstate = wxPyBeginAllowThreads();
19807 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19808
19809 wxPyEndAllowThreads(__tstate);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 }
19812 resultobj = PyInt_FromLong((long)result);
19813 return resultobj;
19814 fail:
19815 return NULL;
19816 }
19817
19818
19819 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj;
19821 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19822 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19823 PyObject * obj0 = 0 ;
19824 PyObject * obj1 = 0 ;
19825 char *kwnames[] = {
19826 (char *) "self",(char *) "m_pItem", NULL
19827 };
19828
19829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19832 if (arg1) (arg1)->m_pItem = arg2;
19833
19834 Py_INCREF(Py_None); resultobj = Py_None;
19835 return resultobj;
19836 fail:
19837 return NULL;
19838 }
19839
19840
19841 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19842 PyObject *resultobj;
19843 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19844 wxTreeItemIdValue result;
19845 PyObject * obj0 = 0 ;
19846 char *kwnames[] = {
19847 (char *) "self", NULL
19848 };
19849
19850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19852 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19853
19854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19855 return resultobj;
19856 fail:
19857 return NULL;
19858 }
19859
19860
19861 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19862 PyObject *obj;
19863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19864 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19865 Py_INCREF(obj);
19866 return Py_BuildValue((char *)"");
19867 }
19868 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19869 PyObject *resultobj;
19870 PyObject *arg1 = (PyObject *) NULL ;
19871 wxPyTreeItemData *result;
19872 PyObject * obj0 = 0 ;
19873 char *kwnames[] = {
19874 (char *) "obj", NULL
19875 };
19876
19877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19878 if (obj0) {
19879 arg1 = obj0;
19880 }
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj;
19897 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19898 PyObject *result;
19899 PyObject * obj0 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 result = (PyObject *)(arg1)->GetData();
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 resultobj = result;
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19923 PyObject *arg2 = (PyObject *) 0 ;
19924 PyObject * obj0 = 0 ;
19925 PyObject * obj1 = 0 ;
19926 char *kwnames[] = {
19927 (char *) "self",(char *) "obj", NULL
19928 };
19929
19930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19932 arg2 = obj1;
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 (arg1)->SetData(arg2);
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 Py_INCREF(Py_None); resultobj = Py_None;
19941 return resultobj;
19942 fail:
19943 return NULL;
19944 }
19945
19946
19947 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19950 wxTreeItemId *result;
19951 PyObject * obj0 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self", NULL
19954 };
19955
19956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 {
19961 wxTreeItemId const &_result_ref = (arg1)->GetId();
19962 result = (wxTreeItemId *) &_result_ref;
19963 }
19964
19965 wxPyEndAllowThreads(__tstate);
19966 if (PyErr_Occurred()) SWIG_fail;
19967 }
19968 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19969 return resultobj;
19970 fail:
19971 return NULL;
19972 }
19973
19974
19975 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj;
19977 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19978 wxTreeItemId *arg2 = 0 ;
19979 PyObject * obj0 = 0 ;
19980 PyObject * obj1 = 0 ;
19981 char *kwnames[] = {
19982 (char *) "self",(char *) "id", NULL
19983 };
19984
19985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19988 if (arg2 == NULL) {
19989 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19990 }
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 (arg1)->SetId((wxTreeItemId const &)*arg2);
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
19998 Py_INCREF(Py_None); resultobj = Py_None;
19999 return resultobj;
20000 fail:
20001 return NULL;
20002 }
20003
20004
20005 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj;
20007 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20008 PyObject * obj0 = 0 ;
20009 char *kwnames[] = {
20010 (char *) "self", NULL
20011 };
20012
20013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 wxPyTreeItemData_Destroy(arg1);
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 Py_INCREF(Py_None); resultobj = Py_None;
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20030 PyObject *obj;
20031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20032 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20033 Py_INCREF(obj);
20034 return Py_BuildValue((char *)"");
20035 }
20036 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20039 int arg2 = (int) 0 ;
20040 wxTreeEvent *result;
20041 char *kwnames[] = {
20042 (char *) "commandType",(char *) "id", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20054 return resultobj;
20055 fail:
20056 return NULL;
20057 }
20058
20059
20060 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20061 PyObject *resultobj;
20062 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20063 wxTreeItemId result;
20064 PyObject * obj0 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "self", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 result = ((wxTreeEvent const *)arg1)->GetItem();
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 {
20079 wxTreeItemId * resultptr;
20080 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20081 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20082 }
20083 return resultobj;
20084 fail:
20085 return NULL;
20086 }
20087
20088
20089 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20092 wxTreeItemId *arg2 = 0 ;
20093 PyObject * obj0 = 0 ;
20094 PyObject * obj1 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self",(char *) "item", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20102 if (arg2 == NULL) {
20103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20104 }
20105 {
20106 PyThreadState* __tstate = wxPyBeginAllowThreads();
20107 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20108
20109 wxPyEndAllowThreads(__tstate);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 }
20112 Py_INCREF(Py_None); resultobj = Py_None;
20113 return resultobj;
20114 fail:
20115 return NULL;
20116 }
20117
20118
20119 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20120 PyObject *resultobj;
20121 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20122 wxTreeItemId result;
20123 PyObject * obj0 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20130 {
20131 PyThreadState* __tstate = wxPyBeginAllowThreads();
20132 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 {
20138 wxTreeItemId * resultptr;
20139 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20140 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20141 }
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20151 wxTreeItemId *arg2 = 0 ;
20152 PyObject * obj0 = 0 ;
20153 PyObject * obj1 = 0 ;
20154 char *kwnames[] = {
20155 (char *) "self",(char *) "item", NULL
20156 };
20157
20158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20160 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20161 if (arg2 == NULL) {
20162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20163 }
20164 {
20165 PyThreadState* __tstate = wxPyBeginAllowThreads();
20166 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20167
20168 wxPyEndAllowThreads(__tstate);
20169 if (PyErr_Occurred()) SWIG_fail;
20170 }
20171 Py_INCREF(Py_None); resultobj = Py_None;
20172 return resultobj;
20173 fail:
20174 return NULL;
20175 }
20176
20177
20178 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20179 PyObject *resultobj;
20180 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20181 wxPoint result;
20182 PyObject * obj0 = 0 ;
20183 char *kwnames[] = {
20184 (char *) "self", NULL
20185 };
20186
20187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = ((wxTreeEvent const *)arg1)->GetPoint();
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 {
20197 wxPoint * resultptr;
20198 resultptr = new wxPoint((wxPoint &) result);
20199 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20200 }
20201 return resultobj;
20202 fail:
20203 return NULL;
20204 }
20205
20206
20207 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20210 wxPoint *arg2 = 0 ;
20211 wxPoint temp2 ;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj1 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "self",(char *) "pt", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20220 {
20221 arg2 = &temp2;
20222 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20223 }
20224 {
20225 PyThreadState* __tstate = wxPyBeginAllowThreads();
20226 (arg1)->SetPoint((wxPoint const &)*arg2);
20227
20228 wxPyEndAllowThreads(__tstate);
20229 if (PyErr_Occurred()) SWIG_fail;
20230 }
20231 Py_INCREF(Py_None); resultobj = Py_None;
20232 return resultobj;
20233 fail:
20234 return NULL;
20235 }
20236
20237
20238 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20239 PyObject *resultobj;
20240 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20241 wxKeyEvent *result;
20242 PyObject * obj0 = 0 ;
20243 char *kwnames[] = {
20244 (char *) "self", NULL
20245 };
20246
20247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20249 {
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 {
20252 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20253 result = (wxKeyEvent *) &_result_ref;
20254 }
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20260 return resultobj;
20261 fail:
20262 return NULL;
20263 }
20264
20265
20266 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20269 int result;
20270 PyObject * obj0 = 0 ;
20271 char *kwnames[] = {
20272 (char *) "self", NULL
20273 };
20274
20275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20277 {
20278 PyThreadState* __tstate = wxPyBeginAllowThreads();
20279 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20280
20281 wxPyEndAllowThreads(__tstate);
20282 if (PyErr_Occurred()) SWIG_fail;
20283 }
20284 resultobj = PyInt_FromLong((long)result);
20285 return resultobj;
20286 fail:
20287 return NULL;
20288 }
20289
20290
20291 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20292 PyObject *resultobj;
20293 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20294 wxKeyEvent *arg2 = 0 ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj1 = 0 ;
20297 char *kwnames[] = {
20298 (char *) "self",(char *) "evt", NULL
20299 };
20300
20301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20304 if (arg2 == NULL) {
20305 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20306 }
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 Py_INCREF(Py_None); resultobj = Py_None;
20315 return resultobj;
20316 fail:
20317 return NULL;
20318 }
20319
20320
20321 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj;
20323 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20324 wxString *result;
20325 PyObject * obj0 = 0 ;
20326 char *kwnames[] = {
20327 (char *) "self", NULL
20328 };
20329
20330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 {
20335 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20336 result = (wxString *) &_result_ref;
20337 }
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 {
20343 #if wxUSE_UNICODE
20344 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20345 #else
20346 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20347 #endif
20348 }
20349 return resultobj;
20350 fail:
20351 return NULL;
20352 }
20353
20354
20355 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20356 PyObject *resultobj;
20357 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20358 wxString *arg2 = 0 ;
20359 bool temp2 = False ;
20360 PyObject * obj0 = 0 ;
20361 PyObject * obj1 = 0 ;
20362 char *kwnames[] = {
20363 (char *) "self",(char *) "label", NULL
20364 };
20365
20366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20368 {
20369 arg2 = wxString_in_helper(obj1);
20370 if (arg2 == NULL) SWIG_fail;
20371 temp2 = True;
20372 }
20373 {
20374 PyThreadState* __tstate = wxPyBeginAllowThreads();
20375 (arg1)->SetLabel((wxString const &)*arg2);
20376
20377 wxPyEndAllowThreads(__tstate);
20378 if (PyErr_Occurred()) SWIG_fail;
20379 }
20380 Py_INCREF(Py_None); resultobj = Py_None;
20381 {
20382 if (temp2)
20383 delete arg2;
20384 }
20385 return resultobj;
20386 fail:
20387 {
20388 if (temp2)
20389 delete arg2;
20390 }
20391 return NULL;
20392 }
20393
20394
20395 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20396 PyObject *resultobj;
20397 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20398 bool result;
20399 PyObject * obj0 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 resultobj = PyInt_FromLong((long)result);
20414 return resultobj;
20415 fail:
20416 return NULL;
20417 }
20418
20419
20420 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20421 PyObject *resultobj;
20422 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20423 bool arg2 ;
20424 PyObject * obj0 = 0 ;
20425 PyObject * obj1 = 0 ;
20426 char *kwnames[] = {
20427 (char *) "self",(char *) "editCancelled", NULL
20428 };
20429
20430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20432 arg2 = PyInt_AsLong(obj1) ? true : false;
20433 if (PyErr_Occurred()) SWIG_fail;
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 (arg1)->SetEditCanceled(arg2);
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
20441 Py_INCREF(Py_None); resultobj = Py_None;
20442 return resultobj;
20443 fail:
20444 return NULL;
20445 }
20446
20447
20448 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj;
20450 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20451 wxString *arg2 = 0 ;
20452 bool temp2 = False ;
20453 PyObject * obj0 = 0 ;
20454 PyObject * obj1 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self",(char *) "toolTip", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
20460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20461 {
20462 arg2 = wxString_in_helper(obj1);
20463 if (arg2 == NULL) SWIG_fail;
20464 temp2 = True;
20465 }
20466 {
20467 PyThreadState* __tstate = wxPyBeginAllowThreads();
20468 (arg1)->SetToolTip((wxString const &)*arg2);
20469
20470 wxPyEndAllowThreads(__tstate);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 }
20473 Py_INCREF(Py_None); resultobj = Py_None;
20474 {
20475 if (temp2)
20476 delete arg2;
20477 }
20478 return resultobj;
20479 fail:
20480 {
20481 if (temp2)
20482 delete arg2;
20483 }
20484 return NULL;
20485 }
20486
20487
20488 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20489 PyObject *obj;
20490 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20491 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20492 Py_INCREF(obj);
20493 return Py_BuildValue((char *)"");
20494 }
20495 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20496 PyObject *resultobj;
20497 wxWindow *arg1 = (wxWindow *) 0 ;
20498 int arg2 = (int) -1 ;
20499 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20500 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20501 wxSize const &arg4_defvalue = wxDefaultSize ;
20502 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20503 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20504 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20505 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20506 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20507 wxString *arg7 = (wxString *) &arg7_defvalue ;
20508 wxPyTreeCtrl *result;
20509 wxPoint temp3 ;
20510 wxSize temp4 ;
20511 bool temp7 = False ;
20512 PyObject * obj0 = 0 ;
20513 PyObject * obj2 = 0 ;
20514 PyObject * obj3 = 0 ;
20515 PyObject * obj5 = 0 ;
20516 PyObject * obj6 = 0 ;
20517 char *kwnames[] = {
20518 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20519 };
20520
20521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20523 if (obj2) {
20524 {
20525 arg3 = &temp3;
20526 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20527 }
20528 }
20529 if (obj3) {
20530 {
20531 arg4 = &temp4;
20532 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20533 }
20534 }
20535 if (obj5) {
20536 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20537 if (arg6 == NULL) {
20538 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20539 }
20540 }
20541 if (obj6) {
20542 {
20543 arg7 = wxString_in_helper(obj6);
20544 if (arg7 == NULL) SWIG_fail;
20545 temp7 = True;
20546 }
20547 }
20548 {
20549 PyThreadState* __tstate = wxPyBeginAllowThreads();
20550 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20551
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20556 {
20557 if (temp7)
20558 delete arg7;
20559 }
20560 return resultobj;
20561 fail:
20562 {
20563 if (temp7)
20564 delete arg7;
20565 }
20566 return NULL;
20567 }
20568
20569
20570 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20571 PyObject *resultobj;
20572 wxPyTreeCtrl *result;
20573 char *kwnames[] = {
20574 NULL
20575 };
20576
20577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20595 wxWindow *arg2 = (wxWindow *) 0 ;
20596 int arg3 = (int) -1 ;
20597 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20598 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20599 wxSize const &arg5_defvalue = wxDefaultSize ;
20600 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20601 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20602 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20603 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20604 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20605 wxString *arg8 = (wxString *) &arg8_defvalue ;
20606 bool result;
20607 wxPoint temp4 ;
20608 wxSize temp5 ;
20609 bool temp8 = False ;
20610 PyObject * obj0 = 0 ;
20611 PyObject * obj1 = 0 ;
20612 PyObject * obj3 = 0 ;
20613 PyObject * obj4 = 0 ;
20614 PyObject * obj6 = 0 ;
20615 PyObject * obj7 = 0 ;
20616 char *kwnames[] = {
20617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20618 };
20619
20620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 if (obj3) {
20624 {
20625 arg4 = &temp4;
20626 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20627 }
20628 }
20629 if (obj4) {
20630 {
20631 arg5 = &temp5;
20632 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20633 }
20634 }
20635 if (obj6) {
20636 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20637 if (arg7 == NULL) {
20638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20639 }
20640 }
20641 if (obj7) {
20642 {
20643 arg8 = wxString_in_helper(obj7);
20644 if (arg8 == NULL) SWIG_fail;
20645 temp8 = True;
20646 }
20647 }
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 resultobj = PyInt_FromLong((long)result);
20656 {
20657 if (temp8)
20658 delete arg8;
20659 }
20660 return resultobj;
20661 fail:
20662 {
20663 if (temp8)
20664 delete arg8;
20665 }
20666 return NULL;
20667 }
20668
20669
20670 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20673 PyObject *arg2 = (PyObject *) 0 ;
20674 PyObject *arg3 = (PyObject *) 0 ;
20675 PyObject * obj0 = 0 ;
20676 PyObject * obj1 = 0 ;
20677 PyObject * obj2 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self",(char *) "self",(char *) "_class", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20684 arg2 = obj1;
20685 arg3 = obj2;
20686 {
20687 PyThreadState* __tstate = wxPyBeginAllowThreads();
20688 (arg1)->_setCallbackInfo(arg2,arg3);
20689
20690 wxPyEndAllowThreads(__tstate);
20691 if (PyErr_Occurred()) SWIG_fail;
20692 }
20693 Py_INCREF(Py_None); resultobj = Py_None;
20694 return resultobj;
20695 fail:
20696 return NULL;
20697 }
20698
20699
20700 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20701 PyObject *resultobj;
20702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20703 size_t result;
20704 PyObject * obj0 = 0 ;
20705 char *kwnames[] = {
20706 (char *) "self", NULL
20707 };
20708
20709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 resultobj = PyInt_FromLong((long)result);
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20728 unsigned int result;
20729 PyObject * obj0 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20736 {
20737 PyThreadState* __tstate = wxPyBeginAllowThreads();
20738 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20739
20740 wxPyEndAllowThreads(__tstate);
20741 if (PyErr_Occurred()) SWIG_fail;
20742 }
20743 resultobj = PyInt_FromLong((long)result);
20744 return resultobj;
20745 fail:
20746 return NULL;
20747 }
20748
20749
20750 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20751 PyObject *resultobj;
20752 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20753 unsigned int arg2 ;
20754 PyObject * obj0 = 0 ;
20755 PyObject * obj1 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self",(char *) "indent", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20762 arg2 = (unsigned int) PyInt_AsLong(obj1);
20763 if (PyErr_Occurred()) SWIG_fail;
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 (arg1)->SetIndent(arg2);
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
20771 Py_INCREF(Py_None); resultobj = Py_None;
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj;
20780 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20781 unsigned int result;
20782 PyObject * obj0 = 0 ;
20783 char *kwnames[] = {
20784 (char *) "self", NULL
20785 };
20786
20787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20789 {
20790 PyThreadState* __tstate = wxPyBeginAllowThreads();
20791 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20792
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 resultobj = PyInt_FromLong((long)result);
20797 return resultobj;
20798 fail:
20799 return NULL;
20800 }
20801
20802
20803 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20804 PyObject *resultobj;
20805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20806 unsigned int arg2 ;
20807 PyObject * obj0 = 0 ;
20808 PyObject * obj1 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self",(char *) "spacing", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20815 arg2 = (unsigned int) PyInt_AsLong(obj1);
20816 if (PyErr_Occurred()) SWIG_fail;
20817 {
20818 PyThreadState* __tstate = wxPyBeginAllowThreads();
20819 (arg1)->SetSpacing(arg2);
20820
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 Py_INCREF(Py_None); resultobj = Py_None;
20825 return resultobj;
20826 fail:
20827 return NULL;
20828 }
20829
20830
20831 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20832 PyObject *resultobj;
20833 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20834 wxImageList *result;
20835 PyObject * obj0 = 0 ;
20836 char *kwnames[] = {
20837 (char *) "self", NULL
20838 };
20839
20840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20845
20846 wxPyEndAllowThreads(__tstate);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 }
20849 {
20850 resultobj = wxPyMake_wxObject(result);
20851 }
20852 return resultobj;
20853 fail:
20854 return NULL;
20855 }
20856
20857
20858 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20859 PyObject *resultobj;
20860 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20861 wxImageList *result;
20862 PyObject * obj0 = 0 ;
20863 char *kwnames[] = {
20864 (char *) "self", NULL
20865 };
20866
20867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20869 {
20870 PyThreadState* __tstate = wxPyBeginAllowThreads();
20871 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20872
20873 wxPyEndAllowThreads(__tstate);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 }
20876 {
20877 resultobj = wxPyMake_wxObject(result);
20878 }
20879 return resultobj;
20880 fail:
20881 return NULL;
20882 }
20883
20884
20885 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20886 PyObject *resultobj;
20887 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20888 wxImageList *arg2 = (wxImageList *) 0 ;
20889 PyObject * obj0 = 0 ;
20890 PyObject * obj1 = 0 ;
20891 char *kwnames[] = {
20892 (char *) "self",(char *) "imageList", NULL
20893 };
20894
20895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 (arg1)->SetImageList(arg2);
20901
20902 wxPyEndAllowThreads(__tstate);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 }
20905 Py_INCREF(Py_None); resultobj = Py_None;
20906 return resultobj;
20907 fail:
20908 return NULL;
20909 }
20910
20911
20912 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20913 PyObject *resultobj;
20914 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20915 wxImageList *arg2 = (wxImageList *) 0 ;
20916 PyObject * obj0 = 0 ;
20917 PyObject * obj1 = 0 ;
20918 char *kwnames[] = {
20919 (char *) "self",(char *) "imageList", NULL
20920 };
20921
20922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20924 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20925 {
20926 PyThreadState* __tstate = wxPyBeginAllowThreads();
20927 (arg1)->SetStateImageList(arg2);
20928
20929 wxPyEndAllowThreads(__tstate);
20930 if (PyErr_Occurred()) SWIG_fail;
20931 }
20932 Py_INCREF(Py_None); resultobj = Py_None;
20933 return resultobj;
20934 fail:
20935 return NULL;
20936 }
20937
20938
20939 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20940 PyObject *resultobj;
20941 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20942 wxImageList *arg2 = (wxImageList *) 0 ;
20943 PyObject * obj0 = 0 ;
20944 PyObject * obj1 = 0 ;
20945 char *kwnames[] = {
20946 (char *) "self",(char *) "imageList", NULL
20947 };
20948
20949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20952 {
20953 PyThreadState* __tstate = wxPyBeginAllowThreads();
20954 (arg1)->AssignImageList(arg2);
20955
20956 wxPyEndAllowThreads(__tstate);
20957 if (PyErr_Occurred()) SWIG_fail;
20958 }
20959 Py_INCREF(Py_None); resultobj = Py_None;
20960 return resultobj;
20961 fail:
20962 return NULL;
20963 }
20964
20965
20966 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj;
20968 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20969 wxImageList *arg2 = (wxImageList *) 0 ;
20970 PyObject * obj0 = 0 ;
20971 PyObject * obj1 = 0 ;
20972 char *kwnames[] = {
20973 (char *) "self",(char *) "imageList", NULL
20974 };
20975
20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20979 {
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 (arg1)->AssignStateImageList(arg2);
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 Py_INCREF(Py_None); resultobj = Py_None;
20987 return resultobj;
20988 fail:
20989 return NULL;
20990 }
20991
20992
20993 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20994 PyObject *resultobj;
20995 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20996 wxTreeItemId *arg2 = 0 ;
20997 wxString result;
20998 PyObject * obj0 = 0 ;
20999 PyObject * obj1 = 0 ;
21000 char *kwnames[] = {
21001 (char *) "self",(char *) "item", NULL
21002 };
21003
21004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21007 if (arg2 == NULL) {
21008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21009 }
21010 {
21011 PyThreadState* __tstate = wxPyBeginAllowThreads();
21012 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21013
21014 wxPyEndAllowThreads(__tstate);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 {
21018 #if wxUSE_UNICODE
21019 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21020 #else
21021 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21022 #endif
21023 }
21024 return resultobj;
21025 fail:
21026 return NULL;
21027 }
21028
21029
21030 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21031 PyObject *resultobj;
21032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21033 wxTreeItemId *arg2 = 0 ;
21034 int arg3 = (int) wxTreeItemIcon_Normal ;
21035 int result;
21036 PyObject * obj0 = 0 ;
21037 PyObject * obj1 = 0 ;
21038 char *kwnames[] = {
21039 (char *) "self",(char *) "item",(char *) "which", NULL
21040 };
21041
21042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21045 if (arg2 == NULL) {
21046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21047 }
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21051
21052 wxPyEndAllowThreads(__tstate);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 }
21055 resultobj = PyInt_FromLong((long)result);
21056 return resultobj;
21057 fail:
21058 return NULL;
21059 }
21060
21061
21062 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21063 PyObject *resultobj;
21064 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21065 wxTreeItemId *arg2 = 0 ;
21066 wxPyTreeItemData *result;
21067 PyObject * obj0 = 0 ;
21068 PyObject * obj1 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self",(char *) "item", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21076 if (arg2 == NULL) {
21077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21078 }
21079 {
21080 PyThreadState* __tstate = wxPyBeginAllowThreads();
21081 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21082
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21087 return resultobj;
21088 fail:
21089 return NULL;
21090 }
21091
21092
21093 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21094 PyObject *resultobj;
21095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21096 wxTreeItemId *arg2 = 0 ;
21097 PyObject *result;
21098 PyObject * obj0 = 0 ;
21099 PyObject * obj1 = 0 ;
21100 char *kwnames[] = {
21101 (char *) "self",(char *) "item", NULL
21102 };
21103
21104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21107 if (arg2 == NULL) {
21108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21109 }
21110 {
21111 PyThreadState* __tstate = wxPyBeginAllowThreads();
21112 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21113
21114 wxPyEndAllowThreads(__tstate);
21115 if (PyErr_Occurred()) SWIG_fail;
21116 }
21117 resultobj = result;
21118 return resultobj;
21119 fail:
21120 return NULL;
21121 }
21122
21123
21124 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21125 PyObject *resultobj;
21126 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21127 wxTreeItemId *arg2 = 0 ;
21128 wxColour result;
21129 PyObject * obj0 = 0 ;
21130 PyObject * obj1 = 0 ;
21131 char *kwnames[] = {
21132 (char *) "self",(char *) "item", NULL
21133 };
21134
21135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21138 if (arg2 == NULL) {
21139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21140 }
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21144
21145 wxPyEndAllowThreads(__tstate);
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 {
21149 wxColour * resultptr;
21150 resultptr = new wxColour((wxColour &) result);
21151 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21152 }
21153 return resultobj;
21154 fail:
21155 return NULL;
21156 }
21157
21158
21159 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21160 PyObject *resultobj;
21161 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21162 wxTreeItemId *arg2 = 0 ;
21163 wxColour result;
21164 PyObject * obj0 = 0 ;
21165 PyObject * obj1 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self",(char *) "item", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21173 if (arg2 == NULL) {
21174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21175 }
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 {
21184 wxColour * resultptr;
21185 resultptr = new wxColour((wxColour &) result);
21186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21187 }
21188 return resultobj;
21189 fail:
21190 return NULL;
21191 }
21192
21193
21194 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21195 PyObject *resultobj;
21196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21197 wxTreeItemId *arg2 = 0 ;
21198 wxFont result;
21199 PyObject * obj0 = 0 ;
21200 PyObject * obj1 = 0 ;
21201 char *kwnames[] = {
21202 (char *) "self",(char *) "item", NULL
21203 };
21204
21205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21208 if (arg2 == NULL) {
21209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21210 }
21211 {
21212 PyThreadState* __tstate = wxPyBeginAllowThreads();
21213 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21214
21215 wxPyEndAllowThreads(__tstate);
21216 if (PyErr_Occurred()) SWIG_fail;
21217 }
21218 {
21219 wxFont * resultptr;
21220 resultptr = new wxFont((wxFont &) result);
21221 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21222 }
21223 return resultobj;
21224 fail:
21225 return NULL;
21226 }
21227
21228
21229 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21230 PyObject *resultobj;
21231 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21232 wxTreeItemId *arg2 = 0 ;
21233 wxString *arg3 = 0 ;
21234 bool temp3 = False ;
21235 PyObject * obj0 = 0 ;
21236 PyObject * obj1 = 0 ;
21237 PyObject * obj2 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self",(char *) "item",(char *) "text", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21245 if (arg2 == NULL) {
21246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21247 }
21248 {
21249 arg3 = wxString_in_helper(obj2);
21250 if (arg3 == NULL) SWIG_fail;
21251 temp3 = True;
21252 }
21253 {
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21256
21257 wxPyEndAllowThreads(__tstate);
21258 if (PyErr_Occurred()) SWIG_fail;
21259 }
21260 Py_INCREF(Py_None); resultobj = Py_None;
21261 {
21262 if (temp3)
21263 delete arg3;
21264 }
21265 return resultobj;
21266 fail:
21267 {
21268 if (temp3)
21269 delete arg3;
21270 }
21271 return NULL;
21272 }
21273
21274
21275 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj;
21277 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21278 wxTreeItemId *arg2 = 0 ;
21279 int arg3 ;
21280 int arg4 = (int) wxTreeItemIcon_Normal ;
21281 PyObject * obj0 = 0 ;
21282 PyObject * obj1 = 0 ;
21283 char *kwnames[] = {
21284 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21285 };
21286
21287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21290 if (arg2 == NULL) {
21291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21292 }
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21296
21297 wxPyEndAllowThreads(__tstate);
21298 if (PyErr_Occurred()) SWIG_fail;
21299 }
21300 Py_INCREF(Py_None); resultobj = Py_None;
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21310 wxTreeItemId *arg2 = 0 ;
21311 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21312 PyObject * obj0 = 0 ;
21313 PyObject * obj1 = 0 ;
21314 PyObject * obj2 = 0 ;
21315 char *kwnames[] = {
21316 (char *) "self",(char *) "item",(char *) "data", NULL
21317 };
21318
21319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21322 if (arg2 == NULL) {
21323 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21324 }
21325 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21326 {
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21329
21330 wxPyEndAllowThreads(__tstate);
21331 if (PyErr_Occurred()) SWIG_fail;
21332 }
21333 Py_INCREF(Py_None); resultobj = Py_None;
21334 return resultobj;
21335 fail:
21336 return NULL;
21337 }
21338
21339
21340 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21343 wxTreeItemId *arg2 = 0 ;
21344 PyObject *arg3 = (PyObject *) 0 ;
21345 PyObject * obj0 = 0 ;
21346 PyObject * obj1 = 0 ;
21347 PyObject * obj2 = 0 ;
21348 char *kwnames[] = {
21349 (char *) "self",(char *) "item",(char *) "obj", NULL
21350 };
21351
21352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21355 if (arg2 == NULL) {
21356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21357 }
21358 arg3 = obj2;
21359 {
21360 PyThreadState* __tstate = wxPyBeginAllowThreads();
21361 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21362
21363 wxPyEndAllowThreads(__tstate);
21364 if (PyErr_Occurred()) SWIG_fail;
21365 }
21366 Py_INCREF(Py_None); resultobj = Py_None;
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21376 wxTreeItemId *arg2 = 0 ;
21377 bool arg3 = (bool) True ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 PyObject * obj2 = 0 ;
21381 char *kwnames[] = {
21382 (char *) "self",(char *) "item",(char *) "has", NULL
21383 };
21384
21385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21388 if (arg2 == NULL) {
21389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21390 }
21391 if (obj2) {
21392 arg3 = PyInt_AsLong(obj2) ? true : false;
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 {
21396 PyThreadState* __tstate = wxPyBeginAllowThreads();
21397 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21398
21399 wxPyEndAllowThreads(__tstate);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 Py_INCREF(Py_None); resultobj = Py_None;
21403 return resultobj;
21404 fail:
21405 return NULL;
21406 }
21407
21408
21409 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21410 PyObject *resultobj;
21411 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21412 wxTreeItemId *arg2 = 0 ;
21413 bool arg3 = (bool) True ;
21414 PyObject * obj0 = 0 ;
21415 PyObject * obj1 = 0 ;
21416 PyObject * obj2 = 0 ;
21417 char *kwnames[] = {
21418 (char *) "self",(char *) "item",(char *) "bold", NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21424 if (arg2 == NULL) {
21425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21426 }
21427 if (obj2) {
21428 arg3 = PyInt_AsLong(obj2) ? true : false;
21429 if (PyErr_Occurred()) SWIG_fail;
21430 }
21431 {
21432 PyThreadState* __tstate = wxPyBeginAllowThreads();
21433 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21434
21435 wxPyEndAllowThreads(__tstate);
21436 if (PyErr_Occurred()) SWIG_fail;
21437 }
21438 Py_INCREF(Py_None); resultobj = Py_None;
21439 return resultobj;
21440 fail:
21441 return NULL;
21442 }
21443
21444
21445 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21446 PyObject *resultobj;
21447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21448 wxTreeItemId *arg2 = 0 ;
21449 wxColour *arg3 = 0 ;
21450 wxColour temp3 ;
21451 PyObject * obj0 = 0 ;
21452 PyObject * obj1 = 0 ;
21453 PyObject * obj2 = 0 ;
21454 char *kwnames[] = {
21455 (char *) "self",(char *) "item",(char *) "col", NULL
21456 };
21457
21458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21461 if (arg2 == NULL) {
21462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21463 }
21464 {
21465 arg3 = &temp3;
21466 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21467 }
21468 {
21469 PyThreadState* __tstate = wxPyBeginAllowThreads();
21470 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21471
21472 wxPyEndAllowThreads(__tstate);
21473 if (PyErr_Occurred()) SWIG_fail;
21474 }
21475 Py_INCREF(Py_None); resultobj = Py_None;
21476 return resultobj;
21477 fail:
21478 return NULL;
21479 }
21480
21481
21482 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21483 PyObject *resultobj;
21484 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21485 wxTreeItemId *arg2 = 0 ;
21486 wxColour *arg3 = 0 ;
21487 wxColour temp3 ;
21488 PyObject * obj0 = 0 ;
21489 PyObject * obj1 = 0 ;
21490 PyObject * obj2 = 0 ;
21491 char *kwnames[] = {
21492 (char *) "self",(char *) "item",(char *) "col", NULL
21493 };
21494
21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21498 if (arg2 == NULL) {
21499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21500 }
21501 {
21502 arg3 = &temp3;
21503 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21504 }
21505 {
21506 PyThreadState* __tstate = wxPyBeginAllowThreads();
21507 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21508
21509 wxPyEndAllowThreads(__tstate);
21510 if (PyErr_Occurred()) SWIG_fail;
21511 }
21512 Py_INCREF(Py_None); resultobj = Py_None;
21513 return resultobj;
21514 fail:
21515 return NULL;
21516 }
21517
21518
21519 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21520 PyObject *resultobj;
21521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21522 wxTreeItemId *arg2 = 0 ;
21523 wxFont *arg3 = 0 ;
21524 PyObject * obj0 = 0 ;
21525 PyObject * obj1 = 0 ;
21526 PyObject * obj2 = 0 ;
21527 char *kwnames[] = {
21528 (char *) "self",(char *) "item",(char *) "font", NULL
21529 };
21530
21531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21534 if (arg2 == NULL) {
21535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21536 }
21537 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21538 if (arg3 == NULL) {
21539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21540 }
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 Py_INCREF(Py_None); resultobj = Py_None;
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj;
21557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21558 wxTreeItemId *arg2 = 0 ;
21559 bool result;
21560 PyObject * obj0 = 0 ;
21561 PyObject * obj1 = 0 ;
21562 char *kwnames[] = {
21563 (char *) "self",(char *) "item", NULL
21564 };
21565
21566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21569 if (arg2 == NULL) {
21570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21571 }
21572 {
21573 PyThreadState* __tstate = wxPyBeginAllowThreads();
21574 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21575
21576 wxPyEndAllowThreads(__tstate);
21577 if (PyErr_Occurred()) SWIG_fail;
21578 }
21579 resultobj = PyInt_FromLong((long)result);
21580 return resultobj;
21581 fail:
21582 return NULL;
21583 }
21584
21585
21586 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21587 PyObject *resultobj;
21588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21589 wxTreeItemId *arg2 = 0 ;
21590 bool result;
21591 PyObject * obj0 = 0 ;
21592 PyObject * obj1 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "self",(char *) "item", NULL
21595 };
21596
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21600 if (arg2 == NULL) {
21601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21602 }
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 resultobj = PyInt_FromLong((long)result);
21611 return resultobj;
21612 fail:
21613 return NULL;
21614 }
21615
21616
21617 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj;
21619 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21620 wxTreeItemId *arg2 = 0 ;
21621 bool result;
21622 PyObject * obj0 = 0 ;
21623 PyObject * obj1 = 0 ;
21624 char *kwnames[] = {
21625 (char *) "self",(char *) "item", NULL
21626 };
21627
21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21631 if (arg2 == NULL) {
21632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21633 }
21634 {
21635 PyThreadState* __tstate = wxPyBeginAllowThreads();
21636 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21637
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 resultobj = PyInt_FromLong((long)result);
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj;
21650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21651 wxTreeItemId *arg2 = 0 ;
21652 bool result;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "item", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21662 if (arg2 == NULL) {
21663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21664 }
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 resultobj = PyInt_FromLong((long)result);
21673 return resultobj;
21674 fail:
21675 return NULL;
21676 }
21677
21678
21679 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21680 PyObject *resultobj;
21681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21682 wxTreeItemId *arg2 = 0 ;
21683 bool result;
21684 PyObject * obj0 = 0 ;
21685 PyObject * obj1 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self",(char *) "item", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21693 if (arg2 == NULL) {
21694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21695 }
21696 {
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21699
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
21703 resultobj = PyInt_FromLong((long)result);
21704 return resultobj;
21705 fail:
21706 return NULL;
21707 }
21708
21709
21710 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21711 PyObject *resultobj;
21712 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21713 wxTreeItemId *arg2 = 0 ;
21714 bool arg3 = (bool) True ;
21715 size_t result;
21716 PyObject * obj0 = 0 ;
21717 PyObject * obj1 = 0 ;
21718 PyObject * obj2 = 0 ;
21719 char *kwnames[] = {
21720 (char *) "self",(char *) "item",(char *) "recursively", NULL
21721 };
21722
21723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21726 if (arg2 == NULL) {
21727 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21728 }
21729 if (obj2) {
21730 arg3 = PyInt_AsLong(obj2) ? true : false;
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 {
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21736
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 resultobj = PyInt_FromLong((long)result);
21741 return resultobj;
21742 fail:
21743 return NULL;
21744 }
21745
21746
21747 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21750 wxTreeItemId result;
21751 PyObject * obj0 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 {
21766 wxTreeItemId * resultptr;
21767 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21768 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21769 }
21770 return resultobj;
21771 fail:
21772 return NULL;
21773 }
21774
21775
21776 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21777 PyObject *resultobj;
21778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21779 wxTreeItemId result;
21780 PyObject * obj0 = 0 ;
21781 char *kwnames[] = {
21782 (char *) "self", NULL
21783 };
21784
21785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 {
21795 wxTreeItemId * resultptr;
21796 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21797 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21798 }
21799 return resultobj;
21800 fail:
21801 return NULL;
21802 }
21803
21804
21805 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21806 PyObject *resultobj;
21807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21808 PyObject *result;
21809 PyObject * obj0 = 0 ;
21810 char *kwnames[] = {
21811 (char *) "self", NULL
21812 };
21813
21814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21816 {
21817 PyThreadState* __tstate = wxPyBeginAllowThreads();
21818 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21819
21820 wxPyEndAllowThreads(__tstate);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 }
21823 resultobj = result;
21824 return resultobj;
21825 fail:
21826 return NULL;
21827 }
21828
21829
21830 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21831 PyObject *resultobj;
21832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21833 wxTreeItemId *arg2 = 0 ;
21834 wxTreeItemId result;
21835 PyObject * obj0 = 0 ;
21836 PyObject * obj1 = 0 ;
21837 char *kwnames[] = {
21838 (char *) "self",(char *) "item", NULL
21839 };
21840
21841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21843 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21844 if (arg2 == NULL) {
21845 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21846 }
21847 {
21848 PyThreadState* __tstate = wxPyBeginAllowThreads();
21849 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21850
21851 wxPyEndAllowThreads(__tstate);
21852 if (PyErr_Occurred()) SWIG_fail;
21853 }
21854 {
21855 wxTreeItemId * resultptr;
21856 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21857 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21858 }
21859 return resultobj;
21860 fail:
21861 return NULL;
21862 }
21863
21864
21865 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21866 PyObject *resultobj;
21867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21868 wxTreeItemId *arg2 = 0 ;
21869 PyObject *result;
21870 PyObject * obj0 = 0 ;
21871 PyObject * obj1 = 0 ;
21872 char *kwnames[] = {
21873 (char *) "self",(char *) "item", NULL
21874 };
21875
21876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21879 if (arg2 == NULL) {
21880 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21881 }
21882 {
21883 PyThreadState* __tstate = wxPyBeginAllowThreads();
21884 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21885
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 resultobj = result;
21890 return resultobj;
21891 fail:
21892 return NULL;
21893 }
21894
21895
21896 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21897 PyObject *resultobj;
21898 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21899 wxTreeItemId *arg2 = 0 ;
21900 wxTreeItemIdValue *arg3 = 0 ;
21901 PyObject *result;
21902 PyObject * obj0 = 0 ;
21903 PyObject * obj1 = 0 ;
21904 PyObject * obj2 = 0 ;
21905 char *kwnames[] = {
21906 (char *) "self",(char *) "item",(char *) "cookie", NULL
21907 };
21908
21909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21911 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21912 if (arg2 == NULL) {
21913 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21914 }
21915 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21916 if (arg3 == NULL) {
21917 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21918 }
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 resultobj = result;
21927 return resultobj;
21928 fail:
21929 return NULL;
21930 }
21931
21932
21933 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21934 PyObject *resultobj;
21935 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21936 wxTreeItemId *arg2 = 0 ;
21937 wxTreeItemId result;
21938 PyObject * obj0 = 0 ;
21939 PyObject * obj1 = 0 ;
21940 char *kwnames[] = {
21941 (char *) "self",(char *) "item", NULL
21942 };
21943
21944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21947 if (arg2 == NULL) {
21948 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21949 }
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 {
21958 wxTreeItemId * resultptr;
21959 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21960 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21961 }
21962 return resultobj;
21963 fail:
21964 return NULL;
21965 }
21966
21967
21968 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21969 PyObject *resultobj;
21970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21971 wxTreeItemId *arg2 = 0 ;
21972 wxTreeItemId result;
21973 PyObject * obj0 = 0 ;
21974 PyObject * obj1 = 0 ;
21975 char *kwnames[] = {
21976 (char *) "self",(char *) "item", NULL
21977 };
21978
21979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21982 if (arg2 == NULL) {
21983 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21984 }
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 {
21993 wxTreeItemId * resultptr;
21994 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21995 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21996 }
21997 return resultobj;
21998 fail:
21999 return NULL;
22000 }
22001
22002
22003 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22004 PyObject *resultobj;
22005 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22006 wxTreeItemId *arg2 = 0 ;
22007 wxTreeItemId result;
22008 PyObject * obj0 = 0 ;
22009 PyObject * obj1 = 0 ;
22010 char *kwnames[] = {
22011 (char *) "self",(char *) "item", NULL
22012 };
22013
22014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22016 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22017 if (arg2 == NULL) {
22018 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22019 }
22020 {
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22023
22024 wxPyEndAllowThreads(__tstate);
22025 if (PyErr_Occurred()) SWIG_fail;
22026 }
22027 {
22028 wxTreeItemId * resultptr;
22029 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22030 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22031 }
22032 return resultobj;
22033 fail:
22034 return NULL;
22035 }
22036
22037
22038 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22039 PyObject *resultobj;
22040 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22041 wxTreeItemId result;
22042 PyObject * obj0 = 0 ;
22043 char *kwnames[] = {
22044 (char *) "self", NULL
22045 };
22046
22047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22049 {
22050 PyThreadState* __tstate = wxPyBeginAllowThreads();
22051 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22052
22053 wxPyEndAllowThreads(__tstate);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 {
22057 wxTreeItemId * resultptr;
22058 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22059 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22060 }
22061 return resultobj;
22062 fail:
22063 return NULL;
22064 }
22065
22066
22067 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22068 PyObject *resultobj;
22069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22070 wxTreeItemId *arg2 = 0 ;
22071 wxTreeItemId result;
22072 PyObject * obj0 = 0 ;
22073 PyObject * obj1 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self",(char *) "item", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22081 if (arg2 == NULL) {
22082 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22083 }
22084 {
22085 PyThreadState* __tstate = wxPyBeginAllowThreads();
22086 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22087
22088 wxPyEndAllowThreads(__tstate);
22089 if (PyErr_Occurred()) SWIG_fail;
22090 }
22091 {
22092 wxTreeItemId * resultptr;
22093 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22094 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22095 }
22096 return resultobj;
22097 fail:
22098 return NULL;
22099 }
22100
22101
22102 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22103 PyObject *resultobj;
22104 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22105 wxTreeItemId *arg2 = 0 ;
22106 wxTreeItemId result;
22107 PyObject * obj0 = 0 ;
22108 PyObject * obj1 = 0 ;
22109 char *kwnames[] = {
22110 (char *) "self",(char *) "item", NULL
22111 };
22112
22113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22116 if (arg2 == NULL) {
22117 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22118 }
22119 {
22120 PyThreadState* __tstate = wxPyBeginAllowThreads();
22121 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22122
22123 wxPyEndAllowThreads(__tstate);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 }
22126 {
22127 wxTreeItemId * resultptr;
22128 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22129 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22130 }
22131 return resultobj;
22132 fail:
22133 return NULL;
22134 }
22135
22136
22137 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22138 PyObject *resultobj;
22139 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22140 wxString *arg2 = 0 ;
22141 int arg3 = (int) -1 ;
22142 int arg4 = (int) -1 ;
22143 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22144 wxTreeItemId result;
22145 bool temp2 = False ;
22146 PyObject * obj0 = 0 ;
22147 PyObject * obj1 = 0 ;
22148 PyObject * obj4 = 0 ;
22149 char *kwnames[] = {
22150 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22151 };
22152
22153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22155 {
22156 arg2 = wxString_in_helper(obj1);
22157 if (arg2 == NULL) SWIG_fail;
22158 temp2 = True;
22159 }
22160 if (obj4) {
22161 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22162 }
22163 {
22164 PyThreadState* __tstate = wxPyBeginAllowThreads();
22165 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22166
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 {
22171 wxTreeItemId * resultptr;
22172 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22173 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22174 }
22175 {
22176 if (temp2)
22177 delete arg2;
22178 }
22179 return resultobj;
22180 fail:
22181 {
22182 if (temp2)
22183 delete arg2;
22184 }
22185 return NULL;
22186 }
22187
22188
22189 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22190 PyObject *resultobj;
22191 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22192 wxTreeItemId *arg2 = 0 ;
22193 wxString *arg3 = 0 ;
22194 int arg4 = (int) -1 ;
22195 int arg5 = (int) -1 ;
22196 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22197 wxTreeItemId result;
22198 bool temp3 = False ;
22199 PyObject * obj0 = 0 ;
22200 PyObject * obj1 = 0 ;
22201 PyObject * obj2 = 0 ;
22202 PyObject * obj5 = 0 ;
22203 char *kwnames[] = {
22204 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22205 };
22206
22207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22210 if (arg2 == NULL) {
22211 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22212 }
22213 {
22214 arg3 = wxString_in_helper(obj2);
22215 if (arg3 == NULL) SWIG_fail;
22216 temp3 = True;
22217 }
22218 if (obj5) {
22219 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22220 }
22221 {
22222 PyThreadState* __tstate = wxPyBeginAllowThreads();
22223 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22224
22225 wxPyEndAllowThreads(__tstate);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
22228 {
22229 wxTreeItemId * resultptr;
22230 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22231 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22232 }
22233 {
22234 if (temp3)
22235 delete arg3;
22236 }
22237 return resultobj;
22238 fail:
22239 {
22240 if (temp3)
22241 delete arg3;
22242 }
22243 return NULL;
22244 }
22245
22246
22247 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22248 PyObject *resultobj;
22249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22250 wxTreeItemId *arg2 = 0 ;
22251 wxTreeItemId *arg3 = 0 ;
22252 wxString *arg4 = 0 ;
22253 int arg5 = (int) -1 ;
22254 int arg6 = (int) -1 ;
22255 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22256 wxTreeItemId result;
22257 bool temp4 = False ;
22258 PyObject * obj0 = 0 ;
22259 PyObject * obj1 = 0 ;
22260 PyObject * obj2 = 0 ;
22261 PyObject * obj3 = 0 ;
22262 PyObject * obj6 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22270 if (arg2 == NULL) {
22271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22272 }
22273 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22274 if (arg3 == NULL) {
22275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22276 }
22277 {
22278 arg4 = wxString_in_helper(obj3);
22279 if (arg4 == NULL) SWIG_fail;
22280 temp4 = True;
22281 }
22282 if (obj6) {
22283 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22284 }
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22288
22289 wxPyEndAllowThreads(__tstate);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 }
22292 {
22293 wxTreeItemId * resultptr;
22294 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22295 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22296 }
22297 {
22298 if (temp4)
22299 delete arg4;
22300 }
22301 return resultobj;
22302 fail:
22303 {
22304 if (temp4)
22305 delete arg4;
22306 }
22307 return NULL;
22308 }
22309
22310
22311 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj;
22313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22314 wxTreeItemId *arg2 = 0 ;
22315 size_t arg3 ;
22316 wxString *arg4 = 0 ;
22317 int arg5 = (int) -1 ;
22318 int arg6 = (int) -1 ;
22319 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22320 wxTreeItemId result;
22321 bool temp4 = False ;
22322 PyObject * obj0 = 0 ;
22323 PyObject * obj1 = 0 ;
22324 PyObject * obj2 = 0 ;
22325 PyObject * obj3 = 0 ;
22326 PyObject * obj6 = 0 ;
22327 char *kwnames[] = {
22328 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22329 };
22330
22331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22333 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22334 if (arg2 == NULL) {
22335 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22336 }
22337 arg3 = (size_t) PyInt_AsLong(obj2);
22338 if (PyErr_Occurred()) SWIG_fail;
22339 {
22340 arg4 = wxString_in_helper(obj3);
22341 if (arg4 == NULL) SWIG_fail;
22342 temp4 = True;
22343 }
22344 if (obj6) {
22345 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22346 }
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22350
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 {
22355 wxTreeItemId * resultptr;
22356 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22358 }
22359 {
22360 if (temp4)
22361 delete arg4;
22362 }
22363 return resultobj;
22364 fail:
22365 {
22366 if (temp4)
22367 delete arg4;
22368 }
22369 return NULL;
22370 }
22371
22372
22373 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22376 wxTreeItemId *arg2 = 0 ;
22377 wxString *arg3 = 0 ;
22378 int arg4 = (int) -1 ;
22379 int arg5 = (int) -1 ;
22380 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22381 wxTreeItemId result;
22382 bool temp3 = False ;
22383 PyObject * obj0 = 0 ;
22384 PyObject * obj1 = 0 ;
22385 PyObject * obj2 = 0 ;
22386 PyObject * obj5 = 0 ;
22387 char *kwnames[] = {
22388 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22389 };
22390
22391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22394 if (arg2 == NULL) {
22395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22396 }
22397 {
22398 arg3 = wxString_in_helper(obj2);
22399 if (arg3 == NULL) SWIG_fail;
22400 temp3 = True;
22401 }
22402 if (obj5) {
22403 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22404 }
22405 {
22406 PyThreadState* __tstate = wxPyBeginAllowThreads();
22407 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22408
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 {
22413 wxTreeItemId * resultptr;
22414 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22415 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22416 }
22417 {
22418 if (temp3)
22419 delete arg3;
22420 }
22421 return resultobj;
22422 fail:
22423 {
22424 if (temp3)
22425 delete arg3;
22426 }
22427 return NULL;
22428 }
22429
22430
22431 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj;
22433 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22434 wxTreeItemId *arg2 = 0 ;
22435 PyObject * obj0 = 0 ;
22436 PyObject * obj1 = 0 ;
22437 char *kwnames[] = {
22438 (char *) "self",(char *) "item", NULL
22439 };
22440
22441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22444 if (arg2 == NULL) {
22445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22446 }
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 (arg1)->Delete((wxTreeItemId const &)*arg2);
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 Py_INCREF(Py_None); resultobj = Py_None;
22455 return resultobj;
22456 fail:
22457 return NULL;
22458 }
22459
22460
22461 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj;
22463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22464 wxTreeItemId *arg2 = 0 ;
22465 PyObject * obj0 = 0 ;
22466 PyObject * obj1 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self",(char *) "item", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22473 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22474 if (arg2 == NULL) {
22475 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22476 }
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22480
22481 wxPyEndAllowThreads(__tstate);
22482 if (PyErr_Occurred()) SWIG_fail;
22483 }
22484 Py_INCREF(Py_None); resultobj = Py_None;
22485 return resultobj;
22486 fail:
22487 return NULL;
22488 }
22489
22490
22491 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22492 PyObject *resultobj;
22493 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22494 PyObject * obj0 = 0 ;
22495 char *kwnames[] = {
22496 (char *) "self", NULL
22497 };
22498
22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22501 {
22502 PyThreadState* __tstate = wxPyBeginAllowThreads();
22503 (arg1)->DeleteAllItems();
22504
22505 wxPyEndAllowThreads(__tstate);
22506 if (PyErr_Occurred()) SWIG_fail;
22507 }
22508 Py_INCREF(Py_None); resultobj = Py_None;
22509 return resultobj;
22510 fail:
22511 return NULL;
22512 }
22513
22514
22515 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22516 PyObject *resultobj;
22517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22518 wxTreeItemId *arg2 = 0 ;
22519 PyObject * obj0 = 0 ;
22520 PyObject * obj1 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self",(char *) "item", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22528 if (arg2 == NULL) {
22529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22530 }
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 (arg1)->Expand((wxTreeItemId const &)*arg2);
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 Py_INCREF(Py_None); resultobj = Py_None;
22539 return resultobj;
22540 fail:
22541 return NULL;
22542 }
22543
22544
22545 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22546 PyObject *resultobj;
22547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22548 wxTreeItemId *arg2 = 0 ;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self",(char *) "item", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22558 if (arg2 == NULL) {
22559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22560 }
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22564
22565 wxPyEndAllowThreads(__tstate);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 Py_INCREF(Py_None); resultobj = Py_None;
22569 return resultobj;
22570 fail:
22571 return NULL;
22572 }
22573
22574
22575 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22576 PyObject *resultobj;
22577 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22578 wxTreeItemId *arg2 = 0 ;
22579 PyObject * obj0 = 0 ;
22580 PyObject * obj1 = 0 ;
22581 char *kwnames[] = {
22582 (char *) "self",(char *) "item", NULL
22583 };
22584
22585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22588 if (arg2 == NULL) {
22589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22590 }
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22594
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 Py_INCREF(Py_None); resultobj = Py_None;
22599 return resultobj;
22600 fail:
22601 return NULL;
22602 }
22603
22604
22605 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22606 PyObject *resultobj;
22607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22608 wxTreeItemId *arg2 = 0 ;
22609 PyObject * obj0 = 0 ;
22610 PyObject * obj1 = 0 ;
22611 char *kwnames[] = {
22612 (char *) "self",(char *) "item", NULL
22613 };
22614
22615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22618 if (arg2 == NULL) {
22619 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22620 }
22621 {
22622 PyThreadState* __tstate = wxPyBeginAllowThreads();
22623 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22624
22625 wxPyEndAllowThreads(__tstate);
22626 if (PyErr_Occurred()) SWIG_fail;
22627 }
22628 Py_INCREF(Py_None); resultobj = Py_None;
22629 return resultobj;
22630 fail:
22631 return NULL;
22632 }
22633
22634
22635 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22636 PyObject *resultobj;
22637 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22638 PyObject * obj0 = 0 ;
22639 char *kwnames[] = {
22640 (char *) "self", NULL
22641 };
22642
22643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22645 {
22646 PyThreadState* __tstate = wxPyBeginAllowThreads();
22647 (arg1)->Unselect();
22648
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 Py_INCREF(Py_None); resultobj = Py_None;
22653 return resultobj;
22654 fail:
22655 return NULL;
22656 }
22657
22658
22659 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22660 PyObject *resultobj;
22661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22662 PyObject * obj0 = 0 ;
22663 char *kwnames[] = {
22664 (char *) "self", NULL
22665 };
22666
22667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 (arg1)->UnselectAll();
22672
22673 wxPyEndAllowThreads(__tstate);
22674 if (PyErr_Occurred()) SWIG_fail;
22675 }
22676 Py_INCREF(Py_None); resultobj = Py_None;
22677 return resultobj;
22678 fail:
22679 return NULL;
22680 }
22681
22682
22683 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22684 PyObject *resultobj;
22685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22686 wxTreeItemId *arg2 = 0 ;
22687 PyObject * obj0 = 0 ;
22688 PyObject * obj1 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self",(char *) "item", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22696 if (arg2 == NULL) {
22697 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22698 }
22699 {
22700 PyThreadState* __tstate = wxPyBeginAllowThreads();
22701 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22702
22703 wxPyEndAllowThreads(__tstate);
22704 if (PyErr_Occurred()) SWIG_fail;
22705 }
22706 Py_INCREF(Py_None); resultobj = Py_None;
22707 return resultobj;
22708 fail:
22709 return NULL;
22710 }
22711
22712
22713 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22714 PyObject *resultobj;
22715 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22716 wxTreeItemId *arg2 = 0 ;
22717 PyObject * obj0 = 0 ;
22718 PyObject * obj1 = 0 ;
22719 char *kwnames[] = {
22720 (char *) "self",(char *) "item", NULL
22721 };
22722
22723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22726 if (arg2 == NULL) {
22727 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22728 }
22729 {
22730 PyThreadState* __tstate = wxPyBeginAllowThreads();
22731 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22732
22733 wxPyEndAllowThreads(__tstate);
22734 if (PyErr_Occurred()) SWIG_fail;
22735 }
22736 Py_INCREF(Py_None); resultobj = Py_None;
22737 return resultobj;
22738 fail:
22739 return NULL;
22740 }
22741
22742
22743 static PyObject *_wrap_TreeCtrl_ScrollTo(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_ScrollTo",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)->ScrollTo((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_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22774 PyObject *resultobj;
22775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22776 wxTreeItemId *arg2 = 0 ;
22777 PyObject * obj0 = 0 ;
22778 PyObject * obj1 = 0 ;
22779 char *kwnames[] = {
22780 (char *) "self",(char *) "item", NULL
22781 };
22782
22783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22786 if (arg2 == NULL) {
22787 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22788 }
22789 {
22790 PyThreadState* __tstate = wxPyBeginAllowThreads();
22791 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22792
22793 wxPyEndAllowThreads(__tstate);
22794 if (PyErr_Occurred()) SWIG_fail;
22795 }
22796 Py_INCREF(Py_None); resultobj = Py_None;
22797 return resultobj;
22798 fail:
22799 return NULL;
22800 }
22801
22802
22803 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22804 PyObject *resultobj;
22805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22806 wxTextCtrl *result;
22807 PyObject * obj0 = 0 ;
22808 char *kwnames[] = {
22809 (char *) "self", NULL
22810 };
22811
22812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22814 {
22815 PyThreadState* __tstate = wxPyBeginAllowThreads();
22816 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22817
22818 wxPyEndAllowThreads(__tstate);
22819 if (PyErr_Occurred()) SWIG_fail;
22820 }
22821 {
22822 resultobj = wxPyMake_wxObject(result);
22823 }
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22831 PyObject *resultobj;
22832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22833 wxTreeItemId *arg2 = 0 ;
22834 PyObject * obj0 = 0 ;
22835 PyObject * obj1 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self",(char *) "item", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22843 if (arg2 == NULL) {
22844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22845 }
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22849
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 Py_INCREF(Py_None); resultobj = Py_None;
22854 return resultobj;
22855 fail:
22856 return NULL;
22857 }
22858
22859
22860 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22861 PyObject *resultobj;
22862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22863 wxPoint *arg2 = 0 ;
22864 int *arg3 = 0 ;
22865 wxTreeItemId result;
22866 wxPoint temp2 ;
22867 int temp3 ;
22868 PyObject * obj0 = 0 ;
22869 PyObject * obj1 = 0 ;
22870 char *kwnames[] = {
22871 (char *) "self",(char *) "point", NULL
22872 };
22873
22874 arg3 = &temp3;
22875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22877 {
22878 arg2 = &temp2;
22879 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22880 }
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 {
22889 wxTreeItemId * resultptr;
22890 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22891 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22892 }
22893 {
22894 PyObject *o = PyInt_FromLong((long) (*arg3));
22895 resultobj = t_output_helper(resultobj,o);
22896 }
22897 return resultobj;
22898 fail:
22899 return NULL;
22900 }
22901
22902
22903 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22904 PyObject *resultobj;
22905 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22906 wxTreeItemId *arg2 = 0 ;
22907 bool arg3 = (bool) False ;
22908 PyObject *result;
22909 PyObject * obj0 = 0 ;
22910 PyObject * obj1 = 0 ;
22911 PyObject * obj2 = 0 ;
22912 char *kwnames[] = {
22913 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22914 };
22915
22916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22919 if (arg2 == NULL) {
22920 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22921 }
22922 if (obj2) {
22923 arg3 = PyInt_AsLong(obj2) ? true : false;
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22929
22930 wxPyEndAllowThreads(__tstate);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 }
22933 resultobj = result;
22934 return resultobj;
22935 fail:
22936 return NULL;
22937 }
22938
22939
22940 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22941 PyObject *obj;
22942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22943 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22944 Py_INCREF(obj);
22945 return Py_BuildValue((char *)"");
22946 }
22947 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxWindow *arg1 = (wxWindow *) 0 ;
22950 int arg2 = (int) (int)-1 ;
22951 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22952 wxString *arg3 = (wxString *) &arg3_defvalue ;
22953 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22954 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22955 wxSize const &arg5_defvalue = wxDefaultSize ;
22956 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22957 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22958 wxString const &arg7_defvalue = wxPyEmptyString ;
22959 wxString *arg7 = (wxString *) &arg7_defvalue ;
22960 int arg8 = (int) 0 ;
22961 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22962 wxString *arg9 = (wxString *) &arg9_defvalue ;
22963 wxGenericDirCtrl *result;
22964 bool temp3 = False ;
22965 wxPoint temp4 ;
22966 wxSize temp5 ;
22967 bool temp7 = False ;
22968 bool temp9 = False ;
22969 PyObject * obj0 = 0 ;
22970 PyObject * obj2 = 0 ;
22971 PyObject * obj3 = 0 ;
22972 PyObject * obj4 = 0 ;
22973 PyObject * obj6 = 0 ;
22974 PyObject * obj8 = 0 ;
22975 char *kwnames[] = {
22976 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22977 };
22978
22979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22981 if (obj2) {
22982 {
22983 arg3 = wxString_in_helper(obj2);
22984 if (arg3 == NULL) SWIG_fail;
22985 temp3 = True;
22986 }
22987 }
22988 if (obj3) {
22989 {
22990 arg4 = &temp4;
22991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22992 }
22993 }
22994 if (obj4) {
22995 {
22996 arg5 = &temp5;
22997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22998 }
22999 }
23000 if (obj6) {
23001 {
23002 arg7 = wxString_in_helper(obj6);
23003 if (arg7 == NULL) SWIG_fail;
23004 temp7 = True;
23005 }
23006 }
23007 if (obj8) {
23008 {
23009 arg9 = wxString_in_helper(obj8);
23010 if (arg9 == NULL) SWIG_fail;
23011 temp9 = True;
23012 }
23013 }
23014 {
23015 PyThreadState* __tstate = wxPyBeginAllowThreads();
23016 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23017
23018 wxPyEndAllowThreads(__tstate);
23019 if (PyErr_Occurred()) SWIG_fail;
23020 }
23021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23022 {
23023 if (temp3)
23024 delete arg3;
23025 }
23026 {
23027 if (temp7)
23028 delete arg7;
23029 }
23030 {
23031 if (temp9)
23032 delete arg9;
23033 }
23034 return resultobj;
23035 fail:
23036 {
23037 if (temp3)
23038 delete arg3;
23039 }
23040 {
23041 if (temp7)
23042 delete arg7;
23043 }
23044 {
23045 if (temp9)
23046 delete arg9;
23047 }
23048 return NULL;
23049 }
23050
23051
23052 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxGenericDirCtrl *result;
23055 char *kwnames[] = {
23056 NULL
23057 };
23058
23059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23068 return resultobj;
23069 fail:
23070 return NULL;
23071 }
23072
23073
23074 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23075 PyObject *resultobj;
23076 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23077 wxWindow *arg2 = (wxWindow *) 0 ;
23078 int arg3 = (int) (int)-1 ;
23079 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23080 wxString *arg4 = (wxString *) &arg4_defvalue ;
23081 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23082 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23083 wxSize const &arg6_defvalue = wxDefaultSize ;
23084 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23085 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23086 wxString const &arg8_defvalue = wxPyEmptyString ;
23087 wxString *arg8 = (wxString *) &arg8_defvalue ;
23088 int arg9 = (int) 0 ;
23089 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23090 wxString *arg10 = (wxString *) &arg10_defvalue ;
23091 bool result;
23092 bool temp4 = False ;
23093 wxPoint temp5 ;
23094 wxSize temp6 ;
23095 bool temp8 = False ;
23096 bool temp10 = False ;
23097 PyObject * obj0 = 0 ;
23098 PyObject * obj1 = 0 ;
23099 PyObject * obj3 = 0 ;
23100 PyObject * obj4 = 0 ;
23101 PyObject * obj5 = 0 ;
23102 PyObject * obj7 = 0 ;
23103 PyObject * obj9 = 0 ;
23104 char *kwnames[] = {
23105 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23106 };
23107
23108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23111 if (obj3) {
23112 {
23113 arg4 = wxString_in_helper(obj3);
23114 if (arg4 == NULL) SWIG_fail;
23115 temp4 = True;
23116 }
23117 }
23118 if (obj4) {
23119 {
23120 arg5 = &temp5;
23121 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23122 }
23123 }
23124 if (obj5) {
23125 {
23126 arg6 = &temp6;
23127 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23128 }
23129 }
23130 if (obj7) {
23131 {
23132 arg8 = wxString_in_helper(obj7);
23133 if (arg8 == NULL) SWIG_fail;
23134 temp8 = True;
23135 }
23136 }
23137 if (obj9) {
23138 {
23139 arg10 = wxString_in_helper(obj9);
23140 if (arg10 == NULL) SWIG_fail;
23141 temp10 = True;
23142 }
23143 }
23144 {
23145 PyThreadState* __tstate = wxPyBeginAllowThreads();
23146 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23147
23148 wxPyEndAllowThreads(__tstate);
23149 if (PyErr_Occurred()) SWIG_fail;
23150 }
23151 resultobj = PyInt_FromLong((long)result);
23152 {
23153 if (temp4)
23154 delete arg4;
23155 }
23156 {
23157 if (temp8)
23158 delete arg8;
23159 }
23160 {
23161 if (temp10)
23162 delete arg10;
23163 }
23164 return resultobj;
23165 fail:
23166 {
23167 if (temp4)
23168 delete arg4;
23169 }
23170 {
23171 if (temp8)
23172 delete arg8;
23173 }
23174 {
23175 if (temp10)
23176 delete arg10;
23177 }
23178 return NULL;
23179 }
23180
23181
23182 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23183 PyObject *resultobj;
23184 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23185 wxString *arg2 = 0 ;
23186 bool result;
23187 bool temp2 = False ;
23188 PyObject * obj0 = 0 ;
23189 PyObject * obj1 = 0 ;
23190 char *kwnames[] = {
23191 (char *) "self",(char *) "path", NULL
23192 };
23193
23194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23196 {
23197 arg2 = wxString_in_helper(obj1);
23198 if (arg2 == NULL) SWIG_fail;
23199 temp2 = True;
23200 }
23201 {
23202 PyThreadState* __tstate = wxPyBeginAllowThreads();
23203 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23204
23205 wxPyEndAllowThreads(__tstate);
23206 if (PyErr_Occurred()) SWIG_fail;
23207 }
23208 resultobj = PyInt_FromLong((long)result);
23209 {
23210 if (temp2)
23211 delete arg2;
23212 }
23213 return resultobj;
23214 fail:
23215 {
23216 if (temp2)
23217 delete arg2;
23218 }
23219 return NULL;
23220 }
23221
23222
23223 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23224 PyObject *resultobj;
23225 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23226 wxString result;
23227 PyObject * obj0 = 0 ;
23228 char *kwnames[] = {
23229 (char *) "self", NULL
23230 };
23231
23232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23237
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 {
23242 #if wxUSE_UNICODE
23243 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23244 #else
23245 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23246 #endif
23247 }
23248 return resultobj;
23249 fail:
23250 return NULL;
23251 }
23252
23253
23254 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23255 PyObject *resultobj;
23256 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23257 wxString *arg2 = 0 ;
23258 bool temp2 = False ;
23259 PyObject * obj0 = 0 ;
23260 PyObject * obj1 = 0 ;
23261 char *kwnames[] = {
23262 (char *) "self",(char *) "path", NULL
23263 };
23264
23265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23267 {
23268 arg2 = wxString_in_helper(obj1);
23269 if (arg2 == NULL) SWIG_fail;
23270 temp2 = True;
23271 }
23272 {
23273 PyThreadState* __tstate = wxPyBeginAllowThreads();
23274 (arg1)->SetDefaultPath((wxString const &)*arg2);
23275
23276 wxPyEndAllowThreads(__tstate);
23277 if (PyErr_Occurred()) SWIG_fail;
23278 }
23279 Py_INCREF(Py_None); resultobj = Py_None;
23280 {
23281 if (temp2)
23282 delete arg2;
23283 }
23284 return resultobj;
23285 fail:
23286 {
23287 if (temp2)
23288 delete arg2;
23289 }
23290 return NULL;
23291 }
23292
23293
23294 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23295 PyObject *resultobj;
23296 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23297 wxString result;
23298 PyObject * obj0 = 0 ;
23299 char *kwnames[] = {
23300 (char *) "self", NULL
23301 };
23302
23303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 {
23313 #if wxUSE_UNICODE
23314 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23315 #else
23316 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23317 #endif
23318 }
23319 return resultobj;
23320 fail:
23321 return NULL;
23322 }
23323
23324
23325 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23326 PyObject *resultobj;
23327 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23328 wxString result;
23329 PyObject * obj0 = 0 ;
23330 char *kwnames[] = {
23331 (char *) "self", NULL
23332 };
23333
23334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23336 {
23337 PyThreadState* __tstate = wxPyBeginAllowThreads();
23338 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23339
23340 wxPyEndAllowThreads(__tstate);
23341 if (PyErr_Occurred()) SWIG_fail;
23342 }
23343 {
23344 #if wxUSE_UNICODE
23345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23346 #else
23347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23348 #endif
23349 }
23350 return resultobj;
23351 fail:
23352 return NULL;
23353 }
23354
23355
23356 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23357 PyObject *resultobj;
23358 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23359 wxString *arg2 = 0 ;
23360 bool temp2 = False ;
23361 PyObject * obj0 = 0 ;
23362 PyObject * obj1 = 0 ;
23363 char *kwnames[] = {
23364 (char *) "self",(char *) "path", NULL
23365 };
23366
23367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23369 {
23370 arg2 = wxString_in_helper(obj1);
23371 if (arg2 == NULL) SWIG_fail;
23372 temp2 = True;
23373 }
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 (arg1)->SetPath((wxString const &)*arg2);
23377
23378 wxPyEndAllowThreads(__tstate);
23379 if (PyErr_Occurred()) SWIG_fail;
23380 }
23381 Py_INCREF(Py_None); resultobj = Py_None;
23382 {
23383 if (temp2)
23384 delete arg2;
23385 }
23386 return resultobj;
23387 fail:
23388 {
23389 if (temp2)
23390 delete arg2;
23391 }
23392 return NULL;
23393 }
23394
23395
23396 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23397 PyObject *resultobj;
23398 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23399 bool arg2 ;
23400 PyObject * obj0 = 0 ;
23401 PyObject * obj1 = 0 ;
23402 char *kwnames[] = {
23403 (char *) "self",(char *) "show", NULL
23404 };
23405
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23408 arg2 = PyInt_AsLong(obj1) ? true : false;
23409 if (PyErr_Occurred()) SWIG_fail;
23410 {
23411 PyThreadState* __tstate = wxPyBeginAllowThreads();
23412 (arg1)->ShowHidden(arg2);
23413
23414 wxPyEndAllowThreads(__tstate);
23415 if (PyErr_Occurred()) SWIG_fail;
23416 }
23417 Py_INCREF(Py_None); resultobj = Py_None;
23418 return resultobj;
23419 fail:
23420 return NULL;
23421 }
23422
23423
23424 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23425 PyObject *resultobj;
23426 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23427 bool result;
23428 PyObject * obj0 = 0 ;
23429 char *kwnames[] = {
23430 (char *) "self", NULL
23431 };
23432
23433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23435 {
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 result = (bool)(arg1)->GetShowHidden();
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 resultobj = PyInt_FromLong((long)result);
23443 return resultobj;
23444 fail:
23445 return NULL;
23446 }
23447
23448
23449 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23450 PyObject *resultobj;
23451 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23452 wxString result;
23453 PyObject * obj0 = 0 ;
23454 char *kwnames[] = {
23455 (char *) "self", NULL
23456 };
23457
23458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23460 {
23461 PyThreadState* __tstate = wxPyBeginAllowThreads();
23462 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23463
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
23467 {
23468 #if wxUSE_UNICODE
23469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23470 #else
23471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23472 #endif
23473 }
23474 return resultobj;
23475 fail:
23476 return NULL;
23477 }
23478
23479
23480 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23481 PyObject *resultobj;
23482 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23483 wxString *arg2 = 0 ;
23484 bool temp2 = False ;
23485 PyObject * obj0 = 0 ;
23486 PyObject * obj1 = 0 ;
23487 char *kwnames[] = {
23488 (char *) "self",(char *) "filter", NULL
23489 };
23490
23491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23493 {
23494 arg2 = wxString_in_helper(obj1);
23495 if (arg2 == NULL) SWIG_fail;
23496 temp2 = True;
23497 }
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 (arg1)->SetFilter((wxString const &)*arg2);
23501
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 Py_INCREF(Py_None); resultobj = Py_None;
23506 {
23507 if (temp2)
23508 delete arg2;
23509 }
23510 return resultobj;
23511 fail:
23512 {
23513 if (temp2)
23514 delete arg2;
23515 }
23516 return NULL;
23517 }
23518
23519
23520 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23521 PyObject *resultobj;
23522 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23523 int result;
23524 PyObject * obj0 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 resultobj = PyInt_FromLong((long)result);
23539 return resultobj;
23540 fail:
23541 return NULL;
23542 }
23543
23544
23545 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23546 PyObject *resultobj;
23547 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23548 int arg2 ;
23549 PyObject * obj0 = 0 ;
23550 char *kwnames[] = {
23551 (char *) "self",(char *) "n", NULL
23552 };
23553
23554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23556 {
23557 PyThreadState* __tstate = wxPyBeginAllowThreads();
23558 (arg1)->SetFilterIndex(arg2);
23559
23560 wxPyEndAllowThreads(__tstate);
23561 if (PyErr_Occurred()) SWIG_fail;
23562 }
23563 Py_INCREF(Py_None); resultobj = Py_None;
23564 return resultobj;
23565 fail:
23566 return NULL;
23567 }
23568
23569
23570 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23571 PyObject *resultobj;
23572 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23573 wxTreeItemId result;
23574 PyObject * obj0 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "self", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23581 {
23582 PyThreadState* __tstate = wxPyBeginAllowThreads();
23583 result = (arg1)->GetRootId();
23584
23585 wxPyEndAllowThreads(__tstate);
23586 if (PyErr_Occurred()) SWIG_fail;
23587 }
23588 {
23589 wxTreeItemId * resultptr;
23590 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23592 }
23593 return resultobj;
23594 fail:
23595 return NULL;
23596 }
23597
23598
23599 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23600 PyObject *resultobj;
23601 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23602 wxTreeCtrl *result;
23603 PyObject * obj0 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "self", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 {
23618 resultobj = wxPyMake_wxObject(result);
23619 }
23620 return resultobj;
23621 fail:
23622 return NULL;
23623 }
23624
23625
23626 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23627 PyObject *resultobj;
23628 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23629 wxDirFilterListCtrl *result;
23630 PyObject * obj0 = 0 ;
23631 char *kwnames[] = {
23632 (char *) "self", NULL
23633 };
23634
23635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23645 return resultobj;
23646 fail:
23647 return NULL;
23648 }
23649
23650
23651 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23654 wxTreeItemId arg2 ;
23655 wxString *arg3 = 0 ;
23656 bool *arg4 = 0 ;
23657 wxTreeItemId result;
23658 wxTreeItemId *argp2 ;
23659 bool temp3 = False ;
23660 bool temp4 ;
23661 PyObject * obj0 = 0 ;
23662 PyObject * obj1 = 0 ;
23663 PyObject * obj2 = 0 ;
23664 char *kwnames[] = {
23665 (char *) "self",(char *) "parentId",(char *) "path", NULL
23666 };
23667
23668 arg4 = &temp4;
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23671 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23672 arg2 = *argp2;
23673 {
23674 arg3 = wxString_in_helper(obj2);
23675 if (arg3 == NULL) SWIG_fail;
23676 temp3 = True;
23677 }
23678 {
23679 PyThreadState* __tstate = wxPyBeginAllowThreads();
23680 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23681
23682 wxPyEndAllowThreads(__tstate);
23683 if (PyErr_Occurred()) SWIG_fail;
23684 }
23685 {
23686 wxTreeItemId * resultptr;
23687 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23688 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23689 }
23690 {
23691 PyObject *o = PyInt_FromLong((long) (*arg4));
23692 resultobj = t_output_helper(resultobj,o);
23693 }
23694 {
23695 if (temp3)
23696 delete arg3;
23697 }
23698 return resultobj;
23699 fail:
23700 {
23701 if (temp3)
23702 delete arg3;
23703 }
23704 return NULL;
23705 }
23706
23707
23708 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23709 PyObject *resultobj;
23710 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23711 PyObject * obj0 = 0 ;
23712 char *kwnames[] = {
23713 (char *) "self", NULL
23714 };
23715
23716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23718 {
23719 PyThreadState* __tstate = wxPyBeginAllowThreads();
23720 (arg1)->DoResize();
23721
23722 wxPyEndAllowThreads(__tstate);
23723 if (PyErr_Occurred()) SWIG_fail;
23724 }
23725 Py_INCREF(Py_None); resultobj = Py_None;
23726 return resultobj;
23727 fail:
23728 return NULL;
23729 }
23730
23731
23732 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23733 PyObject *resultobj;
23734 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23735 PyObject * obj0 = 0 ;
23736 char *kwnames[] = {
23737 (char *) "self", NULL
23738 };
23739
23740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 (arg1)->ReCreateTree();
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 Py_INCREF(Py_None); resultobj = Py_None;
23750 return resultobj;
23751 fail:
23752 return NULL;
23753 }
23754
23755
23756 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23757 PyObject *obj;
23758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23759 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23760 Py_INCREF(obj);
23761 return Py_BuildValue((char *)"");
23762 }
23763 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23764 PyObject *resultobj;
23765 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23766 int arg2 = (int) (int)-1 ;
23767 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23768 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23769 wxSize const &arg4_defvalue = wxDefaultSize ;
23770 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23771 long arg5 = (long) 0 ;
23772 wxDirFilterListCtrl *result;
23773 wxPoint temp3 ;
23774 wxSize temp4 ;
23775 PyObject * obj0 = 0 ;
23776 PyObject * obj2 = 0 ;
23777 PyObject * obj3 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23784 if (obj2) {
23785 {
23786 arg3 = &temp3;
23787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23788 }
23789 }
23790 if (obj3) {
23791 {
23792 arg4 = &temp4;
23793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23794 }
23795 }
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23799
23800 wxPyEndAllowThreads(__tstate);
23801 if (PyErr_Occurred()) SWIG_fail;
23802 }
23803 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23804 return resultobj;
23805 fail:
23806 return NULL;
23807 }
23808
23809
23810 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23811 PyObject *resultobj;
23812 wxDirFilterListCtrl *result;
23813 char *kwnames[] = {
23814 NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23818 {
23819 PyThreadState* __tstate = wxPyBeginAllowThreads();
23820 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23821
23822 wxPyEndAllowThreads(__tstate);
23823 if (PyErr_Occurred()) SWIG_fail;
23824 }
23825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23826 return resultobj;
23827 fail:
23828 return NULL;
23829 }
23830
23831
23832 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23833 PyObject *resultobj;
23834 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23835 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23836 int arg3 = (int) (int)-1 ;
23837 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23838 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23839 wxSize const &arg5_defvalue = wxDefaultSize ;
23840 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23841 long arg6 = (long) 0 ;
23842 bool result;
23843 wxPoint temp4 ;
23844 wxSize temp5 ;
23845 PyObject * obj0 = 0 ;
23846 PyObject * obj1 = 0 ;
23847 PyObject * obj3 = 0 ;
23848 PyObject * obj4 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23856 if (obj3) {
23857 {
23858 arg4 = &temp4;
23859 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23860 }
23861 }
23862 if (obj4) {
23863 {
23864 arg5 = &temp5;
23865 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23866 }
23867 }
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
23875 resultobj = PyInt_FromLong((long)result);
23876 return resultobj;
23877 fail:
23878 return NULL;
23879 }
23880
23881
23882 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23883 PyObject *resultobj;
23884 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23885 wxString *arg2 = 0 ;
23886 int arg3 ;
23887 bool temp2 = False ;
23888 PyObject * obj0 = 0 ;
23889 PyObject * obj1 = 0 ;
23890 char *kwnames[] = {
23891 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23892 };
23893
23894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23896 {
23897 arg2 = wxString_in_helper(obj1);
23898 if (arg2 == NULL) SWIG_fail;
23899 temp2 = True;
23900 }
23901 {
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23904
23905 wxPyEndAllowThreads(__tstate);
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
23908 Py_INCREF(Py_None); resultobj = Py_None;
23909 {
23910 if (temp2)
23911 delete arg2;
23912 }
23913 return resultobj;
23914 fail:
23915 {
23916 if (temp2)
23917 delete arg2;
23918 }
23919 return NULL;
23920 }
23921
23922
23923 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23924 PyObject *obj;
23925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23926 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23927 Py_INCREF(obj);
23928 return Py_BuildValue((char *)"");
23929 }
23930 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23931 PyObject *resultobj;
23932 wxWindow *arg1 = (wxWindow *) 0 ;
23933 int arg2 ;
23934 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23935 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23936 wxSize const &arg4_defvalue = wxDefaultSize ;
23937 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23938 long arg5 = (long) 0 ;
23939 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23940 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23941 wxString const &arg7_defvalue = wxPyControlNameStr ;
23942 wxString *arg7 = (wxString *) &arg7_defvalue ;
23943 wxPyControl *result;
23944 wxPoint temp3 ;
23945 wxSize temp4 ;
23946 bool temp7 = False ;
23947 PyObject * obj0 = 0 ;
23948 PyObject * obj2 = 0 ;
23949 PyObject * obj3 = 0 ;
23950 PyObject * obj5 = 0 ;
23951 PyObject * obj6 = 0 ;
23952 char *kwnames[] = {
23953 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23954 };
23955
23956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23958 if (obj2) {
23959 {
23960 arg3 = &temp3;
23961 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23962 }
23963 }
23964 if (obj3) {
23965 {
23966 arg4 = &temp4;
23967 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23968 }
23969 }
23970 if (obj5) {
23971 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23972 if (arg6 == NULL) {
23973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23974 }
23975 }
23976 if (obj6) {
23977 {
23978 arg7 = wxString_in_helper(obj6);
23979 if (arg7 == NULL) SWIG_fail;
23980 temp7 = True;
23981 }
23982 }
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23991 {
23992 if (temp7)
23993 delete arg7;
23994 }
23995 return resultobj;
23996 fail:
23997 {
23998 if (temp7)
23999 delete arg7;
24000 }
24001 return NULL;
24002 }
24003
24004
24005 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24006 PyObject *resultobj;
24007 wxPyControl *arg1 = (wxPyControl *) 0 ;
24008 PyObject *arg2 = (PyObject *) 0 ;
24009 PyObject *arg3 = (PyObject *) 0 ;
24010 PyObject * obj0 = 0 ;
24011 PyObject * obj1 = 0 ;
24012 PyObject * obj2 = 0 ;
24013 char *kwnames[] = {
24014 (char *) "self",(char *) "self",(char *) "_class", NULL
24015 };
24016
24017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24019 arg2 = obj1;
24020 arg3 = obj2;
24021 {
24022 PyThreadState* __tstate = wxPyBeginAllowThreads();
24023 (arg1)->_setCallbackInfo(arg2,arg3);
24024
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 Py_INCREF(Py_None); resultobj = Py_None;
24029 return resultobj;
24030 fail:
24031 return NULL;
24032 }
24033
24034
24035 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24036 PyObject *resultobj;
24037 wxPyControl *arg1 = (wxPyControl *) 0 ;
24038 int arg2 ;
24039 int arg3 ;
24040 int arg4 ;
24041 int arg5 ;
24042 PyObject * obj0 = 0 ;
24043 char *kwnames[] = {
24044 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24045 };
24046
24047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24049 {
24050 PyThreadState* __tstate = wxPyBeginAllowThreads();
24051 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24052
24053 wxPyEndAllowThreads(__tstate);
24054 if (PyErr_Occurred()) SWIG_fail;
24055 }
24056 Py_INCREF(Py_None); resultobj = Py_None;
24057 return resultobj;
24058 fail:
24059 return NULL;
24060 }
24061
24062
24063 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24064 PyObject *resultobj;
24065 wxPyControl *arg1 = (wxPyControl *) 0 ;
24066 int arg2 ;
24067 int arg3 ;
24068 int arg4 ;
24069 int arg5 ;
24070 int arg6 = (int) wxSIZE_AUTO ;
24071 PyObject * obj0 = 0 ;
24072 char *kwnames[] = {
24073 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24074 };
24075
24076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24081
24082 wxPyEndAllowThreads(__tstate);
24083 if (PyErr_Occurred()) SWIG_fail;
24084 }
24085 Py_INCREF(Py_None); resultobj = Py_None;
24086 return resultobj;
24087 fail:
24088 return NULL;
24089 }
24090
24091
24092 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24093 PyObject *resultobj;
24094 wxPyControl *arg1 = (wxPyControl *) 0 ;
24095 int arg2 ;
24096 int arg3 ;
24097 PyObject * obj0 = 0 ;
24098 char *kwnames[] = {
24099 (char *) "self",(char *) "width",(char *) "height", NULL
24100 };
24101
24102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24104 {
24105 PyThreadState* __tstate = wxPyBeginAllowThreads();
24106 (arg1)->base_DoSetClientSize(arg2,arg3);
24107
24108 wxPyEndAllowThreads(__tstate);
24109 if (PyErr_Occurred()) SWIG_fail;
24110 }
24111 Py_INCREF(Py_None); resultobj = Py_None;
24112 return resultobj;
24113 fail:
24114 return NULL;
24115 }
24116
24117
24118 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24119 PyObject *resultobj;
24120 wxPyControl *arg1 = (wxPyControl *) 0 ;
24121 int arg2 ;
24122 int arg3 ;
24123 PyObject * obj0 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self",(char *) "x",(char *) "y", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24130 {
24131 PyThreadState* __tstate = wxPyBeginAllowThreads();
24132 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24133
24134 wxPyEndAllowThreads(__tstate);
24135 if (PyErr_Occurred()) SWIG_fail;
24136 }
24137 Py_INCREF(Py_None); resultobj = Py_None;
24138 return resultobj;
24139 fail:
24140 return NULL;
24141 }
24142
24143
24144 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24145 PyObject *resultobj;
24146 wxPyControl *arg1 = (wxPyControl *) 0 ;
24147 int *arg2 = (int *) 0 ;
24148 int *arg3 = (int *) 0 ;
24149 int temp2 ;
24150 int temp3 ;
24151 PyObject * obj0 = 0 ;
24152 char *kwnames[] = {
24153 (char *) "self", NULL
24154 };
24155
24156 arg2 = &temp2;
24157 arg3 = &temp3;
24158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 Py_INCREF(Py_None); resultobj = Py_None;
24168 {
24169 PyObject *o = PyInt_FromLong((long) (*arg2));
24170 resultobj = t_output_helper(resultobj,o);
24171 }
24172 {
24173 PyObject *o = PyInt_FromLong((long) (*arg3));
24174 resultobj = t_output_helper(resultobj,o);
24175 }
24176 return resultobj;
24177 fail:
24178 return NULL;
24179 }
24180
24181
24182 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24183 PyObject *resultobj;
24184 wxPyControl *arg1 = (wxPyControl *) 0 ;
24185 int *arg2 = (int *) 0 ;
24186 int *arg3 = (int *) 0 ;
24187 int temp2 ;
24188 int temp3 ;
24189 PyObject * obj0 = 0 ;
24190 char *kwnames[] = {
24191 (char *) "self", NULL
24192 };
24193
24194 arg2 = &temp2;
24195 arg3 = &temp3;
24196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24198 {
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24201
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
24205 Py_INCREF(Py_None); resultobj = Py_None;
24206 {
24207 PyObject *o = PyInt_FromLong((long) (*arg2));
24208 resultobj = t_output_helper(resultobj,o);
24209 }
24210 {
24211 PyObject *o = PyInt_FromLong((long) (*arg3));
24212 resultobj = t_output_helper(resultobj,o);
24213 }
24214 return resultobj;
24215 fail:
24216 return NULL;
24217 }
24218
24219
24220 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24221 PyObject *resultobj;
24222 wxPyControl *arg1 = (wxPyControl *) 0 ;
24223 int *arg2 = (int *) 0 ;
24224 int *arg3 = (int *) 0 ;
24225 int temp2 ;
24226 int temp3 ;
24227 PyObject * obj0 = 0 ;
24228 char *kwnames[] = {
24229 (char *) "self", NULL
24230 };
24231
24232 arg2 = &temp2;
24233 arg3 = &temp3;
24234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24236 {
24237 PyThreadState* __tstate = wxPyBeginAllowThreads();
24238 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24239
24240 wxPyEndAllowThreads(__tstate);
24241 if (PyErr_Occurred()) SWIG_fail;
24242 }
24243 Py_INCREF(Py_None); resultobj = Py_None;
24244 {
24245 PyObject *o = PyInt_FromLong((long) (*arg2));
24246 resultobj = t_output_helper(resultobj,o);
24247 }
24248 {
24249 PyObject *o = PyInt_FromLong((long) (*arg3));
24250 resultobj = t_output_helper(resultobj,o);
24251 }
24252 return resultobj;
24253 fail:
24254 return NULL;
24255 }
24256
24257
24258 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24259 PyObject *resultobj;
24260 wxPyControl *arg1 = (wxPyControl *) 0 ;
24261 wxSize result;
24262 PyObject * obj0 = 0 ;
24263 char *kwnames[] = {
24264 (char *) "self", NULL
24265 };
24266
24267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24269 {
24270 PyThreadState* __tstate = wxPyBeginAllowThreads();
24271 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24272
24273 wxPyEndAllowThreads(__tstate);
24274 if (PyErr_Occurred()) SWIG_fail;
24275 }
24276 {
24277 wxSize * resultptr;
24278 resultptr = new wxSize((wxSize &) result);
24279 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24280 }
24281 return resultobj;
24282 fail:
24283 return NULL;
24284 }
24285
24286
24287 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24288 PyObject *resultobj;
24289 wxPyControl *arg1 = (wxPyControl *) 0 ;
24290 wxSize result;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24298 {
24299 PyThreadState* __tstate = wxPyBeginAllowThreads();
24300 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24301
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 {
24306 wxSize * resultptr;
24307 resultptr = new wxSize((wxSize &) result);
24308 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24309 }
24310 return resultobj;
24311 fail:
24312 return NULL;
24313 }
24314
24315
24316 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24317 PyObject *resultobj;
24318 wxPyControl *arg1 = (wxPyControl *) 0 ;
24319 PyObject * obj0 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self", NULL
24322 };
24323
24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 (arg1)->base_InitDialog();
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 Py_INCREF(Py_None); resultobj = Py_None;
24334 return resultobj;
24335 fail:
24336 return NULL;
24337 }
24338
24339
24340 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24341 PyObject *resultobj;
24342 wxPyControl *arg1 = (wxPyControl *) 0 ;
24343 bool result;
24344 PyObject * obj0 = 0 ;
24345 char *kwnames[] = {
24346 (char *) "self", NULL
24347 };
24348
24349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 result = (bool)(arg1)->base_TransferDataToWindow();
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 resultobj = PyInt_FromLong((long)result);
24359 return resultobj;
24360 fail:
24361 return NULL;
24362 }
24363
24364
24365 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj;
24367 wxPyControl *arg1 = (wxPyControl *) 0 ;
24368 bool result;
24369 PyObject * obj0 = 0 ;
24370 char *kwnames[] = {
24371 (char *) "self", NULL
24372 };
24373
24374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24376 {
24377 PyThreadState* __tstate = wxPyBeginAllowThreads();
24378 result = (bool)(arg1)->base_TransferDataFromWindow();
24379
24380 wxPyEndAllowThreads(__tstate);
24381 if (PyErr_Occurred()) SWIG_fail;
24382 }
24383 resultobj = PyInt_FromLong((long)result);
24384 return resultobj;
24385 fail:
24386 return NULL;
24387 }
24388
24389
24390 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24391 PyObject *resultobj;
24392 wxPyControl *arg1 = (wxPyControl *) 0 ;
24393 bool result;
24394 PyObject * obj0 = 0 ;
24395 char *kwnames[] = {
24396 (char *) "self", NULL
24397 };
24398
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 result = (bool)(arg1)->base_Validate();
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 resultobj = PyInt_FromLong((long)result);
24409 return resultobj;
24410 fail:
24411 return NULL;
24412 }
24413
24414
24415 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24416 PyObject *resultobj;
24417 wxPyControl *arg1 = (wxPyControl *) 0 ;
24418 bool result;
24419 PyObject * obj0 = 0 ;
24420 char *kwnames[] = {
24421 (char *) "self", NULL
24422 };
24423
24424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24429
24430 wxPyEndAllowThreads(__tstate);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 }
24433 resultobj = PyInt_FromLong((long)result);
24434 return resultobj;
24435 fail:
24436 return NULL;
24437 }
24438
24439
24440 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24441 PyObject *resultobj;
24442 wxPyControl *arg1 = (wxPyControl *) 0 ;
24443 bool result;
24444 PyObject * obj0 = 0 ;
24445 char *kwnames[] = {
24446 (char *) "self", NULL
24447 };
24448
24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24454
24455 wxPyEndAllowThreads(__tstate);
24456 if (PyErr_Occurred()) SWIG_fail;
24457 }
24458 resultobj = PyInt_FromLong((long)result);
24459 return resultobj;
24460 fail:
24461 return NULL;
24462 }
24463
24464
24465 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24466 PyObject *resultobj;
24467 wxPyControl *arg1 = (wxPyControl *) 0 ;
24468 wxSize result;
24469 PyObject * obj0 = 0 ;
24470 char *kwnames[] = {
24471 (char *) "self", NULL
24472 };
24473
24474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24479
24480 wxPyEndAllowThreads(__tstate);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 {
24484 wxSize * resultptr;
24485 resultptr = new wxSize((wxSize &) result);
24486 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24487 }
24488 return resultobj;
24489 fail:
24490 return NULL;
24491 }
24492
24493
24494 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24495 PyObject *resultobj;
24496 wxPyControl *arg1 = (wxPyControl *) 0 ;
24497 wxWindow *arg2 = (wxWindow *) 0 ;
24498 PyObject * obj0 = 0 ;
24499 PyObject * obj1 = 0 ;
24500 char *kwnames[] = {
24501 (char *) "self",(char *) "child", NULL
24502 };
24503
24504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24507 {
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 (arg1)->base_AddChild(arg2);
24510
24511 wxPyEndAllowThreads(__tstate);
24512 if (PyErr_Occurred()) SWIG_fail;
24513 }
24514 Py_INCREF(Py_None); resultobj = Py_None;
24515 return resultobj;
24516 fail:
24517 return NULL;
24518 }
24519
24520
24521 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24522 PyObject *resultobj;
24523 wxPyControl *arg1 = (wxPyControl *) 0 ;
24524 wxWindow *arg2 = (wxWindow *) 0 ;
24525 PyObject * obj0 = 0 ;
24526 PyObject * obj1 = 0 ;
24527 char *kwnames[] = {
24528 (char *) "self",(char *) "child", NULL
24529 };
24530
24531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 (arg1)->base_RemoveChild(arg2);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 Py_INCREF(Py_None); resultobj = Py_None;
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24549 PyObject *obj;
24550 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24551 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24552 Py_INCREF(obj);
24553 return Py_BuildValue((char *)"");
24554 }
24555 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj;
24557 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24558 int arg2 = (int) 0 ;
24559 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24560 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24561 wxHelpEvent *result;
24562 wxPoint temp3 ;
24563 PyObject * obj2 = 0 ;
24564 char *kwnames[] = {
24565 (char *) "type",(char *) "winid",(char *) "pt", NULL
24566 };
24567
24568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24569 if (obj2) {
24570 {
24571 arg3 = &temp3;
24572 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24573 }
24574 }
24575 {
24576 PyThreadState* __tstate = wxPyBeginAllowThreads();
24577 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24578
24579 wxPyEndAllowThreads(__tstate);
24580 if (PyErr_Occurred()) SWIG_fail;
24581 }
24582 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24583 return resultobj;
24584 fail:
24585 return NULL;
24586 }
24587
24588
24589 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24590 PyObject *resultobj;
24591 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24592 wxPoint *result;
24593 PyObject * obj0 = 0 ;
24594 char *kwnames[] = {
24595 (char *) "self", NULL
24596 };
24597
24598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 {
24603 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24604 result = (wxPoint *) &_result_ref;
24605 }
24606
24607 wxPyEndAllowThreads(__tstate);
24608 if (PyErr_Occurred()) SWIG_fail;
24609 }
24610 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24611 return resultobj;
24612 fail:
24613 return NULL;
24614 }
24615
24616
24617 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24618 PyObject *resultobj;
24619 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24620 wxPoint *arg2 = 0 ;
24621 wxPoint temp2 ;
24622 PyObject * obj0 = 0 ;
24623 PyObject * obj1 = 0 ;
24624 char *kwnames[] = {
24625 (char *) "self",(char *) "pos", NULL
24626 };
24627
24628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24630 {
24631 arg2 = &temp2;
24632 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24633 }
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 (arg1)->SetPosition((wxPoint const &)*arg2);
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 Py_INCREF(Py_None); resultobj = Py_None;
24642 return resultobj;
24643 fail:
24644 return NULL;
24645 }
24646
24647
24648 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj;
24650 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24651 wxString *result;
24652 PyObject * obj0 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "self", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 {
24662 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24663 result = (wxString *) &_result_ref;
24664 }
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 {
24670 #if wxUSE_UNICODE
24671 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24672 #else
24673 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24674 #endif
24675 }
24676 return resultobj;
24677 fail:
24678 return NULL;
24679 }
24680
24681
24682 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24683 PyObject *resultobj;
24684 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24685 wxString *arg2 = 0 ;
24686 bool temp2 = False ;
24687 PyObject * obj0 = 0 ;
24688 PyObject * obj1 = 0 ;
24689 char *kwnames[] = {
24690 (char *) "self",(char *) "link", NULL
24691 };
24692
24693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24695 {
24696 arg2 = wxString_in_helper(obj1);
24697 if (arg2 == NULL) SWIG_fail;
24698 temp2 = True;
24699 }
24700 {
24701 PyThreadState* __tstate = wxPyBeginAllowThreads();
24702 (arg1)->SetLink((wxString const &)*arg2);
24703
24704 wxPyEndAllowThreads(__tstate);
24705 if (PyErr_Occurred()) SWIG_fail;
24706 }
24707 Py_INCREF(Py_None); resultobj = Py_None;
24708 {
24709 if (temp2)
24710 delete arg2;
24711 }
24712 return resultobj;
24713 fail:
24714 {
24715 if (temp2)
24716 delete arg2;
24717 }
24718 return NULL;
24719 }
24720
24721
24722 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24723 PyObject *resultobj;
24724 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24725 wxString *result;
24726 PyObject * obj0 = 0 ;
24727 char *kwnames[] = {
24728 (char *) "self", NULL
24729 };
24730
24731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 {
24736 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24737 result = (wxString *) &_result_ref;
24738 }
24739
24740 wxPyEndAllowThreads(__tstate);
24741 if (PyErr_Occurred()) SWIG_fail;
24742 }
24743 {
24744 #if wxUSE_UNICODE
24745 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24746 #else
24747 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24748 #endif
24749 }
24750 return resultobj;
24751 fail:
24752 return NULL;
24753 }
24754
24755
24756 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24757 PyObject *resultobj;
24758 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24759 wxString *arg2 = 0 ;
24760 bool temp2 = False ;
24761 PyObject * obj0 = 0 ;
24762 PyObject * obj1 = 0 ;
24763 char *kwnames[] = {
24764 (char *) "self",(char *) "target", NULL
24765 };
24766
24767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24769 {
24770 arg2 = wxString_in_helper(obj1);
24771 if (arg2 == NULL) SWIG_fail;
24772 temp2 = True;
24773 }
24774 {
24775 PyThreadState* __tstate = wxPyBeginAllowThreads();
24776 (arg1)->SetTarget((wxString const &)*arg2);
24777
24778 wxPyEndAllowThreads(__tstate);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 Py_INCREF(Py_None); resultobj = Py_None;
24782 {
24783 if (temp2)
24784 delete arg2;
24785 }
24786 return resultobj;
24787 fail:
24788 {
24789 if (temp2)
24790 delete arg2;
24791 }
24792 return NULL;
24793 }
24794
24795
24796 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24797 PyObject *obj;
24798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24799 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24800 Py_INCREF(obj);
24801 return Py_BuildValue((char *)"");
24802 }
24803 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24804 PyObject *resultobj;
24805 wxWindow *arg1 = (wxWindow *) NULL ;
24806 bool arg2 = (bool) True ;
24807 wxContextHelp *result;
24808 PyObject * obj0 = 0 ;
24809 PyObject * obj1 = 0 ;
24810 char *kwnames[] = {
24811 (char *) "window",(char *) "doNow", NULL
24812 };
24813
24814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24815 if (obj0) {
24816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24817 }
24818 if (obj1) {
24819 arg2 = PyInt_AsLong(obj1) ? true : false;
24820 if (PyErr_Occurred()) SWIG_fail;
24821 }
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24830 return resultobj;
24831 fail:
24832 return NULL;
24833 }
24834
24835
24836 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24839 PyObject * obj0 = 0 ;
24840 char *kwnames[] = {
24841 (char *) "self", NULL
24842 };
24843
24844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24846 {
24847 PyThreadState* __tstate = wxPyBeginAllowThreads();
24848 delete arg1;
24849
24850 wxPyEndAllowThreads(__tstate);
24851 if (PyErr_Occurred()) SWIG_fail;
24852 }
24853 Py_INCREF(Py_None); resultobj = Py_None;
24854 return resultobj;
24855 fail:
24856 return NULL;
24857 }
24858
24859
24860 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24861 PyObject *resultobj;
24862 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24863 wxWindow *arg2 = (wxWindow *) NULL ;
24864 bool result;
24865 PyObject * obj0 = 0 ;
24866 PyObject * obj1 = 0 ;
24867 char *kwnames[] = {
24868 (char *) "self",(char *) "window", NULL
24869 };
24870
24871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24873 if (obj1) {
24874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24875 }
24876 {
24877 PyThreadState* __tstate = wxPyBeginAllowThreads();
24878 result = (bool)(arg1)->BeginContextHelp(arg2);
24879
24880 wxPyEndAllowThreads(__tstate);
24881 if (PyErr_Occurred()) SWIG_fail;
24882 }
24883 resultobj = PyInt_FromLong((long)result);
24884 return resultobj;
24885 fail:
24886 return NULL;
24887 }
24888
24889
24890 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24891 PyObject *resultobj;
24892 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24893 bool result;
24894 PyObject * obj0 = 0 ;
24895 char *kwnames[] = {
24896 (char *) "self", NULL
24897 };
24898
24899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24901 {
24902 PyThreadState* __tstate = wxPyBeginAllowThreads();
24903 result = (bool)(arg1)->EndContextHelp();
24904
24905 wxPyEndAllowThreads(__tstate);
24906 if (PyErr_Occurred()) SWIG_fail;
24907 }
24908 resultobj = PyInt_FromLong((long)result);
24909 return resultobj;
24910 fail:
24911 return NULL;
24912 }
24913
24914
24915 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24916 PyObject *obj;
24917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24918 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24919 Py_INCREF(obj);
24920 return Py_BuildValue((char *)"");
24921 }
24922 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxWindow *arg1 = (wxWindow *) 0 ;
24925 int arg2 = (int) wxID_CONTEXT_HELP ;
24926 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24927 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24928 wxSize const &arg4_defvalue = wxDefaultSize ;
24929 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24930 long arg5 = (long) wxBU_AUTODRAW ;
24931 wxContextHelpButton *result;
24932 wxPoint temp3 ;
24933 wxSize temp4 ;
24934 PyObject * obj0 = 0 ;
24935 PyObject * obj2 = 0 ;
24936 PyObject * obj3 = 0 ;
24937 char *kwnames[] = {
24938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24939 };
24940
24941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24943 if (obj2) {
24944 {
24945 arg3 = &temp3;
24946 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24947 }
24948 }
24949 if (obj3) {
24950 {
24951 arg4 = &temp4;
24952 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24953 }
24954 }
24955 {
24956 PyThreadState* __tstate = wxPyBeginAllowThreads();
24957 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24958
24959 wxPyEndAllowThreads(__tstate);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 }
24962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24963 return resultobj;
24964 fail:
24965 return NULL;
24966 }
24967
24968
24969 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24970 PyObject *obj;
24971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24972 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24973 Py_INCREF(obj);
24974 return Py_BuildValue((char *)"");
24975 }
24976 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24977 PyObject *resultobj;
24978 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24979 wxHelpProvider *result;
24980 PyObject * obj0 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "helpProvider", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24990
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24995 return resultobj;
24996 fail:
24997 return NULL;
24998 }
24999
25000
25001 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25002 PyObject *resultobj;
25003 wxHelpProvider *result;
25004 char *kwnames[] = {
25005 NULL
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25009 {
25010 PyThreadState* __tstate = wxPyBeginAllowThreads();
25011 result = (wxHelpProvider *)wxHelpProvider::Get();
25012
25013 wxPyEndAllowThreads(__tstate);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
25016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25017 return resultobj;
25018 fail:
25019 return NULL;
25020 }
25021
25022
25023 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25024 PyObject *resultobj;
25025 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25026 wxWindow *arg2 = (wxWindow *) 0 ;
25027 wxString result;
25028 PyObject * obj0 = 0 ;
25029 PyObject * obj1 = 0 ;
25030 char *kwnames[] = {
25031 (char *) "self",(char *) "window", NULL
25032 };
25033
25034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25037 {
25038 PyThreadState* __tstate = wxPyBeginAllowThreads();
25039 result = (arg1)->GetHelp((wxWindow const *)arg2);
25040
25041 wxPyEndAllowThreads(__tstate);
25042 if (PyErr_Occurred()) SWIG_fail;
25043 }
25044 {
25045 #if wxUSE_UNICODE
25046 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25047 #else
25048 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25049 #endif
25050 }
25051 return resultobj;
25052 fail:
25053 return NULL;
25054 }
25055
25056
25057 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj;
25059 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25060 wxWindow *arg2 = (wxWindow *) 0 ;
25061 bool result;
25062 PyObject * obj0 = 0 ;
25063 PyObject * obj1 = 0 ;
25064 char *kwnames[] = {
25065 (char *) "self",(char *) "window", NULL
25066 };
25067
25068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25071 {
25072 PyThreadState* __tstate = wxPyBeginAllowThreads();
25073 result = (bool)(arg1)->ShowHelp(arg2);
25074
25075 wxPyEndAllowThreads(__tstate);
25076 if (PyErr_Occurred()) SWIG_fail;
25077 }
25078 resultobj = PyInt_FromLong((long)result);
25079 return resultobj;
25080 fail:
25081 return NULL;
25082 }
25083
25084
25085 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj;
25087 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25088 wxWindow *arg2 = (wxWindow *) 0 ;
25089 wxString *arg3 = 0 ;
25090 bool temp3 = False ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 PyObject * obj2 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "self",(char *) "window",(char *) "text", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25101 {
25102 arg3 = wxString_in_helper(obj2);
25103 if (arg3 == NULL) SWIG_fail;
25104 temp3 = True;
25105 }
25106 {
25107 PyThreadState* __tstate = wxPyBeginAllowThreads();
25108 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25109
25110 wxPyEndAllowThreads(__tstate);
25111 if (PyErr_Occurred()) SWIG_fail;
25112 }
25113 Py_INCREF(Py_None); resultobj = Py_None;
25114 {
25115 if (temp3)
25116 delete arg3;
25117 }
25118 return resultobj;
25119 fail:
25120 {
25121 if (temp3)
25122 delete arg3;
25123 }
25124 return NULL;
25125 }
25126
25127
25128 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25129 PyObject *resultobj;
25130 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25131 int arg2 ;
25132 wxString *arg3 = 0 ;
25133 bool temp3 = False ;
25134 PyObject * obj0 = 0 ;
25135 PyObject * obj2 = 0 ;
25136 char *kwnames[] = {
25137 (char *) "self",(char *) "id",(char *) "text", NULL
25138 };
25139
25140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25142 {
25143 arg3 = wxString_in_helper(obj2);
25144 if (arg3 == NULL) SWIG_fail;
25145 temp3 = True;
25146 }
25147 {
25148 PyThreadState* __tstate = wxPyBeginAllowThreads();
25149 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25150
25151 wxPyEndAllowThreads(__tstate);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
25154 Py_INCREF(Py_None); resultobj = Py_None;
25155 {
25156 if (temp3)
25157 delete arg3;
25158 }
25159 return resultobj;
25160 fail:
25161 {
25162 if (temp3)
25163 delete arg3;
25164 }
25165 return NULL;
25166 }
25167
25168
25169 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25170 PyObject *resultobj;
25171 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25172 PyObject * obj0 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "self", NULL
25175 };
25176
25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 wxHelpProvider_Destroy(arg1);
25182
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 Py_INCREF(Py_None); resultobj = Py_None;
25187 return resultobj;
25188 fail:
25189 return NULL;
25190 }
25191
25192
25193 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25194 PyObject *obj;
25195 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25196 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25197 Py_INCREF(obj);
25198 return Py_BuildValue((char *)"");
25199 }
25200 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25201 PyObject *resultobj;
25202 wxSimpleHelpProvider *result;
25203 char *kwnames[] = {
25204 NULL
25205 };
25206
25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25208 {
25209 PyThreadState* __tstate = wxPyBeginAllowThreads();
25210 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25211
25212 wxPyEndAllowThreads(__tstate);
25213 if (PyErr_Occurred()) SWIG_fail;
25214 }
25215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25216 return resultobj;
25217 fail:
25218 return NULL;
25219 }
25220
25221
25222 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25223 PyObject *obj;
25224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25225 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25226 Py_INCREF(obj);
25227 return Py_BuildValue((char *)"");
25228 }
25229 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25230 PyObject *resultobj;
25231 wxBitmap *arg1 = 0 ;
25232 wxCursor const &arg2_defvalue = wxNullCursor ;
25233 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25234 wxGenericDragImage *result;
25235 PyObject * obj0 = 0 ;
25236 PyObject * obj1 = 0 ;
25237 char *kwnames[] = {
25238 (char *) "image",(char *) "cursor", NULL
25239 };
25240
25241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25243 if (arg1 == NULL) {
25244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25245 }
25246 if (obj1) {
25247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25248 if (arg2 == NULL) {
25249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25250 }
25251 }
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25255
25256 wxPyEndAllowThreads(__tstate);
25257 if (PyErr_Occurred()) SWIG_fail;
25258 }
25259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25260 return resultobj;
25261 fail:
25262 return NULL;
25263 }
25264
25265
25266 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25267 PyObject *resultobj;
25268 wxIcon *arg1 = 0 ;
25269 wxCursor const &arg2_defvalue = wxNullCursor ;
25270 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25271 wxGenericDragImage *result;
25272 PyObject * obj0 = 0 ;
25273 PyObject * obj1 = 0 ;
25274 char *kwnames[] = {
25275 (char *) "image",(char *) "cursor", NULL
25276 };
25277
25278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25280 if (arg1 == NULL) {
25281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25282 }
25283 if (obj1) {
25284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25285 if (arg2 == NULL) {
25286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25287 }
25288 }
25289 {
25290 PyThreadState* __tstate = wxPyBeginAllowThreads();
25291 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25292
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25297 return resultobj;
25298 fail:
25299 return NULL;
25300 }
25301
25302
25303 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj;
25305 wxString *arg1 = 0 ;
25306 wxCursor const &arg2_defvalue = wxNullCursor ;
25307 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25308 wxGenericDragImage *result;
25309 bool temp1 = False ;
25310 PyObject * obj0 = 0 ;
25311 PyObject * obj1 = 0 ;
25312 char *kwnames[] = {
25313 (char *) "str",(char *) "cursor", NULL
25314 };
25315
25316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25317 {
25318 arg1 = wxString_in_helper(obj0);
25319 if (arg1 == NULL) SWIG_fail;
25320 temp1 = True;
25321 }
25322 if (obj1) {
25323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25324 if (arg2 == NULL) {
25325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25326 }
25327 }
25328 {
25329 PyThreadState* __tstate = wxPyBeginAllowThreads();
25330 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25331
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25336 {
25337 if (temp1)
25338 delete arg1;
25339 }
25340 return resultobj;
25341 fail:
25342 {
25343 if (temp1)
25344 delete arg1;
25345 }
25346 return NULL;
25347 }
25348
25349
25350 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25351 PyObject *resultobj;
25352 wxPyTreeCtrl *arg1 = 0 ;
25353 wxTreeItemId *arg2 = 0 ;
25354 wxGenericDragImage *result;
25355 PyObject * obj0 = 0 ;
25356 PyObject * obj1 = 0 ;
25357 char *kwnames[] = {
25358 (char *) "treeCtrl",(char *) "id", NULL
25359 };
25360
25361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25363 if (arg1 == NULL) {
25364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25365 }
25366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25367 if (arg2 == NULL) {
25368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25369 }
25370 {
25371 PyThreadState* __tstate = wxPyBeginAllowThreads();
25372 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25373
25374 wxPyEndAllowThreads(__tstate);
25375 if (PyErr_Occurred()) SWIG_fail;
25376 }
25377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25378 return resultobj;
25379 fail:
25380 return NULL;
25381 }
25382
25383
25384 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25385 PyObject *resultobj;
25386 wxPyListCtrl *arg1 = 0 ;
25387 long arg2 ;
25388 wxGenericDragImage *result;
25389 PyObject * obj0 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "listCtrl",(char *) "id", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25396 if (arg1 == NULL) {
25397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25398 }
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25407 return resultobj;
25408 fail:
25409 return NULL;
25410 }
25411
25412
25413 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25414 PyObject *resultobj;
25415 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25416 PyObject * obj0 = 0 ;
25417 char *kwnames[] = {
25418 (char *) "self", NULL
25419 };
25420
25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 delete arg1;
25426
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 Py_INCREF(Py_None); resultobj = Py_None;
25431 return resultobj;
25432 fail:
25433 return NULL;
25434 }
25435
25436
25437 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj;
25439 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25440 wxBitmap *arg2 = (wxBitmap *) 0 ;
25441 PyObject * obj0 = 0 ;
25442 PyObject * obj1 = 0 ;
25443 char *kwnames[] = {
25444 (char *) "self",(char *) "bitmap", NULL
25445 };
25446
25447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 (arg1)->SetBackingBitmap(arg2);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 Py_INCREF(Py_None); resultobj = Py_None;
25458 return resultobj;
25459 fail:
25460 return NULL;
25461 }
25462
25463
25464 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25465 PyObject *resultobj;
25466 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25467 wxPoint *arg2 = 0 ;
25468 wxWindow *arg3 = (wxWindow *) 0 ;
25469 bool arg4 = (bool) False ;
25470 wxRect *arg5 = (wxRect *) NULL ;
25471 bool result;
25472 wxPoint temp2 ;
25473 PyObject * obj0 = 0 ;
25474 PyObject * obj1 = 0 ;
25475 PyObject * obj2 = 0 ;
25476 PyObject * obj3 = 0 ;
25477 PyObject * obj4 = 0 ;
25478 char *kwnames[] = {
25479 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25480 };
25481
25482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25484 {
25485 arg2 = &temp2;
25486 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25487 }
25488 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25489 if (obj3) {
25490 arg4 = PyInt_AsLong(obj3) ? true : false;
25491 if (PyErr_Occurred()) SWIG_fail;
25492 }
25493 if (obj4) {
25494 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25495 }
25496 {
25497 PyThreadState* __tstate = wxPyBeginAllowThreads();
25498 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25499
25500 wxPyEndAllowThreads(__tstate);
25501 if (PyErr_Occurred()) SWIG_fail;
25502 }
25503 resultobj = PyInt_FromLong((long)result);
25504 return resultobj;
25505 fail:
25506 return NULL;
25507 }
25508
25509
25510 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25511 PyObject *resultobj;
25512 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25513 wxPoint *arg2 = 0 ;
25514 wxWindow *arg3 = (wxWindow *) 0 ;
25515 wxWindow *arg4 = (wxWindow *) 0 ;
25516 bool result;
25517 wxPoint temp2 ;
25518 PyObject * obj0 = 0 ;
25519 PyObject * obj1 = 0 ;
25520 PyObject * obj2 = 0 ;
25521 PyObject * obj3 = 0 ;
25522 char *kwnames[] = {
25523 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25524 };
25525
25526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25528 {
25529 arg2 = &temp2;
25530 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25531 }
25532 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25533 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25537
25538 wxPyEndAllowThreads(__tstate);
25539 if (PyErr_Occurred()) SWIG_fail;
25540 }
25541 resultobj = PyInt_FromLong((long)result);
25542 return resultobj;
25543 fail:
25544 return NULL;
25545 }
25546
25547
25548 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25549 PyObject *resultobj;
25550 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25551 bool result;
25552 PyObject * obj0 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 result = (bool)(arg1)->EndDrag();
25562
25563 wxPyEndAllowThreads(__tstate);
25564 if (PyErr_Occurred()) SWIG_fail;
25565 }
25566 resultobj = PyInt_FromLong((long)result);
25567 return resultobj;
25568 fail:
25569 return NULL;
25570 }
25571
25572
25573 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25574 PyObject *resultobj;
25575 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25576 wxPoint *arg2 = 0 ;
25577 bool result;
25578 wxPoint temp2 ;
25579 PyObject * obj0 = 0 ;
25580 PyObject * obj1 = 0 ;
25581 char *kwnames[] = {
25582 (char *) "self",(char *) "pt", NULL
25583 };
25584
25585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25587 {
25588 arg2 = &temp2;
25589 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25590 }
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25594
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 resultobj = PyInt_FromLong((long)result);
25599 return resultobj;
25600 fail:
25601 return NULL;
25602 }
25603
25604
25605 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25606 PyObject *resultobj;
25607 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25608 bool result;
25609 PyObject * obj0 = 0 ;
25610 char *kwnames[] = {
25611 (char *) "self", NULL
25612 };
25613
25614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25616 {
25617 PyThreadState* __tstate = wxPyBeginAllowThreads();
25618 result = (bool)(arg1)->Show();
25619
25620 wxPyEndAllowThreads(__tstate);
25621 if (PyErr_Occurred()) SWIG_fail;
25622 }
25623 resultobj = PyInt_FromLong((long)result);
25624 return resultobj;
25625 fail:
25626 return NULL;
25627 }
25628
25629
25630 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25631 PyObject *resultobj;
25632 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25633 bool result;
25634 PyObject * obj0 = 0 ;
25635 char *kwnames[] = {
25636 (char *) "self", NULL
25637 };
25638
25639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25641 {
25642 PyThreadState* __tstate = wxPyBeginAllowThreads();
25643 result = (bool)(arg1)->Hide();
25644
25645 wxPyEndAllowThreads(__tstate);
25646 if (PyErr_Occurred()) SWIG_fail;
25647 }
25648 resultobj = PyInt_FromLong((long)result);
25649 return resultobj;
25650 fail:
25651 return NULL;
25652 }
25653
25654
25655 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25656 PyObject *resultobj;
25657 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25658 wxPoint *arg2 = 0 ;
25659 wxRect result;
25660 wxPoint temp2 ;
25661 PyObject * obj0 = 0 ;
25662 PyObject * obj1 = 0 ;
25663 char *kwnames[] = {
25664 (char *) "self",(char *) "pos", NULL
25665 };
25666
25667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25669 {
25670 arg2 = &temp2;
25671 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25672 }
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25676
25677 wxPyEndAllowThreads(__tstate);
25678 if (PyErr_Occurred()) SWIG_fail;
25679 }
25680 {
25681 wxRect * resultptr;
25682 resultptr = new wxRect((wxRect &) result);
25683 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25684 }
25685 return resultobj;
25686 fail:
25687 return NULL;
25688 }
25689
25690
25691 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25692 PyObject *resultobj;
25693 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25694 wxDC *arg2 = 0 ;
25695 wxPoint *arg3 = 0 ;
25696 bool result;
25697 wxPoint temp3 ;
25698 PyObject * obj0 = 0 ;
25699 PyObject * obj1 = 0 ;
25700 PyObject * obj2 = 0 ;
25701 char *kwnames[] = {
25702 (char *) "self",(char *) "dc",(char *) "pos", NULL
25703 };
25704
25705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25708 if (arg2 == NULL) {
25709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25710 }
25711 {
25712 arg3 = &temp3;
25713 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25714 }
25715 {
25716 PyThreadState* __tstate = wxPyBeginAllowThreads();
25717 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25718
25719 wxPyEndAllowThreads(__tstate);
25720 if (PyErr_Occurred()) SWIG_fail;
25721 }
25722 resultobj = PyInt_FromLong((long)result);
25723 return resultobj;
25724 fail:
25725 return NULL;
25726 }
25727
25728
25729 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25730 PyObject *resultobj;
25731 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25732 wxDC *arg2 = 0 ;
25733 wxMemoryDC *arg3 = 0 ;
25734 wxRect *arg4 = 0 ;
25735 wxRect *arg5 = 0 ;
25736 bool result;
25737 wxRect temp4 ;
25738 wxRect temp5 ;
25739 PyObject * obj0 = 0 ;
25740 PyObject * obj1 = 0 ;
25741 PyObject * obj2 = 0 ;
25742 PyObject * obj3 = 0 ;
25743 PyObject * obj4 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25751 if (arg2 == NULL) {
25752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25753 }
25754 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25755 if (arg3 == NULL) {
25756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25757 }
25758 {
25759 arg4 = &temp4;
25760 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25761 }
25762 {
25763 arg5 = &temp5;
25764 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25765 }
25766 {
25767 PyThreadState* __tstate = wxPyBeginAllowThreads();
25768 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25769
25770 wxPyEndAllowThreads(__tstate);
25771 if (PyErr_Occurred()) SWIG_fail;
25772 }
25773 resultobj = PyInt_FromLong((long)result);
25774 return resultobj;
25775 fail:
25776 return NULL;
25777 }
25778
25779
25780 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25781 PyObject *resultobj;
25782 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25783 wxPoint *arg2 = 0 ;
25784 wxPoint *arg3 = 0 ;
25785 bool arg4 ;
25786 bool arg5 ;
25787 bool result;
25788 wxPoint temp2 ;
25789 wxPoint temp3 ;
25790 PyObject * obj0 = 0 ;
25791 PyObject * obj1 = 0 ;
25792 PyObject * obj2 = 0 ;
25793 PyObject * obj3 = 0 ;
25794 PyObject * obj4 = 0 ;
25795 char *kwnames[] = {
25796 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25797 };
25798
25799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25801 {
25802 arg2 = &temp2;
25803 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25804 }
25805 {
25806 arg3 = &temp3;
25807 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25808 }
25809 arg4 = PyInt_AsLong(obj3) ? true : false;
25810 if (PyErr_Occurred()) SWIG_fail;
25811 arg5 = PyInt_AsLong(obj4) ? true : false;
25812 if (PyErr_Occurred()) SWIG_fail;
25813 {
25814 PyThreadState* __tstate = wxPyBeginAllowThreads();
25815 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25816
25817 wxPyEndAllowThreads(__tstate);
25818 if (PyErr_Occurred()) SWIG_fail;
25819 }
25820 resultobj = PyInt_FromLong((long)result);
25821 return resultobj;
25822 fail:
25823 return NULL;
25824 }
25825
25826
25827 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25828 PyObject *obj;
25829 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25830 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25831 Py_INCREF(obj);
25832 return Py_BuildValue((char *)"");
25833 }
25834 static PyMethodDef SwigMethods[] = {
25835 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25841 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25856 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25866 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25867 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25876 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25894 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25895 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25907 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25911 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25917 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25921 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25928 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25947 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25956 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25957 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25985 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26038 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26043 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26054 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26066 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26077 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26094 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26100 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26125 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26132 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26152 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26158 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26167 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26169 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26174 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26176 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26181 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26186 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26216 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26258 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26263 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26275 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26327 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26354 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26423 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26435 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26443 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26450 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26466 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26538 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26560 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26565 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26586 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26594 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26599 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26601 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26609 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26611 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26629 { NULL, NULL }
26630 };
26631
26632
26633 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26634
26635 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26636 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26637 }
26638 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26639 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26640 }
26641 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26642 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26643 }
26644 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26645 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26646 }
26647 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26648 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26649 }
26650 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26651 return (void *)((wxSizer *) ((wxGridSizer *) x));
26652 }
26653 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26654 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26655 }
26656 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26657 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26658 }
26659 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26660 return (void *)((wxSizer *) ((wxPySizer *) x));
26661 }
26662 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26663 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26664 }
26665 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26666 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26667 }
26668 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26669 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26670 }
26671 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26672 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26673 }
26674 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26675 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26676 }
26677 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26678 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26679 }
26680 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26681 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26682 }
26683 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26684 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26685 }
26686 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26687 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26688 }
26689 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26690 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26691 }
26692 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26693 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26694 }
26695 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26696 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26697 }
26698 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26699 return (void *)((wxEvent *) ((wxPyEvent *) x));
26700 }
26701 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26702 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26703 }
26704 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26705 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26706 }
26707 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26708 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26709 }
26710 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26711 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26712 }
26713 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26714 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26715 }
26716 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26717 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26718 }
26719 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26720 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26721 }
26722 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26723 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26724 }
26725 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26726 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26727 }
26728 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26729 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26730 }
26731 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26732 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26733 }
26734 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26735 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26736 }
26737 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26738 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26739 }
26740 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26741 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26742 }
26743 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26744 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26745 }
26746 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26747 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26748 }
26749 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26750 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26751 }
26752 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26753 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26754 }
26755 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26756 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26757 }
26758 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26759 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26760 }
26761 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26762 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26763 }
26764 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26765 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26766 }
26767 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26769 }
26770 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26771 return (void *)((wxEvent *) ((wxShowEvent *) x));
26772 }
26773 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26774 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26775 }
26776 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26777 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26778 }
26779 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26780 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26781 }
26782 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26783 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26784 }
26785 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26786 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26787 }
26788 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26789 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26790 }
26791 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26792 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26793 }
26794 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26795 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26796 }
26797 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26798 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26799 }
26800 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26801 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26802 }
26803 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26804 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26805 }
26806 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26807 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26808 }
26809 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26810 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26811 }
26812 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26813 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26814 }
26815 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26816 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26817 }
26818 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26819 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26820 }
26821 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26822 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26823 }
26824 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26825 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26826 }
26827 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26828 return (void *)((wxControl *) ((wxComboBox *) x));
26829 }
26830 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26831 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26832 }
26833 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26834 return (void *)((wxControl *) ((wxStaticBox *) x));
26835 }
26836 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26837 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26838 }
26839 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26840 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26841 }
26842 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26843 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26844 }
26845 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26846 return (void *)((wxControl *) ((wxScrollBar *) x));
26847 }
26848 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26849 return (void *)((wxControl *) ((wxBookCtrl *) x));
26850 }
26851 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26852 return (void *)((wxControl *) ((wxRadioButton *) x));
26853 }
26854 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26855 return (void *)((wxControl *) ((wxToggleButton *) x));
26856 }
26857 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26858 return (void *)((wxControl *) ((wxGauge *) x));
26859 }
26860 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26861 return (void *)((wxControl *) ((wxToolBarBase *) x));
26862 }
26863 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26864 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26865 }
26866 static void *_p_wxButtonTo_p_wxControl(void *x) {
26867 return (void *)((wxControl *) ((wxButton *) x));
26868 }
26869 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26870 return (void *)((wxControl *) ((wxSpinButton *) x));
26871 }
26872 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26873 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26874 }
26875 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26876 return (void *)((wxControl *) ((wxControlWithItems *) x));
26877 }
26878 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26879 return (void *)((wxControl *) ((wxRadioBox *) x));
26880 }
26881 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26882 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26883 }
26884 static void *_p_wxListbookTo_p_wxControl(void *x) {
26885 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26886 }
26887 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26888 return (void *)((wxControl *) ((wxCheckBox *) x));
26889 }
26890 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26891 return (void *)((wxControl *) ((wxTextCtrl *) x));
26892 }
26893 static void *_p_wxListViewTo_p_wxControl(void *x) {
26894 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26895 }
26896 static void *_p_wxSliderTo_p_wxControl(void *x) {
26897 return (void *)((wxControl *) ((wxSlider *) x));
26898 }
26899 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26900 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26901 }
26902 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26903 return (void *)((wxControl *) ((wxPyControl *) x));
26904 }
26905 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26906 return (void *)((wxControl *) ((wxStaticLine *) x));
26907 }
26908 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26909 return (void *)((wxControl *) ((wxStaticText *) x));
26910 }
26911 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26912 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26913 }
26914 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26915 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26916 }
26917 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26918 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26919 }
26920 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26921 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26922 }
26923 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26924 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26925 }
26926 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26927 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26928 }
26929 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26930 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26931 }
26932 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26934 }
26935 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26936 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26937 }
26938 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26939 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26940 }
26941 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26942 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26943 }
26944 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26946 }
26947 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26948 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26949 }
26950 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26952 }
26953 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26955 }
26956 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26957 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26958 }
26959 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26960 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26961 }
26962 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26964 }
26965 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26967 }
26968 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26970 }
26971 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26973 }
26974 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26976 }
26977 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26978 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26979 }
26980 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26982 }
26983 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26984 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26985 }
26986 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26988 }
26989 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26990 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26991 }
26992 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26994 }
26995 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26996 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26997 }
26998 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27000 }
27001 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27002 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27003 }
27004 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27005 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27006 }
27007 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27008 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27009 }
27010 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27011 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27012 }
27013 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27014 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27015 }
27016 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27017 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27018 }
27019 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27020 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27021 }
27022 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27023 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27024 }
27025 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27026 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27027 }
27028 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27029 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27030 }
27031 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27032 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27033 }
27034 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27035 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27036 }
27037 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27038 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27039 }
27040 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27041 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27042 }
27043 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27044 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27045 }
27046 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27047 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27048 }
27049 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27050 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27051 }
27052 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27053 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27054 }
27055 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27056 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27057 }
27058 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27059 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27060 }
27061 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27062 return (void *)((wxButton *) ((wxBitmapButton *) x));
27063 }
27064 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27065 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27066 }
27067 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27068 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27069 }
27070 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27071 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27072 }
27073 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27074 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27075 }
27076 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27077 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27078 }
27079 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27080 return (void *)((wxObject *) ((wxSizerItem *) x));
27081 }
27082 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27084 }
27085 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27086 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27087 }
27088 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27089 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27090 }
27091 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27092 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27093 }
27094 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27095 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27096 }
27097 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27098 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27099 }
27100 static void *_p_wxSizerTo_p_wxObject(void *x) {
27101 return (void *)((wxObject *) ((wxSizer *) x));
27102 }
27103 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27104 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27105 }
27106 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27108 }
27109 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27110 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27111 }
27112 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27114 }
27115 static void *_p_wxEventTo_p_wxObject(void *x) {
27116 return (void *)((wxObject *) ((wxEvent *) x));
27117 }
27118 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27119 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27120 }
27121 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27122 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27123 }
27124 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27125 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27126 }
27127 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27129 }
27130 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27132 }
27133 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27135 }
27136 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27137 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27138 }
27139 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27140 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27141 }
27142 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27143 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27144 }
27145 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27146 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27147 }
27148 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27149 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27150 }
27151 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27152 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27153 }
27154 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27156 }
27157 static void *_p_wxControlTo_p_wxObject(void *x) {
27158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27159 }
27160 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27162 }
27163 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27165 }
27166 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27168 }
27169 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27171 }
27172 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27174 }
27175 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27176 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27177 }
27178 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27180 }
27181 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27182 return (void *)((wxObject *) ((wxFSFile *) x));
27183 }
27184 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27185 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27186 }
27187 static void *_p_wxListViewTo_p_wxObject(void *x) {
27188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27189 }
27190 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27192 }
27193 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27195 }
27196 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27197 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27198 }
27199 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27200 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27201 }
27202 static void *_p_wxListbookTo_p_wxObject(void *x) {
27203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27204 }
27205 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27206 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27207 }
27208 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27210 }
27211 static void *_p_wxSliderTo_p_wxObject(void *x) {
27212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27213 }
27214 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27215 return (void *)((wxObject *) ((wxMenuItem *) x));
27216 }
27217 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27218 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27219 }
27220 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27221 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27222 }
27223 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27224 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27225 }
27226 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27227 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27228 }
27229 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27230 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27231 }
27232 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27233 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27234 }
27235 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27236 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27237 }
27238 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27239 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27240 }
27241 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27243 }
27244 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27245 return (void *)((wxObject *) ((wxContextHelp *) x));
27246 }
27247 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27248 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27249 }
27250 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27251 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27252 }
27253 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27254 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27255 }
27256 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27257 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27258 }
27259 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27260 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27261 }
27262 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27263 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27264 }
27265 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27266 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27267 }
27268 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27269 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27270 }
27271 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27272 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27273 }
27274 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27275 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27276 }
27277 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27278 return (void *)((wxObject *) ((wxImageHandler *) x));
27279 }
27280 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27281 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27282 }
27283 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27284 return (void *)((wxObject *) ((wxEvtHandler *) x));
27285 }
27286 static void *_p_wxListEventTo_p_wxObject(void *x) {
27287 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27288 }
27289 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27291 }
27292 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27294 }
27295 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27296 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27297 }
27298 static void *_p_wxButtonTo_p_wxObject(void *x) {
27299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27300 }
27301 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27303 }
27304 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27306 }
27307 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27309 }
27310 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27311 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27312 }
27313 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27315 }
27316 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27318 }
27319 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27321 }
27322 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27323 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27324 }
27325 static void *_p_wxListItemTo_p_wxObject(void *x) {
27326 return (void *)((wxObject *) ((wxListItem *) x));
27327 }
27328 static void *_p_wxImageTo_p_wxObject(void *x) {
27329 return (void *)((wxObject *) ((wxImage *) x));
27330 }
27331 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27332 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27333 }
27334 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27335 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27336 }
27337 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27338 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27339 }
27340 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27342 }
27343 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27344 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27345 }
27346 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27348 }
27349 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27351 }
27352 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27353 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27354 }
27355 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27356 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27357 }
27358 static void *_p_wxWindowTo_p_wxObject(void *x) {
27359 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27360 }
27361 static void *_p_wxMenuTo_p_wxObject(void *x) {
27362 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27363 }
27364 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27366 }
27367 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27368 return (void *)((wxObject *) ((wxFileSystem *) x));
27369 }
27370 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27371 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27372 }
27373 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27374 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27375 }
27376 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27377 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27378 }
27379 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27380 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27381 }
27382 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27383 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27384 }
27385 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27386 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27387 }
27388 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27389 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27390 }
27391 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27392 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27393 }
27394 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27395 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27396 }
27397 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27399 }
27400 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27401 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27402 }
27403 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27404 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27405 }
27406 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27407 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27408 }
27409 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27411 }
27412 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27413 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27414 }
27415 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27417 }
27418 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27419 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27420 }
27421 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27422 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27423 }
27424 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27425 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27426 }
27427 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27428 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27429 }
27430 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27431 return (void *)((wxWindow *) ((wxMenuBar *) x));
27432 }
27433 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27434 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27435 }
27436 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27437 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27438 }
27439 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27440 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27441 }
27442 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27443 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27444 }
27445 static void *_p_wxControlTo_p_wxWindow(void *x) {
27446 return (void *)((wxWindow *) ((wxControl *) x));
27447 }
27448 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27449 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27450 }
27451 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27452 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27453 }
27454 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27455 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27456 }
27457 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27458 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27459 }
27460 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27461 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27462 }
27463 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27464 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27465 }
27466 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27467 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27468 }
27469 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27470 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27471 }
27472 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27473 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27474 }
27475 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27476 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27477 }
27478 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27479 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27480 }
27481 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27482 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27483 }
27484 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27485 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27486 }
27487 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27488 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27489 }
27490 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27491 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27492 }
27493 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27494 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27495 }
27496 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27497 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27498 }
27499 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27500 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27501 }
27502 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27503 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27504 }
27505 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27506 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27507 }
27508 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27509 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27510 }
27511 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27512 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27513 }
27514 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27515 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27516 }
27517 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27518 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27519 }
27520 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27521 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27522 }
27523 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27524 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27525 }
27526 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27527 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27528 }
27529 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27530 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27531 }
27532 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27533 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27534 }
27535 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27536 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27537 }
27538 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27539 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27540 }
27541 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27542 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27543 }
27544 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27545 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27546 }
27547 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27548 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27549 }
27550 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27551 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27552 }
27553 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27554 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27555 }
27556 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27557 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27558 }
27559 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27560 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27561 }
27562 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27563 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27564 }
27565 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27566 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27567 }
27568 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27569 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27570 }
27571 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27572 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27573 }
27574 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27575 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27576 }
27577 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27578 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27579 }
27580 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27581 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27582 }
27583 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27584 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27585 }
27586 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27587 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27588 }
27589 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27590 return (void *)((wxValidator *) ((wxPyValidator *) x));
27591 }
27592 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27593 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}};
27594 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}};
27595 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27596 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27597 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27598 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27599 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}};
27600 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27601 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27602 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27603 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}};
27604 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27605 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27606 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27607 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}};
27608 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27609 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27610 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27611 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27612 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27613 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27614 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27615 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27616 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27617 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27618 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27619 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27620 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27621 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27622 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27623 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27624 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}};
27625 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27626 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27627 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27628 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27629 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27630 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27631 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27632 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27633 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}};
27634 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27635 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27636 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27637 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}};
27638 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27639 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}};
27640 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27641 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27642 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27643 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27644 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27645 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27646 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27647 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27648 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27649 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27650 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27651 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27652 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27653 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27654 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27655 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27656 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27657 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27658 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27659 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_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
27660 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27661 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27662 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}};
27663 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27664 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27665 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27666 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27667 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}};
27668 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27669 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}};
27670 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27671 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27672 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27673 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27674 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27675
27676 static swig_type_info *swig_types_initial[] = {
27677 _swigt__p_wxTextUrlEvent,
27678 _swigt__p_wxBookCtrlEvent,
27679 _swigt__p_wxSizer,
27680 _swigt__p_wxTreeItemIdValue,
27681 _swigt__wxTreeItemIdValue,
27682 _swigt__p_wxCheckBox,
27683 _swigt__p_wxPyTreeCtrl,
27684 _swigt__p_wxEvent,
27685 _swigt__p_wxGenericDirCtrl,
27686 _swigt__p_bool,
27687 _swigt__p_wxPyTreeItemData,
27688 _swigt__p_wxItemContainer,
27689 _swigt__p_wxDirFilterListCtrl,
27690 _swigt__p_wxPyListCtrl,
27691 _swigt__p_wxStaticLine,
27692 _swigt__p_wxControl,
27693 _swigt__p_wxPyControl,
27694 _swigt__p_wxGauge,
27695 _swigt__p_wxToolBarBase,
27696 _swigt__p_wxFont,
27697 _swigt__p_wxToggleButton,
27698 _swigt__p_wxRadioButton,
27699 _swigt__p_wxChoice,
27700 _swigt__p_wxMemoryDC,
27701 _swigt__p_wxListItemAttr,
27702 _swigt__p_int,
27703 _swigt__p_wxSize,
27704 _swigt__p_wxDC,
27705 _swigt__p_wxListView,
27706 _swigt__p_wxIcon,
27707 _swigt__p_wxTextCtrl,
27708 _swigt__p_wxNotebook,
27709 _swigt__p_wxNotifyEvent,
27710 _swigt__p_wxArrayString,
27711 _swigt__p_wxListbook,
27712 _swigt__p_wxStaticBitmap,
27713 _swigt__p_wxSlider,
27714 _swigt__p_wxStaticBox,
27715 _swigt__p_wxArrayInt,
27716 _swigt__p_wxContextHelp,
27717 _swigt__p_long,
27718 _swigt__p_wxEvtHandler,
27719 _swigt__p_wxListEvent,
27720 _swigt__p_wxListBox,
27721 _swigt__p_wxCheckListBox,
27722 _swigt__p_wxBookCtrl,
27723 _swigt__p_wxSpinButton,
27724 _swigt__p_wxButton,
27725 _swigt__p_wxBitmapButton,
27726 _swigt__p_wxRect,
27727 _swigt__p_wxContextHelpButton,
27728 _swigt__p_wxRadioBox,
27729 _swigt__p_wxScrollBar,
27730 _swigt__p_wxTreeItemId,
27731 _swigt__p_wxComboBox,
27732 _swigt__p_wxHelpEvent,
27733 _swigt__p_wxListItem,
27734 _swigt__p_wxNotebookSizer,
27735 _swigt__p_wxGenericDragImage,
27736 _swigt__p_wxSpinCtrl,
27737 _swigt__p_wxImageList,
27738 _swigt__p_wxHelpProvider,
27739 _swigt__p_wxTextAttr,
27740 _swigt__p_wxSimpleHelpProvider,
27741 _swigt__p_wxPoint,
27742 _swigt__p_wxListbookEvent,
27743 _swigt__p_wxNotebookEvent,
27744 _swigt__p_wxObject,
27745 _swigt__p_wxCursor,
27746 _swigt__p_wxKeyEvent,
27747 _swigt__p_wxWindow,
27748 _swigt__p_wxString,
27749 _swigt__p_wxBitmap,
27750 _swigt__p_wxTreeEvent,
27751 _swigt__p_wxMouseEvent,
27752 _swigt__p_wxCommandEvent,
27753 _swigt__p_wxStaticText,
27754 _swigt__p_wxControlWithItems,
27755 _swigt__p_wxToolBarToolBase,
27756 _swigt__p_wxColour,
27757 _swigt__p_wxToolBar,
27758 _swigt__p_wxBookCtrlSizer,
27759 _swigt__p_wxValidator,
27760 0
27761 };
27762
27763
27764 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27765
27766 static swig_const_info swig_const_table[] = {
27767 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27768 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27769 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27770 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27771 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27772 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27773 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27774 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27775 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27776 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27777 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27778 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27779 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27780 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27781 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27782 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27783 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27784 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27785 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27786 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27787 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27788 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27789 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27790 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27791 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27792 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27793 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27794 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27795 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27796 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27797 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27798 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27799 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27800 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27801 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27802 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27803 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27804 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27805 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27806 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27807 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27808 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27809 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27810 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27811 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27812 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27813 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27814 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27815 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27816 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27817 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27818 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27819 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27820 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27821 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27822 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27823 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27824 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27825 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27826 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27827 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27828 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27829 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27830 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27831 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27832 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27833 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27834 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27835 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27836 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27837 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27838 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27839 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27840 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27841 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27842 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27843 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27844 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27845 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27846 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27847 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27848 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27849 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27850 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27851 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27852 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27853 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27854 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27855 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27856 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27857 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27858 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27859 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27860 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27861 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27862 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27863 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27864 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27865 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27866 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27867 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27868 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27869 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27870 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27871 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27872 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27873 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27874 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27875 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27876 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27877 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27878 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27879 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27880 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27881 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27882 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27883 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27884 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27885 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27886 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27887 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27888 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27889 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27890 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27891 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27892 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27893 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27894 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27895 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27896 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27897 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27898 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27899 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27900 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27901 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27902 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27903 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27904 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27905 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27906 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27907 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27908 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27909 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27910 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27911 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27912 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27913 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27914 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27915 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27916 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27917 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27918 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27919 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27920 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27921 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27922 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27923 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27924 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27925 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27926 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27927 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27928 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27929 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27930 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27931 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27932 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27933 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27934 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27935 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27936 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27937 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27938 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27939 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27940 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27941 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27942 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27943 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27944 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27945 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27946 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27947 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27948 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27949 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27950 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27951 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27952 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27953 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27954 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27955 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27956 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27957 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27958 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27959 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27960 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27961 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27962 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27963 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27964 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27965 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27966 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27967 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27968 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27969 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27970 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27971 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27972 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27973 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27974 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27975 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27976 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27977 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27978 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27979 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27980 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27981 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27982 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27983 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27984 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27985 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27986 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27987 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27988 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27989 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27990 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27991 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27992 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27993 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27994 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27995 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27996 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27997 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27998 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27999 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28000 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28001 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28002 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28003 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28004 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28005 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28006 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28007 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28008 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28009 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28010 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28011 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28012 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28013 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28014 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28015 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28016 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28017 {0}};
28018
28019 #ifdef __cplusplus
28020 }
28021 #endif
28022
28023 #ifdef __cplusplus
28024 extern "C"
28025 #endif
28026 SWIGEXPORT(void) SWIG_init(void) {
28027 static PyObject *SWIG_globals = 0;
28028 static int typeinit = 0;
28029 PyObject *m, *d;
28030 int i;
28031 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28032 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28033 d = PyModule_GetDict(m);
28034
28035 if (!typeinit) {
28036 for (i = 0; swig_types_initial[i]; i++) {
28037 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28038 }
28039 typeinit = 1;
28040 }
28041 SWIG_InstallConstants(d,swig_const_table);
28042
28043 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28044 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28045 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28046 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28047 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28048 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28049 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28050 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28051 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28052 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28053 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28054 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28055 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28056 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28057 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28058 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28059 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28060 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28061 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28062 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28063 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28064 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28065 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28066 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28067 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28068 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28069 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28070 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28071 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28072 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28073 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28074 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28075
28076 // Map renamed classes back to their common name for OOR
28077 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28078
28079 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28080 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28081 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28082 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28083 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28084 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28085 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28086 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28087 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28088 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28089 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28090 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28091 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28092 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28093 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28094 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28095 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28096 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28097 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28098 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28099
28100 // Map renamed classes back to their common name for OOR
28101 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28102 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28103
28104 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28105 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28106
28107 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28108
28109 }
28110